*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green-500: #22c55e;
    --green-400: #4ade80;
    --green-300: #86efac;
    --green-200: #bbf7d0;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-glow: rgba(34,197,94,0.15);
    --green-glow-strong: rgba(34,197,94,0.3);

    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;

    --red-500: #ef4444;
    --red-100: #fee2e2;

    --blue-500: #3b82f6;
    --blue-100: #dbeafe;

    --bg-primary: #09090b;
    --bg-secondary: #111113;
    --bg-tertiary: #18181b;
    --bg-card: #1c1c1f;
    --bg-card-hover: #222225;

    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);

    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --text-muted: #52525b;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    max-width: 100vw;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
    ANIMATIONS
    ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--green-glow); }
    50% { box-shadow: 0 0 40px var(--green-glow-strong); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
@keyframes scan-line {
    0% { top: 0; }
    100% { top: 100%; }
}
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes progress-fill {
    from { width: 0; }
    to { width: var(--fill-width, 100%); }
}
@keyframes count-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes grid-fade {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.06; }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes orbit {
    from { transform: rotate(0deg) translateX(140px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
}
@keyframes slide-evidence {
    0%, 15% { transform: translateY(0); opacity: 1; }
    20%, 35% { transform: translateY(-100%); opacity: 1; }
    40%, 55% { transform: translateY(-200%); opacity: 1; }
    60%, 75% { transform: translateY(-300%); opacity: 1; }
    80%, 95% { transform: translateY(-400%); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll.visible.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.visible.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.visible.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.visible.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.visible.delay-5 { transition-delay: 0.5s; }

/* ============================================
    DECORATIVE BACKGROUNDS
    ============================================ */
#swirlCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.glow-orb {
    position: fixed;
    width: 500px; height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}
.glow-orb-1 {
    background: var(--green-500);
    top: -200px; left: -100px;
}
.glow-orb-2 {
    background: var(--green-400);
    bottom: -200px; right: -100px;
    opacity: 0.05;
}
/* hidden */
.seo { 
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* ============================================
    LAYOUT
    ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    position: relative;
    z-index: 1;
}

/* ============================================
    NAVBAR
    ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(9,9,11,0.7);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(9,9,11,0.9);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 32px; height: 32px;
    background: var(--green-500);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { width: 18px; height: 18px; }
.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.navbar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.navbar-links a:hover { color: var(--text-primary); }
.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--green-500);
    color: #000;
}
.btn-primary:hover {
    background: var(--green-400);
    box-shadow: 0 0 24px var(--green-glow);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.03);
}
.btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
    border-radius: 12px;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* ============================================
    HERO
    ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--green-400);
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease backwards;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--green-500);
    border-radius: 50%;
    animation: blink 2s infinite;
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s ease 0.1s backwards;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--green-400), var(--green-300), var(--green-500));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}
.hero-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    animation: fadeInUp 0.7s ease 0.2s backwards;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    animation: fadeInUp 0.7s ease 0.3s backwards;
}
.hero-trust {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: left;
    animation: fadeInUp 0.7s ease 0.4s backwards;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.hero-trust-icon {
    width: 18px; height: 18px;
    color: var(--green-500);
}

/* HERO PRODUCT MOCKUP */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s backwards;
}
.hero-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px -12px rgba(0,0,0,0.5),
    0 0 80px var(--green-glow);
    position: relative;
}
.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}
.mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.mockup-dot-red { background: #ef4444; }
.mockup-dot-yellow { background: #f59e0b; }
.mockup-dot-green { background: #22c55e; }
.mockup-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}
.mockup-body {
    padding: 0;
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 340px;
}
.mockup-sidebar {
    border-right: 1px solid var(--border);
    padding: 12px 0;
    background: var(--bg-secondary);
}
.mockup-sidebar-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 8px 14px 4px;
}
.mockup-criterion {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    cursor: default;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}
.mockup-criterion.active {
    background: rgba(34,197,94,0.08);
    border-left-color: var(--green-500);
    color: var(--text-primary);
}
.mockup-criterion:hover {
    background: rgba(255,255,255,0.03);
}
.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot.met { background: var(--green-500); }
.status-dot.partial { background: var(--amber-500); }
.status-dot.not-met { background: var(--red-500); }

.mockup-main {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.mockup-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mockup-h2 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}
.mockup-badge {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 4px;
}
.mockup-badge.met { background: rgba(34,197,94,0.15); color: var(--green-400); }
.mockup-badge.partial { background: rgba(245,158,11,0.15); color: var(--amber-400); }
.mockup-badge.not-met { background: rgba(239,68,68,0.15); color: #f87171; }

.mockup-evidence.not-met {
    background: rgba(239,68,68,0.06);
    border-left-color: var(--red-500);
}
.analysis-rationale.not-met {
    background: rgba(239,68,68,0.06);
    border-left-color: var(--red-500);
}

.mockup-section-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.mockup-section-label svg {
    width: 10px; height: 10px;
    color: var(--green-500);
}
.mockup-evidence {
    border-radius: var(--radius-xs);
    padding: 10px 12px;
    font-size: 0.7rem;
    line-height: 1.55;
    color: var(--text-secondary);
    border-left: 3px solid;
    transition: all 0.4s ease;
}
.mockup-evidence.met {
    background: rgba(34,197,94,0.06);
    border-left-color: var(--green-500);
}
.mockup-evidence.partial {
    background: rgba(245,158,11,0.06);
    border-left-color: var(--amber-500);
}
.mockup-evidence-source {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.mockup-evidence-source svg {
    width: 10px; height: 10px;
    color: var(--green-500);
}

/* Floating score card */
.hero-float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}
.hero-float-card.top-right {
    top: -20px; right: -20px;
    animation-delay: 0.5s;
}
.hero-float-card.bottom-left {
    bottom: -16px; left: -16px;
    animation-delay: 1.5s;
}
.float-card-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.float-card-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-400);
    line-height: 1.2;
}
.float-card-sub {
    font-size: 0.65rem;
    color: var(--text-tertiary);
}

/* ============================================
    STATS BAR
    ============================================ */
.stats-bar {
    padding: 48px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}
.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green-400);
    line-height: 1.1;
    letter-spacing: -1px;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 6px;
}

/* ============================================
    HOW IT WORKS
    ============================================ */
.how-it-works {
    padding: 120px 24px;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--green-400);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-sub {
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}
.step-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.step-card:hover .step-icon {
    background: var(--green-500);
}
.step-card:hover .step-icon svg {
    color: #000;
}
.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(34,197,94,0.12);
    position: absolute;
    top: 12px; right: 20px;
    line-height: 1;
    letter-spacing: -2px;
}
.step-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(34,197,94,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.step-icon svg {
    width: 24px; height: 24px;
    color: var(--green-500);
    transition: color 0.3s;
}
.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}
.step-detail {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-style: italic;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}
.step-card:hover .step-detail {
    opacity: 1;
    transform: translateY(0);
}
/* Connectors */
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    z-index: 2;
}
.step-connector svg {
    width: 20px; height: 20px;
    color: var(--green-500);
}

/* ============================================
    LIVE DEMO SECTION
    ============================================ */
.live-demo {
    padding: 120px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.demo-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.demo-browser {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 80px -16px rgba(0,0,0,0.5), 0 0 60px var(--green-glow);
}
.demo-titlebar {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    gap: 10px;
}
.demo-dots {
    display: flex;
    gap: 7px;
}
.demo-tab-bar {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.demo-tab {
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 6px;
}
.demo-tab.active {
    background: var(--green-500);
    color: #000;
}
.demo-tab:not(.active):hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
}
.demo-tab svg { width: 14px; height: 14px; }

.demo-content {
    min-height: 440px;
    position: relative;
}
.demo-panel {
    display: none;
    padding: 0;
    height: 100%;
    min-height: 440px;
}
.demo-panel.active {
    display: flex;
}

/* Dashboard Panel */
.demo-dashboard {
    padding: 32px;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.demo-dash-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.demo-dash-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}
.demo-dash-card:hover {
    border-color: var(--green-500);
    box-shadow: 0 0 24px var(--green-glow);
}
.demo-dash-card .big-num {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}
.demo-dash-card .big-num.green { color: var(--green-400); }
.demo-dash-card .big-num.amber { color: var(--amber-400); }
.demo-dash-card .big-num.red { color: #f87171; }
.demo-dash-card .card-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.demo-progress-bar {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
}
.progress-track {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 12px;
}
.progress-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}
.progress-fill.green { background: linear-gradient(90deg, var(--green-600), var(--green-400)); }

/* Analysis Panel - split view */
.demo-analysis {
    width: 100%;
}
.analysis-split {
    display: grid;
    grid-template-columns: 240px 1fr 1fr;
    height: 440px;
}
.analysis-sidebar {
    border-right: 1px solid var(--border);
    overflow-y: auto;
    background: var(--bg-secondary);
}
.analysis-sidebar-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}
.analysis-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
}
.analysis-item:hover {
    background: rgba(255,255,255,0.03);
}
.analysis-item.active {
    background: rgba(34,197,94,0.06);
    border-left-color: var(--green-500);
    color: var(--text-primary);
    font-weight: 500;
}

.analysis-detail {
    padding: 20px 24px;
    overflow-y: auto;
    border-right: 1px solid var(--border);
}
.analysis-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}
.analysis-detail h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.analysis-detail .code {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.analysis-section-title {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.analysis-section-title svg {
    width: 12px; height: 12px;
    color: var(--green-500);
}
.analysis-rationale {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    border-left: 3px solid;
}
.analysis-rationale.met {
    background: rgba(34,197,94,0.06);
    border-left-color: var(--green-500);
}
.analysis-rationale.partial {
    background: rgba(245,158,11,0.06);
    border-left-color: var(--amber-500);
}
.analysis-evidence-card {
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--text-secondary);
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    border-left: 3px solid var(--green-500);
    background: rgba(34,197,94,0.04);
    cursor: pointer;
    transition: all 0.2s;
}
.analysis-evidence-card:hover {
    box-shadow: 0 0 0 2px var(--green-500);
    transform: scale(1.01);
}
.analysis-evidence-card .ev-source {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* PDF mock panel */
.analysis-pdf {
    background: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.pdf-header {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.pdf-header-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pdf-header-title svg { width: 14px; height: 14px; color: var(--green-500); }
.pdf-page-label {
    font-size: 0.65rem;
    color: var(--text-muted);
}
.pdf-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    position: relative;
}
.pdf-page {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 24px;
    min-height: 320px;
}
.pdf-text-line {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    margin-bottom: 8px;
}
.pdf-text-line:nth-child(3n) { width: 85%; }
.pdf-text-line:nth-child(5n) { width: 70%; }
.pdf-highlight {
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 3px;
    padding: 10px 12px;
    margin: 12px 0;
    position: relative;
}
.pdf-highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--green-500);
    border-radius: 3px 0 0 3px;
}
.pdf-highlight-text {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Georgia', serif;
}
.pdf-highlight-label {
    font-size: 0.6rem;
    color: var(--green-500);
    font-weight: 600;
    margin-top: 6px;
    font-family: var(--font);
}

/* ============================================
    WHY BETTERWORLD
    ============================================ */
.why-section {
    padding: 120px 24px;
}
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.diff-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.diff-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.diff-card:hover .diff-icon {
    background: var(--green-500);
}
.diff-card:hover .diff-icon svg {
    color: #000;
}
.diff-badge {
    position: absolute;
    top: 16px; right: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(34,197,94,0.1);
    color: var(--green-400);
}
.diff-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(34,197,94,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s;
}
.diff-icon svg {
    width: 22px; height: 22px;
    color: var(--green-500);
    transition: color 0.3s;
}
.diff-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.diff-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.diff-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-400), var(--green-500));
    opacity: 0;
    transition: opacity 0.3s;
}
.diff-card:hover::after { opacity: 1; }

/* ============================================
    WHO IT'S FOR
    ============================================ */
.audience-section {
    padding: 120px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}
.audience-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.audience-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(34,197,94,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform 0.3s;
}
.audience-card:hover .audience-icon {
    transform: scale(1.1);
}
.audience-icon svg {
    width: 22px; height: 22px;
    color: var(--green-500);
}
.audience-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.audience-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}
.audience-needs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.audience-needs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.audience-needs li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--green-500);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Audience Rows Layout */
.audience-rows-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.audience-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 48px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.audience-row:last-child {
    border-bottom: none;
}
.audience-row-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.audience-row-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}
.audience-row-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 0;
}
.audience-row-badge {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0px 10px;
    border-radius: 100px;
    background: rgba(34,197,94,0.1);
    color: var(--green-400);
}
.audience-row-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}
.audience-row-features {
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
    justify-content: left;
}
.audience-row-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-tertiary);
}
.text-highlight {
    color: var(--green-400);
}
.no-border-top {
    border-top: none !important;
}

/* ============================================
    CTA SECTION
    ============================================ */
.cta-section {
    padding: 120px 24px;
}
.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0;
    align-items: left;
}
.cta-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.cta-benefit svg {
    width: 20px; height: 20px;
    color: var(--green-500);
    flex-shrink: 0;
}
.cta-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.3), 0 0 40px var(--green-glow);
}
.form-group {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: var(--font);
    transition: border-color 0.2s;
    outline: none;
}
.form-input:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px var(--green-glow);
}
.form-input::placeholder {
    color: var(--text-muted);
}
.form-select {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: var(--font);
    transition: border-color 0.2s;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.form-select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px var(--green-glow);
}
.cta-contact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.cta-contact p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.cta-contact a {
    color: var(--green-400);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cta-contact a:hover { color: var(--green-300); }
.cta-contact a svg { width: 16px; height: 16px; }

/* ============================================
    FOOTER
    ============================================ */
.footer {
    padding: 64px 24px 32px;
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin: 16px 0;
    max-width: 320px;
    line-height: 1.6;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: all 0.2s;
}
.footer-social a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-col-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--text-primary); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.footer-bottom-links {
    display: flex;
    gap: 24px;
}
.footer-bottom-links a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ============================================
    RESPONSIVE
    ============================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 600px; margin: 0 auto; }
    .analysis-split { grid-template-columns: 1fr; height: auto; }
    .analysis-sidebar { display: none; }
    .analysis-pdf { min-height: 300px; }
    .cta-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    /* Typography */
    .hero-title,
    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .section-sub { font-size: 1rem; }
    
    /* Prevent horizontal overflow */
    .hero-inner,
    .demo-wrapper,
    .cta-inner,
    .stats-inner,
    .steps-grid,
    .diff-grid,
    .audience-grid {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Container padding */
    .container { padding: 0 20px; max-width: 100%; }
    section { padding: 60px 20px !important; }
    .hero { 
        padding: 140px 20px 60px !important;
        min-height: 100vh;
    }
    
    /* Hero section */
    .hero-content { padding: 0; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn,
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-sub { max-width: 100%; }
    .hero-float-card { display: none; }
    
    /* Navigation */
    .navbar { padding: 16px 20px; }
    .navbar-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    /* Grid layouts to single column */
    .steps-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
    .step-card { padding: 24px 20px; }
    .step-desc { margin-bottom: 8px; }
    .step-detail { padding-top: 8px; }
    .diff-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .demo-dash-row { grid-template-columns: 1fr; }
    .stats-inner { gap: 32px; }
    .cta-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    
    /* Security cards - stack vertically on mobile */
    section [style*="grid-template-columns:repeat(3,1fr)"],
    section [style*="grid-template-columns: repeat(3,1fr)"],
    section [style*="grid-template-columns:repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Audience rows - stack icon above text on mobile */
    .audience-row {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    /* Center icons in stacked layout */
    .audience-row-icon {
        margin: 0 auto !important;
    }
    
    .audience-row-header {
        justify-content: center !important;
    }
    
    /* Feature lists - stack vertically on mobile */
    .hero-trust,
    .audience-row-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    /* Demo tab bar - icons only on mobile */
    .demo-titlebar {
        padding: 10px 18px;
    }
    
    .demo-dots {
        display: none;
    }
    
    .demo-tab-bar {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .demo-tab {
        padding: 8px;
        width: auto;
        min-width: unset;
    }
    
    /* Hide all tab text on mobile */
    .demo-tab {
        font-size: 0;
    }
    
    /* Keep icon visible */
    .demo-tab svg {
        width: 16px;
        height: 16px;
    }
    
    /* Show text for active tab only */
    .demo-tab.active {
        font-size: 0.72rem;
        gap: 6px;
        padding: 6px 12px;
    }
    
    /* Demo & Mockup */
    .demo-browser,
    .hero-mockup {
        max-width: 100%;
        overflow-x: auto;
    }
    .mockup-body { grid-template-columns: 1fr; }
    .mockup-sidebar { display: none; }
    
    /* Form */
    .cta-form-card { padding: 24px; max-width: 100%; }
    .form-input,
    .form-select { max-width: 100%; }
    
    /* Footer */
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}