/* Claim free video landing — AASCO brand */
.cfv-page {
    --cfv-orange: #ff9500;
    --cfv-orange-dark: #e07d00;
    --cfv-navy: #0d1b2a;
    --cfv-muted: #6c757d;
    --cfv-line: #e8ecf1;
    --cfv-soft: #fff5e6;
    font-family: Manrope, system-ui, sans-serif;
    color: var(--cfv-navy);
    background: #fff;
    overflow-x: clip;
    max-width: 100%;
}

.cfv-page h1,
.cfv-page h2,
.cfv-page h3 {
    font-family: "Lexend Deca", Manrope, sans-serif;
    font-weight: 800;
    color: var(--cfv-navy);
}

.cfv-hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f45 55%, #0d1b2a 100%);
    color: #fff;
    padding: 36px 0 32px;
    position: relative;
    overflow: hidden;
}

.cfv-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    top: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 149, 0, 0.14);
    pointer-events: none;
}

.cfv-hero .auto-container {
    position: relative;
    z-index: 1;
}

.cfv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 149, 0, 0.18);
    color: #ffb84d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cfv-hero h1 {
    color: #fff;
    font-size: clamp(1.55rem, 3.2vw, 2.1rem);
    line-height: 1.2;
    margin: 0 0 8px;
    max-width: 720px;
}

.cfv-hero h1 span {
    color: var(--cfv-orange);
}

.cfv-hero-lead {
    margin: 0;
    max-width: 560px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #c5cdd6;
}

.cfv-section {
    padding: 40px 0;
}

.cfv-section-soft {
    background: linear-gradient(180deg, var(--cfv-soft) 0%, #fff 100%);
    padding: 32px 0 28px;
}

.cfv-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 20px;
}

.cfv-section-head .cfv-label {
    color: var(--cfv-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cfv-section-head h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    margin: 0 0 6px;
    line-height: 1.25;
}

.cfv-section-head p {
    margin: 0;
    color: var(--cfv-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Steps */
.cfv-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    position: relative;
}

.cfv-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cfv-orange), transparent);
    opacity: 0.35;
    z-index: 0;
}

.cfv-step {
    background: #fff;
    border: 1px solid var(--cfv-line);
    border-radius: 12px;
    padding: 16px 14px 14px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(13, 27, 42, 0.05);
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cfv-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 27, 42, 0.08);
}

.cfv-step-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--cfv-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 0 0 4px rgba(255, 149, 0, 0.16);
}

.cfv-step:nth-child(2) .cfv-step-num {
    background: var(--cfv-orange);
    color: var(--cfv-navy);
}

.cfv-step h3 {
    font-size: 1rem;
    margin: 0 0 4px;
    line-height: 1.3;
}

.cfv-step p {
    margin: 0;
    color: var(--cfv-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

/* Form card */
.cfv-form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.cfv-form-card {
    background: #fff;
    border: 1px solid var(--cfv-line);
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 14px 40px rgba(13, 27, 42, 0.08);
    border-top: 4px solid var(--cfv-orange);
}

.cfv-form-card h2 {
    font-size: 1.55rem;
    margin: 0 0 6px;
}

.cfv-form-card .cfv-form-intro {
    margin: 0 0 26px;
    color: var(--cfv-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.cfv-form .row {
    margin-left: -10px;
    margin-right: -10px;
}

.cfv-form .col-md-6,
.cfv-form .col-12 {
    padding-left: 10px;
    padding-right: 10px;
}

.cfv-field {
    margin-bottom: 16px;
}

.cfv-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--cfv-navy);
    margin-bottom: 6px;
}

.cfv-field label span {
    color: var(--cfv-orange);
}

.cfv-field input {
    width: 100%;
    border: 1.5px solid #dce3ea;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--cfv-navy);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cfv-field input:focus {
    outline: none;
    border-color: var(--cfv-orange);
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.15);
}

.cfv-field input::placeholder {
    color: #9aa3ad;
}

.cfv-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 14px 22px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cfv-orange), var(--cfv-orange-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cfv-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 149, 0, 0.35);
}

.cfv-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
    color: #8a939c;
    line-height: 1.5;
}

.cfv-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.cfv-alert-ok {
    background: #e8f8ef;
    color: #166534;
    border: 1px solid #b7e4c7;
}

.cfv-alert-err {
    background: #fdecec;
    color: #b91c1c;
    border: 1px solid #f5c2c7;
}

.cfv-reassure {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    margin-top: 22px;
    color: var(--cfv-muted);
    font-size: 13px;
    font-weight: 600;
}

.cfv-reassure span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cfv-reassure i {
    color: var(--cfv-orange);
}

/* ========== Video Showcase deck (design-showcase style) ========== */
.cfv-showcase-section {
    position: relative;
    padding: 28px 0 8px;
    overflow-x: clip;
    max-width: 100%;
}

.cfv-showcase-panel {
    position: relative;
    background: #fff;
    border: 1px solid var(--cfv-line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(13, 27, 42, 0.06);
    width: 100%;
    margin: 0;
    overflow: hidden;
    overflow: clip;
    isolation: isolate;
}

.cfv-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: center;
}

.cfv-showcase-copy {
    text-align: center;
}

.cfv-showcase-copy .cfv-label {
    color: var(--cfv-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cfv-showcase-copy h2 {
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    margin: 0 0 6px;
    line-height: 1.2;
}

.cfv-showcase-copy p {
    margin: 0;
    color: var(--cfv-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Stage — dark textured frame from design showcase */
.cfv-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    place-items: center;
    /* Height follows the deck — minimal empty space above/below */
    aspect-ratio: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 28px 18px;
    box-sizing: border-box;
    border: 1px solid #594133;
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 84% 91%, #7a3924 0, transparent 54%),
        radial-gradient(ellipse at 13% 10%, #56301e 0, transparent 51%),
        linear-gradient(146deg, #251917, #181416 65%, #3d2319);
}

.cfv-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
    background-image: radial-gradient(#f8a2783a 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(130deg, #000, transparent 72%);
}

.cfv-deck-wrap {
    position: relative;
    z-index: 1;
    /* Sized so fan tilt peeks stay inside stage without huge empty padding */
    width: 58%;
    max-width: 260px;
    margin: 0 auto;
}

.cfv-deck {
    display: grid;
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    overscroll-behavior: contain;
}

.cfv-card {
    appearance: none;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    grid-area: 1 / 1;
    background: #0d1b2a;
    box-shadow: 0 12px 29px #0a030a91, 0 0 0 1px #ffe4cf46;
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.cfv-card.is-back {
    z-index: 0;
    transform: translate(10%, -1%) rotate(12deg) scale(0.94);
    filter: brightness(0.71) saturate(0.86);
}

.cfv-card.is-mid {
    z-index: 1;
    transform: translate(-9%, 2%) rotate(-11deg) scale(0.96);
    filter: brightness(0.83) saturate(0.92);
}

.cfv-card.is-front {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
    transform: rotate(var(--tilt, -2deg));
    transition: box-shadow 0.2s ease;
}

.cfv-card.is-front:hover,
.cfv-card.is-front:focus-visible {
    box-shadow: 0 14px 37px #0a030ab5, 0 0 0 2px var(--cfv-orange);
    outline: none;
}

.cfv-card.is-enter {
    animation: cfv-deal 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cfv-card.is-leave {
    pointer-events: none;
    z-index: 3;
    animation: cfv-depart 0.3s ease-in both;
}

@keyframes cfv-deal {
    from {
        transform: translateX(calc(var(--direction, 1) * 16%))
            rotate(calc(var(--direction, 1) * 9deg)) scale(0.94);
    }
    to {
        transform: rotate(var(--tilt, -2deg));
    }
}

@keyframes cfv-depart {
    from {
        opacity: 1;
        transform: rotate(var(--tilt, -2deg));
    }
    to {
        opacity: 0;
        transform: translate(calc(var(--direction, 1) * -32%), 5%)
            rotate(calc(var(--direction, 1) * -14deg)) scale(0.96);
    }
}

.cfv-card-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #0d1b2a;
}

.cfv-card-poster,
.cfv-card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    border: 0;
}

/* Front video: muted autoplay only — no controls chrome */
.cfv-card-video {
    opacity: 0;
    background: #0d1b2a;
}

.cfv-card.is-front .cfv-card-video {
    opacity: 0;
}

.cfv-card.is-front .cfv-card-poster {
    opacity: 1;
}

/* Swap poster → video only once playback has actually started */
.cfv-card.is-front.is-playing-video .cfv-card-video {
    opacity: 1;
}

.cfv-card.is-front.is-playing-video .cfv-card-poster {
    opacity: 0;
}

.cfv-card-video::-webkit-media-controls,
.cfv-card-video::-webkit-media-controls-enclosure,
.cfv-card-video::-webkit-media-controls-panel,
.cfv-card-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
    opacity: 0;
}

.cfv-visual {
    min-width: 0;
}

.cfv-deck-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    min-height: 14px;
}

.cfv-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cfd6de;
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease;
}

.cfv-dot.is-active {
    width: 26px;
    background: var(--cfv-orange);
}

.cfv-dot:focus-visible {
    outline: 2px solid var(--cfv-orange);
    outline-offset: 3px;
}

.cfv-deck-live {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (min-width: 992px) {
    .cfv-showcase-panel {
        padding: 32px 36px;
    }

    .cfv-showcase-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: clamp(28px, 4vw, 56px);
        align-items: center;
    }

    .cfv-showcase-copy {
        text-align: left;
        padding: 8px 8px 8px 4px;
    }

    .cfv-showcase-copy h2 {
        font-size: clamp(1.6rem, 2.2vw, 2rem);
    }

    .cfv-stage {
        max-width: none;
    }
}

@media (max-width: 575px) {
    .cfv-showcase-panel {
        border-radius: 20px;
        padding: 20px 16px;
    }

    .cfv-deck-wrap {
        width: 62%;
        max-width: 230px;
    }

    .cfv-stage {
        padding: 22px 14px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cfv-card.is-enter,
    .cfv-card.is-leave {
        animation: none !important;
    }

    .cfv-dot {
        transition: none !important;
    }
}

@media (max-width: 991px) {
    .cfv-steps {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cfv-steps::before {
        display: none;
    }

    .cfv-hero {
        padding: 28px 0 24px;
    }

    .cfv-section-soft {
        padding: 28px 0 24px;
    }
}

@media (max-width: 575px) {
    .cfv-form-card {
        padding: 26px 18px;
    }

    .cfv-section {
        padding: 32px 0;
    }

    .cfv-hero h1 {
        font-size: 1.45rem;
    }
}
