/* ==========================================================================
   TRADESMEN FUNNEL - Conversion-first design
   ========================================================================== */

/* --- Urgency Top Bar --- */
.urgency-bar {
    background: var(--color-accent); position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
    padding: 0.5rem 0; overflow: hidden;
}
.urgency-bar-inner {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-size: 0.8rem; color: var(--color-white); font-weight: 500;
    max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad);
}
.urgency-bar-inner strong { font-weight: 800; }
.urgency-link {
    font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap;
}

.urgency-pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--color-white); flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
    50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* --- Funnel Header --- */
.funnel-header {
    position: fixed; top: 32px; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 10, 20, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}
.funnel-header-inner {
    max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad);
    display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.funnel-header .logo-img { height: 18px; }
.funnel-header-phone {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem;
    color: var(--color-white);
}
.funnel-header-phone:hover { color: var(--color-accent); }

.funnel-page .site-header { display: none; }

/* ==========================================================================
   HERO - Impact first, form embedded
   ========================================================================== */
.f-hero { position: relative; min-height: 100vh; padding-top: 88px; overflow: hidden; }

.f-hero-bg { position: absolute; inset: 0; }
.f-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.f-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(10,10,20,0.95) 0%, rgba(10,10,20,0.82) 45%, rgba(10,10,20,0.65) 100%);
}

.f-hero-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
    padding: 2.5rem 0 3rem; position: relative; z-index: 2;
}
@media (min-width: 960px) {
    .f-hero-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; padding: 4rem 0; min-height: calc(100vh - 88px); }
}

.f-hero-left h1 {
    font-size: clamp(1.85rem, 4.5vw, 3rem); letter-spacing: -0.03em; line-height: 1.12;
    margin-bottom: 1.25rem;
}
.f-hero-left h1 em { font-style: italic; color: var(--color-accent); }

.f-hero-sub {
    font-size: clamp(0.95rem, 1.6vw, 1.08rem); color: rgba(255,255,255,0.7);
    line-height: 1.7; margin-bottom: 1.75rem; max-width: 500px;
}

/* Proof avatars */
.f-hero-proof { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.f-proof-avatars { display: flex; }
.f-avatar {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--color-bg);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    margin-right: -10px; position: relative;
}
.f-avatar:nth-child(2) { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.f-avatar:nth-child(3) { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.f-avatar:nth-child(4) { background: linear-gradient(135deg, #059669, #34d399); }
.f-avatar-count {
    background: var(--color-bg-card) !important; color: var(--color-white);
    font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--color-border);
}
.f-proof-text { display: flex; flex-direction: column; gap: 0.1rem; }
.f-proof-stars { color: #facc15; font-size: 0.85rem; letter-spacing: 1px; }
.f-proof-text span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

.f-hero-trades {
    font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.8;
}
.f-dot { margin: 0 0.3rem; }

/* ==========================================================================
   MULTI-STEP FORM - the conversion engine
   ========================================================================== */
.f-form-container { position: relative; width: 100%; max-width: 460px; justify-self: center; }
@media (min-width: 960px) { .f-form-container { justify-self: end; } }

.f-form-glow {
    position: absolute; top: -30px; right: -30px; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(116,0,206,0.3) 0%, transparent 70%);
    border-radius: 50%; filter: blur(40px); pointer-events: none; z-index: 0;
}

.f-form-card {
    position: relative; z-index: 1;
    background: rgba(22,22,42,0.92); backdrop-filter: blur(20px);
    border: 1px solid rgba(116,0,206,0.3); border-radius: var(--radius-lg);
    padding: 1.75rem; box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 40px rgba(116,0,206,0.1);
}

.f-form-urgency {
    display: flex; align-items: center; gap: 0.5rem; justify-content: center;
    font-size: 0.78rem; color: var(--color-accent); font-weight: 600; margin-bottom: 1rem;
    padding: 0.5rem; background: rgba(116,0,206,0.08); border-radius: var(--radius-sm);
}

/* Progress bar */
.f-form-progress { margin-bottom: 1.5rem; }
.f-progress-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.f-progress-fill { height: 100%; background: var(--color-accent); border-radius: 2px; transition: width 0.5s cubic-bezier(0.4,0,0.2,1); }
.f-progress-text { display: block; text-align: right; font-size: 0.7rem; color: var(--color-text-muted); margin-top: 0.4rem; }

/* Steps */
.f-step { display: none; }
.f-step.active { display: block; animation: stepIn 0.35s cubic-bezier(0.4,0,0.2,1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.f-step h2 { font-size: 1.2rem; margin-bottom: 0.3rem; text-align: center; }
.f-step p { font-size: 0.82rem; color: var(--color-text-muted); text-align: center; margin-bottom: 1.25rem; }

/* Trade selector grid */
.f-trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

.f-trade-btn {
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
    padding: 0.85rem 0.5rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s;
    font-size: 0.72rem; font-weight: 600; color: var(--color-text);
    font-family: var(--font-heading);
}
.f-trade-btn:hover { border-color: var(--color-accent); background: rgba(116,0,206,0.08); color: var(--color-white); }
.f-trade-btn.selected { border-color: var(--color-accent); background: rgba(116,0,206,0.15); color: var(--color-white); box-shadow: 0 0 16px rgba(116,0,206,0.2); }
.f-trade-icon { font-size: 1.4rem; line-height: 1; }

@media (min-width: 400px) { .f-trade-grid { grid-template-columns: repeat(4, 1fr); } }

/* Challenge selector */
.f-challenge-grid { display: flex; flex-direction: column; gap: 0.6rem; }
.f-challenge-btn {
    display: flex; flex-direction: column; gap: 0.15rem;
    padding: 1rem 1.25rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; text-align: left;
    color: var(--color-text);
}
.f-challenge-btn strong { font-family: var(--font-heading); font-size: 0.92rem; color: var(--color-white); }
.f-challenge-btn span { font-size: 0.78rem; color: var(--color-text-muted); }
.f-challenge-btn:hover { border-color: var(--color-accent); background: rgba(116,0,206,0.08); }
.f-challenge-btn.selected { border-color: var(--color-accent); background: rgba(116,0,206,0.12); box-shadow: 0 0 16px rgba(116,0,206,0.15); }

/* Step 3 - contact form */
.f-input-group { margin-bottom: 0.7rem; position: relative; }
.f-input-group input {
    width: 100%; padding: 0.85rem 1rem; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm);
    color: var(--color-white); font-size: 0.92rem; transition: all 0.2s;
}
.f-input-group input::placeholder { color: rgba(255,255,255,0.3); }
.f-input-group input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-glow); background: rgba(116,0,206,0.05); }
.f-input-group.error input { border-color: var(--color-error); }
.f-input-group .form-error { display: none; font-size: 0.72rem; color: var(--color-error); margin-top: 0.25rem; position: absolute; right: 0; top: 0; padding: 0.2rem 0.5rem; }
.f-input-group.error .form-error { display: block; }

.f-submit-btn {
    width: 100%; padding: 1rem; background: var(--color-accent); color: var(--color-white);
    font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
    border-radius: var(--radius-sm); cursor: pointer; border: none;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: all 0.2s; position: relative; overflow: hidden;
    box-shadow: 0 6px 24px rgba(116,0,206,0.4);
}
.f-submit-btn:hover { background: var(--color-accent-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(116,0,206,0.5); }
.f-submit-btn::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.f-form-fine {
    display: flex; align-items: center; gap: 0.4rem; justify-content: center;
    font-size: 0.7rem; color: var(--color-text-muted); margin-top: 0.85rem;
}

/* Success state */
.f-step-success { text-align: center; padding: 1.5rem 0; }
.f-success-anim svg { margin: 0 auto; animation: checkPop 0.5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes checkPop { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.f-step-success h2 { font-size: 1.5rem; margin-top: 1rem; }
.f-success-next { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }

/* ==========================================================================
   SCROLL TICKER
   ========================================================================== */
.f-ticker {
    background: var(--color-surface); border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border); overflow: hidden; padding: 0.85rem 0;
    position: relative; z-index: 2;
}
.f-ticker-track {
    display: flex; gap: 3rem; white-space: nowrap;
    animation: ticker 30s linear infinite;
}
.f-ticker-item {
    font-family: var(--font-heading); font-size: 0.82rem; font-weight: 600;
    color: var(--color-text-muted); flex-shrink: 0;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   COST OF INACTION
   ========================================================================== */
.f-section { padding: 5rem 0; position: relative; }
.f-cost { background: var(--color-bg); }

.f-cost-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .f-cost-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

/* Google search mockup */
.f-phone-mock {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4); max-width: 380px; margin: 0 auto;
}
.f-phone-mock > img { width: 100%; display: block; filter: brightness(0.6); }
.f-phone-search {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    justify-content: center; padding: 2rem 1.5rem; gap: 0.5rem;
}
.f-search-bar {
    background: rgba(255,255,255,0.95); color: #333; padding: 0.7rem 1rem;
    border-radius: 24px; font-size: 0.85rem; font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); font-family: var(--font-body);
}
.f-search-result {
    background: rgba(255,255,255,0.92); padding: 0.65rem 1rem; border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.f-search-result strong { display: block; font-size: 0.82rem; color: #1a0dab; font-family: var(--font-heading); }
.f-search-result span { font-size: 0.7rem; color: #555; }
.f-search-competitor strong { color: #1a0dab; }
.f-search-you { border: 2px dashed var(--color-error); background: rgba(239,68,68,0.08) !important; }
.f-search-you strong { color: var(--color-error) !important; }
.f-search-you span { color: var(--color-error); }

.f-cost-content h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); line-height: 1.15; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.f-cost-content > p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 2rem; }

/* Money math */
.f-cost-math {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); overflow: hidden; margin-bottom: 2rem;
}
.f-math-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border);
}
.f-math-row:last-child { border-bottom: none; }
.f-math-label { font-size: 0.88rem; color: var(--color-text-muted); }
.f-math-value { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--color-text-heading); }
.f-math-total { background: rgba(116,0,206,0.08); }
.f-math-total .f-math-label { color: var(--color-text); font-weight: 600; }
.f-math-total .f-math-value { color: var(--color-accent); font-size: 1.4rem; }

/* ==========================================================================
   TRANSFORMATIONS - Before/After
   ========================================================================== */
.f-transformations { background: var(--color-bg-alt); }

.f-transform-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .f-transform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .f-transform-grid { grid-template-columns: repeat(3, 1fr); } }

.f-transform-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition);
}
.f-transform-card:hover { border-color: var(--color-border-hover); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

.f-transform-img { aspect-ratio: 16 / 10; overflow: hidden; }
.f-transform-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.f-transform-card:hover .f-transform-img img { transform: scale(1.05); }

.f-transform-body { padding: 1.25rem; }
.f-transform-body h3 { font-size: 1.05rem; margin: 0.4rem 0 0.75rem; }

.f-before-after { display: flex; flex-direction: column; gap: 0.5rem; }
.f-ba { font-size: 0.82rem; line-height: 1.5; padding: 0.65rem 0.85rem; border-radius: var(--radius-sm); }
.f-ba span { font-family: var(--font-heading); font-weight: 700; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.15rem; }
.f-before { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); color: var(--color-text-muted); }
.f-before span { color: var(--color-error); }
.f-after { background: rgba(116,0,206,0.06); border: 1px solid rgba(116,0,206,0.2); color: var(--color-text); }
.f-after span { color: var(--color-accent); }

/* ==========================================================================
   INCLUDED - Service cards
   ========================================================================== */
.f-included { background: var(--color-bg); }

.f-included-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) {
    .f-included-grid { grid-template-columns: repeat(2, 1fr); }
    .f-incl-main { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
    .f-incl-main { display: grid; grid-template-columns: 1.2fr 1fr; }
}

.f-incl-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition);
}
.f-incl-card:hover { border-color: var(--color-border-hover); box-shadow: var(--shadow-card-hover); }

.f-incl-img { aspect-ratio: 16 / 10; overflow: hidden; }
.f-incl-img img { width: 100%; height: 100%; object-fit: cover; }
.f-incl-main .f-incl-img { aspect-ratio: auto; }

.f-incl-body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.f-incl-label {
    display: inline-block; font-family: var(--font-heading); font-weight: 600;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--color-accent); background: var(--color-accent-glow);
    padding: 0.25rem 0.65rem; border-radius: 50px; margin-bottom: 0.75rem; width: fit-content;
}
.f-incl-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.f-incl-body p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

.f-incl-features { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.f-incl-features span {
    font-size: 0.72rem; font-weight: 500; padding: 0.3rem 0.7rem;
    border-radius: 50px; border: 1px solid var(--color-border); color: var(--color-text-muted);
}
.f-incl-price {
    font-size: 0.88rem; color: var(--color-text-muted); margin-top: 0.75rem;
    padding-top: 0.75rem; border-top: 1px solid var(--color-border);
}
.f-incl-price strong { color: var(--color-accent); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.f-social-proof { background: var(--color-bg-alt); }
.f-quote-wall { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .f-quote-wall { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .f-quote-wall { grid-template-columns: repeat(3, 1fr); } }

.f-quote {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); padding: 1.75rem;
    display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
}
.f-quote blockquote { font-size: 0.92rem; line-height: 1.7; color: var(--color-text); font-style: italic; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.f-faq { background: var(--color-bg); }
.f-faq .faq-list { max-width: 720px; margin: 0 auto; }

/* reuse faq styles from main */

/* ==========================================================================
   FINAL CTA - Dramatic
   ========================================================================== */
.f-final-cta { position: relative; overflow: hidden; padding: 6rem 0; }
.f-final-bg { position: absolute; inset: 0; }
.f-final-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.3); }
.f-final-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,20,0.7) 0%, rgba(10,10,20,0.9) 100%); }

.f-final-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.f-final-inner h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.f-final-inner > p { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 2.5rem; }

.f-final-btn {
    display: inline-flex; flex-direction: column; align-items: center; gap: 0.35rem;
    padding: 1.15rem 3rem; background: var(--color-accent); color: var(--color-white);
    font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
    border-radius: var(--radius-sm); transition: all 0.2s; text-decoration: none;
    box-shadow: 0 8px 32px rgba(116,0,206,0.4); position: relative; overflow: hidden;
}
.f-final-btn:hover { background: var(--color-accent-light); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(116,0,206,0.5); }
.f-final-btn::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}
.f-final-btn small { font-size: 0.72rem; font-weight: 500; opacity: 0.8; }

.f-final-trust {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem;
    margin-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   FUNNEL FOOTER & MOBILE CTA
   ========================================================================== */
.funnel-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 2rem 0; }
.funnel-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.funnel-footer-logo { height: 16px; filter: brightness(0) invert(1); opacity: 0.4; }
.funnel-footer-inner p { font-size: 0.72rem; color: var(--color-text-muted); }
.funnel-footer-links { display: flex; gap: 1.5rem; }
.funnel-footer-links a { font-size: 0.72rem; color: var(--color-text-muted); }
.funnel-footer-links a:hover { color: var(--color-accent); }

/* Mobile CTA override */
.funnel-page .mobile-cta-btn {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.92rem; padding: 0.85rem 1.25rem;
}
.mobile-cta-spots {
    font-size: 0.7rem; opacity: 0.8; background: rgba(255,255,255,0.15);
    padding: 0.2rem 0.55rem; border-radius: 50px;
}

/* ==========================================================================
   PRICE JUSTIFICATION STYLES
   ========================================================================== */
.f-price-justify { display: flex; flex-direction: column; gap: 0.45rem; }
.f-price-line {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.f-price-line span { color: var(--color-text-muted); font-size: 0.85rem; }
.f-price-line strong { font-size: 1rem; color: #fff; font-weight: 700; }
/* .f-price-free reserved for promotional periods */
.f-price-context {
    font-size: 0.78rem; color: var(--color-accent-light); font-style: italic;
    padding-top: 0.25rem; line-height: 1.5;
}

.f-cost-comparison {
    font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-top: 1.25rem;
    line-height: 1.6; padding: 1rem; border-left: 3px solid var(--color-accent);
    background: rgba(116,0,206,0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.f-cost-comparison strong { color: #22c55e; font-weight: 700; }

/* ==========================================================================
   FULL-SCREEN CALCULATOR OVERLAY
   ========================================================================== */
.calc-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(5,5,15,0.96);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto; padding: 2rem 1rem;
}
.calc-overlay.open { opacity: 1; visibility: visible; }

.calc-overlay-inner {
    width: 100%; max-width: 620px; position: relative;
}

.calc-close {
    position: fixed; top: 1.25rem; right: 1.25rem;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); cursor: pointer;
    transition: all 0.2s; z-index: 10001;
}
.calc-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Calculator steps */
.calc-step { display: none; animation: calcFadeIn 0.5s ease; }
.calc-step.active { display: block; }

@keyframes calcFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Calculator header */
.calc-header { text-align: center; margin-bottom: 2.5rem; }
.calc-header h2 {
    font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
    color: #fff; margin-bottom: 0.75rem; line-height: 1.25;
}
.calc-header p { font-size: 1.05rem; color: rgba(255,255,255,0.6); }

/* Sliders */
.calc-sliders { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2.5rem; }
.calc-slider-group label {
    display: block; font-size: 0.95rem; color: rgba(255,255,255,0.8);
    margin-bottom: 0.85rem; font-weight: 500;
}
.calc-slider-row { display: flex; align-items: center; gap: 1.25rem; }
.calc-slider-value {
    font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
    color: var(--color-accent-light); min-width: 72px; text-align: right;
}

/* Custom range slider */
.calc-range {
    -webkit-appearance: none; appearance: none;
    flex: 1; height: 8px; border-radius: 999px;
    background: linear-gradient(90deg, var(--color-accent) 0%, rgba(255,255,255,0.1) 0%);
    outline: none; cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--color-accent); border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(116,0,206,0.5);
    cursor: grab; transition: box-shadow 0.2s;
}
.calc-range::-webkit-slider-thumb:active { cursor: grabbing; box-shadow: 0 0 30px rgba(116,0,206,0.8); }
.calc-range::-moz-range-thumb {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--color-accent); border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(116,0,206,0.5); cursor: grab;
}

/* Results */
.calc-result {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md); padding: 2rem; margin-bottom: 2rem;
}
.calc-result-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.75rem 0;
}
.calc-result-row span { font-size: 1rem; color: rgba(255,255,255,0.6); }
.calc-big-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: #ef4444; }
.calc-result-year { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 0.5rem; padding-top: 1rem; }
.calc-result-year .calc-big-number { font-size: 2.5rem; }

/* VS comparison */
.calc-vs {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.calc-vs-box {
    flex: 1; text-align: center; padding: 1.15rem 0.75rem;
    border-radius: var(--radius-sm);
}
.calc-vs-lose {
    background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2);
}
.calc-vs-lose strong { color: #ef4444; font-size: 1.15rem; font-weight: 700; }
.calc-vs-invest {
    background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
}
.calc-vs-invest strong { color: #22c55e; font-size: 1.15rem; font-weight: 700; }
.calc-vs-label { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
.calc-vs-divider { font-size: 0.85rem; color: rgba(255,255,255,0.3); font-weight: 700; text-transform: uppercase; }

/* Next / CTA button */
.calc-next-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 100%; padding: 1.15rem; gap: 0.25rem;
    background: var(--color-accent); color: #fff; border: none; border-radius: var(--radius-sm);
    font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
    cursor: pointer; transition: all 0.2s;
    position: relative; overflow: hidden;
}
.calc-next-btn:hover { background: var(--color-accent-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(116,0,206,0.4); }
.calc-next-btn::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}
.calc-next-btn small { font-size: 0.75rem; font-weight: 500; opacity: 0.8; }

/* Savings badge */
.calc-savings-badge {
    display: inline-block; padding: 0.55rem 1.25rem; border-radius: 999px;
    background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25);
    color: #ef4444; font-size: 0.88rem; margin-bottom: 1rem;
}
.calc-savings-badge strong { color: #ef4444; }

/* Calculator form */
.calc-form { max-width: 440px; margin: 0 auto; }

/* Calculator success */
.calc-success { text-align: center; padding: 2rem 0; }
.calc-success h2 { font-family: var(--font-heading); font-size: 1.75rem; color: #fff; margin: 1.25rem 0 0.75rem; }
.calc-success p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.calc-success strong { color: #ef4444; }

.calc-close-btn {
    display: inline-block; margin-top: 2rem; padding: 0.75rem 2rem;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm); color: rgba(255,255,255,0.7);
    font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.calc-close-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ==========================================================================
   FULL-SCREEN FORM OVERLAY (after trade selection)
   ========================================================================== */
.form-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(5,5,15,0.97);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto; padding: 2rem 1rem;
}
.form-overlay.open { opacity: 1; visibility: visible; }

.form-overlay-inner {
    width: 100%; max-width: 560px; position: relative;
}

/* Overlay progress */
.fo-progress { margin-bottom: 1.75rem; }
.fo-progress-bar {
    height: 4px; background: rgba(255,255,255,0.08); border-radius: 999px;
    overflow: hidden; margin-bottom: 0.5rem;
}
.fo-progress-fill {
    height: 100%; background: var(--color-accent); border-radius: 999px;
    transition: width 0.4s ease;
}
.fo-progress-text { font-size: 0.72rem; color: rgba(255,255,255,0.4); }

/* Trade badge */
.fo-trade-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(116,0,206,0.12); border: 1px solid rgba(116,0,206,0.25);
    border-radius: 999px; padding: 0.45rem 1rem 0.45rem 0.75rem;
    margin-bottom: 1.5rem; font-size: 0.88rem; color: var(--color-accent-light);
}
.fo-trade-icon { font-size: 1.1rem; }
.fo-trade-change {
    background: none; border: none; color: rgba(255,255,255,0.4);
    font-size: 0.72rem; cursor: pointer; text-decoration: underline;
    padding: 0; margin-left: 0.35rem;
    transition: color 0.2s;
}
.fo-trade-change:hover { color: rgba(255,255,255,0.7); }

/* Steps */
.fo-step { display: none; animation: calcFadeIn 0.5s ease; }
.fo-step.active { display: block; }

/* Challenge buttons inside overlay - bigger, more breathing room */
.form-overlay .f-challenge-grid { gap: 0.65rem; max-width: 480px; margin: 0 auto; }
.form-overlay .f-challenge-btn {
    padding: 1.15rem 1.35rem; border-radius: var(--radius-sm);
}

/* Hero form card heading adjustments (now just trade selector) */
.f-form-heading {
    font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
    color: #fff; margin-bottom: 0.25rem;
}
.f-form-sub {
    font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}

/* ==========================================================================
   RESPONSIVE - Mobile-first overrides
   ========================================================================== */

/* ---- Extra Small (up to 374px) ---- */
@media (max-width: 374px) {
    .urgency-bar-inner { font-size: 0.68rem; gap: 0.35rem; }
    .urgency-link { display: none; }

    .f-hero-left h1 { font-size: 1.5rem; }
    .f-hero-sub { font-size: 0.88rem; }

    .f-form-card { padding: 1.15rem; }
    .f-trade-grid { grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
    .f-trade-btn { padding: 0.6rem 0.3rem; font-size: 0.65rem; }
    .f-trade-icon { font-size: 1.15rem; }

    .f-step h2 { font-size: 1rem; }
    .f-step p { font-size: 0.75rem; }

    .f-challenge-btn { padding: 0.75rem 0.85rem; }
    .f-challenge-btn strong { font-size: 0.82rem; }
    .f-challenge-btn span { font-size: 0.72rem; }

    .f-cost-content h2 { font-size: 1.25rem; }
    .f-math-label { font-size: 0.78rem; }
    .f-math-value { font-size: 0.95rem; }
    .f-math-total .f-math-value { font-size: 1.15rem; }

    .f-final-btn { padding: 1rem 1.75rem; font-size: 0.95rem; }
    .f-final-trust { gap: 0.6rem; font-size: 0.72rem; }
}

/* ---- Small Mobile (up to 480px) ---- */
@media (max-width: 480px) {
    /* Urgency bar */
    .urgency-bar { padding: 0.4rem 0; }
    .urgency-bar-inner { font-size: 0.72rem; gap: 0.4rem; flex-wrap: nowrap; }
    .urgency-pulse { width: 6px; height: 6px; }

    /* Header */
    .funnel-header-inner { height: 48px; }
    .funnel-header .logo-img { height: 15px; }
    .funnel-header-phone { font-size: 0.78rem; gap: 0.35rem; }
    .funnel-header-phone svg { width: 15px; height: 15px; }

    /* Hero */
    .f-hero { padding-top: 76px; min-height: auto; }
    .f-hero-grid { padding: 1.5rem 0 2rem; gap: 1.75rem; }
    .f-hero-left h1 { font-size: 1.65rem; margin-bottom: 0.85rem; }
    .f-hero-sub { font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.6; }

    /* Proof avatars */
    .f-hero-proof { gap: 0.65rem; margin-bottom: 1rem; }
    .f-avatar { width: 30px; height: 30px; margin-right: -8px; }
    .f-avatar-count { font-size: 0.58rem; }
    .f-proof-stars { font-size: 0.75rem; }
    .f-proof-text span { font-size: 0.7rem; }

    /* Trades list */
    .f-hero-trades { font-size: 0.7rem; line-height: 1.65; }
    .f-dot { margin: 0 0.2rem; }

    /* Form card */
    .f-form-container { max-width: 100%; }
    .f-form-card { padding: 1.25rem; }
    .f-form-urgency { font-size: 0.72rem; padding: 0.4rem; gap: 0.35rem; }
    .f-form-progress { margin-bottom: 1rem; }
    .f-progress-text { font-size: 0.65rem; }

    .f-step h2 { font-size: 1.05rem; margin-bottom: 0.2rem; }
    .f-step p { font-size: 0.78rem; margin-bottom: 1rem; }

    /* Trade buttons - 3 col on small mobile */
    .f-trade-grid { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
    .f-trade-btn {
        padding: 0.7rem 0.35rem; font-size: 0.68rem; gap: 0.2rem;
        min-height: 60px;
    }
    .f-trade-icon { font-size: 1.25rem; }

    /* Challenge buttons */
    .f-challenge-grid { gap: 0.45rem; }
    .f-challenge-btn { padding: 0.85rem 1rem; }
    .f-challenge-btn strong { font-size: 0.85rem; }
    .f-challenge-btn span { font-size: 0.74rem; }

    /* Contact form inputs */
    .f-input-group { margin-bottom: 0.55rem; }
    .f-input-group input { padding: 0.75rem 0.85rem; font-size: 0.88rem; }
    .f-submit-btn { padding: 0.9rem; font-size: 0.92rem; }
    .f-form-fine { font-size: 0.65rem; margin-top: 0.65rem; }

    /* Success state */
    .f-step-success { padding: 1rem 0; }
    .f-success-anim svg { width: 56px; height: 56px; }
    .f-step-success h2 { font-size: 1.25rem; }

    /* Ticker */
    .f-ticker { padding: 0.65rem 0; }
    .f-ticker-track { gap: 2rem; animation-duration: 20s; }
    .f-ticker-item { font-size: 0.72rem; }

    /* Sections spacing */
    .f-section { padding: 3rem 0; }

    /* Cost section */
    .f-cost-grid { gap: 2rem; }
    .f-phone-mock { max-width: 280px; }
    .f-phone-search { padding: 1.25rem 1rem; gap: 0.35rem; }
    .f-search-bar { font-size: 0.75rem; padding: 0.55rem 0.8rem; }
    .f-search-result { padding: 0.5rem 0.75rem; }
    .f-search-result strong { font-size: 0.72rem; }
    .f-search-result span { font-size: 0.62rem; }

    .f-cost-content h2 { font-size: 1.35rem; margin-bottom: 1rem; }
    .f-cost-content > p { font-size: 0.88rem; margin-bottom: 1.5rem; }

    .f-math-row { padding: 0.75rem 1rem; }
    .f-math-label { font-size: 0.8rem; }
    .f-math-value { font-size: 0.95rem; }
    .f-math-total .f-math-value { font-size: 1.2rem; }

    /* Transform cards */
    .f-transform-grid { gap: 1rem; }
    .f-transform-body { padding: 1rem; }
    .f-transform-body h3 { font-size: 0.95rem; margin: 0.3rem 0 0.6rem; }
    .f-ba { font-size: 0.78rem; padding: 0.55rem 0.7rem; }
    .f-ba span { font-size: 0.6rem; }

    /* Included cards */
    .f-included-grid { gap: 1rem; }
    .f-incl-body { padding: 1.15rem; }
    .f-incl-body h3 { font-size: 1.05rem; }
    .f-incl-body p { font-size: 0.85rem; }
    .f-incl-features { gap: 0.3rem; }
    .f-incl-features span { font-size: 0.68rem; padding: 0.2rem 0.55rem; }
    .f-incl-price { font-size: 0.82rem; }

    /* Testimonials */
    .f-quote-wall { gap: 1rem; }
    .f-quote { padding: 1.25rem; gap: 1rem; }
    .f-quote blockquote { font-size: 0.85rem; line-height: 1.6; }

    /* FAQ */
    .f-faq .faq-question { font-size: 0.88rem; padding: 1rem 0; }
    .f-faq .faq-answer p { font-size: 0.85rem; }

    /* Final CTA */
    .f-final-cta { padding: 3.5rem 0; }
    .f-final-inner h2 { font-size: 1.45rem; }
    .f-final-inner > p { font-size: 0.88rem; margin-bottom: 1.75rem; }
    .f-final-btn { padding: 1rem 2rem; font-size: 0.95rem; }
    .f-final-btn small { font-size: 0.68rem; }
    .f-final-trust { gap: 0.75rem; font-size: 0.75rem; margin-top: 1.25rem; }

    /* Footer */
    .funnel-footer { padding: 1.5rem 0; }
    .funnel-footer-inner { gap: 0.5rem; }
    .funnel-footer-inner p { font-size: 0.65rem; }
    .funnel-footer-links a { font-size: 0.65rem; }

    /* Section headings */
    .f-section .section-heading { font-size: 1.45rem; margin-bottom: 2rem; }

    /* Price justification */
    .f-price-line span { font-size: 0.78rem; }
    .f-price-line strong { font-size: 0.88rem; }
    .f-price-context { font-size: 0.72rem; }
    .f-cost-comparison { font-size: 0.85rem; padding: 0.85rem; }

    /* Form overlay */
    .form-overlay { padding: 1rem 0.75rem; align-items: flex-start; padding-top: 3.5rem; }
    .fo-trade-badge { font-size: 0.78rem; padding: 0.35rem 0.85rem 0.35rem 0.6rem; }
    .form-overlay .f-challenge-btn { padding: 0.9rem 1rem; }
    .form-overlay .f-challenge-btn strong { font-size: 0.85rem; }
    .form-overlay .f-challenge-btn span { font-size: 0.74rem; }

    /* Calculator overlay */
    .calc-overlay { padding: 1rem 0.75rem; align-items: flex-start; padding-top: 3.5rem; }
    .calc-close { top: 0.75rem; right: 0.75rem; width: 38px; height: 38px; }
    .calc-header h2 { font-size: 1.35rem; }
    .calc-header p { font-size: 0.88rem; }
    .calc-slider-group label { font-size: 0.85rem; }
    .calc-slider-value { font-size: 1.05rem; min-width: 60px; }
    .calc-range::-webkit-slider-thumb { width: 24px; height: 24px; }
    .calc-range::-moz-range-thumb { width: 24px; height: 24px; }
    .calc-result { padding: 1.25rem; }
    .calc-result-row span { font-size: 0.85rem; }
    .calc-big-number { font-size: 1.5rem; }
    .calc-result-year .calc-big-number { font-size: 1.85rem; }
    .calc-vs { flex-direction: column; gap: 0.5rem; }
    .calc-vs-box { width: 100%; padding: 0.85rem; }
    .calc-vs-divider { font-size: 0.75rem; }
    .calc-next-btn { font-size: 1rem; padding: 1rem; }
    .calc-savings-badge { font-size: 0.78rem; padding: 0.45rem 1rem; }
    .calc-success h2 { font-size: 1.35rem; }
    .calc-success p { font-size: 0.88rem; }
}

/* ---- Tablet (481px to 768px) ---- */
@media (min-width: 481px) and (max-width: 768px) {
    /* Urgency bar - full line */
    .urgency-bar-inner { font-size: 0.78rem; }

    /* Header */
    .funnel-header-inner { height: 52px; }
    .funnel-header .logo-img { height: 17px; }

    /* Hero */
    .f-hero { padding-top: 82px; min-height: auto; }
    .f-hero-grid { padding: 2rem 0 2.5rem; gap: 2rem; }
    .f-hero-left h1 { font-size: 2rem; }

    /* Form container centered with good width */
    .f-form-container { max-width: 420px; }
    .f-form-card { padding: 1.5rem; }

    /* Trade grid 4-col at tablet */
    .f-trade-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
    .f-trade-btn { padding: 0.85rem 0.5rem; font-size: 0.72rem; min-height: 68px; }

    /* Sections */
    .f-section { padding: 3.5rem 0; }
    .f-section .section-heading { font-size: 1.65rem; margin-bottom: 2.25rem; }

    /* Cost section - stacked but wider phone mockup */
    .f-phone-mock { max-width: 340px; }
    .f-cost-content h2 { font-size: 1.65rem; }

    /* Transform cards - 2 col already handled */
    .f-transform-body { padding: 1.15rem; }

    /* Included cards - stack on tablet */
    .f-included-grid { grid-template-columns: 1fr; }
    .f-incl-main { display: flex; flex-direction: column; }

    /* Quote wall 2 col already handled */

    /* Final CTA */
    .f-final-cta { padding: 4.5rem 0; }
    .f-final-inner h2 { font-size: 1.85rem; }
    .f-final-btn { padding: 1.1rem 2.5rem; font-size: 1rem; }

    /* Footer */
    .funnel-footer { padding: 1.75rem 0; }
}

/* ---- Tablet landscape / small desktop (769px to 959px) ---- */
@media (min-width: 769px) and (max-width: 959px) {
    /* Hero stays single column but more breathing room */
    .f-hero { padding-top: 88px; min-height: auto; }
    .f-hero-grid { padding: 2.5rem 0 3rem; gap: 2.5rem; }
    .f-hero-left h1 { font-size: 2.25rem; }

    /* Form gets a good max width */
    .f-form-container { max-width: 440px; }

    /* Trade grid - 4 columns */
    .f-trade-grid { grid-template-columns: repeat(4, 1fr); }

    /* Sections */
    .f-section { padding: 4rem 0; }

    /* Cost grid - 2 col active at 768px */
    .f-phone-mock { max-width: 320px; }

    /* Included - 2 col at this range */
    .f-included-grid { grid-template-columns: repeat(2, 1fr); }
    .f-incl-main { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }

    /* Final CTA */
    .f-final-cta { padding: 5rem 0; }
}

/* ---- Touch target & interaction improvements (all touch devices) ---- */
@media (max-width: 1023px) {
    /* Ensure adequate touch targets (min 44px) */
    .f-trade-btn { min-height: 56px; }
    .f-challenge-btn { min-height: 52px; }
    .f-submit-btn { min-height: 48px; }
    .faq-question { min-height: 48px; }

    /* Body padding for sticky mobile CTA */
    .funnel-page { padding-bottom: 72px; }

    /* Prevent horizontal overflow */
    .f-ticker { overflow: hidden; }
    .f-hero { overflow: hidden; }

    /* Smooth momentum scrolling */
    html { -webkit-overflow-scrolling: touch; }

    /* Better tap states */
    .f-trade-btn:active { transform: scale(0.96); }
    .f-challenge-btn:active { transform: scale(0.98); }
    .f-submit-btn:active { transform: scale(0.98); }
    .f-final-btn:active { transform: scale(0.98); }

    /* Disable hover lift on touch - keep border glow */
    .f-transform-card:hover { transform: none; }
    .f-incl-card:hover { transform: none; }
}

/* ---- Desktop: restore full experience ---- */
@media (min-width: 1024px) {
    .funnel-page { padding-bottom: 0; }
    .f-hero { min-height: 100vh; }
}


/* ==========================================================================
   AVATAR INITIALS (hero proof + testimonials)
   ========================================================================== */
.f-avatar-initial {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.f-avatar {
    display: flex; align-items: center; justify-content: center;
}
.testimonial-avatar {
    display: flex; align-items: center; justify-content: center;
}
.testimonial-avatar span {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}


/* ==========================================================================
   HERO CLICK-TO-CALL CTA
   ========================================================================== */
.f-hero-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}
.f-hero-call:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.f-hero-call svg { opacity: 0.7; flex-shrink: 0; }

/* Hero secondary CTA row (call + brief) */
.f-hero-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.f-hero-secondary .f-hero-call { margin-top: 0; }
.f-hero-brief { border-color: rgba(116,0,206,0.3); }
.f-hero-brief:hover { border-color: rgba(116,0,206,0.5); background: rgba(116,0,206,0.12); }


/* ==========================================================================
   MID-PAGE CTA (after case studies)
   ========================================================================== */
.f-midpage-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}
.f-midpage-cta p {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}
.f-midpage-brief {
    display: block;
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.f-midpage-brief:hover { color: var(--color-accent-light); }


/* ==========================================================================
   TRUST BADGES STRIP
   ========================================================================== */
.f-trust-strip {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.f-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.f-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.f-trust-item svg { flex-shrink: 0; margin-top: 0.15rem; }
.f-trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.f-trust-item span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .f-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 480px) {
    .f-trust-grid { grid-template-columns: 1fr; gap: 1rem; }
    .f-trust-strip { padding: 2rem 0; }
}


/* ==========================================================================
   FINAL CTA - DUAL ACTIONS (form + phone)
   ========================================================================== */
.f-final-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.f-final-brief {
    background: transparent;
    border: 1.5px solid rgba(116,0,206,0.4);
    box-shadow: none;
}
.f-final-brief::after { display: none; }
.f-final-brief:hover {
    background: rgba(116,0,206,0.15);
    border-color: rgba(116,0,206,0.6);
    box-shadow: 0 8px 32px rgba(116,0,206,0.2);
}
.f-final-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}
.f-final-call:hover { color: #fff; }
.f-final-call svg { opacity: 0.6; }


/* ==========================================================================
   FORM OVERLAY BACK BUTTON
   ========================================================================== */
.fo-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.35rem 0;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.fo-back-btn:hover { color: rgba(255,255,255,0.8); }
.fo-back-btn svg { opacity: 0.6; }


/* ==========================================================================
   NEXT STEPS (success screens)
   ========================================================================== */
.f-next-steps {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.75rem 0 1.5rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.f-next-step {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.f-next-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
}
.f-next-step > span:last-child {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    padding-top: 0.15rem;
}
.f-next-cta-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
.f-success-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: rgba(116,0,206,0.12);
    border: 1px solid rgba(116,0,206,0.25);
    border-radius: var(--radius-sm);
    color: var(--color-accent-light);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.f-success-call:hover {
    background: rgba(116,0,206,0.2);
    border-color: rgba(116,0,206,0.4);
}


/* ==========================================================================
   BUTTON LOADING SPINNER
   ========================================================================== */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.f-submit-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}


/* ==========================================================================
   EXIT-INTENT POPUP
   ========================================================================== */
.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.exit-popup.open {
    opacity: 1;
    visibility: visible;
}
.exit-popup-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: calcFadeIn 0.4s ease;
}
.exit-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0.35rem;
    transition: color 0.2s;
}
.exit-popup-close:hover { color: rgba(255,255,255,0.7); }
.exit-popup-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}
.exit-popup-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}
.exit-popup-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.exit-popup-card .f-submit-btn {
    width: 100%;
    margin-bottom: 0.75rem;
}
.exit-popup-dismiss {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.35rem;
    transition: color 0.2s;
    font-style: italic;
}
.exit-popup-dismiss:hover { color: rgba(255,255,255,0.5); }


/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-bg-card);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner.open {
    transform: translateY(0);
}
.cookie-banner-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.cookie-banner-inner p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin: 0;
}
.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.cookie-btn-accept {
    background: var(--color-accent);
    color: #fff;
}
.cookie-btn-accept:hover { background: var(--color-accent-light); }
.cookie-btn-decline {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}
.cookie-btn-decline:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.85rem;
        padding: 1rem;
    }
    .cookie-banner-actions { width: 100%; justify-content: center; }
    .cookie-btn { flex: 1; }
}


/* ==========================================================================
   SCREEN READER ONLY (accessible labels)
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
