﻿/* ============================================================
   Kliento FB Ads Landing Pages — Direction 3
   "Bold Gradient / Vercel 2026 with Warm Food-Industry Twist"
   Scoped to .fbads-page to avoid polluting admin theme.
   Exception to CLAUDE.md "no custom CSS" rule is explicitly granted
   for /fbads/* pages per spec v1.
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
.fbads-page {
    /* -- 1. COLOR — hero dark mesh gradient -- */
    --fbads-hero-bg-base: #0A0814;
    --fbads-hero-mesh-1: #1E1B4B;
    --fbads-hero-mesh-2: #3B0764;
    --fbads-hero-mesh-3: #4C1D95;
    --fbads-hero-mesh-4: #831843;
    --fbads-hero-mesh-noise: rgba(255, 255, 255, 0.02);

    /* -- 2. COLOR — body surfaces (warm, not cold) -- */
    --fbads-body-bg: #FAFAF7;
    --fbads-body-bg-alt: #F4F2EC;
    --fbads-surface-elevated: #FFFFFF;
    --fbads-surface-sunken: #EFEDE6;

    /* -- 3. COLOR — glass surfaces -- */
    --fbads-glass-on-dark: rgba(255, 255, 255, 0.06);
    --fbads-glass-on-dark-border: rgba(255, 255, 255, 0.10);
    --fbads-glass-on-dark-hover: rgba(255, 255, 255, 0.10);
    --fbads-glass-on-light: rgba(255, 255, 255, 0.72);
    --fbads-glass-on-light-border: rgba(15, 12, 30, 0.06);
    --fbads-glass-on-light-hover: rgba(255, 255, 255, 0.88);
    --fbads-glass-blur: 12px;

    /* -- 4. COLOR — accents (violet → pink → coral) -- */
    --fbads-accent-violet: #8B5CF6;
    --fbads-accent-violet-600: #7C3AED;
    --fbads-accent-pink: #EC4899;
    --fbads-accent-coral: #F97362;
    --fbads-accent-coral-600: #E85D4C;
    --fbads-gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F97362 100%);
    --fbads-gradient-primary-hover: linear-gradient(135deg, #7C3AED 0%, #DB2777 50%, #E85D4C 100%);
    --fbads-gradient-underline: linear-gradient(90deg, #EC4899 0%, #F97362 100%);

    /* -- 5. COLOR — text -- */
    --fbads-text-on-dark: #FFFFFF;
    --fbads-text-on-dark-muted: rgba(255, 255, 255, 0.72);
    --fbads-text-on-dark-subtle: rgba(255, 255, 255, 0.52);
    --fbads-text-heading: #0F0C1E;
    --fbads-text-body: #29253A;
    --fbads-text-muted: #6B6680;
    --fbads-text-subtle: #9A95AC;

    /* -- 6. COLOR — semantic (warm-tuned) -- */
    --fbads-error: #E11D48;
    --fbads-error-bg: rgba(225, 29, 72, 0.08);
    --fbads-success: #059669;
    --fbads-success-bg: rgba(5, 150, 105, 0.08);

    /* -- 7. COLOR — borders -- */
    --fbads-border-subtle: rgba(15, 12, 30, 0.06);
    --fbads-border-default: rgba(15, 12, 30, 0.10);
    --fbads-border-strong: rgba(15, 12, 30, 0.16);
    --fbads-border-focus: var(--fbads-accent-violet);

    /* -- 8. TYPOGRAPHY -- */
    --fbads-font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --fbads-font-mono: 'Geist Mono', 'JetBrains Mono', 'SF Mono', Menlo, Monaco, Consolas, monospace;

    --fbads-fs-hero: 2.25rem;
    --fbads-fs-hero-desktop: 4rem;
    --fbads-fs-section-title: 1.75rem;
    --fbads-fs-section-title-d: 2.5rem;
    --fbads-fs-subhead: 1.125rem;
    --fbads-fs-subhead-d: 1.25rem;
    --fbads-fs-body: 1rem;
    --fbads-fs-body-small: 0.875rem;
    --fbads-fs-micro: 0.75rem;
    --fbads-fs-pill: 0.6875rem;
    --fbads-fs-countdown: 2.5rem;
    --fbads-fs-countdown-d: 4rem;

    --fbads-lh-tight: 1.1;
    --fbads-lh-heading: 1.2;
    --fbads-lh-body: 1.5;
    --fbads-lh-loose: 1.65;

    --fbads-ls-tight: -0.03em;
    --fbads-ls-normal: -0.01em;
    --fbads-ls-wide: 0.08em;

    --fbads-fw-regular: 400;
    --fbads-fw-medium: 500;
    --fbads-fw-semibold: 600;
    --fbads-fw-bold: 700;
    --fbads-fw-black: 800;

    /* -- 9. SPACING — 4px base -- */
    --fbads-s-1: 4px;
    --fbads-s-2: 8px;
    --fbads-s-3: 12px;
    --fbads-s-4: 16px;
    --fbads-s-5: 24px;
    --fbads-s-6: 32px;
    --fbads-s-7: 48px;
    --fbads-s-8: 64px;
    --fbads-s-9: 96px;
    --fbads-s-10: 128px;

    --fbads-section-py-mobile: 48px;
    --fbads-section-py-desktop: 96px;
    --fbads-hero-py-mobile: 72px;
    --fbads-hero-py-desktop: 128px;

    /* -- 10. RADII -- */
    --fbads-radius-sm: 6px;
    --fbads-radius-md: 12px;
    --fbads-radius-lg: 16px;
    --fbads-radius-xl: 24px;
    --fbads-radius-2xl: 32px;
    --fbads-radius-full: 9999px;

    /* -- 11. SHADOWS -- */
    --fbads-shadow-sm: 0 1px 2px rgba(15, 12, 30, 0.04), 0 2px 6px rgba(15, 12, 30, 0.04);
    --fbads-shadow-md: 0 4px 12px rgba(15, 12, 30, 0.06), 0 12px 32px rgba(15, 12, 30, 0.06);
    --fbads-shadow-lg: 0 12px 24px rgba(15, 12, 30, 0.08), 0 24px 64px rgba(15, 12, 30, 0.08);
    --fbads-shadow-mockup: 0 40px 80px -20px rgba(139, 92, 246, 0.45), 0 20px 40px -10px rgba(236, 72, 153, 0.25), 0 0 120px -10px rgba(249, 115, 98, 0.15);
    --fbads-shadow-cta: 0 8px 20px -4px rgba(139, 92, 246, 0.45), 0 4px 8px -2px rgba(236, 72, 153, 0.25);
    --fbads-shadow-cta-hover: 0 12px 28px -4px rgba(139, 92, 246, 0.55), 0 6px 12px -2px rgba(236, 72, 153, 0.35);
    --fbads-shadow-cta-pressed: 0 2px 6px -1px rgba(139, 92, 246, 0.35);
    --fbads-shadow-focus: 0 0 0 4px rgba(139, 92, 246, 0.18);

    /* -- 13. MOTION -- */
    --fbads-dur-fast: 150ms;
    --fbads-dur-base: 250ms;
    --fbads-dur-slow: 400ms;
    --fbads-dur-reveal: 600ms;

    --fbads-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --fbads-ease-in: cubic-bezier(0.64, 0, 0.78, 0);
    --fbads-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --fbads-ease-linear: linear;

    /* -- 14. Z-INDEX -- */
    --fbads-z-footer: 10;
    --fbads-z-sticky-plan: 20;
    --fbads-z-countdown: 30;
    --fbads-z-modal: 1050;
}

/* ============================================================
   2. BASE + RESET (scoped)
   ============================================================ */
.fbads-page {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    line-height: var(--fbads-lh-body);
    color: var(--fbads-text-body);
    background: var(--fbads-body-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    opacity: 0;
    transition: opacity 400ms var(--fbads-ease-out);
}

.fbads-page.fbads-page-loaded {
    opacity: 1;
}

.fbads-page *,
.fbads-page *::before,
.fbads-page *::after {
    box-sizing: border-box;
}

.fbads-page h1,
.fbads-page h2,
.fbads-page h3,
.fbads-page h4,
.fbads-page h5,
.fbads-page h6 {
    color: var(--fbads-text-heading);
    margin: 0;
    font-family: var(--fbads-font-sans);
}

.fbads-page p {
    margin: 0 0 var(--fbads-s-3);
}

.fbads-page a {
    color: inherit;
}

/* Visually hidden helper */
.fbads-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================================
   3. LAYOUT CONTAINERS
   ============================================================ */
.fbads-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--fbads-s-4);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .fbads-container {
        padding-inline: var(--fbads-s-6);
    }
}

.fbads-wrapper {
    overflow: hidden;
    width: 100%;
}

/* ============================================================
   4. PILL TAG (monospace, reusable)
   ============================================================ */
.fbads-pill {
    display: inline-block;
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-pill);
    font-weight: var(--fbads-fw-medium);
    letter-spacing: var(--fbads-ls-wide);
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: var(--fbads-radius-sm);
    background: var(--fbads-surface-sunken);
    color: var(--fbads-text-muted);
    line-height: 1;
}

.fbads-pill--on-dark {
    background: var(--fbads-glass-on-dark);
    border: 1px solid var(--fbads-glass-on-dark-border);
    color: var(--fbads-text-on-dark-muted);
}

.fbads-pill--gradient {
    background: var(--fbads-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    border: 1px solid var(--fbads-glass-on-light-border);
    background-color: transparent;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.fbads-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fbads-s-2);
    padding: 16px var(--fbads-s-6);
    font-family: var(--fbads-font-sans);
    font-size: 1rem;
    font-weight: var(--fbads-fw-semibold);
    line-height: 1;
    color: #FFFFFF;
    background: var(--fbads-gradient-primary);
    border: none;
    border-radius: var(--fbads-radius-md);
    box-shadow: var(--fbads-shadow-cta);
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out),
                background var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-btn-primary:hover,
.fbads-btn-primary:focus {
    color: #FFFFFF;
    transform: translateY(-1px);
    background: var(--fbads-gradient-primary-hover);
    box-shadow: var(--fbads-shadow-cta-hover);
    text-decoration: none;
}

.fbads-btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--fbads-shadow-cta-pressed);
}

.fbads-btn-primary[disabled],
.fbads-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.fbads-btn-primary .fbads-btn-icon {
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-btn-primary:hover .fbads-btn-icon {
    transform: translateX(4px);
}

.fbads-btn-primary--full {
    width: 100%;
}

.fbads-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fbads-s-2);
    width: 100%;
    padding: 16px var(--fbads-s-6);
    font-family: var(--fbads-font-sans);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
    background: var(--fbads-surface-elevated);
    border: 1.5px solid var(--fbads-border-default);
    border-radius: var(--fbads-radius-md);
    text-decoration: none;
    transition: border-color var(--fbads-dur-base) var(--fbads-ease-out),
                transform var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-btn-secondary:hover,
.fbads-btn-secondary:focus {
    border-color: var(--fbads-accent-violet);
    transform: translateY(-1px);
    color: var(--fbads-text-heading);
    text-decoration: none;
    box-shadow: var(--fbads-shadow-sm);
}

/* ============================================================
   6. HERO
   ============================================================ */
.fbads-hero {
    position: relative;
    padding: var(--fbads-hero-py-mobile) 0 var(--fbads-s-8);
    overflow: hidden;
    isolation: isolate;
    background: var(--fbads-body-bg);
}

.fbads-hero-gradient {
    display: none;
}

.fbads-hero-gradient::after {
    display: none;
}

.fbads-hero-fade-bottom {
    display: none;
}

.fbads-hero-inner {
    position: relative;
    z-index: 2;
}

/* Hero on light body — text colors override the default on-dark tokens */
.fbads-hero .fbads-hero-subhead {
    color: var(--fbads-text-muted);
}

.fbads-hero .fbads-hero-micro {
    color: var(--fbads-text-subtle);
}

.fbads-hero .fbads-pill--on-dark {
    background: var(--fbads-glass-on-light, rgba(15, 12, 30, 0.04));
    border-color: var(--fbads-glass-on-light-border, rgba(15, 12, 30, 0.08));
    color: var(--fbads-text-muted);
}

.fbads-hero-eyebrow {
    margin-bottom: var(--fbads-s-5);
    display: inline-block;
}

.fbads-hero-headline {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-hero);
    font-weight: var(--fbads-fw-black);
    letter-spacing: var(--fbads-ls-tight);
    line-height: var(--fbads-lh-tight);
    color: var(--fbads-text-on-dark);
    margin: 0 0 var(--fbads-s-5);
    text-wrap: balance;
}

.fbads-gradient-underline {
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fbads-hero-subhead {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-subhead);
    font-weight: var(--fbads-fw-regular);
    letter-spacing: var(--fbads-ls-normal);
    line-height: var(--fbads-lh-body);
    color: var(--fbads-text-on-dark-muted);
    margin: 0 0 var(--fbads-s-6);
    max-width: 560px;
}

.fbads-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--fbads-s-4);
    margin-bottom: var(--fbads-s-4);
}

.fbads-hero-micro {
    font-size: var(--fbads-fs-micro);
    color: var(--fbads-text-on-dark-subtle);
    margin: 0;
}

.fbads-hero-mockup-wrap {
    position: relative;
    text-align: center;
}

.fbads-hero-mockup {
    position: relative;
    display: inline-block;
    max-width: 100%;
    filter: drop-shadow(0 40px 80px rgba(139, 92, 246, 0.45))
            drop-shadow(0 20px 40px rgba(236, 72, 153, 0.25));
    transform: translateY(0) rotate(0deg);
    transition: transform var(--fbads-dur-slow) var(--fbads-ease-out);
}

.fbads-hero-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fbads-radius-xl);
    display: block;
}

@media (min-width: 1024px) {
    .fbads-hero {
        padding: var(--fbads-hero-py-desktop) 0;
        min-height: 88vh;
        display: flex;
        align-items: center;
    }

    .fbads-hero-headline {
        font-size: var(--fbads-fs-hero-desktop);
    }

    .fbads-hero-subhead {
        font-size: var(--fbads-fs-subhead-d);
    }

    .fbads-hero-mockup-wrap {
        margin-top: 0;
    }

    .fbads-hero-mockup {
        transform: translateY(0) rotate(-3deg);
    }

    .fbads-hero-mockup:hover {
        transform: translateY(-4px) rotate(-2deg);
    }
}

/* ============================================================
   6b. SECTION TITLE HELPER
   ============================================================ */
.fbads-section-title {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-section-title);
    font-weight: var(--fbads-fw-bold);
    letter-spacing: var(--fbads-ls-normal);
    line-height: var(--fbads-lh-heading);
    color: var(--fbads-text-heading);
    text-align: center;
    margin: 0 0 var(--fbads-s-5);
    text-wrap: balance;
}

.fbads-page .fbads-section-title--on-dark {
    color: var(--fbads-text-on-dark);
}

.fbads-page .fbads-section-title--gradient {
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fbads-section-subhead {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    color: var(--fbads-text-muted);
    text-align: center;
    margin: 0 auto var(--fbads-s-6);
    max-width: 640px;
    line-height: var(--fbads-lh-body);
}

@media (min-width: 768px) {
    .fbads-section-title {
        font-size: var(--fbads-fs-section-title-d);
    }
    .fbads-section-subhead {
        font-size: var(--fbads-fs-subhead);
    }
}

.fbads-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fbads-s-3);
    margin-bottom: var(--fbads-s-7);
}

.fbads-section-header .fbads-pill {
    margin-bottom: 0;
}

/* ============================================================
   7. PROBLEM AGITATION
   ============================================================ */
.fbads-problem {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
    position: relative;
}

.fbads-problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-5);
    margin-top: var(--fbads-s-7);
}

.fbads-problem-card {
    background: var(--fbads-glass-on-light);
    backdrop-filter: blur(var(--fbads-glass-blur));
    -webkit-backdrop-filter: blur(var(--fbads-glass-blur));
    border: 1px solid var(--fbads-glass-on-light-border);
    border-radius: var(--fbads-radius-lg);
    padding: var(--fbads-s-6);
    box-shadow: var(--fbads-shadow-sm);
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out),
                border-color var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-problem-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--fbads-shadow-md);
    border-color: rgba(249, 115, 98, 0.24);
}

.fbads-problem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--fbads-radius-lg);
    background: linear-gradient(135deg,
        rgba(236, 72, 153, 0.10) 0%,
        rgba(249, 115, 98, 0.12) 100%);
    border: 1px solid rgba(236, 72, 153, 0.18);
    box-shadow: 0 4px 12px -4px rgba(236, 72, 153, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    margin-bottom: var(--fbads-s-4);
    font-size: 24px;
}

.fbads-problem-icon i {
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fbads-page .fbads-problem-card-title {
    font-family: var(--fbads-font-sans);
    font-size: 1.25rem;
    font-weight: var(--fbads-fw-bold);
    line-height: var(--fbads-lh-heading);
    letter-spacing: var(--fbads-ls-normal);
    margin: 0 0 var(--fbads-s-4);
    display: inline-block;
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fbads-problem-card-text {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    line-height: var(--fbads-lh-body);
    color: var(--fbads-text-body);
    margin: 0;
}

@media (min-width: 1024px) {
    .fbads-problem {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-problem-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--fbads-s-6);
    }
}

/* "Does this sound familiar?" — 4 narrative pain cards: 2-col on desktop,
   short stacked lines inside each card with the final line emphasised. */
.fbads-ec-problem-grid .fbads-problem-card-text + .fbads-problem-card-text {
    margin-top: var(--fbads-s-3);
}

.fbads-ec-problem-grid .fbads-ec-pain-note {
    margin-top: var(--fbads-s-4);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
}

/* Two columns from tablet up — 2×2 grid of pain cards. */
@media (min-width: 768px) {
    .fbads-ec-problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .fbads-ec-problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   8. BENEFITS
   ============================================================ */
.fbads-benefits {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
}

.fbads-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-4);
}

.fbads-benefit-card {
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-lg);
    padding: var(--fbads-s-6);
    transition: border-color var(--fbads-dur-base) var(--fbads-ease-out),
                transform var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-benefit-card:hover {
    border-color: var(--fbads-accent-violet);
    transform: translateY(-1px);
    box-shadow: var(--fbads-shadow-sm);
}

.fbads-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--fbads-radius-md);
    background:
        linear-gradient(var(--fbads-surface-elevated), var(--fbads-surface-elevated)) padding-box,
        var(--fbads-gradient-primary) border-box;
    border: 1.5px solid transparent;
    color: var(--fbads-accent-violet-600);
    margin-bottom: var(--fbads-s-4);
    font-size: 18px;
}

.fbads-benefit-title {
    font-family: var(--fbads-font-sans);
    font-size: 1.125rem;
    font-weight: var(--fbads-fw-bold);
    color: var(--fbads-text-heading);
    margin: 0 0 var(--fbads-s-2);
    line-height: var(--fbads-lh-heading);
}

.fbads-benefit-tagline {
    font-family: var(--fbads-font-sans);
    font-size: 1rem;
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
    line-height: var(--fbads-lh-heading);
    margin: 0 0 var(--fbads-s-3);
}

.fbads-benefit-body {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-muted);
    line-height: var(--fbads-lh-body);
    margin: 0;
}

@media (min-width: 768px) {
    .fbads-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fbads-s-5);
    }
}

@media (min-width: 1024px) {
    .fbads-benefits {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   8a. BRIDGE (market research quote between problem and solution)
   ============================================================ */
.fbads-bridge {
    padding: var(--fbads-s-8) 0;
    background: var(--fbads-body-bg);
}

.fbads-page .fbads-bridge-quote {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--fbads-s-8) var(--fbads-s-6);
    border: none;
    text-align: center;
    font-family: var(--fbads-font-sans);
    font-style: italic;
    font-size: 1.25rem;
    font-weight: var(--fbads-fw-medium);
    line-height: 1.55;
    color: #f4f4f4;
    background: var(--fbads-gradient-primary);
    border-radius: 32px;
    box-shadow:
        0 24px 60px -20px rgba(139, 92, 246, 0.40),
        0 12px 32px -10px rgba(236, 72, 153, 0.30),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    overflow: hidden;
}

.fbads-bridge-quote::before {
    content: '\201C';
    display: block;
    margin-bottom: var(--fbads-s-3);
    font-family: var(--fbads-font-sans);
    font-size: 6rem;
    line-height: 0.35;
    font-weight: var(--fbads-fw-black);
    font-style: normal;
    color: rgba(255, 255, 255, 0.45);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: inherit;
    text-align: center;
}

@media (min-width: 768px) {
    .fbads-bridge {
        padding: var(--fbads-s-9) 0;
    }
    .fbads-page .fbads-bridge-quote {
        padding: var(--fbads-s-9) var(--fbads-s-8);
        font-size: 1.5rem;
    }
    .fbads-bridge-quote::before {
        font-size: 8rem;
    }
}

/* ============================================================
   8b. HOW IT WORKS (customer booking flow — step cards with screenshots)
   ============================================================ */
.fbads-howitworks {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
}

.fbads-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-5);
    margin-top: var(--fbads-s-7);
}

.fbads-step-card {
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-lg);
    padding: var(--fbads-s-5);
    position: relative;
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--fbads-shadow-md);
}

.fbads-step-card-image {
    width: 100%;
    border-radius: var(--fbads-radius-md);
    margin-bottom: var(--fbads-s-4);
    box-shadow: var(--fbads-shadow-sm);
    display: block;
}

.fbads-step-number {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-underline);
    color: #FFFFFF;
    align-items: center;
    justify-content: center;
    font-family: var(--fbads-font-mono);
    font-weight: var(--fbads-fw-bold);
    font-size: 0.875rem;
    margin-bottom: var(--fbads-s-3);
    box-shadow: 0 4px 12px -4px rgba(236, 72, 153, 0.35);
}

.fbads-page .fbads-step-card-title {
    font-family: var(--fbads-font-sans);
    font-size: 1.125rem;
    font-weight: var(--fbads-fw-bold);
    color: var(--fbads-text-heading);
    margin: 0 0 var(--fbads-s-2);
    line-height: var(--fbads-lh-heading);
}

.fbads-step-card-text {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-muted);
    line-height: var(--fbads-lh-body);
    margin: 0;
}

.fbads-page .fbads-steps-closing {
    text-align: center;
    margin-top: var(--fbads-s-8);
    font-size: var(--fbads-fs-subhead);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
}

@media (min-width: 768px) {
    .fbads-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fbads-s-5);
    }
}

@media (min-width: 1024px) {
    .fbads-howitworks {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--fbads-s-5);
    }
}

/* 3-card variant (e.g. OnlineOrders) — skip the 2-col tablet rule and the 4-col desktop rule;
   stacks 1-col through tablet, switches to 3-col on desktop. */
.fbads-steps-grid--3 {
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .fbads-steps-grid--3 {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1024px) {
    .fbads-steps-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   8c. FEATURE PILLS (table-stakes reassurance — no container, no label)
   ============================================================ */
.fbads-feature-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fbads-s-3);
    margin-top: var(--fbads-s-7);
    max-width: 1080px;
    margin-inline: auto;
}

.fbads-feature-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fbads-s-2);
    padding: var(--fbads-s-3) var(--fbads-s-4);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    font-weight: var(--fbads-fw-medium);
    color: var(--fbads-text-body);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-full);
    box-shadow: var(--fbads-shadow-sm);
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out),
                border-color var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-feature-pill:hover {
    transform: translateY(-1px);
    border-color: var(--fbads-accent-pink);
}

.fbads-feature-pill-icon {
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 14px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .fbads-feature-pills {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--fbads-s-4) var(--fbads-s-5);
    }
}

/* ============================================================
   9. DEADLINE / COUNTDOWN
   ============================================================ */
.fbads-deadline {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-hero-bg-base);
    position: relative;
    overflow: hidden;
    color: var(--fbads-text-on-dark);
}

.fbads-deadline::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 20% 50%, rgba(139, 92, 246, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(249, 115, 98, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.fbads-deadline-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--fbads-s-4);
}

.fbads-deadline-pill {
    margin-bottom: var(--fbads-s-4);
}

.fbads-deadline-date {
    font-family: var(--fbads-font-mono);
    font-size: 1rem;
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-on-dark);
    letter-spacing: 0.04em;
    margin: var(--fbads-s-3) 0 var(--fbads-s-6);
}

.fbads-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fbads-s-2);
    max-width: 560px;
    margin: 0 auto;
    perspective: 600px;
}

.fbads-countdown-cell {
    background:
        linear-gradient(#0F0C1E, #0F0C1E) padding-box,
        linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(249, 115, 98, 0.3)) border-box;
    border: 1px solid transparent;
    border-radius: var(--fbads-radius-lg);
    padding: var(--fbads-s-4) var(--fbads-s-2);
    text-align: center;
}

.fbads-countdown-digit {
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-countdown);
    font-weight: var(--fbads-fw-bold);
    color: var(--fbads-text-on-dark);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: block;
    transform-origin: center center;
    backface-visibility: hidden;
}

.fbads-countdown-label {
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-pill);
    font-weight: var(--fbads-fw-medium);
    color: var(--fbads-text-on-dark-subtle);
    letter-spacing: var(--fbads-ls-wide);
    text-transform: uppercase;
    margin-top: var(--fbads-s-2);
    display: block;
}

.fbads-countdown-cell--flip .fbads-countdown-digit {
    animation: fbads-flip 400ms var(--fbads-ease-out);
}

.fbads-deadline-savings {
    margin-top: var(--fbads-s-7);
    font-weight: var(--fbads-fw-semibold);
    font-size: var(--fbads-fs-body-small);
    letter-spacing: var(--fbads-ls-wide);
    text-transform: uppercase;
    font-family: var(--fbads-font-mono);
    line-height: var(--fbads-lh-body);
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fbads-deadline-savings-note {
    margin-top: var(--fbads-s-3);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-on-dark-muted);
    text-transform: none;
    letter-spacing: var(--fbads-ls-normal);
    font-weight: var(--fbads-fw-regular);
}

.fbads-deadline-ended {
    color: var(--fbads-text-on-dark-muted);
    text-align: center;
}

.fbads-deadline-ended-title {
    font-family: var(--fbads-font-sans);
    font-weight: var(--fbads-fw-semibold);
    font-size: 1.125rem;
    color: var(--fbads-text-on-dark);
    margin: 0 0 var(--fbads-s-3);
}

@media (min-width: 768px) {
    .fbads-deadline {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-countdown-digit {
        font-size: var(--fbads-fs-countdown-d);
    }
    .fbads-countdown-grid {
        gap: var(--fbads-s-3);
    }
    .fbads-countdown-cell {
        padding: var(--fbads-s-5) var(--fbads-s-3);
    }
    .fbads-deadline-date {
        font-size: 1.25rem;
    }
    .fbads-deadline-savings {
        font-size: 1rem;
    }
}

/* ============================================================
   10. QUALIFIER
   ============================================================ */
.fbads-qualifier {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
}

.fbads-qualifier-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-5);
}

/* ============================================================
   11. BUNDLE QUALIFIER (static module list)
   ============================================================ */
.fbads-bundle-modules {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--fbads-s-3);
}

/* Grouped bundle reveal (anti-overload clustering) — opt-in via QualifierConfig.ModuleGroups.
   Each group stacks below the previous; the flat list is unaffected when no groups are set. */
.fbads-bundle-group + .fbads-bundle-group {
    margin-top: var(--fbads-s-5);
}

.fbads-bundle-group-title {
    font-size: var(--fbads-fs-body-small);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fbads-text-muted);
    margin: 0 0 var(--fbads-s-3);
}

.fbads-bundle-module-card {
    display: flex;
    align-items: flex-start;
    gap: var(--fbads-s-3);
    padding: var(--fbads-s-4);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-lg);
    transition: border-color var(--fbads-dur-base) var(--fbads-ease-out),
                transform var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-bundle-module-card:hover {
    border-color: var(--fbads-accent-pink);
    transform: translateY(-1px);
    box-shadow: var(--fbads-shadow-sm);
}

/* Highlighted card — angle module of this LP (gradient border via double-bg trick) */
.fbads-bundle-module-card--highlighted {
    background:
        linear-gradient(var(--fbads-surface-elevated), var(--fbads-surface-elevated)) padding-box,
        var(--fbads-gradient-primary) border-box;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px -8px rgba(236, 72, 153, 0.18);
}

.fbads-bundle-module-card--highlighted:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(236, 72, 153, 0.28);
}

.fbads-bundle-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-underline);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 2px;
}

.fbads-bundle-module-body {
    flex-grow: 1;
}

.fbads-page .fbads-bundle-module-title {
    font-family: var(--fbads-font-sans);
    font-size: 1.0625rem;
    font-weight: var(--fbads-fw-bold);
    color: var(--fbads-text-heading);
    margin: 0 0 4px;
    line-height: var(--fbads-lh-heading);
}

.fbads-bundle-module-card--highlighted .fbads-bundle-module-title {
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fbads-bundle-module-desc {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-muted);
    line-height: var(--fbads-lh-body);
    margin: 0;
}

/* Paid add-on badge on a module card (e.g. the mobile app +129 €/year).
   Bright gradient fill so it reads as a premium add-on. */
.fbads-bundle-module-badge {
    display: inline-block;
    margin-top: var(--fbads-s-3);
    padding: 4px 12px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-primary);
    border: none;
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-micro);
    font-weight: var(--fbads-fw-bold);
    color: #FFFFFF;
    white-space: nowrap;
    box-shadow: var(--fbads-shadow-cta);
}

/* Small caveat under "All modules" in the plan — the add-on note. */
.fbads-plan-addon-note {
    display: block;
    margin-top: 2px;
    text-align: left;
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-micro);
    font-weight: var(--fbads-fw-semibold);
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Plan summary */
.fbads-plan-summary {
    position: relative;
    background: var(--fbads-glass-on-light);
    backdrop-filter: blur(var(--fbads-glass-blur));
    -webkit-backdrop-filter: blur(var(--fbads-glass-blur));
    border: 1px solid var(--fbads-glass-on-light-border);
    border-radius: var(--fbads-radius-xl);
    padding: var(--fbads-s-6);
    box-shadow: var(--fbads-shadow-md);
}

.fbads-plan-pill {
    display: inline-block;
    margin-bottom: var(--fbads-s-4);
}

.fbads-plan-list {
    list-style: none;
    margin: 0 0 var(--fbads-s-4);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--fbads-s-3);
    /* Override centered parents (e.g. .fbads-thankyou-wrap) — plan items must align
       left so the text starts next to the check icon, not centered in the column. */
    text-align: left;
    transition: opacity var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-plan-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--fbads-s-3);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
}

/* Single wrapper for the post-icon text content of each plan li. Keeps the li flex
   container at exactly two children (icon + body) so anonymous text nodes don't
   become separate flex items and split the line into columns on narrow screens. */
.fbads-plan-li-body {
    flex: 1 1 auto;
    min-width: 0;
}

.fbads-plan-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-top: 2px;
}

.fbads-plan-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), rgba(249, 115, 98, 0.3), transparent);
    border: 0;
    margin: var(--fbads-s-4) 0;
}

.fbads-page .fbads-plan-price {
    font-family: var(--fbads-font-mono);
    font-size: 1.25rem;
    font-weight: var(--fbads-fw-bold);
    color: var(--fbads-text-heading);
    letter-spacing: var(--fbads-ls-tight);
    margin: 0 0 2px;
}

/* Struck-through regular price next to the discounted "first 100 venues" price —
   makes the temporary discount visible (was 129 € → now 49 €). */
.fbads-page .fbads-plan-price-old {
    font-size: 0.8em;
    font-weight: 400;
    color: var(--fbads-text-muted);
    margin-right: var(--fbads-s-2);
}

.fbads-plan-deadline-line {
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-micro);
    color: var(--fbads-text-muted);
    letter-spacing: 0.02em;
    margin: 0 0 var(--fbads-s-5);
}

/* Qualifier note (e.g. "до 31 май") next to a perk in the plan list.
   Mobile-default: own line so the text doesn't wrap awkwardly under the check icon.
   Desktop: inline next to the perk text. */
.fbads-plan-perk-note {
    display: block;
    margin-left: 0;
    margin-top: 2px;
    font-family: var(--fbads-font-sans);
    font-style: italic;
    font-size: var(--fbads-fs-micro);
    color: var(--fbads-text-subtle);
    font-weight: var(--fbads-fw-regular);
}

/* Note under the price line (e.g. "Цена за първите 100 заведения") */
.fbads-page .fbads-plan-price-note {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-muted);
    margin: 0 0 var(--fbads-s-5);
    font-style: italic;
}

/* Website line in plan list — wraps text + inline checkbox toggle */
.fbads-plan-website-li .fbads-plan-website-body {
    display: flex;
    flex-direction: column;
    gap: var(--fbads-s-2);
}

.fbads-plan-website-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--fbads-s-2);
    margin-top: 2px;
    cursor: pointer;
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-muted);
    user-select: none;
}

.fbads-plan-website-toggle input[type="checkbox"] {
    accent-color: var(--fbads-accent-pink);
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.fbads-plan-cta {
    width: 100%;
}

@media (min-width: 1024px) {
    .fbads-qualifier {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-qualifier-grid {
        grid-template-columns: 7fr 5fr;
        gap: var(--fbads-s-6);
    }
    .fbads-plan-summary {
        position: sticky;
        top: 24px;
    }
    .fbads-plan-price {
        font-size: 1.5rem;
    }
    /* Wider viewports — restore inline perk-note next to the perk text. */
    .fbads-plan-perk-note {
        display: inline;
        margin-left: var(--fbads-s-2);
        margin-top: 0;
    }
}

/* ============================================================
   11b. PRICING PLANS (three-plan block — _PricingPlans.cshtml)
   ============================================================ */
.fbads-plans {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
}

.fbads-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-5);
}

/* No reordering on mobile: the cards are cumulative ("Everything in Basic, plus:"), so they
   only make sense read in plan order. The dark surface and the badge carry Operations. */
.fbads-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--fbads-s-6);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-xl);
    box-shadow: var(--fbads-shadow-sm);
    cursor: pointer;
}

.fbads-plan-card:focus-within {
    box-shadow: var(--fbads-shadow-focus);
}

/* The CTA is the last child and sits at the bottom of every card, so the three CTAs line up. */
.fbads-plan-card > a:last-child {
    margin-top: auto;
}

/* Featured (Operations) — dark surface + radial mesh, same recipe as .fbads-deadline. */
.fbads-plan-card--featured {
    background: var(--fbads-hero-bg-base);
    border-color: transparent;
    overflow: hidden;
    padding-top: var(--fbads-s-8);
    color: var(--fbads-text-on-dark);
}

.fbads-plan-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 20% 50%, rgba(139, 92, 246, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(249, 115, 98, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.fbads-plan-card--featured > * {
    position: relative;
    z-index: 1;
}

/* Selected — gradient border via the double-background trick (as .fbads-bundle-module-card--highlighted). */
.fbads-plan-card--selected {
    background:
        linear-gradient(var(--fbads-surface-elevated), var(--fbads-surface-elevated)) padding-box,
        var(--fbads-gradient-primary) border-box;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px -8px rgba(236, 72, 153, 0.18);
}

.fbads-plan-card--featured.fbads-plan-card--selected {
    background:
        linear-gradient(var(--fbads-hero-bg-base), var(--fbads-hero-bg-base)) padding-box,
        var(--fbads-gradient-primary) border-box;
}

/* The card clips its mesh (overflow: hidden), so the badge sits inside the top edge. */
/* Solid gradient, matching the same badge on the comparison table's plan header. */
.fbads-plan-card--featured > .fbads-plan-card-badge {
    position: absolute;
    top: var(--fbads-s-4);
    left: 50%;
    transform: translateX(-50%);
    background: var(--fbads-gradient-primary);
    border-color: transparent;
    color: var(--fbads-text-on-dark);
    -webkit-text-fill-color: var(--fbads-text-on-dark);
    border-radius: var(--fbads-radius-full);
    white-space: nowrap;
}

.fbads-page .fbads-plan-card-name {
    font-size: var(--fbads-fs-subhead);
    font-weight: var(--fbads-fw-bold);
    letter-spacing: var(--fbads-ls-tight);
    margin: 0 0 var(--fbads-s-2);
}

.fbads-page .fbads-plan-card-price {
    font-family: var(--fbads-font-mono);
    font-size: 2rem;
    font-weight: var(--fbads-fw-bold);
    color: var(--fbads-text-heading);
    letter-spacing: var(--fbads-ls-tight);
    margin: 0 0 var(--fbads-s-5);
}

.fbads-plan-card-period {
    margin-left: var(--fbads-s-2);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-micro);
    font-weight: var(--fbads-fw-regular);
    letter-spacing: var(--fbads-ls-normal);
    color: var(--fbads-text-subtle);
}

.fbads-plan-card-list {
    list-style: none;
    margin: 0 0 var(--fbads-s-5);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-3);
}

.fbads-plan-card-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--fbads-s-3);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
}

.fbads-plan-card-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-primary);
    color: var(--fbads-text-on-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-top: 2px;
}

/* Hidden on mobile: the comparison table sits directly below the stacked cards, so the link
   would only scroll a few hundred pixels. It earns its place on desktop, where the table is
   further down the page. */
.fbads-page .fbads-plan-card-more {
    display: none;
    align-items: center;
    gap: var(--fbads-s-2);
    margin-bottom: var(--fbads-s-5);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-muted);
    text-decoration: none;
}

.fbads-page .fbads-plan-card-more:hover {
    background: var(--fbads-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fbads-plan-card-more-icon {
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-plan-card-more:hover .fbads-plan-card-more-icon {
    transform: translateY(2px);
}

.fbads-page .fbads-plan-card-inherit {
    margin: 0 0 var(--fbads-s-4);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-body);
}

.fbads-page .fbads-plan-card--featured .fbads-plan-card-name,
.fbads-page .fbads-plan-card--featured .fbads-plan-card-inherit,
.fbads-page .fbads-plan-card--featured .fbads-plan-card-price {
    color: var(--fbads-text-on-dark);
}

.fbads-page .fbads-plan-card--featured .fbads-plan-card-list li,
.fbads-page .fbads-plan-card--featured .fbads-plan-card-more {
    color: var(--fbads-text-on-dark-muted);
}

.fbads-page .fbads-plan-card--featured .fbads-plan-card-more:hover {
    background: none;
    color: var(--fbads-text-on-dark);
    -webkit-text-fill-color: var(--fbads-text-on-dark);
}

.fbads-page .fbads-plan-card--featured .fbads-plan-card-period {
    color: var(--fbads-text-on-dark-subtle);
}

@media (min-width: 1024px) {
    .fbads-plans {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .fbads-page .fbads-plan-card-more {
        display: inline-flex;
    }
    .fbads-plancmp-expand-all {
        display: inline-flex;
    }
    /* No scale on the featured card: the cards list every feature, so they run thousands of
       pixels tall and a 4% scale overflows the grid by tens of pixels instead of reading as
       emphasis. The dark surface, the gradient border and the shadow carry it. */
    .fbads-page .fbads-plan-card--featured {
        box-shadow: var(--fbads-shadow-lg);
    }
    .fbads-page .fbads-plan-card--featured:focus-within {
        box-shadow: var(--fbads-shadow-focus);
    }
}

/* ============================================================
   11c. PLAN COMPARISON (feature table — _PricingPlans.cshtml)
   Namespaced fbads-plancmp-* — fbads-compare-* belongs to section 18 and would
   bleed its grey section background into this block.
   The warm page surface is the field; the plan head and every group are separate
   cards floating on it. Mobile-first: the table renders as stacked feature blocks
   and only becomes a column grid at 1024px, where three plans first fit.
   ============================================================ */
.fbads-plancmp-reveal {
    text-align: center;
    margin-top: var(--fbads-s-6);
}

.fbads-plancmp-reveal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.fbads-plancmp-reveal-link span {
    background: var(--fbads-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fbads-plancmp-reveal-link i {
    color: #EC4899;
}

.fbads-plancmp-reveal-link:hover {
    opacity: .85;
}

.fbads-plancmp {
    margin-top: var(--fbads-s-9);
}

.fbads-page .fbads-plancmp .fbads-section-header {
    margin-bottom: var(--fbads-s-5);
}

/* Hidden on mobile: there the groups behave as an accordion (one open at a time), so
   "open all" would contradict it. Shown from 1024px up, where the table is a real grid. */
.fbads-plancmp-expand-all {
    display: none;
    padding: var(--fbads-s-2) var(--fbads-s-4);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-default);
    border-radius: var(--fbads-radius-full);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-micro);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-muted);
    cursor: pointer;
    transition: color var(--fbads-dur-fast) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-fast) var(--fbads-ease-out);
}

.fbads-plancmp-expand-all:hover {
    color: var(--fbads-text-heading);
    box-shadow: var(--fbads-shadow-sm);
}

.fbads-plancmp-expand-all:focus-visible {
    outline: none;
    box-shadow: var(--fbads-shadow-focus);
}

.fbads-plancmp-table,
.fbads-plancmp-group,
.fbads-plancmp-group-row,
.fbads-plancmp-group-cell,
.fbads-plancmp-row,
.fbads-plancmp-feature,
.fbads-plancmp-cell {
    display: block;
}

/* The plan names reach every cell through data-plan-label here, and the three
   plan cards of the section itself sit directly above this block. */
.fbads-plancmp-head {
    display: none;
}

.fbads-plancmp-group {
    margin-bottom: var(--fbads-s-3);
    background: var(--fbads-surface-elevated);
    border-radius: var(--fbads-radius-xl);
    box-shadow: var(--fbads-shadow-sm);
    overflow: clip;
    transition: box-shadow var(--fbads-dur-fast) var(--fbads-ease-out),
                transform var(--fbads-dur-fast) var(--fbads-ease-out);
}

.fbads-plancmp-group:not(.fbads-plancmp-group--open):hover {
    box-shadow: var(--fbads-shadow-md);
    transform: translateY(-1px);
}

.fbads-plancmp-group-cell {
    padding: 0;
}

.fbads-plancmp-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fbads-s-3);
    padding: var(--fbads-s-4) var(--fbads-s-5);
    background: transparent;
    border: 0;
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    font-weight: var(--fbads-fw-semibold);
    letter-spacing: var(--fbads-ls-normal);
    color: var(--fbads-text-heading);
    text-align: left;
    cursor: pointer;
}

.fbads-plancmp-group-toggle:focus-visible {
    outline: none;
    box-shadow: var(--fbads-shadow-focus);
}

.fbads-plancmp-group-title {
    display: flex;
    align-items: center;
    gap: var(--fbads-s-3);
    flex: 1 1 auto;
}

.fbads-plancmp-group-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--fbads-radius-md);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.10), rgba(236, 72, 153, 0.08));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fbads-fs-body-small);
}

.fbads-plancmp-group-icon i {
    background: var(--fbads-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.fbads-plancmp-chevron {
    flex-shrink: 0;
    color: var(--fbads-text-muted);
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-plancmp-group--open .fbads-plancmp-chevron {
    transform: rotate(180deg);
}

.fbads-plancmp-group:not(.fbads-plancmp-group--open) .fbads-plancmp-row {
    display: none;
}

.fbads-plancmp-row {
    padding: var(--fbads-s-4) var(--fbads-s-5);
    border-top: 1px solid var(--fbads-border-subtle);
}

.fbads-plancmp-feature {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
    text-align: left;
    margin-bottom: var(--fbads-s-3);
}

.fbads-plancmp-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fbads-s-4);
    padding: var(--fbads-s-2) var(--fbads-s-3);
    border-radius: var(--fbads-radius-sm);
    background: transparent;
}

.fbads-plancmp-cell::before {
    content: attr(data-plan-label);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-micro);
    font-weight: var(--fbads-fw-medium);
    color: var(--fbads-text-muted);
}

/* Operations is marked by a soft veil down its whole column, not by a rail. */
.fbads-plancmp-cell--featured {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    font-weight: var(--fbads-fw-semibold);
}

.fbads-plancmp-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-primary);
    color: var(--fbads-text-on-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* A dash, not a red cross — forty red crosses turn Basic into a failure, and Basic sells. */
.fbads-plancmp-x {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-surface-sunken);
    color: var(--fbads-text-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.fbads-plancmp-value {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-micro);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-body);
    text-align: right;
}

@media (min-width: 1024px) {
    /* One shared track list is what keeps the floating plan cards aligned with the
       columns of every group card below them — same template, same gap. */
    .fbads-plancmp {
        --fbads-plancmp-cols: 40% repeat(3, 1fr);
    }
    /* No sticky head here: the plan cards are deliberately overlapped by the first
       group card, so they sit *behind* the groups — a sticky head would scroll
       under them, and the badge overhanging the top edge would be cut off. */
    .fbads-plancmp-head {
        display: block;
        position: relative;
        z-index: 0;
        margin-bottom: var(--fbads-s-3);
    }
    .fbads-plancmp-head-row {
        display: grid;
        grid-template-columns: var(--fbads-plancmp-cols);
        gap: var(--fbads-s-3);
        align-items: stretch;
    }
    /* The bottom padding is the strip the first group card overlaps. */
    .fbads-plancmp-plan {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--fbads-s-1);
        padding: var(--fbads-s-5) var(--fbads-s-4) var(--fbads-s-6);
        text-align: center;
        background: var(--fbads-surface-elevated);
        border: 1px solid var(--fbads-border-subtle);
        border-radius: var(--fbads-radius-lg);
    }
    /* White under a violet→pink veil in the padding box, gradient in the border box. */
    .fbads-plancmp-plan--featured {
        background:
            linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(236, 72, 153, 0.04)) padding-box,
            linear-gradient(var(--fbads-surface-elevated), var(--fbads-surface-elevated)) padding-box,
            var(--fbads-gradient-primary) border-box;
        border: 2px solid transparent;
    }
    .fbads-plancmp-plan-name {
        font-family: var(--fbads-font-sans);
        font-size: var(--fbads-fs-subhead);
        font-weight: var(--fbads-fw-bold);
        letter-spacing: var(--fbads-ls-tight);
        color: var(--fbads-text-heading);
    }
    .fbads-plancmp-plan-price {
        font-family: var(--fbads-font-mono);
        font-size: var(--fbads-fs-subhead);
        font-weight: var(--fbads-fw-bold);
        color: var(--fbads-text-heading);
    }
    .fbads-plancmp-plan--featured .fbads-plancmp-plan-name,
    .fbads-plancmp-plan--featured .fbads-plancmp-plan-price {
        background: var(--fbads-gradient-primary);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }
    .fbads-plancmp-plan-badge {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        background: var(--fbads-gradient-primary);
        color: var(--fbads-text-on-dark);
        border-radius: var(--fbads-radius-full);
        white-space: nowrap;
    }
    .fbads-plancmp-group {
        position: relative;
        z-index: 1;
    }
    .fbads-plancmp-row {
        display: grid;
        grid-template-columns: var(--fbads-plancmp-cols);
        gap: var(--fbads-s-3);
        align-items: center;
        padding: 0;
    }
    .fbads-plancmp-feature {
        padding: var(--fbads-s-3) var(--fbads-s-5);
        margin-bottom: 0;
        font-weight: var(--fbads-fw-regular);
        color: var(--fbads-text-body);
    }
    .fbads-plancmp-cell {
        justify-content: center;
        padding: var(--fbads-s-3) var(--fbads-s-4);
        border-radius: 0;
        font-weight: var(--fbads-fw-regular);
    }
    .fbads-plancmp-cell::before {
        content: none;
    }
    .fbads-plancmp-value {
        text-align: center;
    }
}

/* ============================================================
   12. LEAD FORM
   ============================================================ */
.fbads-form-section {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
}

.fbads-form-wrap {
    max-width: 780px;
    margin-inline: auto;
}

.fbads-form-card {
    background: var(--fbads-glass-on-light);
    backdrop-filter: blur(var(--fbads-glass-blur));
    -webkit-backdrop-filter: blur(var(--fbads-glass-blur));
    border: 1px solid var(--fbads-glass-on-light-border);
    border-radius: var(--fbads-radius-xl);
    padding: var(--fbads-s-6);
    box-shadow: var(--fbads-shadow-md);
}

.fbads-form-intro {
    font-family: var(--fbads-font-sans);
    color: var(--fbads-text-muted);
    font-size: var(--fbads-fs-body);
    margin: 0 0 var(--fbads-s-6);
    text-align: center;
}

.fbads-form-label-group {
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-pill);
    font-weight: var(--fbads-fw-medium);
    text-transform: uppercase;
    letter-spacing: var(--fbads-ls-wide);
    color: var(--fbads-text-muted);
    display: block;
    margin-bottom: var(--fbads-s-3);
}

/* Dual-path selector */
.fbads-path-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-3);
    margin-bottom: var(--fbads-s-6);
}

.fbads-path-card {
    position: relative;
    background: var(--fbads-surface-elevated);
    border: 1.5px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-lg);
    padding: var(--fbads-s-5);
    cursor: pointer;
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out),
                border-color var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out),
                opacity var(--fbads-dur-base) var(--fbads-ease-out);
    display: block;
}

.fbads-path-card--activation {
    background:
        linear-gradient(var(--fbads-surface-elevated), var(--fbads-surface-elevated)) padding-box,
        var(--fbads-gradient-primary) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 20px -6px rgba(139, 92, 246, 0.15);
}

.fbads-path-card--selected {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), var(--fbads-shadow-md);
}

.fbads-path-card:not(.fbads-path-card--selected):hover {
    transform: translateY(-1px);
    border-color: var(--fbads-border-default);
}

.fbads-path-grid:has(.fbads-path-card--selected) .fbads-path-card:not(.fbads-path-card--selected) {
    opacity: 0.85;
}

.fbads-path-title {
    font-family: var(--fbads-font-sans);
    font-size: 1rem;
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
    margin: 0 0 var(--fbads-s-2);
    padding-right: var(--fbads-s-6);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fbads-s-2);
    line-height: var(--fbads-lh-heading);
}

.fbads-path-desc {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-muted);
    margin: 0;
    line-height: var(--fbads-lh-body);
}

.fbads-path-badge {
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-pill);
    font-weight: var(--fbads-fw-medium);
    letter-spacing: var(--fbads-ls-wide);
    text-transform: uppercase;
    background: var(--fbads-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fbads-path-checkmark {
    position: absolute;
    top: var(--fbads-s-4);
    right: var(--fbads-s-4);
    width: 22px;
    height: 22px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-primary);
    color: #FFFFFF;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.fbads-path-card--selected .fbads-path-checkmark {
    display: inline-flex;
}

.fbads-path-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fbads-path-card input[type="radio"]:focus-visible ~ .fbads-path-checkmark {
    box-shadow: var(--fbads-shadow-focus);
}

/* Floating labels */
.fbads-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-4);
    margin-bottom: var(--fbads-s-4);
}

.fbads-field {
    position: relative;
    margin-bottom: 0;
}

.fbads-field-input,
.fbads-field-select {
    width: 100%;
    padding: 22px var(--fbads-s-4) 10px;
    background: var(--fbads-surface-elevated);
    border: 1.5px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-md);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    color: var(--fbads-text-heading);
    line-height: 1.25;
    transition: border-color var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out),
                background var(--fbads-dur-base) var(--fbads-ease-out);
    appearance: none;
    -webkit-appearance: none;
}

.fbads-field-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6680' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--fbads-s-4) center;
    cursor: pointer;
}

.fbads-field-input:focus,
.fbads-field-select:focus {
    outline: none;
    border-color: var(--fbads-accent-violet);
    box-shadow: var(--fbads-shadow-focus);
}

.fbads-field-label {
    position: absolute;
    top: 18px;
    left: var(--fbads-s-4);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    color: var(--fbads-text-muted);
    pointer-events: none;
    transition: transform var(--fbads-dur-fast) var(--fbads-ease-out),
                font-size var(--fbads-dur-fast) var(--fbads-ease-out),
                color var(--fbads-dur-fast) var(--fbads-ease-out);
    transform-origin: left center;
    background: transparent;
    line-height: 1;
    margin: 0;
}

.fbads-field--filled .fbads-field-label,
.fbads-field-input:focus ~ .fbads-field-label,
.fbads-field-select:focus ~ .fbads-field-label,
.fbads-field-input:not(:placeholder-shown) ~ .fbads-field-label {
    transform: translateY(-10px) scale(0.75);
    color: var(--fbads-accent-violet-600);
}

/* Select always shows a value (even empty option has value ""), so we always float its label */
.fbads-field-select ~ .fbads-field-label {
    transform: translateY(-10px) scale(0.75);
}

.fbads-field--error .fbads-field-input,
.fbads-field--error .fbads-field-select {
    border-color: var(--fbads-error);
    background: var(--fbads-error-bg);
}

.fbads-field--error .fbads-field-label {
    color: var(--fbads-error);
}

.fbads-field-error-text {
    display: block;
    margin-top: var(--fbads-s-2);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-micro);
    color: var(--fbads-error);
}

/* Consent checkbox */
.fbads-consent {
    display: flex;
    align-items: flex-start;
    gap: var(--fbads-s-3);
    margin-bottom: var(--fbads-s-5);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
    cursor: pointer;
}

.fbads-consent-input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: var(--fbads-radius-sm);
    border: 1.5px solid var(--fbads-border-default);
    accent-color: var(--fbads-accent-violet);
    cursor: pointer;
}

.fbads-consent-input:focus-visible {
    outline: none;
    box-shadow: var(--fbads-shadow-focus);
}

.fbads-consent-text a {
    color: var(--fbads-accent-violet-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fbads-consent-text a:hover {
    color: var(--fbads-accent-violet);
}

.fbads-form-error-banner {
    display: none;
    margin-top: var(--fbads-s-4);
    margin-bottom: var(--fbads-s-4);
    padding: var(--fbads-s-3) var(--fbads-s-4);
    background: var(--fbads-error-bg);
    border: 1px solid rgba(225, 29, 72, 0.18);
    border-radius: var(--fbads-radius-md);
    color: var(--fbads-error);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    line-height: var(--fbads-lh-body);
}

.fbads-form-error-banner:not(:empty) {
    display: block;
}

@media (min-width: 640px) {
    .fbads-form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .fbads-form-grid .fbads-field--full {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .fbads-path-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--fbads-s-4);
    }
}

@media (min-width: 1024px) {
    .fbads-form-section {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-form-card {
        padding: var(--fbads-s-7);
    }
}

/* ============================================================
   12b. THANK YOU
   ============================================================ */
.fbads-thankyou {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
    min-height: 70vh;
}

.fbads-thankyou-banner {
    height: 4px;
    background: var(--fbads-gradient-primary);
    width: 100%;
}

.fbads-thankyou-wrap {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.fbads-thankyou-check {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: var(--fbads-s-5);
    box-shadow: var(--fbads-shadow-cta);
    isolation: isolate;
}

.fbads-thankyou-check::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-primary);
    filter: blur(24px);
    opacity: 0.35;
    z-index: -1;
}

.fbads-thankyou-title {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-section-title);
    font-weight: var(--fbads-fw-black);
    color: var(--fbads-text-heading);
    letter-spacing: var(--fbads-ls-tight);
    line-height: var(--fbads-lh-tight);
    margin: 0 0 var(--fbads-s-3);
    text-wrap: balance;
}

.fbads-thankyou-lead {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-subhead);
    color: var(--fbads-text-muted);
    margin: 0 0 var(--fbads-s-3);
}

.fbads-thankyou-callback {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    color: var(--fbads-text-body);
    margin: 0 0 var(--fbads-s-7);
}

.fbads-thankyou-masked {
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-micro);
    color: var(--fbads-text-subtle);
    margin-top: var(--fbads-s-5);
}

.fbads-contact-card {
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-xl);
    padding: var(--fbads-s-6);
    box-shadow: var(--fbads-shadow-sm);
    margin-top: var(--fbads-s-5);
    text-align: center;
}

.fbads-contact-title {
    font-family: var(--fbads-font-sans);
    font-size: 1.125rem;
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
    margin: 0 0 var(--fbads-s-2);
}

.fbads-contact-lead {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-muted);
    margin: 0 0 var(--fbads-s-5);
}

.fbads-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-3);
}

@media (min-width: 640px) {
    .fbads-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .fbads-thankyou {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-thankyou-title {
        font-size: var(--fbads-fs-section-title-d);
    }
}

/* ============================================================
   13. KEYFRAMES
   ============================================================ */
@keyframes fbads-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fbads-flip {
    0% {
        transform: rotateX(0);
        opacity: 1;
    }
    50% {
        transform: rotateX(-90deg);
        opacity: 0.4;
    }
    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

@keyframes fbads-spin {
    to {
        transform: rotate(360deg);
    }
}

.fbads-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: fbads-spin 700ms linear infinite;
    display: none;
}

.fbads-btn-primary[data-loading="true"] .fbads-spinner {
    display: inline-block;
}

.fbads-btn-primary[data-loading="true"] .fbads-btn-label {
    opacity: 0.65;
}

/* Hero entrance animations */
.fbads-page .fbads-hero-eyebrow,
.fbads-page .fbads-hero-headline,
.fbads-page .fbads-hero-subhead,
.fbads-page .fbads-hero-cta-row,
.fbads-page .fbads-hero-micro,
.fbads-page .fbads-hero-mockup-wrap {
    opacity: 0;
    animation: fbads-fade-up 600ms var(--fbads-ease-out) forwards;
}

.fbads-page .fbads-hero-eyebrow {
    animation-delay: 50ms;
}

.fbads-page .fbads-hero-headline {
    animation-delay: 100ms;
}

.fbads-page .fbads-hero-subhead {
    animation-delay: 200ms;
}

.fbads-page .fbads-hero-cta-row {
    animation-delay: 350ms;
}

.fbads-page .fbads-hero-micro {
    animation-delay: 450ms;
}

.fbads-page .fbads-hero-mockup-wrap {
    animation-delay: 500ms;
    animation-duration: 800ms;
}

/* ============================================================
   15. SCROLL REVEAL (base styles; JS adds .is-visible)
   ============================================================ */
[data-fbads-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--fbads-dur-reveal) var(--fbads-ease-out),
                transform var(--fbads-dur-reveal) var(--fbads-ease-out);
}

[data-fbads-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* (Section 17 PROPAGATION CHAIN removed — no longer used by any landing page.) */

/* ============================================================
   18. COMPARE (fragmented stack vs. one connected system)
   ============================================================ */
.fbads-compare {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg-alt);
}

.fbads-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-5);
    margin-top: var(--fbads-s-6);
}

.fbads-compare-col {
    border-radius: var(--fbads-radius-xl);
    padding: var(--fbads-s-6);
}

/* "The usual way" — muted, fragmented */
.fbads-compare-col--before {
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-default);
    box-shadow: var(--fbads-shadow-sm);
}

/* "With Kliento" — gradient-bordered, elevated */
.fbads-compare-col--after {
    background:
        linear-gradient(var(--fbads-surface-elevated), var(--fbads-surface-elevated)) padding-box,
        var(--fbads-gradient-primary) border-box;
    border: 2px solid transparent;
    box-shadow: var(--fbads-shadow-lg);
}

.fbads-compare-eyebrow {
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-pill);
    font-weight: var(--fbads-fw-medium);
    letter-spacing: var(--fbads-ls-wide);
    text-transform: uppercase;
    margin: 0 0 var(--fbads-s-2);
    display: block;
}

.fbads-compare-col--before .fbads-compare-eyebrow { color: var(--fbads-text-subtle); }
.fbads-compare-col--after .fbads-compare-eyebrow {
    background: var(--fbads-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fbads-page .fbads-compare-title {
    font-size: 1.25rem;
    font-weight: var(--fbads-fw-bold);
    color: var(--fbads-text-heading);
    margin: 0 0 var(--fbads-s-5);
    line-height: var(--fbads-lh-heading);
}

.fbads-compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--fbads-s-3);
}

.fbads-compare-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--fbads-s-3);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
}

.fbads-compare-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: var(--fbads-radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}

.fbads-compare-mark--x {
    background: var(--fbads-error-bg);
    color: var(--fbads-error);
    border: 1px solid rgba(225, 29, 72, 0.20);
}

.fbads-compare-mark--check {
    background: var(--fbads-gradient-primary);
    color: #FFFFFF;
}

@media (min-width: 1024px) {
    .fbads-compare {
        padding: var(--fbads-section-py-desktop) 0;
    }
    .fbads-compare-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--fbads-s-6);
        align-items: start;
    }
}

/* ============================================================
   19. "EVERYTHING CONNECTED" — final, classic, crystal-clear build
   No metaphors, no hub/spine/pulse. The hero diagram is STATIC and
   clearly labelled. Reuses tokens only; the only motion is the shared
   data-fbads-reveal fade-up.
   ============================================================ */

/* ---- 19.1 HERO LEAD + EMPHASIS (light hero) ---- */
.fbads-hero .fbads-ec-hero-lead {
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
    margin-bottom: var(--fbads-s-4);
}

/* ---- 19.1b CENTERED HERO — light top → violet→pink bottom, big image ---- */
/* Light at the top (text stays readable) flowing into a saturated violet→pink
   bottom so the lower edge of the hero image (the devices) melts into the colour. */
.fbads-ec-hero {
    background:
        linear-gradient(
            180deg,
            var(--fbads-body-bg) 0%,
            var(--fbads-body-bg) 32%,
            rgba(139, 92, 246, 0.12) 52%,
            rgba(139, 92, 246, 0.55) 78%,
            var(--fbads-accent-pink) 100%
        );
    text-align: center;
    /* Pull the image's bottom flush to the coloured floor of the hero. */
    padding-bottom: 0;
    overflow: hidden;
}

.fbads-ec-hero .fbads-hero-inner {
    width: 100%;
}

.fbads-ec-hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fbads-ec-hero-logo {
    display: block;
    height: auto;
    max-width: 180px;
    margin: 0 auto var(--fbads-s-6);
}

/* Centre the headline / subhead / CTA that are otherwise left-aligned. */
.fbads-ec-hero .fbads-hero-headline {
    color: var(--fbads-text-heading);
    margin-left: auto;
    margin-right: auto;
    max-width: 16ch;
}

.fbads-ec-hero .fbads-hero-subhead {
    color: var(--fbads-text-muted);
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
}

.fbads-ec-hero .fbads-hero-cta-row {
    justify-content: center;
    margin-bottom: var(--fbads-s-7);
}

/* Big image: full container width, no frame/box/shadow — it carries its own design. */
.fbads-ec-hero-image {
    width: 100%;
    margin-top: var(--fbads-s-2);
}

.fbads-ec-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    /* Override the base flex/centre + min-height so the stack flows top→bottom
       and the big image's foot lands on the coloured floor (no empty colour band). */
    .fbads-ec-hero {
        display: block;
        min-height: 0;
        padding-top: var(--fbads-hero-py-desktop);
        padding-bottom: 0;
    }

    .fbads-ec-hero-logo {
        max-width: 200px;
    }

    .fbads-ec-hero .fbads-hero-subhead {
        font-size: var(--fbads-fs-subhead-d);
    }

    /* Constrain the image so it does not get absurdly tall on wide monitors. */
    .fbads-ec-hero-image img {
        max-width: 1000px;
    }
}

.fbads-page .fbads-ec-hero-emphasis {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    line-height: var(--fbads-lh-body);
    color: var(--fbads-text-body);
    max-width: 560px;
    margin: 0 0 var(--fbads-s-6);
}

.fbads-page .fbads-ec-hero-emphasis strong {
    color: var(--fbads-text-heading);
    font-weight: var(--fbads-fw-bold);
}

/* ---- 19.2 HERO DIAGRAM (static: Administration → 5 channels) ---- */
/* Hero illustration uses the shared .fbads-hero-mockup pattern (same as other landing pages). */

/* ---- 19.3 PROBLEM PANEL (the result list + punchline) ---- */
.fbads-ec-problem-panel {
    max-width: 760px;
    margin: var(--fbads-s-6) auto 0;
    padding: var(--fbads-s-6);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-xl);
    box-shadow: var(--fbads-shadow-sm);
}

.fbads-page .fbads-ec-problem-lead {
    font-family: var(--fbads-font-sans);
    font-size: 1.0625rem;
    font-weight: var(--fbads-fw-bold);
    color: var(--fbads-text-heading);
    margin: 0 0 var(--fbads-s-4);
}

.fbads-ec-problem-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-3);
}

.fbads-ec-problem-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--fbads-s-3);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
}

.fbads-ec-x {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-error-bg);
    color: var(--fbads-error);
    border: 1px solid rgba(225, 29, 72, 0.20);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}

/* The bold punchline that closes the problem and signage sections. */
.fbads-page .fbads-ec-punchline {
    text-align: center;
    max-width: 760px;
    margin: var(--fbads-s-7) auto 0;
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-subhead);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
    line-height: var(--fbads-lh-body);
}

@media (min-width: 640px) {
    .fbads-ec-problem-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fbads-s-3) var(--fbads-s-5);
    }
}

/* ---- 19.4 HOW IT WORKS (worked examples) ---- */
.fbads-ec-how {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
}

.fbads-ec-example {
    max-width: 760px;
    margin: 0 auto var(--fbads-s-5);
    padding: var(--fbads-s-6);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-xl);
    box-shadow: var(--fbads-shadow-sm);
}

.fbads-ec-example-eyebrow {
    display: inline-block;
    margin-bottom: var(--fbads-s-4);
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-pill);
    font-weight: var(--fbads-fw-medium);
    letter-spacing: var(--fbads-ls-wide);
    text-transform: uppercase;
    background: var(--fbads-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fbads-page .fbads-ec-example-text {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
    margin: 0 0 var(--fbads-s-4);
}

.fbads-page .fbads-ec-example-text.fw-strong {
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
}

.fbads-page .fbads-ec-example-text:last-child {
    margin-bottom: 0;
}

.fbads-ec-check-list {
    list-style: none;
    margin: 0 0 var(--fbads-s-4);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-3);
}

.fbads-ec-check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--fbads-s-3);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
}

.fbads-ec-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: var(--fbads-radius-full);
    background: var(--fbads-gradient-primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}

/* The short, centred emphasis line ("One administration. One menu. One correct price.") */
.fbads-page .fbads-ec-emphasis-line {
    text-align: center;
    margin: var(--fbads-s-5) 0 0;
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-subhead);
    font-weight: var(--fbads-fw-bold);
    line-height: var(--fbads-lh-heading);
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Centred CTA row reused under several sections. */
.fbads-ec-cta-center {
    justify-content: center;
    margin-top: var(--fbads-s-8);
}

@media (min-width: 1024px) {
    .fbads-ec-how { padding: var(--fbads-section-py-desktop) 0; }
}

/* ---- 19.5 DIGITAL SCREENS SPOTLIGHT ---- */
.fbads-ec-signage {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
}

.fbads-ec-signage-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--fbads-s-6);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-xl);
    box-shadow: var(--fbads-shadow-sm);
}

.fbads-ec-check-list--2col {
    margin-bottom: 0;
}

.fbads-page .fbads-ec-signage-note {
    text-align: center;
    max-width: 720px;
    margin: var(--fbads-s-6) auto 0;
    color: var(--fbads-text-muted);
}

@media (min-width: 640px) {
    .fbads-ec-check-list--2col {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fbads-s-3) var(--fbads-s-5);
    }
}

@media (min-width: 1024px) {
    .fbads-ec-signage { padding: var(--fbads-section-py-desktop) 0; }
}

/* ---- 19.6 MODULES (reuses .fbads-benefits grid; 3-up on desktop) ---- */
.fbads-ec-modules {
    background: var(--fbads-body-bg);
}

@media (min-width: 1024px) {
    .fbads-ec-modules .fbads-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- 19.7 TRUST STRIP ---- */
.fbads-ec-trust-strip {
    padding: var(--fbads-s-7) 0;
    background: var(--fbads-hero-bg-base);
    text-align: center;
}

.fbads-page .fbads-ec-trust-strip-text {
    max-width: 820px;
    margin: 0 auto;
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-subhead);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-on-dark);
    line-height: var(--fbads-lh-body);
}

@media (min-width: 1024px) {
    .fbads-ec-trust-strip { padding: var(--fbads-s-8) 0; }
}

/* ---- 19.8 CLOSE (dark) ---- */
.fbads-ec-close {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-hero-bg-base);
    position: relative;
    overflow: hidden;
}

.fbads-ec-close::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 20% 40%, rgba(139, 92, 246, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 60%, rgba(249, 115, 98, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.fbads-ec-close-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.fbads-page .fbads-ec-close-text {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-subhead);
    color: var(--fbads-text-on-dark-muted);
    margin: 0 0 var(--fbads-s-3);
}

.fbads-page .fbads-ec-close-emphasis {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-subhead);
    font-weight: var(--fbads-fw-bold);
    line-height: var(--fbads-lh-heading);
    margin: 0 0 var(--fbads-s-7);
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fbads-ec-close-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--fbads-s-4);
}

/* Secondary CTA on the dark close — glass on dark, not the light default. */
.fbads-ec-close .fbads-ec-close-secondary {
    width: auto;
    background: var(--fbads-glass-on-dark);
    border-color: var(--fbads-glass-on-dark-border);
    color: var(--fbads-text-on-dark);
}

.fbads-ec-close .fbads-ec-close-secondary:hover,
.fbads-ec-close .fbads-ec-close-secondary:focus {
    background: var(--fbads-glass-on-dark-hover);
    border-color: var(--fbads-accent-violet);
    color: var(--fbads-text-on-dark);
}

@media (min-width: 1024px) {
    .fbads-ec-close { padding: var(--fbads-section-py-desktop) 0; }
}

/* ---- 19.9 COMPLETENESS PILLS ---- */
.fbads-ec-pills-section {
    padding: var(--fbads-section-py-mobile) 0 0;
    background: var(--fbads-body-bg);
}

/* ============================================================
   16. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .fbads-page *,
    .fbads-page *::before,
    .fbads-page *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .fbads-page,
    .fbads-page .fbads-hero-eyebrow,
    .fbads-page .fbads-hero-headline,
    .fbads-page .fbads-hero-subhead,
    .fbads-page .fbads-hero-cta-row,
    .fbads-page .fbads-hero-micro,
    .fbads-page .fbads-hero-mockup-wrap {
        opacity: 1;
        animation: none;
    }

    [data-fbads-reveal] {
        opacity: 1;
        transform: none;
    }

    .fbads-countdown-cell--flip .fbads-countdown-digit {
        animation: none;
    }

    /* No smooth scroll-to-solution jumps when the user prefers reduced motion. */
    .fbads-page {
        scroll-behavior: auto;
    }
}

/* ============================================================
   20. CLICKABLE PROBLEM CARDS → SOLUTION ANCHORS
   "Does this sound familiar?" — each pain card is a full anchor that
   smooth-scrolls to the section solving that exact problem. A small
   gradient "Solution" label + the named solution + a moving arrow sit
   in a footer pinned to the bottom of an equal-height card.
   ============================================================ */

/* Smooth scroll for the anchor jumps (scoped to the landing page only). */
.fbads-page {
    scroll-behavior: smooth;
}

/* Give the targeted solution sections a little breathing room from the top
   so a sticky/visual edge never clips the heading on jump. */
.fbads-page [id="how-it-works"],
.fbads-page [id="solution-orders"],
.fbads-page [id="solution-screens"],
.fbads-page [id="solution-loyalty"] {
    scroll-margin-top: var(--fbads-s-5);
}

/* Equal-height pain cards so the footer lines up across the 2-col grid.
   The grid columns already come from .fbads-ec-problem-grid — we only make
   each card a vertical flex column and stretch the rows. */
.fbads-ec-problem-grid {
    align-items: stretch;
}

/* The whole card is now an <a>. Reset link styling and make it a column. */
.fbads-page a.fbads-problem-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.fbads-page a.fbads-problem-card:hover,
.fbads-page a.fbads-problem-card:focus {
    text-decoration: none;
    color: inherit;
}

/* Stronger, intentional hover/focus lift + warm glow for the clickable cards. */
.fbads-page a.fbads-problem-card:hover,
.fbads-page a.fbads-problem-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--fbads-shadow-md);
    border-color: rgba(249, 115, 98, 0.35);
    background: var(--fbads-glass-on-light-hover);
}

.fbads-page a.fbads-problem-card:focus-visible {
    outline: none;
    box-shadow: var(--fbads-shadow-focus), var(--fbads-shadow-md);
}

/* Push the footer to the bottom of the equal-height card. */
.fbads-problem-card-footer {
    margin-top: auto;
    padding-top: var(--fbads-s-5);
}

/* Small gradient "Solution" eyebrow label. */
.fbads-problem-card-solution-label {
    display: inline-block;
    margin-bottom: var(--fbads-s-2);
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-pill);
    font-weight: var(--fbads-fw-medium);
    letter-spacing: var(--fbads-ls-wide);
    text-transform: uppercase;
    background: var(--fbads-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* The named solution row + arrow. */
.fbads-problem-card-solution {
    display: inline-flex;
    align-items: center;
    gap: var(--fbads-s-2);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    font-weight: var(--fbads-fw-semibold);
    color: var(--fbads-text-heading);
    line-height: var(--fbads-lh-heading);
}

.fbads-problem-card-solution-arrow {
    flex-shrink: 0;
    font-size: 14px;
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    transition: transform var(--fbads-dur-base) var(--fbads-ease-out);
}

.fbads-page a.fbads-problem-card:hover .fbads-problem-card-solution-arrow,
.fbads-page a.fbads-problem-card:focus-visible .fbads-problem-card-solution-arrow {
    transform: translateX(4px);
}

/* ============================================================
   21. SOLUTION SECTIONS (orders, loyalty)
   Reuse the warm body surfaces; a centred intro + a 2-col benefit
   list + a centred CTA. Mirrors the calm tone of the other sections.
   ============================================================ */
.fbads-ec-solution {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg-alt);
}

/* Alternate the surface so consecutive solution sections read as distinct. */
.fbads-ec-solution--alt {
    background: var(--fbads-body-bg-alt);
}

/* Order-tracking section — light surface (alternates after the loyalty section). */
.fbads-ec-tracking {
    padding: var(--fbads-section-py-mobile) 0;
    background: var(--fbads-body-bg);
}

@media (min-width: 1024px) {
    .fbads-ec-tracking { padding: var(--fbads-section-py-desktop) 0; }
}

.fbads-ec-solution-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--fbads-s-6);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-xl);
    box-shadow: var(--fbads-shadow-sm);
}

.fbads-page .fbads-ec-solution-lead {
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
    margin: 0 0 var(--fbads-s-5);
}

.fbads-ec-solution-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fbads-s-4);
}

.fbads-ec-solution-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--fbads-s-3);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body);
    color: var(--fbads-text-body);
    line-height: var(--fbads-lh-body);
}

.fbads-ec-solution-list li strong {
    color: var(--fbads-text-heading);
    font-weight: var(--fbads-fw-semibold);
}

@media (min-width: 1024px) {
    .fbads-ec-solution { padding: var(--fbads-section-py-desktop) 0; }
}

/* ============================================================
   22. TWO-COLUMN SPLIT LAYOUT (text + image)
   The four solution sections (how-it-works, orders, screens, loyalty)
   wrap their content in a text column beside a media column. On desktop
   the two columns sit side by side, vertically centred, alternating
   left/right via Bootstrap's .flex-lg-row-reverse on the row. On mobile
   the row stacks: text first, image below.
   Scoped to .fbads-ec-split* so the other sections are untouched.
   ============================================================ */

/* Gap between the two columns (Bootstrap .row gutters handle the
   horizontal spacing; we add vertical breathing room when stacked). */
.fbads-ec-split {
    row-gap: var(--fbads-s-6);
}

/* In the split, panels and centred blocks were designed to sit centred
   in a full-width container (max-width + margin auto). Inside a half-width
   column we let them fill the column instead. */
.fbads-ec-split-text .fbads-ec-solution-panel,
.fbads-ec-split-text .fbads-ec-signage-panel,
.fbads-ec-split-text .fbads-ec-example,
.fbads-ec-split-text .fbads-ec-punchline {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Media column — the image fills the column, vertically centred by the
   row's .align-items-center. */
.fbads-ec-split-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fbads-ec-split-img-wrap {
    width: 100%;
}

.fbads-ec-split-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    /* No card box — a soft purple/pink glow like the hero images on the other pages. */
    filter: drop-shadow(0 40px 80px rgba(139, 92, 246, 0.35))
            drop-shadow(0 20px 40px rgba(236, 72, 153, 0.20));
}

/* Desktop: left-align everything in the text column. The base styles
   centre the header, title, subhead, emphasis line, punchline and CTA —
   in a side-by-side split that reads better flush-left. Mobile keeps the
   original centred treatment. */
@media (min-width: 1024px) {
    .fbads-ec-split-text .fbads-section-header {
        align-items: flex-start;
        text-align: left;
    }

    .fbads-page .fbads-ec-split-text .fbads-section-title,
    .fbads-page .fbads-ec-split-text .fbads-section-subhead {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .fbads-page .fbads-ec-split-text .fbads-ec-emphasis-line,
    .fbads-page .fbads-ec-split-text .fbads-ec-punchline {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    /* CTA row: align the button to the start instead of centred. */
    .fbads-ec-split-text .fbads-ec-cta-center {
        justify-content: flex-start;
    }
}

/* ============================================================
   23. NUMBERED FLOW (self-service step-by-step)
   ============================================================ */
.fbads-ec-flow {
    list-style: none;
    margin: var(--fbads-s-6) 0 0;
    padding: 0;
}

.fbads-ec-flow-step {
    position: relative;
    display: flex;
    gap: var(--fbads-s-4);
    padding-bottom: var(--fbads-s-5);
}

.fbads-ec-flow-step:last-child {
    padding-bottom: 0;
}

.fbads-ec-flow-num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--fbads-gradient-primary);
    color: #FFFFFF;
    font-family: var(--fbads-font-sans);
    font-weight: var(--fbads-fw-bold);
    font-size: 0.8rem;
    box-shadow: var(--fbads-shadow-cta);
}

/* Connecting line from one badge down to the next. */
.fbads-ec-flow-step:not(:last-child) .fbads-ec-flow-num::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + var(--fbads-s-5) - 30px);
    background: linear-gradient(180deg, var(--fbads-accent-pink), rgba(236, 72, 153, 0.15));
}

.fbads-page .fbads-ec-flow-text {
    margin: 0;
    padding-top: 4px;
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    line-height: var(--fbads-lh-body);
    color: var(--fbads-text-body);
}

/* Accent callout — highlights a key line (e.g. "just a TV with a browser"). */
.fbads-ec-callout {
    display: flex;
    align-items: center;
    gap: var(--fbads-s-4);
    margin-top: var(--fbads-s-6);
    padding: var(--fbads-s-5) var(--fbads-s-6);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.10) 0%, rgba(139, 92, 246, 0.10) 100%);
    border: 1px solid rgba(236, 72, 153, 0.22);
    border-radius: var(--fbads-radius-lg);
    box-shadow: var(--fbads-shadow-sm);
}

.fbads-ec-callout-icon {
    flex-shrink: 0;
    font-size: 28px;
    background: var(--fbads-gradient-underline);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fbads-page .fbads-ec-callout-text {
    margin: 0;
    font-family: var(--fbads-font-sans);
    font-size: 1.0625rem;
    font-weight: var(--fbads-fw-bold);
    line-height: var(--fbads-lh-heading);
    color: var(--fbads-text-heading);
}

/* ============================================================
   24. HOW-IT-WORKS FLOW MAP (full-width labelled diagram)
   The "How it works" section is full-width (no two-column split).
   A horizontal pipe tells one clear story:
     LEFT  (orders come in)  →  CENTRE (one menu / one system)  →  RIGHT (everything stays up to date)
   On mobile the three zones stack vertically with downward arrows.
   A light pulse runs once when the section enters the viewport
   (left → centre → right on desktop, top → bottom on mobile),
   driven by the shared .is-visible class the reveal observer adds.
   ============================================================ */
.fbads-ec-how-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--fbads-s-7);
    color: var(--fbads-text-muted);
}

/* Force-centre the full-width "How it works" header + intro regardless of cascade. */
.fbads-page .fbads-ec-how .fbads-section-header {
    align-items: center;
    text-align: center;
}

.fbads-page .fbads-ec-how .fbads-section-title,
.fbads-page .fbads-ec-how .fbads-ec-how-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.fbads-ec-how-intro strong {
    color: var(--fbads-text-heading);
    font-weight: var(--fbads-fw-semibold);
}

/* ============================================================
   Flow map — matched to the client's reference.
   LEFT zone (input, violet)  → orders arrive, node arrows point IN to the POS.
   CENTRE                       → POS system (gradient) + branch down to the kitchen.
   RIGHT zone (output, pink)    → one change reflects out, node arrows point OUT.
   Violet = where orders come IN, pink = what a change reflects OUT to.
   ============================================================ */
.fbads-ec-flowmap {
    margin: 0 auto var(--fbads-s-8);
    max-width: 1180px;
}

/* Mobile-first: a single vertical column — left zone → arrow down → centre → arrow down → right zone. */
.fbads-ec-flowmap-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--fbads-s-4);
    align-items: stretch;
    justify-items: stretch;
}

/* ---- Zones (left "orders in" / right "menu & stock changes") ---- */
.fbads-ec-flowmap-zone {
    min-width: 0; /* allow the zone to shrink inside the grid track instead of overflowing on narrow screens */
    padding: var(--fbads-s-5);
    background: var(--fbads-surface-elevated);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-xl);
    box-shadow: var(--fbads-shadow-sm);
}

/* Tint each zone so input (violet) reads differently from output (pink). */
.fbads-ec-flowmap-zone--in {
    border-color: rgba(139, 92, 246, 0.22);
}

.fbads-ec-flowmap-zone--out {
    border-color: rgba(236, 72, 153, 0.22);
}

.fbads-ec-flowmap-zone-label {
    display: flex;
    align-items: center;
    gap: var(--fbads-s-2);
    margin-bottom: var(--fbads-s-1);
    font-family: var(--fbads-font-mono);
    font-size: var(--fbads-fs-pill);
    font-weight: var(--fbads-fw-medium);
    letter-spacing: var(--fbads-ls-wide);
    text-transform: uppercase;
    color: var(--fbads-text-heading);
}

.fbads-ec-flowmap-zone--in .fbads-ec-flowmap-zone-label i {
    color: var(--fbads-accent-violet);
}

.fbads-ec-flowmap-zone--out .fbads-ec-flowmap-zone-label i {
    color: var(--fbads-accent-pink);
}

.fbads-ec-flowmap-zone-label i {
    font-size: 0.9rem;
}

.fbads-ec-flowmap-zone-sub {
    display: block;
    margin-bottom: var(--fbads-s-4);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    color: var(--fbads-text-muted);
}

/* Node grid inside a zone. Mobile-first: a single column so each chip
   (round icon + label + direction arrow) stays readable and never gets crushed. */
.fbads-ec-flowmap-nodes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--fbads-s-3);
}

/* ---- Individual node chips ---- */
.fbads-ec-flowmap-node {
    display: flex;
    align-items: center;
    min-width: 0; /* prevent the chip from forcing its grid column wider than the viewport */
    gap: var(--fbads-s-3);
    padding: var(--fbads-s-3) var(--fbads-s-4);
    background: var(--fbads-body-bg-alt);
    border: 1px solid var(--fbads-border-subtle);
    border-radius: var(--fbads-radius-md);
    font-family: var(--fbads-font-sans);
    font-size: var(--fbads-fs-body-small);
    font-weight: var(--fbads-fw-medium);
    color: var(--fbads-text-heading);
    line-height: var(--fbads-lh-heading);
    transition: border-color var(--fbads-dur-base) var(--fbads-ease-out),
                box-shadow var(--fbads-dur-base) var(--fbads-ease-out),
                transform var(--fbads-dur-base) var(--fbads-ease-out);
}

/* The text label takes the remaining width so the directional arrow can sit at the edge. */
.fbads-ec-flowmap-node-label {
    flex: 1 1 auto;
    min-width: 0;
}

/* The channel icon (round chip). */
.fbads-ec-flowmap-node > i:not(.fbads-ec-flowmap-node-arrow) {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fbads-radius-full);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
    font-size: 0.85rem;
    background-clip: padding-box;
    color: var(--fbads-accent-violet);
}

/* Per-node direction arrow. Mobile: rotate to point toward the centre vertically. */
.fbads-ec-flowmap-node-arrow {
    flex-shrink: 0;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Input nodes glow violet, output nodes glow pink. */
.fbads-ec-flowmap-zone--in .fbads-ec-flowmap-node > i:not(.fbads-ec-flowmap-node-arrow) {
    color: var(--fbads-accent-violet);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.16) 0%, rgba(139, 92, 246, 0.08) 100%);
}

.fbads-ec-flowmap-zone--in .fbads-ec-flowmap-node-arrow {
    color: var(--fbads-accent-violet);
}

.fbads-ec-flowmap-zone--out .fbads-ec-flowmap-node > i:not(.fbads-ec-flowmap-node-arrow) {
    color: var(--fbads-accent-pink);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.16) 0%, rgba(236, 72, 153, 0.08) 100%);
}

.fbads-ec-flowmap-zone--out .fbads-ec-flowmap-node-arrow {
    color: var(--fbads-accent-pink);
}

/* ---- Centre column (KLIENTO POS) ---- */
.fbads-ec-flowmap-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: var(--fbads-s-3);
}

/* ---- Centre node (the hero of the diagram) ---- */
.fbads-ec-flowmap-centre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--fbads-s-2);
    width: 100%;
    padding: var(--fbads-s-6) var(--fbads-s-5);
    background: var(--fbads-gradient-primary);
    border-radius: var(--fbads-radius-xl);
    box-shadow: var(--fbads-shadow-cta);
    color: var(--fbads-text-on-dark);
}

.fbads-ec-flowmap-centre i {
    font-size: 1.8rem;
}

.fbads-page .fbads-ec-flowmap-centre-title {
    margin: 0;
    font-family: var(--fbads-font-sans);
    font-size: 1.125rem;
    font-weight: var(--fbads-fw-bold);
    line-height: var(--fbads-lh-heading);
    color: var(--fbads-text-on-dark);
}

/* ---- Arrows between zones (in → centre → out) ---- */
.fbads-ec-flowmap-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.fbads-ec-flowmap-arrow--in { color: var(--fbads-accent-violet); }
.fbads-ec-flowmap-arrow--out { color: var(--fbads-accent-pink); }

/* Mobile default: between-zone arrows and the node arrows point DOWN (vertical stack). */
.fbads-ec-flowmap-arrow i,
.fbads-ec-flowmap-node-arrow {
    transform: rotate(90deg);
}

/* ============================================================
   Light pulse — runs once when .is-visible lands on the flowmap.
   Order (top → bottom on mobile, left → right on desktop):
   zone-in → centre → zone-out.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .fbads-ec-flowmap.is-visible .fbads-ec-flowmap-node {
        animation: fbads-flowmap-pulse 900ms var(--fbads-ease-out) both;
    }
    .fbads-ec-flowmap.is-visible .fbads-ec-flowmap-zone--in .fbads-ec-flowmap-node {
        animation-delay: 200ms;
    }
    .fbads-ec-flowmap.is-visible .fbads-ec-flowmap-centre {
        animation: fbads-flowmap-pulse-centre 900ms var(--fbads-ease-out) both;
        animation-delay: 600ms;
    }
    .fbads-ec-flowmap.is-visible .fbads-ec-flowmap-zone--out .fbads-ec-flowmap-node {
        animation-delay: 1000ms;
    }
    /* Arrows glow in sequence with the zones they connect. */
    .fbads-ec-flowmap.is-visible .fbads-ec-flowmap-arrow {
        animation: fbads-flowmap-arrow 900ms var(--fbads-ease-out) both;
    }
    .fbads-ec-flowmap.is-visible .fbads-ec-flowmap-arrow--1 { animation-delay: 450ms; }
    .fbads-ec-flowmap.is-visible .fbads-ec-flowmap-arrow--2 { animation-delay: 850ms; }
}

@keyframes fbads-flowmap-pulse {
    0%   { border-color: var(--fbads-border-subtle); box-shadow: none; transform: translateY(0); }
    40%  { border-color: rgba(236, 72, 153, 0.45); box-shadow: 0 6px 18px -6px rgba(139, 92, 246, 0.5); transform: translateY(-3px); }
    100% { border-color: var(--fbads-border-subtle); box-shadow: none; transform: translateY(0); }
}

@keyframes fbads-flowmap-pulse-centre {
    0%   { box-shadow: var(--fbads-shadow-cta); transform: scale(1); }
    45%  { box-shadow: var(--fbads-shadow-cta-hover); transform: scale(1.04); }
    100% { box-shadow: var(--fbads-shadow-cta); transform: scale(1); }
}

@keyframes fbads-flowmap-arrow {
    0%   { opacity: 0.5; }
    45%  { opacity: 1; transform: scale(1.25); }
    100% { opacity: 0.7; transform: scale(1); }
}

/* Tablet / large phone (still vertically stacked): give the chips two columns
   now that there is enough room, so the zones look balanced. Stays single-column
   on small phones where two columns would crush the chips. */
@media (min-width: 600px) and (max-width: 1023.98px) {
    .fbads-ec-flowmap-nodes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================================
   Desktop: 5-column track — left zone | arrow | core | arrow | right zone.
   Node arrows point sideways toward / away from the centre.
   ============================================================ */
@media (min-width: 1024px) {
    .fbads-ec-how { padding: var(--fbads-section-py-desktop) 0; }

    .fbads-ec-flowmap-track {
        grid-template-columns: 1fr auto minmax(240px, 0.9fr) auto 1fr;
        align-items: center;
        gap: var(--fbads-s-4);
    }

    /* Between-zone arrows point to the RIGHT (orders flow in, changes flow out). */
    .fbads-ec-flowmap-arrow--in i,
    .fbads-ec-flowmap-arrow--out i {
        transform: rotate(0deg);
    }

    /* Input node arrows point right (into the POS); output node arrows point right (out). */
    .fbads-ec-flowmap-node-arrow {
        transform: rotate(0deg);
    }

    /* Single-column node lists on desktop keep the chips wide and readable. */
    .fbads-ec-flowmap-nodes {
        grid-template-columns: 1fr;
    }
}

/* Reduced motion: no pulse, no arrow scaling — the static labelled diagram stands alone. */
@media (prefers-reduced-motion: reduce) {
    .fbads-ec-flowmap .fbads-ec-flowmap-node,
    .fbads-ec-flowmap .fbads-ec-flowmap-centre,
    .fbads-ec-flowmap .fbads-ec-flowmap-arrow {
        animation: none !important;
    }
}
