/* ============================================================================
   RFI Hawk - Landing Page Stylesheet
   Self-contained: does NOT depend on style.css
   ============================================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Merriweather', 'Georgia', 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: var(--lp-white);
    background: var(--lp-navy-900);
    -webkit-font-smoothing: antialiased;
}

/* UI chrome stays on sans-serif */
.btn, .lp-btn, .lp-btn-primary, .lp-btn-secondary,
.badge, .tier-badge,
nav, .lp-nav, .lp-nav-link,
.lp-tag, .lp-chip,
input, select, textarea, label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Design Tokens --- */
:root {
    /* Patriotic palette */
    --lp-navy-900: #0a1628;
    --lp-navy-800: #1b2a4a;
    --lp-navy-700: #253a5e;
    --lp-navy-600: #2d4a7a;
    --lp-navy-500: #3d5a8a;

    --lp-red-deep: #8b1a1a;
    --lp-red-muted: #a83232;
    --lp-red-accent: #c0392b;
    --lp-red-light: #e74c3c;
    --lp-red-faded: rgba(168, 50, 50, 0.15);

    --lp-white: #f1f5f9;
    --lp-pure-white: #ffffff;
    --lp-white-off: #f8f9fa;
    --lp-white-warm: #f0efe9;

    --lp-blue-steel: #4a6fa5;
    --lp-blue-light: #6b8fc4;
    --lp-blue-500: #3b82f6;
    --lp-blue-600: #2563eb;
    --lp-blue-700: #1d4ed8;
    --lp-blue-faded: rgba(74, 111, 165, 0.15);

    --lp-gold-muted: #c9a84c;
    --lp-gold-light: #dbb85c;
    --lp-gold-dim: rgba(201, 168, 76, 0.15);

    --lp-gray-900: #1a1a2e;
    --lp-gray-800: #2d2d44;
    --lp-gray-700: #3d3d5c;
    --lp-gray-600: #555573;
    --lp-gray-500: #6e6e8a;
    --lp-gray-400: #9090a7;
    --lp-gray-300: #b8b8cc;
    --lp-gray-200: #d5d5e0;
    --lp-gray-100: #eeeef3;
    --lp-gray-50: #f5f5f8;

    /* Functional */
    --lp-success: #2d8a4e;
    --lp-warning: #c9a84c;
    --lp-danger: #a83232;
    --lp-info: #4a6fa5;

    /* Borders & shadows */
    --lp-border: rgba(255,255,255,0.08);
    --lp-border-hover: rgba(255,255,255,0.16);
    --lp-card-shadow: 0 4px 24px rgba(0,0,0,0.3);

    /* Spacing */
    --lp-radius: 4px;
    --lp-radius-lg: 4px;
    --lp-section-pad: 5rem 2rem;
    --lp-max-width: 1100px;
    --lp-nav-height: 60px;
}

/* --- Quantico font for RFI Hawk wordmark --- */
.lp-nav-logo,
.lp-footer-logo {
    font-family: 'Quantico', sans-serif;
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.3),
         1px -1px 0 rgba(0, 0, 0, 0.3),
        -1px  1px 0 rgba(0, 0, 0, 0.3),
         1px  1px 0 rgba(0, 0, 0, 0.3);
}
/* On light sections, switch wordmark to navy (no shadow needed) */
.section-light .lp-nav-logo {
    color: var(--lp-navy-800);
    text-shadow: none;
}
.section-light .lp-nav-logo span {
    color: var(--lp-blue-700);
}

/* --- Inline wordmark classes (for body text references) --- */
.rfi-hawk-wordmark { font-family: 'Quantico', sans-serif; letter-spacing: normal; word-spacing: normal; }
.salian-defense-wordmark { font-family: 'Cinzel', serif; }

/* Fix wordmark metrics inside FAQ where Quantico is wider than Merriweather */
.lp-faq-q .rfi-hawk-wordmark,
.lp-faq-a .rfi-hawk-wordmark {
    font-size: 0.88em;
    letter-spacing: -0.02em;
    line-height: inherit;
    vertical-align: baseline;
    display: inline;
}

/* ============================================================================
   FLAG BACKGROUND
   ============================================================================ */
.landing-page {
    background-color: var(--lp-navy-900);
    position: relative;
}
.landing-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/images/flag-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
/* All content sits above the flag */
.landing-page > section,
.landing-page > header,
.landing-page > nav,
.landing-page > footer,
.landing-page > main,
.landing-page > div {
    position: relative;
    z-index: 1;
}
/* Dark sections: transparent, flag shows through */
.section-dark { background-color: transparent; }
/* Light sections: solid color covers the flag */
.section-light { background-color: var(--lp-white-off); color: var(--lp-gray-900); }

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--lp-nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.lp-nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.lp-nav-logo {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--lp-pure-white);
}
.lp-nav-logo span {
    color: var(--lp-blue-500);
}
.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.lp-nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lp-gray-300);
    transition: color 0.2s;
}
.lp-nav-links a:hover {
    color: var(--lp-pure-white);
}
.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lp-pure-white);
    background: var(--lp-red-muted);
    border: none;
    border-radius: var(--lp-radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
}
.lp-btn-primary:hover {
    background: var(--lp-red-accent);
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(168, 50, 50, 0.3);
}
.lp-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--lp-gray-300);
    background: transparent;
    border: 1px solid var(--lp-border-hover);
    border-radius: var(--lp-radius);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    text-decoration: none;
}
.lp-btn-ghost:hover {
    border-color: var(--lp-pure-white);
    color: var(--lp-pure-white);
    background: rgba(255, 255, 255, 0.05);
}
.lp-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lp-navy-900);
    background: var(--lp-pure-white);
    border: none;
    border-radius: var(--lp-radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}
.lp-btn-white:hover {
    background: var(--lp-gray-100);
    transform: scale(1.02);
}
.lp-btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}
.lp-btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* ============================================================================
   SECTIONS (shared)
   ============================================================================ */
.lp-section {
    padding: var(--lp-section-pad);
    max-width: var(--lp-max-width);
    margin: 0 auto;
}
.lp-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.section-dark .lp-section-title { color: var(--lp-pure-white); }
.section-light .lp-section-title { color: var(--lp-gray-900); }
.lp-section-subtitle {
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.section-dark .lp-section-subtitle { color: var(--lp-gray-400); }
.section-light .lp-section-subtitle { color: var(--lp-gray-600); }

/* --- Fade-in animation --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.lp-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--lp-nav-height) + 2rem) 2rem 4rem;
    position: relative;
}
.lp-hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--lp-pure-white);
    letter-spacing: -0.02em;
    max-width: 800px;
    animation: heroFadeIn 0.6s ease-out;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-description {
    font-size: 1.05rem;
    color: var(--lp-gray-200);
    max-width: 750px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

.lp-hero-sub {
    font-size: 1.15rem;
    color: var(--lp-gray-300);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: heroFadeIn 0.6s ease-out 0.15s both;
}
.lp-hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: heroFadeIn 0.6s ease-out 0.3s both;
}
.lp-trust-line {
    padding-top: 2rem;
    border-top: 1px solid var(--lp-border);
    animation: heroFadeIn 0.6s ease-out 0.45s both;
}
.lp-trust-text {
    font-size: 0.85rem;
    color: var(--lp-gray-300);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================================================
   SOCIAL PROOF BAR
   ============================================================================ */
.social-proof-bar {
    background: rgba(27, 42, 74, 0.6);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    padding: 2.5rem 2rem;
}
.social-proof-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--lp-max-width);
    margin: 0 auto;
    text-align: center;
}
.social-proof-container.single-stat {
    display: flex;
    justify-content: center;
}
.proof-stat {
    padding: 0.5rem;
}
.proof-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--lp-pure-white);
    line-height: 1.2;
    margin-bottom: 0.35rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.proof-label {
    font-size: 0.8rem;
    color: var(--lp-gray-300);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================================
   PROBLEM SECTION (light)
   ============================================================================ */
.lp-problem-body {
    max-width: 700px;
    margin: 0 auto;
}
.lp-problem-body p {
    font-size: 1rem;
    color: var(--lp-gray-700);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.lp-compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.lp-compare-card {
    padding: 1.5rem;
    border-radius: var(--lp-radius);
    text-align: center;
}
.lp-compare-card.old {
    background: var(--lp-gray-100);
    border: 1px solid var(--lp-gray-200);
}
.lp-compare-card.new {
    background: rgba(45, 138, 78, 0.08);
    border: 1px solid rgba(45, 138, 78, 0.2);
}
.lp-compare-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.lp-compare-card.old .lp-compare-label { color: var(--lp-gray-500); }
.lp-compare-card.new .lp-compare-label { color: var(--lp-success); }
.lp-compare-value {
    font-size: 1.4rem;
    font-weight: 700;
}
.lp-compare-card.old .lp-compare-value { color: var(--lp-gray-800); }
.lp-compare-card.new .lp-compare-value { color: var(--lp-success); }

/* ============================================================================
   SOLUTION / HOW IT WORKS (dark)
   ============================================================================ */
.lp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.lp-step-card {
    padding: 2rem 1.5rem;
    text-align: center;
}
.lp-step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--lp-navy-600);
    line-height: 1;
    margin-bottom: 1rem;
}
.lp-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lp-pure-white);
    margin-bottom: 0.5rem;
}
.lp-step-desc {
    font-size: 0.9rem;
    color: var(--lp-gray-300);
    line-height: 1.6;
}
.lp-callout {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    color: var(--lp-gray-300);
    line-height: 1.7;
}

/* ============================================================================
   ANIMATED DEMO (light)
   ============================================================================ */
.lp-demo-container {
    max-width: 900px;
    margin: 0 auto;
}
.lp-demo-workspace {
    background: var(--lp-navy-900);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.lp-demo-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1rem;
    background: var(--lp-navy-800);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.lp-demo-dot.red { background: #ef4444; }
.lp-demo-dot.yellow { background: #eab308; }
.lp-demo-dot.green { background: #22c55e; }
.lp-demo-titlebar-text {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--lp-gray-500);
    font-weight: 500;
    font-family: 'Quantico', sans-serif;
}
.lp-demo-body {
    padding: 1.5rem;
    height: 480px;
    min-height: 480px;
    overflow: hidden;
    position: relative;
}
/* Opportunity header in demo */
.lp-demo-opp {
    margin-bottom: 1.25rem;
    opacity: 0;
    transition: opacity 0.5s;
}
.lp-demo-opp.show { opacity: 1; }
.lp-demo-opp-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lp-gray-500);
    margin-bottom: 0.35rem;
}
.lp-demo-opp-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-pure-white);
    margin-bottom: 0.15rem;
}
.lp-demo-opp-meta {
    font-size: 0.8rem;
    color: var(--lp-gray-500);
}
/* Chat bubbles */
.lp-demo-chat {
    margin-bottom: 1rem;
}
.lp-demo-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: var(--lp-radius);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
    opacity: 0;
    transition: opacity 0.4s;
}
.lp-demo-msg.show { opacity: 1; }
.lp-demo-msg.user {
    background: var(--lp-navy-700);
    color: var(--lp-gray-200);
    margin-right: auto;
}
.lp-demo-msg.ai {
    background: var(--lp-blue-faded);
    color: var(--lp-gray-200);
    margin-left: auto;
    border: 1px solid rgba(74, 111, 165, 0.2);
}
.lp-demo-msg-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}
.lp-demo-msg.user .lp-demo-msg-label { color: var(--lp-gray-500); }
.lp-demo-msg.ai .lp-demo-msg-label { color: var(--lp-blue-steel); }
/* Typing indicator */
.lp-typing-dots {
    display: inline-flex;
    gap: 4px;
    padding: 0.5rem 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.lp-typing-dots.show { opacity: 1; }
.lp-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-gray-500);
    animation: dotPulse 1.2s ease-in-out infinite;
}
.lp-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.lp-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}
/* Section generation */
.lp-demo-section {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1rem;
    opacity: 0;
    transition: opacity 0.5s;
}
.lp-demo-section.show { opacity: 1; }
.lp-demo-section-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--lp-gray-500);
    margin-bottom: 0.5rem;
}
.lp-demo-section-text {
    font-size: 0.85rem;
    color: var(--lp-gray-300);
    line-height: 1.6;
}
.lp-demo-section-text .hl-green {
    background: rgba(45, 138, 78, 0.15);
    padding: 1px 3px;
    border-radius: 2px;
}
.lp-demo-section-text .hl-blue {
    background: rgba(74, 111, 165, 0.15);
    padding: 1px 3px;
    border-radius: 2px;
}
.lp-demo-compliance {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: rgba(45, 138, 78, 0.12);
    border: 1px solid rgba(45, 138, 78, 0.25);
    border-radius: var(--lp-radius);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lp-success);
    margin-top: 0.75rem;
    opacity: 0;
    transition: opacity 0.5s;
}
.lp-demo-compliance.show { opacity: 1; }
.lp-demo-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--lp-gray-500);
    margin-top: 1.5rem;
}

/* ============================================================================
   FORCE MULTIPLIER SECTION (light)
   ============================================================================ */
.lp-fm-body {
    max-width: 700px;
    margin: 0 auto 2.5rem;
}
.lp-fm-body p {
    font-size: 1rem;
    color: var(--lp-gray-700);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.lp-progression {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.lp-prog-step {
    padding: 1.25rem 1rem;
    background: var(--lp-gray-50);
    border: 1px solid var(--lp-gray-200);
    border-radius: var(--lp-radius);
}
.lp-prog-step-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lp-gray-800);
}
.lp-prog-arrow {
    font-size: 1.2rem;
    color: var(--lp-gray-400);
    font-weight: 700;
}

/* ============================================================================
   WHO IT'S FOR (dark)
   ============================================================================ */
.lp-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 750px;
    margin: 0 auto 2rem;
}
.lp-who-item {
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    border-left: 3px solid var(--lp-red-muted);
    font-size: 0.9rem;
    color: var(--lp-gray-300);
    font-weight: 500;
}
.lp-who-closing {
    text-align: center;
    font-size: 1rem;
    color: var(--lp-gray-300);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================================
   INDUSTRY NUMBERS (dark, slightly different bg)
   ============================================================================ */
.section-dark-alt {
    background: rgba(27, 42, 74, 0.4);
}
.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
.lp-stat-card {
    text-align: center;
    padding: 1.5rem;
}
.lp-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lp-pure-white);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.lp-stat-label {
    font-size: 0.9rem;
    color: var(--lp-gray-300);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.lp-stat-source {
    font-size: 0.65rem;
    color: var(--lp-gray-400);
    font-style: normal;
}
.lp-stats-closing {
    text-align: center;
    font-size: 1rem;
    color: var(--lp-gray-300);
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* ============================================================================
   PRICING (light)
   ============================================================================ */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}
.lp-pricing-card {
    background: var(--lp-pure-white);
    border: 1px solid var(--lp-gray-200);
    border-radius: var(--lp-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lp-pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.lp-pricing-card.popular {
    border-color: var(--lp-red-muted);
    border-top: 3px solid var(--lp-red-muted);
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.lp-pricing-card.popular:hover {
    transform: scale(1.02) translateY(-2px);
}
.lp-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.2rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--lp-red-muted);
    color: var(--lp-pure-white);
    border-radius: var(--lp-radius);
    white-space: nowrap;
}
.lp-pricing-tier {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--lp-gray-900);
    margin-bottom: 0.5rem;
}
.lp-pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lp-gray-900);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.lp-pricing-price .currency {
    font-size: 1.2rem;
    vertical-align: super;
    font-weight: 600;
}
.lp-pricing-price .period {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--lp-gray-500);
}
.lp-pricing-features {
    text-align: left;
    margin-bottom: 1.5rem;
    margin-top: 1.25rem;
}
.lp-pricing-features li {
    font-size: 0.85rem;
    color: var(--lp-gray-700);
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
}
.lp-pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--lp-success);
    font-weight: 700;
}
.lp-pricing-card .lp-btn-primary,
.lp-pricing-card .lp-btn-ghost {
    width: 100%;
}
/* Ghost button on light bg */
.lp-pricing-card .lp-btn-ghost {
    color: var(--lp-gray-600);
    border-color: var(--lp-gray-300);
}
.lp-pricing-card .lp-btn-ghost:hover {
    color: var(--lp-gray-900);
    border-color: var(--lp-gray-600);
    background: var(--lp-gray-50);
}
.lp-pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--lp-gray-500);
    margin-top: 1.5rem;
}
/* 4-column pricing grid */
.lp-pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
/* Billing toggle */
.lp-billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}
.lp-billing-toggle button {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--lp-gray-300);
    background: var(--lp-pure-white);
    color: var(--lp-gray-600);
    cursor: pointer;
    transition: all 0.15s;
}
.lp-billing-toggle button:first-child {
    border-radius: var(--lp-radius) 0 0 var(--lp-radius);
    border-right: none;
}
.lp-billing-toggle button:last-child {
    border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
}
.lp-billing-toggle button.active {
    background: var(--lp-gray-900);
    color: var(--lp-pure-white);
    border-color: var(--lp-gray-900);
}
/* Pricing tagline */
.lp-pricing-tagline {
    font-size: 0.8rem;
    color: var(--lp-gray-500);
    margin-bottom: 1rem;
}
/* Annual note */
.lp-pricing-annual-note {
    font-size: 0.75rem;
    color: var(--lp-gray-500);
    margin-bottom: 0.5rem;
}
/* Token overage line */
.lp-pricing-overage {
    font-size: 0.75rem;
    color: var(--lp-gray-500);
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--lp-gray-200);
}
/* Enterprise banner */
.lp-enterprise-banner {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--lp-gray-50);
    border: 1px solid var(--lp-gray-200);
    border-radius: var(--lp-radius);
}
.lp-enterprise-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.lp-enterprise-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lp-gray-900);
    margin-bottom: 0.25rem;
}
.lp-enterprise-desc {
    font-size: 0.85rem;
    color: var(--lp-gray-600);
    max-width: 600px;
}
/* Token explainer */
.lp-token-explainer {
    margin-top: 2rem;
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.lp-token-explainer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-gray-900);
    margin-bottom: 0.5rem;
}
.lp-token-explainer p {
    font-size: 0.85rem;
    color: var(--lp-gray-600);
    line-height: 1.6;
}

/* ============================================================================
   ORIGIN STORY (dark)
   ============================================================================ */
.lp-origin {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.lp-origin-text {
    font-size: 1.1rem;
    color: var(--lp-gray-300);
    line-height: 1.8;
}

/* ============================================================================
   FINAL CTA
   ============================================================================ */
.lp-cta-section {
    background: var(--lp-red-deep);
    padding: var(--lp-section-pad);
    text-align: center;
}
.lp-cta-section .lp-section-title {
    color: var(--lp-pure-white);
    margin-bottom: 2rem;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.lp-footer {
    padding: 3rem 2rem 1.5rem;
    background: rgba(10, 22, 40, 0.9);
    border-top: 1px solid var(--lp-border);
}
.lp-footer-inner {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.lp-footer-logo {
    font-family: 'Quantico', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--lp-pure-white);
    margin-bottom: 0.5rem;
}
.lp-footer-logo span {
    color: var(--lp-blue-500);
}
.lp-footer-brand-text {
    font-size: 0.85rem;
    color: var(--lp-gray-500);
    line-height: 1.6;
}
.lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-start;
    padding-top: 0.25rem;
}
.lp-footer-links a {
    font-size: 0.85rem;
    color: var(--lp-gray-500);
    transition: color 0.2s;
}
.lp-footer-links a:hover {
    color: var(--lp-pure-white);
}
.lp-footer-tagline {
    font-size: 0.85rem;
    color: var(--lp-gray-500);
    text-align: right;
    padding-top: 0.25rem;
}
.lp-footer-bottom {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lp-border);
    font-size: 0.75rem;
    color: var(--lp-gray-500);
}
.lp-footer-stripe {
    height: 3px;
    background: linear-gradient(90deg,
        rgba(168, 50, 50, 0.35) 0%, rgba(168, 50, 50, 0.35) 33%,
        rgba(200, 200, 200, 0.25) 33%, rgba(200, 200, 200, 0.25) 66%,
        rgba(74, 111, 165, 0.35) 66%, rgba(74, 111, 165, 0.35) 100%);
}

/* ============================================================================
   AUTH PAGES (login / register)
   ============================================================================ */
.auth-page {
    min-height: 100vh;
    background: var(--lp-navy-900);
    display: flex;
    flex-direction: column;
}
.auth-page-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--lp-nav-height) + 2rem) 1rem 3rem;
}
.auth-card-dark {
    background: var(--lp-navy-700);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--lp-card-shadow);
}
.auth-card-dark h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lp-pure-white);
    text-align: center;
    margin-bottom: 0.25rem;
}
.auth-card-dark .auth-subtitle {
    font-size: 0.875rem;
    color: var(--lp-gray-400);
    text-align: center;
    margin-bottom: 1.75rem;
}
.auth-card-dark .form-group {
    margin-bottom: 1rem;
}
.auth-card-dark label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--lp-gray-300);
    margin-bottom: 0.35rem;
}
.auth-card-dark input[type="text"],
.auth-card-dark input[type="email"],
.auth-card-dark input[type="password"] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    background: var(--lp-navy-800);
    border: 1px solid var(--lp-border-hover);
    border-radius: var(--lp-radius);
    color: var(--lp-pure-white);
    outline: none;
    transition: border-color 0.2s;
}
.auth-card-dark input[type="text"]:focus,
.auth-card-dark input[type="email"]:focus,
.auth-card-dark input[type="password"]:focus {
    border-color: var(--lp-blue-500);
}
.auth-card-dark input::placeholder {
    color: var(--lp-gray-500);
}
.auth-card-dark .auth-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    color: var(--lp-gray-400);
    margin-bottom: 1.25rem;
}
.auth-card-dark .auth-remember label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 400;
    cursor: pointer;
}
.auth-card-dark .auth-remember a {
    color: var(--lp-blue-500);
    font-size: 0.8rem;
}
.auth-card-dark .auth-remember a:hover {
    text-decoration: underline;
}
.auth-card-dark button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lp-pure-white);
    background: var(--lp-red-muted);
    border: none;
    border-radius: var(--lp-radius);
    cursor: pointer;
    transition: background 0.2s;
}
.auth-card-dark button[type="submit"]:hover {
    background: var(--lp-red-accent);
}
.auth-card-dark .auth-links {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--lp-gray-400);
}
.auth-card-dark .auth-links a {
    color: var(--lp-blue-500);
    font-weight: 600;
}
.auth-card-dark .auth-links a:hover {
    text-decoration: underline;
}
.auth-consent-section {
    margin-top: 1.25rem;
    border-top: 1px solid var(--lp-border);
    padding-top: 1.25rem;
}
.auth-consent-label {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0.6rem;
}
.auth-consent-label input[type="checkbox"] {
    margin-top: 0.25rem;
    min-width: 18px;
    accent-color: var(--lp-blue-500);
}
.auth-consent-label span {
    font-size: 0.825rem;
    color: var(--lp-gray-300);
    line-height: 1.4;
}
.auth-consent-label a {
    color: var(--lp-blue-500);
    font-weight: 600;
}
.auth-required {
    color: var(--lp-danger);
}
.auth-flash {
    padding: 0.75rem 1rem;
    border-radius: var(--lp-radius);
    margin-bottom: 1rem;
    font-size: 0.85rem;
}
.auth-flash.error {
    background: rgba(168, 50, 50, 0.15);
    border: 1px solid rgba(168, 50, 50, 0.3);
    color: #fca5a5;
}
.auth-flash.success {
    background: rgba(45, 138, 78, 0.15);
    border: 1px solid rgba(45, 138, 78, 0.3);
    color: #86efac;
}

/* ============================================================================
   ABOUT PAGE
   ============================================================================ */
.lp-about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--lp-nav-height) + 3rem) 2rem 4rem;
}
.lp-about-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--lp-pure-white);
}
.lp-about-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--lp-pure-white);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}
.lp-about-content p {
    font-size: 1rem;
    color: var(--lp-gray-300);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ============================================================================
   FAQ PAGE
   ============================================================================ */
.lp-faq-content {
    max-width: 750px;
    margin: 0 auto;
    padding: calc(var(--lp-nav-height) + 3rem) 2rem 4rem;
}
.lp-faq-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--lp-pure-white);
    text-align: center;
}
.lp-faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.lp-faq-nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-gray-400);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    transition: color 0.2s, border-color 0.2s;
}
.lp-faq-nav a:hover {
    color: var(--lp-pure-white);
    border-color: var(--lp-gray-500);
}
.lp-faq-category {
    margin-bottom: 2.5rem;
}
.lp-faq-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-pure-white);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--lp-border);
}
.lp-faq-item {
    border-bottom: 1px solid var(--lp-border);
}
.lp-faq-q {
    display: block;
    position: relative;
    padding: 1rem 2.5rem 1rem 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lp-gray-200);
    transition: color 0.2s;
}
.lp-faq-q:hover {
    color: var(--lp-pure-white);
}
.lp-faq-q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 1rem;
    font-size: 1.2rem;
    color: var(--lp-gray-500);
    font-weight: 400;
    transition: transform 0.2s;
}
.lp-faq-item.open .lp-faq-q::after {
    content: '\2212';
}
.lp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.lp-faq-item.open .lp-faq-a {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
}
.lp-faq-a-inner {
    padding: 0 0 1.25rem;
    font-size: 0.9rem;
    color: var(--lp-gray-400);
    line-height: 1.7;
}

/* ============================================================================
   LEGAL PAGES (terms, privacy - standalone)
   ============================================================================ */
.lp-legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--lp-nav-height) + 3rem) 2rem 4rem;
}
.lp-legal-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lp-pure-white);
    margin-bottom: 0.5rem;
}
.lp-legal-content .legal-updated {
    font-size: 0.85rem;
    color: var(--lp-gray-500);
    margin-bottom: 2rem;
}
.lp-legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lp-pure-white);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.lp-legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-gray-200);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.lp-legal-content p {
    font-size: 0.9rem;
    color: var(--lp-gray-400);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.lp-legal-content ul {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}
.lp-legal-content li {
    font-size: 0.9rem;
    color: var(--lp-gray-400);
    line-height: 1.6;
    padding: 0.2rem 0;
    list-style: disc;
}
.lp-legal-content a {
    color: var(--lp-blue-500);
}
.lp-legal-content a:hover {
    text-decoration: underline;
}
.lp-legal-toc {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
}
.lp-legal-toc-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--lp-gray-500);
    margin-bottom: 0.5rem;
}
.lp-legal-toc a {
    display: block;
    font-size: 0.85rem;
    color: var(--lp-gray-400);
    padding: 0.2rem 0;
}
@media print {
    .lp-nav, .lp-footer, .lp-footer-stripe { display: none; }
    .lp-legal-content { padding-top: 1rem; }
    .lp-legal-content h1 { color: #000; }
    .lp-legal-content h2, .lp-legal-content h3 { color: #333; }
    .lp-legal-content p, .lp-legal-content li { color: #333; }
}

/* ============================================================================
   MOBILE MENU
   ============================================================================ */
.lp-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    color: var(--lp-gray-300);
    font-size: 1.5rem;
    line-height: 1;
}
.lp-mobile-menu {
    display: none;
    position: fixed;
    top: var(--lp-nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
    border-bottom: 1px solid var(--lp-border);
}
.lp-mobile-menu.open {
    display: flex;
}
.lp-mobile-menu a {
    font-size: 1rem;
    color: var(--lp-gray-300);
    padding: 0.85rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--lp-border);
}
.lp-mobile-menu a:last-child {
    border-bottom: none;
}
.lp-mobile-menu .lp-btn-primary {
    margin-top: 0.5rem;
    text-align: center;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */

@media (max-width: 1200px) {
    .lp-pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; }
    .lp-enterprise-inner { flex-direction: column; text-align: center; }
    .lp-enterprise-desc { max-width: 100%; }
}
@media (max-width: 1024px) {
    .social-proof-container { grid-template-columns: repeat(2, 1fr); max-width: 500px; margin-left: auto; margin-right: auto; }
    .social-proof-container.single-stat { display: flex; justify-content: center; max-width: none; }
    .lp-steps-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    .lp-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .lp-pricing-grid-4 { grid-template-columns: 1fr; max-width: 400px; }
    .lp-stats-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .lp-who-grid { grid-template-columns: 1fr; }
    .lp-footer-inner { grid-template-columns: 1fr; text-align: center; }
    .lp-footer-links { justify-content: center; }
    .lp-footer-tagline { text-align: center; }
    .lp-footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .lp-compare-row { grid-template-columns: 1fr; max-width: 350px; }
    .lp-progression { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; }
    .lp-prog-arrow { transform: rotate(90deg); }
}

@media (max-width: 768px) {
    :root {
        --lp-section-pad: 4rem 1.5rem;
    }
    .lp-hero-headline { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    .lp-section-title { font-size: 1.6rem; }
    .lp-demo-body { padding: 1rem; height: 420px; min-height: 420px; overflow: hidden; }
    .lp-demo-msg { max-width: 95%; font-size: 0.8rem; }
}

@media (max-width: 600px) {
    :root {
        --lp-section-pad: 3rem 1rem;
    }
    .lp-nav-links { display: none; }
    .lp-hamburger { display: block; }
    .lp-hero { min-height: auto; padding-top: calc(var(--lp-nav-height) + 3rem); padding-bottom: 3rem; }
    .lp-hero-ctas { flex-direction: column; align-items: center; }
    .lp-hero-ctas .lp-btn-primary,
    .lp-hero-ctas .lp-btn-ghost { width: 100%; max-width: 300px; }
    .lp-pricing-card.popular { transform: scale(1); }
    .lp-pricing-card.popular:hover { transform: translateY(-2px); }
    .lp-demo-container { margin: 0 -0.5rem; }
    .auth-card-dark { padding: 2rem 1.25rem; }
    .lp-faq-content { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 480px) {
    .lp-hero-headline { font-size: 1.65rem; }
    .lp-hero-sub { font-size: 0.95rem; }
    .lp-section-title { font-size: 1.4rem; }
    .lp-stat-number { font-size: 2rem; }
    .lp-pricing-price { font-size: 2rem; }
    .lp-nav { padding: 0 1rem; }
}

@media (max-width: 375px) {
    .lp-hero-headline { font-size: 1.5rem; }
    .lp-hero-sub { font-size: 0.9rem; }
    .lp-section-title { font-size: 1.25rem; }
    .lp-stat-number { font-size: 1.75rem; }
    .lp-pricing-price { font-size: 1.75rem; }
    .lp-demo-body { padding: 0.75rem; height: 360px; min-height: 360px; overflow: hidden; }
    .lp-demo-msg { font-size: 0.75rem; }
    .auth-card-dark { padding: 1.5rem 1rem; }
}

/* iOS Safari fix for fixed background */
@media (max-width: 768px) {
    .landing-page::before {
        background-attachment: scroll;
        opacity: 0.07;
    }
}

/* ============================================================================
   MOBILE RESPONSIVE FIXES (Session A - Full Mobile Audit)
   Targets inline-styled sections that lack responsive behavior.
   Uses !important sparingly to override inline styles.
   ============================================================================ */

/* --- Beta Banner: tighten padding on mobile --- */
@media (max-width: 600px) {
    .landing-page > div:first-child {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
}

/* --- Opportunities Snapshot Section --- */
/* The table uses inline styles; we target the section-dark parent wrapping it */
@media (max-width: 768px) {
    /* Section heading scales down */
    .section-dark > div[style*="text-align:center"] > h2[style*="font-size:2rem"] {
        font-size: 1.5rem !important;
    }
    /* Table columns: hide Value and Agency on small tablets */
    .section-dark table thead tr th:nth-child(3),
    .section-dark table tbody tr td:nth-child(3) {
        display: none;
    }
}
@media (max-width: 480px) {
    /* Further: hide Value column header+data */
    .section-dark table thead tr th:nth-child(5),
    .section-dark table tbody tr td:nth-child(5) {
        display: none;
    }
    /* Reduce table cell padding */
    .section-dark table th[style*="padding:10px"],
    .section-dark table td[style*="padding:10px"] {
        padding: 8px 8px !important;
    }
    /* Section heading further scales */
    .section-dark > div[style*="text-align:center"] > h2[style*="font-size:2rem"] {
        font-size: 1.3rem !important;
    }
    /* Reduce section outer padding */
    .section-dark[style*="padding:5rem 2rem"] {
        padding: 3rem 1rem !important;
    }
}

/* --- Academy Snapshot Section --- */
/* Course card grid uses minmax(280px) which may cause overflow on small screens */
@media (max-width: 480px) {
    .section-dark > div[style*="display:grid"] {
        grid-template-columns: 1fr !important;
        padding: 12px !important;
    }
    /* Scale academy title */
    .section-dark > div[style*="text-align:center"] > h2 {
        font-size: 1.3rem !important;
    }
}

/* --- FAQ Section --- */
@media (max-width: 600px) {
    .faq-item[style*="padding: 24px"] {
        padding: 16px 14px !important;
    }
    .faq-item h3[style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
    }
    .faq-item p[style*="line-height: 1.7"] {
        font-size: 0.9rem !important;
    }
}

/* --- Pricing Section: billing toggle fix --- */
@media (max-width: 480px) {
    .lp-billing-toggle button {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* --- Problem Section & Force Multiplier text --- */
@media (max-width: 600px) {
    .lp-problem-body p,
    .lp-fm-body p {
        font-size: 0.95rem;
    }
    .lp-compare-card .lp-compare-value {
        font-size: 1.1rem;
    }
}

/* --- Origin Story & Data Privacy inline text --- */
@media (max-width: 600px) {
    .lp-section[style*="text-align: center"] p[style*="font-size: 1.1rem"] {
        font-size: 0.95rem !important;
    }
}

/* --- Social Proof Bar: tighten on small mobile --- */
@media (max-width: 480px) {
    .social-proof-bar {
        padding: 1.5rem 1rem;
    }
    .proof-number {
        font-size: 1.75rem;
    }
    .proof-label {
        font-size: 0.7rem;
    }
}
@media (max-width: 375px) {
    .social-proof-container {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        max-width: 280px;
    }
    .social-proof-container.single-stat {
        display: flex;
        justify-content: center;
        max-width: none;
    }
    .proof-number {
        font-size: 1.5rem;
    }
}

/* --- Hero description text: prevent overflow --- */
@media (max-width: 600px) {
    .hero-description {
        font-size: 0.9rem !important;
    }
    .lp-trust-text {
        font-size: 0.85rem;
    }
}

/* --- "How it works" step cards on mobile --- */
@media (max-width: 600px) {
    .lp-step-desc {
        font-size: 0.9rem;
    }
    .lp-callout {
        font-size: 0.9rem;
    }
}

/* --- Who grid items on small screens --- */
@media (max-width: 480px) {
    .lp-who-item {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

/* --- Ensure no horizontal overflow from any section --- */
@media (max-width: 768px) {
    /* overflow-x on body (not main) to prevent creating a scroll container on main,
       which breaks iOS Safari vertical scrolling */
    body.landing-page {
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* All max-width:1000px containers should respect viewport */
    main > section > div[style*="max-width:1000px"],
    main > section > div[style*="max-width:1100px"] {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* --- Nav actions spacing on medium screens --- */
@media (max-width: 700px) and (min-width: 601px) {
    .lp-nav-links a {
        font-size: 0.85rem;
    }
    .lp-nav-actions .lp-btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* --- Enterprise banner on mobile --- */
@media (max-width: 600px) {
    .lp-enterprise-inner {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    .lp-enterprise-label {
        font-size: 1.1rem;
    }
    .lp-enterprise-desc {
        font-size: 0.9rem;
    }
}

/* --- Token explainer on mobile --- */
@media (max-width: 480px) {
    .lp-token-explainer {
        padding: 1rem;
    }
    .lp-token-explainer p {
        font-size: 0.85rem;
    }
}

/* --- CTA section on mobile --- */
@media (max-width: 480px) {
    .lp-cta-section .lp-section-title {
        font-size: 1.3rem;
    }
}

/* --- Footer on small mobile --- */
@media (max-width: 375px) {
    .lp-footer-inner {
        padding: 2rem 1rem;
    }
    .lp-footer-links {
        gap: 0.5rem;
    }
    .lp-footer-links a {
        font-size: 0.8rem;
    }
}
