/* Home page funnel — phone-first landing */

:root {
    --funnel-navy: #0b1220;
    --funnel-navy-mid: #141f33;
    --funnel-gold: #d4af77;
    --funnel-gold-dark: #b89558;
    --funnel-text: #0f172a;
    --funnel-muted: #64748b;
}

.funnel-page {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--funnel-text);
    background: #f1f5f9;
}

/* ——— Nav ——— */
.funnel-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}

.funnel-nav-inner {
    max-width: 68rem;
    margin: 0 auto;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.funnel-logo img {
    height: 2.15rem;
    width: auto;
}

.funnel-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.funnel-nav-links a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--funnel-muted);
    text-decoration: none;
}

.funnel-nav-links a:hover {
    color: var(--funnel-text);
}

.funnel-nav-phone {
    color: var(--funnel-text) !important;
}

.funnel-nav-cta {
    background: linear-gradient(145deg, #e8cc96, var(--funnel-gold));
    color: #1a1208 !important;
    padding: 0.5rem 0.9rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(212, 175, 119, 0.35);
}

@media (max-width: 480px) {
    .funnel-nav-links a:not(.funnel-nav-cta):not(.funnel-nav-phone) {
        display: none;
    }
}

/* ——— Hero ——— */
.funnel-hero {
    position: relative;
    padding: 1.25rem 1rem 2rem;
    color: #e2e8f0;
    overflow: hidden;
}

.funnel-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(212, 175, 119, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        linear-gradient(165deg, var(--funnel-navy) 0%, var(--funnel-navy-mid) 45%, #0f172a 100%);
    z-index: 0;
}

.funnel-shell {
    position: relative;
    z-index: 1;
    max-width: 68rem;
    margin: 0 auto;
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 900px) {
    .funnel-shell {
        grid-template-columns: 1fr 22rem;
        gap: 2rem;
        align-items: start;
    }

    .funnel-hero {
        padding: 2rem 1.5rem 3rem;
    }
}

/* Copy column */
.funnel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.28);
    margin-bottom: 0.85rem;
}

.funnel-badge-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #34d399;
    animation: funnel-pulse 2s ease infinite;
}

@keyframes funnel-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.funnel-headline {
    font-size: clamp(1.85rem, 5.5vw, 2.75rem);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.funnel-headline-accent {
    color: var(--funnel-gold);
}

.funnel-lead {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0 0 0.5rem;
    max-width: 28rem;
}

.funnel-lead strong {
    color: #fff;
}

.funnel-copy-long,
.funnel-steps,
.funnel-buyer-link {
    display: none;
}

@media (min-width: 900px) {
    .funnel-copy-long {
        display: block;
        font-size: 0.95rem;
        color: #94a3b8;
        line-height: 1.55;
        margin: 0 0 1rem;
        max-width: 26rem;
    }

    .funnel-steps {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        list-style: none;
        padding: 0;
        margin: 0 0 1rem;
        font-size: 0.875rem;
        color: #94a3b8;
    }

    .funnel-steps li {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .funnel-step-num {
        flex-shrink: 0;
        width: 1.35rem;
        height: 1.35rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(212, 175, 119, 0.2);
        color: var(--funnel-gold);
        font-size: 0.7rem;
        font-weight: 700;
    }

    .funnel-steps em {
        font-style: normal;
        color: #64748b;
    }

    .funnel-buyer-link {
        display: block;
        margin: 0;
    }

    .funnel-buyer-link a {
        color: var(--funnel-gold);
        font-weight: 600;
        font-size: 0.875rem;
        text-decoration: none;
    }

    .funnel-buyer-link a:hover {
        text-decoration: underline;
    }
}

/* Mobile: show compact steps below card */
@media (max-width: 899px) {
    .funnel-shell {
        display: flex;
        flex-direction: column;
    }

    .funnel-card {
        order: -1;
    }

    .funnel-copy {
        order: 0;
        text-align: center;
    }

    .funnel-headline {
        font-size: 1.65rem;
    }

    .funnel-lead {
        font-size: 0.9rem;
        margin-left: auto;
        margin-right: auto;
    }

    .funnel-badge {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ——— Form card ——— */
.funnel-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.15rem 1.15rem 1.25rem;
    box-shadow:
        0 0 0 1px rgba(212, 175, 119, 0.25),
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--funnel-gold);
}

@media (min-width: 900px) {
    .funnel-card {
        position: sticky;
        top: 4.5rem;
        padding: 1.35rem;
    }
}

.funnel-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.funnel-card-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--funnel-gold);
    flex-shrink: 0;
}

.funnel-card-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--funnel-gold-dark);
    margin: 0;
}

.funnel-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--funnel-text);
    margin: 0.1rem 0 0;
    line-height: 1.25;
}

.funnel-card-sub {
    font-size: 0.75rem;
    color: var(--funnel-muted);
    margin: 0 0 0.65rem;
}

.funnel-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0 0 0.85rem;
}

.funnel-trust-pills li {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.funnel-alert {
    font-size: 0.8125rem;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.65rem;
}

.funnel-alert.hidden {
    display: none;
}

.funnel-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.funnel-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.3rem;
}

.funnel-field .req {
    color: #dc2626;
}

.funnel-field .opt {
    font-weight: 400;
    color: #94a3b8;
}

.funnel-field .form-input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.6rem;
    font-size: 1rem;
    color: var(--funnel-text);
}

.funnel-field-phone .phone-input {
    font-size: 1.2rem;
    font-weight: 600;
    border-color: rgba(212, 175, 119, 0.55);
    padding: 0.75rem;
}

.funnel-field-highlight {
    background: #fffbeb;
    border-radius: 0.6rem;
    padding: 0.65rem;
    border: 1px solid #fde68a;
}

.funnel-consent {
    display: flex;
    gap: 0.45rem;
    font-size: 0.7rem;
    color: var(--funnel-muted);
    line-height: 1.4;
    cursor: pointer;
    align-items: flex-start;
}

.funnel-consent input {
    margin-top: 0.1rem;
    accent-color: var(--funnel-gold);
    flex-shrink: 0;
}

.funnel-consent a {
    color: var(--funnel-gold-dark);
}

.funnel-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 0.9rem 1rem;
    border-radius: 0.65rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #1a1208;
    background: linear-gradient(145deg, #e8cc96 0%, var(--funnel-gold) 50%, #c9a05e 100%);
    box-shadow: 0 4px 14px rgba(212, 175, 119, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.funnel-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(212, 175, 119, 0.5);
}

.funnel-submit:active {
    transform: translateY(0);
}

.funnel-submit-outline {
    background: #fff;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    box-shadow: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.funnel-email-toggle {
    text-align: center;
    margin-top: 0.65rem;
}

.funnel-email-link {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.funnel-email-link:hover {
    color: var(--funnel-gold-dark);
}

.funnel-fallback-note {
    font-size: 0.8125rem;
    color: var(--funnel-muted);
    margin: 0 0 0.65rem;
    line-height: 1.45;
}

.funnel-hint {
    font-size: 0.7rem;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.4rem;
    padding: 0.4rem 0.55rem;
    margin-top: 0.35rem;
}

.funnel-hint.hidden {
    display: none;
}

.funnel-hint-muted {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

.funnel-success {
    text-align: center;
    padding: 0.5rem 0;
}

.funnel-success-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #059669;
    background: #ecfdf5;
    border-radius: 0.75rem;
}

.funnel-success-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.funnel-success-text {
    font-size: 0.875rem;
    color: var(--funnel-muted);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.funnel-followup-label {
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    text-align: left;
}

.funnel-form-secondary {
    text-align: left;
}

.funnel-skip,
.funnel-reset {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 0.5rem;
    padding: 0;
}

.funnel-success-phone a {
    color: var(--funnel-gold-dark);
    font-weight: 700;
}

/* ——— Sticky mobile CTA ——— */
.funnel-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    animation: slideUp 0.3s ease;
}

.funnel-sticky.hidden {
    display: none !important;
}

@media (min-width: 900px) {
    .funnel-sticky {
        display: none !important;
    }
}

.funnel-sticky-btn {
    display: block;
    text-align: center;
    padding: 0.85rem;
    border-radius: 0.65rem;
    font-weight: 800;
    font-size: 0.9rem;
    color: #1a1208;
    text-decoration: none;
    background: linear-gradient(145deg, #e8cc96, var(--funnel-gold));
}

/* ——— About ——— */
.funnel-about {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 2.5rem 1rem;
}

.funnel-about-inner {
    max-width: 68rem;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .funnel-about-inner {
        grid-template-columns: 240px 1fr;
        gap: 2.5rem;
    }
}

.funnel-about-photo {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    border-radius: 1rem;
    object-fit: cover;
    aspect-ratio: 4/5;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.funnel-about-title {
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
}

.funnel-about-inner > div > p {
    color: var(--funnel-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.funnel-about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    color: #334155;
    font-size: 0.9rem;
}

.funnel-about-list li {
    padding: 0.25rem 0 0.25rem 1.25rem;
    position: relative;
}

.funnel-about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--funnel-gold-dark);
    font-weight: 700;
}

.funnel-about-cta {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 0.6rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1208;
    text-decoration: none;
    background: linear-gradient(145deg, #e8cc96, var(--funnel-gold));
}

/* ——— Band ——— */
.funnel-band {
    background: linear-gradient(135deg, #c9a05e 0%, var(--funnel-gold) 50%, #e8cc96 100%);
    padding: 2rem 1rem;
    text-align: center;
}

.funnel-band-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1208;
    margin: 0 0 1rem;
}

.funnel-band-cta {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 0.65rem;
    font-weight: 800;
    color: var(--funnel-text);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ——— Exit modal ——— */
.funnel-exit-modal {
    padding: 1.25rem !important;
    border-radius: 1.25rem !important;
    max-width: 24rem !important;
}

.funnel-exit-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}

.funnel-exit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    padding-right: 1.5rem;
}

.funnel-exit-lead {
    font-size: 0.8125rem;
    color: var(--funnel-muted);
    margin: 0 0 0.85rem;
    line-height: 1.45;
}

.funnel-exit-success {
    text-align: center;
    padding: 0.5rem 0;
}

.funnel-exit-success h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

/* ——— Footer ——— */
.funnel-footer {
    background: var(--funnel-navy);
    color: #94a3b8;
    text-align: center;
    padding: 1.5rem 1rem 5rem;
    font-size: 0.75rem;
}

@media (min-width: 900px) {
    .funnel-footer {
        padding-bottom: 1.5rem;
    }
}

.funnel-footer a {
    color: var(--funnel-gold);
    text-decoration: none;
}

.funnel-footer a:hover {
    text-decoration: underline;
}

.funnel-footer-legal {
    margin-top: 0.5rem;
    font-size: 0.65rem;
    color: #64748b;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}
