/* ============================================
   ExamAI Landing Page — Complete Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Carter+One&family=Inter:wght@400;500;600;700;800&family=Sora:wght@700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #E8622A;
    --color-primary-dark: #C0451A;
    --color-surface: #FFFFFF;
    --color-bg: #F9FAFB;
    --color-bg-dark: #111827;
    --color-text: #0D0D0D;
    --color-text-body: #374151;
    --color-text-muted: #6B7280;
    --color-border: #a8a4a4;
    --color-success: #16A34A;
    --color-error: #DC2626;
    --color-gold: #D4A017;
    --color-grad-start: #E8622A;
    --color-grad-end: #C0451A;
    --color-grad-hero-bg: #FFF4EE;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
    --shadow-xl: 0 16px 48px rgba(232, 98, 42, 0.20);
    --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.12);
    --shadow-inner: inset 0 2px 6px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 9999px;
    --font-body: 'Carter One', 'Inter', system-ui, cursive;
    --font-display: 'Carter One', 'Sora', cursive;
    --font-heading: 'Carter One', 'Sora', cursive;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1280px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-body);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover {
    color: var(--color-primary-dark);
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* --- Skip Nav --- */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-nav:focus {
    top: 1rem;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    color: var(--color-text);
    line-height: 1.15;
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    background: var(--color-grad-hero-bg);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(232, 98, 42, 0.2);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0.75rem auto 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 3rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-xl);
    padding: 0.875rem 1.75rem;
    min-height: 52px;
    transition: all 200ms ease;
    position: relative;
    border: 1px dashed var(--color-border);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
    color: #fff;
    box-shadow: var(--shadow-xl);
    animation: zigzag 3s ease-in-out infinite;
}

.btn-primary:hover {
    animation: wiggle 0.6s ease-in-out;
    background: linear-gradient(135deg, #C0451A, #A53510);
    color: #fff;
    box-shadow: 0 20px 60px rgba(232, 98, 42, 0.35);
}

.btn-primary:active {
    transform: scale(0.96);
    box-shadow: var(--shadow-inner);
    animation: none;
}

.btn-secondary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--color-grad-hero-bg);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-green {
    background: linear-gradient(135deg, #16A34A, #15803d);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-green:hover {
    animation: wiggle 0.6s ease-in-out;
    color: #fff;
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg) scale(1.02);
    }

    15% {
        transform: rotate(-2deg) scale(1.04);
    }

    30% {
        transform: rotate(2deg) scale(1.04);
    }

    45% {
        transform: rotate(-1.5deg) scale(1.03);
    }

    60% {
        transform: rotate(1.5deg) scale(1.03);
    }

    75% {
        transform: rotate(-0.5deg) scale(1.01);
    }

    100% {
        transform: rotate(0deg) scale(1.02);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes wiggle {

    0%,
    65% {
        transform: rotate(0deg);
    }

    70% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }

    80% {
        transform: rotate(-3deg);
    }

    85% {
        transform: rotate(2deg);
    }

    90% {
        transform: rotate(-1deg);
    }

    95%,
    100% {
        transform: rotate(0deg);
    }
}

.wiggle {
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(232, 98, 42, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(232, 98, 42, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(232, 98, 42, 0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes chevronBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.5;
    }
}

@keyframes zigzag {
    0% {
        transform: translateX(0) scale(1);
    }

    15% {
        transform: translateX(3px) scale(1.01);
    }

    30% {
        transform: translateX(-3px) scale(1.01);
    }

    45% {
        transform: translateX(2px) scale(1.005);
    }

    60% {
        transform: translateX(-2px) scale(1.005);
    }

    75% {
        transform: translateX(1px) scale(1);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

@keyframes blob-drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -15px) scale(1.05);
    }

    50% {
        transform: translate(-10px, 10px) scale(0.95);
    }

    75% {
        transform: translate(15px, 5px) scale(1.02);
    }
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-60px) scale(0.6);
        opacity: 0;
    }
}

/* --- Decorative Blobs & Bubbles --- */
.deco-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.12;
    will-change: transform;
    animation: blob-drift 12s ease-in-out infinite;
}

.deco-blob-orange {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
}

.deco-blob-purple {
    width: 200px;
    height: 200px;
    background: #6366F1;
    animation-delay: -4s;
}

.deco-blob-gold {
    width: 250px;
    height: 250px;
    background: var(--color-gold);
    animation-delay: -8s;
}

.deco-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    border: 1px solid rgba(232, 98, 42, 0.1);
    background: rgba(232, 98, 42, 0.03);
}

.section-deco {
    position: relative;
    overflow: hidden;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    background: transparent;
    transition: all 300ms ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-nav);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--color-text);
    text-decoration: none;
}

.nav-logo .ai {
    color: var(--color-primary);
}

.brand-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-body);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: rgba(232, 98, 42, 0.08);
    border: 1px solid rgba(232, 98, 42, 0.15);
    border-radius: 8px;
    padding: 8px 6px;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:hover {
    background: rgba(232, 98, 42, 0.15);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hamburger.active span {
    background: #fff;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu — Slide-in Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    z-index: 999;
    background: linear-gradient(180deg, #111827 0%, #0D0D0D 100%);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-primary));
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 350ms ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateX(30px);
    transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active a:nth-child(1) {
    transition-delay: 100ms;
}

.mobile-menu.active a:nth-child(2) {
    transition-delay: 160ms;
}

.mobile-menu.active a:nth-child(3) {
    transition-delay: 220ms;
}

.mobile-menu.active a:nth-child(4) {
    transition-delay: 280ms;
}

.mobile-menu.active a:nth-child(5) {
    transition-delay: 340ms;
}

.mobile-menu a:hover {
    color: var(--color-primary);
    padding-left: 1rem;
    background: rgba(232, 98, 42, 0.05);
    border-radius: 8px;
}

/* --- Hero --- */
.hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(160deg, #FFF4EE 0%, #FFFFFF 60%, #EEF2FF 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1rem 0 2rem;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: rgba(232, 98, 42, 0.08);
    border: 1px solid rgba(232, 98, 42, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-sub {
    color: var(--color-text-body);
    max-width: 520px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-buttons .btn-primary {
    width: 100%;
    max-width: 340px;
    min-height: 56px;
    font-size: 1rem;
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.social-proof-strip {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-body);
}

.social-proof-strip span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-mockup {
    margin: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    max-height: fit-content;
}

.app-mock-img {
    width: 500px;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
    animation: float 4s ease-in-out infinite;
    object-fit: contain;
    transform: rotate(4deg);
    transition: transform 400ms ease;
}

.app-mock-img:hover {
    transform: rotate(0deg) scale(1.03);
}

.scroll-indicator {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    animation: chevronBounce 2s ease-in-out infinite;
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

/* --- Trust Bar / Marquee --- */
.trust-bar {
    background: var(--color-bg-dark);
    padding: 1.25rem 0;
    overflow: hidden;
}

.marquee-wrap {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    padding: 0 1.5rem;
}

.marquee-item .sep {
    color: var(--color-primary);
}

/* --- Problem Section --- */
.problem-section {
    background: var(--color-bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.problem-card {
    background: #fff;
    border: 1px dashed var(--color-border);
    border-left: 3px dashed var(--color-primary);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover {
    box-shadow: 0 8px 24px rgba(232, 98, 42, 0.12);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.problem-card .icon {
    color: var(--color-error);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.problem-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.problem-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.transition-cta {
    text-align: center;
    margin-top: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.transition-cta:hover .arrow {
    transform: translateX(4px);
}

.transition-cta .arrow {
    display: inline-block;
    transition: transform 200ms ease;
}

/* --- Features --- */
.features-section {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-card {
    background: #fff;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card:hover {
    box-shadow: 0 8px 28px rgba(232, 98, 42, 0.15);
    transform: translateY(-6px);
    border-color: var(--color-primary);
    border-style: dashed;
}

.feature-card.flagship {
    border: 2px dashed var(--color-primary);
    background: var(--color-grad-hero-bg);
    box-shadow: 0 4px 16px rgba(232, 98, 42, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--color-grad-hero-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 300ms ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(8deg) scale(1.1);
}

.feature-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-xl);
    background: var(--color-primary);
    color: #fff;
    margin-top: 0.75rem;
}

.feature-card h3 {
    margin-top: 1rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* --- How It Works --- */
.steps-section {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.steps-rail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-left: 3.5rem;
}

.steps-rail::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(232, 98, 42, 0.15) 100%);
}

.step-item {
    position: relative;
    background: #fff;
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 280ms ease;
}

.step-item:hover {
    box-shadow: 0 8px 24px rgba(232, 98, 42, 0.12);
    transform: translateX(4px);
    border-color: var(--color-primary);
}

.step-number {
    position: absolute;
    left: -3.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 12px rgba(232, 98, 42, 0.3);
    z-index: 1;
}

.step-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.step-item p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --- Stats --- */
.stats-section {
    background: var(--color-bg-dark);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    transition: all 280ms ease;
}

.stat-block:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.stat-block .stat-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.75rem;
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-block .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* --- Testimonials --- */
.testimonials-section {
    background: #fff;
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 400ms ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px dashed var(--color-border);
    border-top: 3px dashed var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all 280ms ease;
}

.testimonial-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(232, 98, 42, 0.1);
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.testimonial-quote {
    font-style: italic;
    color: var(--color-text-body);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.author-info .name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.author-info .board {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(22, 163, 74, 0.1);
    color: var(--color-success);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-xl);
    margin-top: 0.25rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: background 200ms;
}

.carousel-dot.active {
    background: var(--color-primary);
}

.trust-platforms {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* --- Pricing --- */
.pricing-section {
    background: var(--color-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    border: 2px solid var(--color-border);
}

.price-card.pro {
    border-color: var(--color-primary);
    background: var(--color-grad-hero-bg);
    box-shadow: var(--shadow-xl);
}

.price-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
}

.price-badge.free-badge {
    background: var(--color-border);
    color: var(--color-text-body);
}

.price-badge.pro-badge {
    background: var(--color-gold);
    color: #fff;
}

.popular-ribbon {
    position: absolute;
    top: 1rem;
    right: -0.25rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
}

.price-period {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.price-features {
    margin-bottom: 1.5rem;
}

.price-features li {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-features .check {
    color: var(--color-success);
}

.price-features .cross {
    color: var(--color-error);
}

.price-card .btn {
    width: 100%;
}

.pricing-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* --- Boards --- */
.boards-section {
    background: #fff;
}

.boards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.board-card {
    background: #fff;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all 280ms ease;
}

.board-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(232, 98, 42, 0.12);
    transform: translateY(-3px);
}

.board-card.coming-soon {
    opacity: 0.55;
    border-style: dashed;
}

.board-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
}

.board-card.coming-soon .board-icon {
    background: #9CA3AF;
}

.board-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-xl);
}

.board-status.active {
    background: rgba(22, 163, 74, 0.1);
    color: var(--color-success);
}

.board-status.soon {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text-muted);
}

.board-request {
    text-align: center;
    margin-top: 2rem;
}

.board-request-form {
    display: flex;
    gap: 0.75rem;
    max-width: 400px;
    margin: 1rem auto 0;
    flex-wrap: wrap;
    justify-content: center;
}

.board-request-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    min-height: 48px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.board-request-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 98, 42, 0.15);
}

/* --- Lead Capture --- */
.lead-section {
    background: linear-gradient(135deg, #111827, #1F2937);
    padding: 5rem 0;
}

.lead-section h2 {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
}

.lead-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.lead-form {
    max-width: 560px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1rem;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1rem;
    min-height: 52px;
    transition: all 180ms ease;
}

.lead-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.lead-form select {
    color: rgba(255, 255, 255, 0.6);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23aaa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.lead-form select option {
    background: #1F2937;
    color: #fff;
}

.lead-form input:focus,
.lead-form select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 98, 42, 0.15);
}

.lead-form input.valid {
    border-color: var(--color-success);
}

.lead-form input.invalid {
    border-color: var(--color-error);
}

.lead-form .btn-primary {
    width: 100%;
    min-height: 56px;
    font-size: 1rem;
}

.lead-privacy {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Final CTA --- */
.final-cta {
    background: linear-gradient(135deg, var(--color-grad-hero-bg), #fff);
    padding: 5rem 0;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.final-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.final-buttons .btn-primary {
    min-height: 60px;
    width: 100%;
    max-width: 360px;
    font-size: 1rem;
}

.reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-body);
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: transform 200ms;
}

.store-badge:hover {
    transform: scale(1.05);
}

.store-badge.google {
    background: #000;
    color: #fff;
}

.store-badge.apple {
    background: #e5e7eb;
    color: var(--color-text-muted);
    position: relative;
}

/* --- Footer --- */
.footer {
    background: #0D0D0D;
    color: rgba(255, 255, 255, 0.55);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.375rem;
    color: #fff;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.footer-brand .footer-logo .ai {
    color: var(--color-primary);
}

.footer-brand .tagline {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 200ms;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--color-primary);
    color: #fff;
    animation: wiggle 0.6s ease-in-out;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    padding: 0.375rem 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    transition: color 200ms;
    text-decoration: none;
    position: relative;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.9375rem;
    transform: translateY(120%);
    opacity: 0;
    transition: all 300ms ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid var(--color-success);
}

.toast.error {
    border-left: 4px solid var(--color-error);
}

/* --- Sticky Mobile CTA --- */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--color-bg-dark);
    padding: 0.75rem 1.25rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-mobile-cta .btn {
    width: 100%;
    min-height: 48px;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 1.25rem;
    z-index: 997;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    transition: all 200ms;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 500ms ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Legal Pages (Privacy, Terms, Help) --- */
.legal-hero {
    background: var(--color-bg-dark);
    padding: 7rem 0 3rem;
    text-align: center;
}

.legal-hero .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.legal-hero h1 {
    color: #fff;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.legal-hero .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
    margin-top: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.legal-content-wrap {
    display: flex;
    gap: 3rem;
    padding: 3rem 0;
}

.legal-toc {
    display: none;
    position: sticky;
    top: 5rem;
    align-self: flex-start;
    width: 260px;
    flex-shrink: 0;
}

.legal-toc a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-left: 2px solid var(--color-border);
    transition: all 200ms;
    text-decoration: none;
}

.legal-toc a.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 600;
}

.legal-toc a:hover {
    color: var(--color-primary);
}

.legal-prose {
    flex: 1;
    max-width: 760px;
}

.legal-prose h2 {
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
}

.legal-prose h2:first-child {
    margin-top: 0;
}

.legal-prose p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-prose ul {
    margin: 0.75rem 0 1rem 1.5rem;
}

.legal-prose ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--color-text-body);
}

.legal-callout {
    background: var(--color-grad-hero-bg);
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    font-weight: 500;
    font-size: 0.9375rem;
}

.legal-prose hr {
    border: none;
    height: 2px;
    margin: 2rem 0;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* --- Help/FAQ specific --- */
.help-hero {
    background: linear-gradient(160deg, var(--color-grad-hero-bg), #fff);
    padding: 7rem 0 3rem;
    text-align: center;
}

.help-hero .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.help-hero h1 {
    margin-bottom: 0.5rem;
}

.help-hero .subtitle {
    color: var(--color-text-muted);
}

.search-bar {
    max-width: 560px;
    margin: 2rem auto 0;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3rem;
    min-height: 56px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all 180ms;
}

.search-bar input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 98, 42, 0.15);
}

.search-bar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.category-pill {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    color: var(--color-text-body);
    cursor: pointer;
    transition: all 200ms;
    background: #fff;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.category-pill.active,
.category-pill:hover {
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
    color: #fff;
    border-color: transparent;
}

.faq-list {
    max-width: 760px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    min-height: 60px;
    gap: 1rem;
    background: none;
    border: none;
}

.faq-question .chevron {
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-item.open .faq-question .chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-body);
    line-height: 1.7;
}

.faq-no-results {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-muted);
    display: none;
}

/* Contact Section */
.contact-section {
    background: var(--color-bg-dark);
    padding: 4rem 0;
}

.contact-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-section .subtitle {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.contact-card .contact-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* --- New Legal Page Layout (Privacy, Terms, FAQ) --- */
.legal-page {
    padding: 5rem 0 3rem;
    background: var(--color-bg);
    min-height: 80vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
}

.legal-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.legal-updated {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.legal-content {
    display: flex;
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.legal-content .legal-toc {
    display: none;
    position: sticky;
    top: 5rem;
    align-self: flex-start;
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px dashed var(--color-border);
}

.legal-content .legal-toc h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.legal-content .legal-toc a {
    display: block;
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text-body);
    border-left: 2px solid transparent;
    transition: all 200ms;
    text-decoration: none;
}

.legal-content .legal-toc a:hover {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

.legal-body {
    flex: 1;
    min-width: 0;
}

.legal-body section {
    padding: 0;
    margin-bottom: 2rem;
}

.legal-body h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 0.5rem;
}

.legal-body h3 {
    font-size: 1rem;
    margin: 1.25rem 0 0.5rem;
    color: var(--color-text);
}

.legal-body p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    color: var(--color-text-body);
}

.legal-body ul {
    margin: 0.5rem 0 1rem 1.25rem;
}

.legal-body ul li {
    list-style: disc;
    margin-bottom: 0.4rem;
    font-size: 0.9375rem;
    color: var(--color-text-body);
    line-height: 1.6;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.875rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.legal-table th,
.legal-table td {
    padding: 0.625rem 0.875rem;
    text-align: left;
    border-bottom: 1px dashed var(--color-border);
}

.legal-table th {
    background: var(--color-bg);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.legal-table td {
    background: #fff;
}

/* FAQ page specific */
.faq-search-bar {
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.faq-search-bar input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    min-height: 52px;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-xl);
    font-size: 0.9375rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all 200ms;
    font-family: var(--font-body);
}

.faq-search-bar input:focus {
    border-color: var(--color-primary);
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(232, 98, 42, 0.12);
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.faq-cat {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px dashed var(--color-border);
    color: var(--color-text-body);
    cursor: pointer;
    transition: all 200ms;
    background: #fff;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
}

.faq-cat.active,
.faq-cat:hover {
    background: linear-gradient(135deg, var(--color-grad-start), var(--color-grad-end));
    color: #fff;
    border-color: transparent;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background: #fff;
    overflow: hidden;
    transition: all 200ms;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    gap: 1rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    min-height: 52px;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform 300ms ease;
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p,
.faq-answer ul {
    padding: 0 1.25rem;
    font-size: 0.875rem;
    color: var(--color-text-body);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 1.25rem;
}

.faq-answer ul {
    margin: 0 0 1.25rem 2.5rem;
}

.faq-answer ul li {
    list-style: disc;
    margin-bottom: 0.375rem;
}

/* Footer fix for legal pages */
.footer {
    margin-top: auto;
}

main {
    flex: 1;
}

/* ============================================
   RESPONSIVE — MOBILE-FIRST OPTIMIZATION
   Professional compact mobile layout system
   ============================================ */

/* --- XS: 320px–374px (Small phones) --- */
@media (max-width: 424px) {

    /* Compact base */
    .container {
        padding: 0 0.875rem;
    }

    section {
        padding: 2.5rem 0;
    }

    /* Compact typography */
    h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 0.9375rem;
    }

    .section-subtitle {
        font-size: 0.8125rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-tag {
        font-size: 0.625rem;
        padding: 0.25rem 0.625rem;
        margin-bottom: 0.625rem;
    }

    /* Compact navbar */
    .navbar {
        height: 52px;
    }

    .nav-logo {
        font-size: 1.125rem;
        gap: 0.375rem;
    }

    /* Compact buttons */
    .btn {
        font-size: 0.8125rem;
        padding: 0.625rem 1.25rem;
        min-height: 42px;
        gap: 0.375rem;
        letter-spacing: 0.02em;
    }

    /* Compact hero */
    .hero {
        padding: 3.5rem 0 1rem;
        min-height: auto;
    }

    .hero-tag {
        font-size: 0.625rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 0.875rem;
        letter-spacing: 0.05em;
    }

    .hero h1 {
        margin-bottom: 0.875rem;
    }

    .hero-sub {
        font-size: 0.8125rem;
        margin: 0 auto 1.25rem;
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 0.625rem;
        margin-bottom: 0.5rem;
    }

    .hero-buttons .btn-primary {
        max-width: 280px;
        min-height: 46px;
        font-size: 0.8125rem;
    }

    .hero-note {
        font-size: 0.6875rem;
    }

    .social-proof-strip {
        gap: 0.75rem;
        margin-top: 1rem;
        font-size: 0.75rem;
    }

    .hero-mockup {
        margin-top: 0.75rem;
    }

    .app-mock-img {
        width: 280px;
        transform: rotate(3deg);
    }

    .scroll-indicator {
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Compact trust bar */
    .trust-bar {
        padding: 0.75rem 0;
    }

    .marquee-item {
        font-size: 0.6875rem;
        padding: 0 0.875rem;
        letter-spacing: 0.06em;
    }

    /* 2-col problem cards */
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .problem-card {
        padding: 0.75rem;
        border-left-width: 3px;
        border-radius: 10px;
    }

    .problem-card .icon {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }

    .problem-card h3 {
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }

    .problem-card p {
        font-size: 0.6875rem;
        line-height: 1.4;
    }

    .transition-cta {
        margin-top: 1.25rem;
        font-size: 0.8125rem;
    }

    /* 2-col feature cards */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .feature-card {
        padding: 0.875rem;
        border-radius: 10px;
    }

    .feature-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.125rem;
    }

    .feature-tag {
        font-size: 0.5625rem;
        padding: 0.125rem 0.375rem;
        margin-top: 0.375rem;
    }

    .feature-card h3 {
        font-size: 0.8125rem;
        margin-top: 0.5rem;
        line-height: 1.3;
    }

    .feature-card p {
        font-size: 0.6875rem;
        margin-top: 0.25rem;
        line-height: 1.4;
    }

    /* Compact steps */
    .steps-rail {
        gap: 1.25rem;
        padding-left: 2rem;
    }

    .steps-rail::before {
        left: 1.125rem;
    }

    .step-number {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
        left: -2rem;
    }

    .step-item h3 {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }

    .step-item p {
        font-size: 0.75rem;
    }

    /* Compact stats */
    .stats-section {
        padding: 2.5rem 0;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-block .stat-number {
        font-size: 1.75rem;
    }

    .stat-block .stat-label {
        font-size: 0.6875rem;
    }

    /* Compact testimonials */
    .testimonial-card {
        padding: 1rem;
        border-top-width: 2px;
    }

    .testimonial-stars {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .testimonial-quote {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .author-avatar {
        width: 2rem;
        height: 2rem;
        font-size: 0.8125rem;
    }

    .author-info .name {
        font-size: 0.8125rem;
    }

    .author-info .board {
        font-size: 0.625rem;
    }

    .carousel-dots {
        margin-top: 1rem;
    }

    .carousel-dot {
        width: 7px;
        height: 7px;
    }

    .trust-platforms {
        font-size: 0.75rem;
        margin-top: 1rem;
    }

    /* Compact pricing */
    .price-card {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .price-badge {
        font-size: 0.625rem;
        padding: 0.1875rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    .popular-ribbon {
        font-size: 0.5625rem;
        padding: 0.1875rem 0.5rem;
        top: 0.75rem;
    }

    .price-amount {
        font-size: 1.75rem;
    }

    .price-period {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .price-features li {
        padding: 0.375rem 0;
        font-size: 0.8125rem;
    }

    .pricing-note {
        font-size: 0.6875rem;
        margin-top: 1rem;
    }

    /* Compact boards */
    .boards-grid {
        gap: 0.5rem;
    }

    .board-card {
        padding: 0.875rem;
        border-radius: 10px;
    }

    .board-icon {
        width: 3rem;
        height: 3rem;
        font-size: 0.6875rem;
        margin-bottom: 0.5rem;
    }

    .board-card h3 {
        font-size: 0.8125rem;
    }

    .board-status {
        font-size: 0.625rem;
    }

    .board-request {
        margin-top: 1.25rem;
    }

    .board-request p {
        font-size: 0.8125rem;
    }

    .board-request-form {
        gap: 0.5rem;
    }

    .board-request-form input {
        min-width: 160px;
        min-height: 40px;
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
    }

    /* Compact lead section */
    .lead-section {
        padding: 2.5rem 0;
    }

    .lead-section h2 {
        font-size: 1.375rem;
    }

    .lead-section .section-subtitle {
        font-size: 0.8125rem;
    }

    .lead-form {
        margin-top: 1.25rem;
        gap: 0.625rem;
    }

    .lead-form input,
    .lead-form select {
        min-height: 44px;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .lead-form .btn-primary {
        min-height: 46px;
        font-size: 0.875rem;
    }

    .lead-privacy {
        font-size: 0.625rem;
    }

    /* Compact final CTA */
    .final-cta {
        padding: 2.5rem 0;
    }

    .final-cta h2 {
        font-size: 1.375rem;
        margin-bottom: 0.625rem;
    }

    .final-cta p {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
    }

    .final-buttons .btn-primary {
        min-height: 48px;
        max-width: 280px;
        font-size: 0.875rem;
    }

    .reassurance {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
        font-size: 0.75rem;
    }

    .store-badges {
        gap: 0.5rem;
    }

    .store-badge {
        font-size: 0.6875rem;
        padding: 0.5rem 0.75rem;
    }

    /* Compact footer */
    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-brand .footer-logo {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .footer-brand .tagline {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .social-icons {
        gap: 0.5rem;
    }

    .social-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }

    .footer-col h4 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .footer-col a {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
        font-size: 0.625rem;
    }

    /* Compact sticky CTA */
    .sticky-mobile-cta {
        padding: 0.5rem 0.875rem;
    }

    .sticky-mobile-cta .btn {
        min-height: 40px;
        font-size: 0.8125rem;
    }

    .back-to-top {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        bottom: 4rem;
        right: 0.75rem;
    }

    /* Compact toast */
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }

    /* Compact legal pages */
    .legal-hero {
        padding: 4.5rem 0 2rem;
    }

    .legal-hero .icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .legal-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .legal-hero .subtitle {
        font-size: 0.8125rem;
    }

    .legal-content-wrap {
        padding: 1.5rem 0;
    }

    .legal-prose h2 {
        font-size: 1.125rem;
        margin: 1.5rem 0 0.625rem;
    }

    .legal-prose p {
        font-size: 0.8125rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .legal-prose ul {
        margin-left: 1.125rem;
    }

    .legal-prose ul li {
        font-size: 0.8125rem;
        margin-bottom: 0.375rem;
    }

    .legal-callout {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }

    /* Compact help/FAQ */
    .help-hero {
        padding: 4.5rem 0 2rem;
    }

    .help-hero .icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .help-hero h1 {
        font-size: 1.5rem;
    }

    .search-bar {
        margin-top: 1.25rem;
    }

    .search-bar input {
        min-height: 44px;
        padding: 0.625rem 1rem 0.625rem 2.5rem;
        font-size: 0.875rem;
    }

    .search-bar .search-icon {
        font-size: 1rem;
        left: 0.75rem;
    }

    .category-pills {
        gap: 0.375rem;
        margin-top: 1rem;
    }

    .category-pill {
        font-size: 0.6875rem;
        padding: 0.375rem 0.625rem;
        min-height: 32px;
    }

    .faq-list {
        margin-top: 1.5rem;
    }

    .faq-question {
        padding: 0.875rem 0;
        font-size: 0.8125rem;
        min-height: 48px;
        gap: 0.5rem;
    }

    .faq-question .chevron {
        font-size: 0.75rem;
    }

    .faq-answer-inner {
        font-size: 0.8125rem;
        padding-bottom: 0.875rem;
        line-height: 1.5;
    }

    .faq-no-results {
        padding: 2rem;
        font-size: 0.8125rem;
    }

    /* Compact contact */
    .contact-section {
        padding: 2.5rem 0;
    }

    .contact-section h2 {
        font-size: 1.25rem;
    }

    .contact-section .subtitle {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-card .contact-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .contact-card h3 {
        font-size: 0.9375rem;
    }

    .contact-card p {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

/* --- SM: 375px–424px (Standard phones — primary mobile canvas) --- */
@media (min-width: 375px) and (max-width: 424px) {
    h1 {
        font-size: 2rem;
    }

    section {
        padding: 2.75rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 3.5rem 0 1rem;
        min-height: auto;
    }

    .app-mock-img {
        width: 300px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.25rem;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .problem-card {
        padding: 0.875rem;
    }
}

/* --- MD: 425px+ (Larger phones) --- */
@media (min-width: 425px) and (max-width: 767px) {
    .container {
        padding: 0 1.125rem;
    }

    section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }

    .app-mock-img {
        width: 400px;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .problem-card {
        padding: 1rem;
    }

    .problem-card h3 {
        font-size: 0.875rem;
    }

    .problem-card p {
        font-size: 0.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1.125rem;
    }

    .feature-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.375rem;
    }

    .feature-card h3 {
        font-size: 0.9375rem;
    }

    .feature-card p {
        font-size: 0.75rem;
    }

    .stats-grid {
        gap: 1.25rem;
    }

    .stat-block .stat-number {
        font-size: 2.25rem;
    }

    .stat-block .stat-label {
        font-size: 0.75rem;
    }

    .boards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
    }

    .board-card {
        padding: 1rem;
    }

    .board-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .price-card {
        padding: 1.5rem;
    }

    .pricing-grid {
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- LG: 768px+ (Tablets & Desktop) --- */
@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .navbar {
        height: 72px;
    }

    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .hamburger {
        display: none;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero {
        text-align: left;
        min-height: auto;
        padding: 4rem 0 1rem;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 50% 50%;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-content {
        text-align: left;
    }

    .hero-buttons {
        align-items: flex-start;
    }

    .hero-sub {
        margin: 0 0 2rem;
    }

    .hero-mockup {
        margin-top: 0;
    }

    .social-proof-strip {
        justify-content: flex-start;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 4rem;
        height: 4rem;
        font-size: 1.75rem;
    }

    .steps-rail {
        flex-direction: row;
        padding-left: 0;
        gap: 0;
        justify-content: space-between;
    }

    .steps-rail::before {
        left: 0;
        right: 0;
        top: 1.5rem;
        bottom: auto;
        width: auto;
        height: 2px;
        border-left: none;
        border-top: 2px dashed rgba(232, 98, 42, 0.3);
    }

    .step-item {
        flex: 1;
        text-align: center;
        padding: 3.5rem 1rem 0;
    }

    .step-number {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        width: 3rem;
        height: 3rem;
        font-size: 1.125rem;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-block .stat-number {
        font-size: 3.5rem;
    }

    .testimonials-track {
        gap: 1.5rem;
    }

    .testimonial-card {
        min-width: calc(33.333% - 1rem);
        padding: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .boards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lead-form {
        grid-template-columns: 1fr 1fr;
    }

    .lead-form .btn-primary {
        grid-column: 1 / -1;
    }

    .final-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .final-buttons .btn-primary {
        width: auto;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .legal-toc {
        display: block;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-section h2 {
        font-size: 2.75rem;
    }
}

/* --- XL: 1024px+ (Desktop) --- */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        padding: 4rem 0 0.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .app-mock-img {
        width: 580px;
        transform: rotate(5deg);
    }

    /* Legal TOC sidebar visible on desktop */
    .legal-content .legal-toc {
        display: block;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-wrap {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}