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

:root {
    --color-bg: #ffffff;
    --color-surface: #f8fafc;
    --color-surface-alt: #f1f5f9;
    --color-border: #e2e8f0;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-primary: #064e3b;
    --color-primary-light: #047857;
    --color-accent: #059669;
    --color-accent-light: #10b981;
    --color-success: #22c55e;
    --color-hero-bg: #0f172a;
    --color-hero-text: #f8fafc;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.site-header.scrolled {
    background: rgba(15, 23, 42, .95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-hero-text);
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent-light);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}

.header-nav a:hover {
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform .2s;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background .2s, color .2s, box-shadow .2s, transform .1s;
    line-height: 1;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: .85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-primary {
    background: #059669;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(5,150,105,.3), 0 4px 12px rgba(5,150,105,.2);
}

.btn-primary:hover {
    background: #10b981;
    box-shadow: 0 2px 6px rgba(16,185,129,.35), 0 6px 16px rgba(16,185,129,.25);
}

.btn-outline {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid #475569;
}

.btn-outline:hover {
    color: #ffffff;
    border-color: #94a3b8;
    background: rgba(255,255,255,.05);
}

/* === Hero === */
.hero {
    background: var(--color-hero-bg);
    color: var(--color-hero-text);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(5,150,105,.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(16,185,129,.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(5,150,105,.15);
    border: 1px solid rgba(5,150,105,.3);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    color: #a7f3d0;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hero-badge svg {
    width: 12px;
    height: 12px;
    color: #10b981;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -.02em;
}

.hero h1 .highlight {
    color: #10b981;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-n {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-l {
    font-size: .8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hero-stat-div {
    width: 1px;
    background: #334155;
    margin: 4px 0;
}

.hero-visual {
    position: relative;
}

/* === Chat Demo (Hero Visual) === */
#chat-demo {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dots span:nth-child(1) { background: #ef4444; }
.demo-dots span:nth-child(2) { background: #eab308; }
.demo-dots span:nth-child(3) { background: #22c55e; }

.demo-title {
    margin-left: 8px;
    font-size: .8rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.demo-messages {
    padding: 20px;
    height: 400px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-user-msg {
    align-self: flex-end;
    max-width: 85%;
    padding: 12px 16px;
    background: rgba(5,150,105,.15);
    border: 1px solid rgba(5,150,105,.25);
    border-radius: 12px 12px 2px 12px;
    color: #a7f3d0;
    font-size: .9rem;
    line-height: 1.5;
}

.demo-ai-msg {
    align-self: flex-start;
    max-width: 95%;
    padding: 16px 18px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 2px 12px 12px 12px;
    color: #cbd5e1;
    font-size: .9rem;
    line-height: 1.6;
}

.demo-h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.demo-chart {
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
}

.demo-citations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.demo-citation {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(5,150,105,.15);
    color: #6ee7b7;
    border: 1px solid rgba(5,150,105,.25);
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 500;
}

.demo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: .8rem;
}

.demo-table th {
    background: rgba(5,150,105,.15);
    color: #a7f3d0;
    padding: 6px 10px;
    text-align: left;
    border-bottom: 1px solid #334155;
    font-weight: 600;
}

.demo-table td {
    padding: 5px 10px;
    border-bottom: 1px solid #1e3a5f;
    color: #cbd5e1;
}

.demo-thinking {
    padding: 8px 0;
}

.thinking-dots {
    display: flex;
    gap: 4px;
}

.thinking-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #475569;
    animation: thinking-bounce .6s infinite alternate;
}

.thinking-dots span:nth-child(2) { animation-delay: .15s; }
.thinking-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes thinking-bounce {
    from { opacity: .3; transform: translateY(0); }
    to   { opacity: 1; transform: translateY(-4px); }
}

.demo-see-more {
    display: block;
    text-align: center;
    padding: 12px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: .85rem;
    text-decoration: none;
    transition: color .2s;
}

.demo-see-more:hover { color: #10b981; }

.demo-see-more svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* === MRE AI Badge / Disclaimer === */
.mre-ai-badge {
    padding: 16px 20px;
    background: rgba(5,150,105,.08);
    border: 1px solid rgba(5,150,105,.2);
    border-radius: 8px;
    margin-bottom: 28px;
    font-size: .82rem;
    line-height: 1.6;
    color: #94a3b8;
}

.mre-ai-badge strong { color: #a7f3d0; }

/* === Section Styling === */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #059669;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -.01em;
}

.section-header p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* === Capabilities / Features === */
.capabilities {
    background: var(--color-surface);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform .2s, box-shadow .2s;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(5,150,105,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #059669;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: .92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* === Platform Preview === */
.platform-preview {
    background: var(--color-bg);
    padding: 100px 0;
}

.app-window {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
}

.app-window-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.app-window-dots {
    display: flex;
    gap: 6px;
}

.app-window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.app-window-dots span:nth-child(1) { background: #ef4444; }
.app-window-dots span:nth-child(2) { background: #eab308; }
.app-window-dots span:nth-child(3) { background: #22c55e; }

.app-window-url {
    flex: 1;
    padding: 5px 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    font-size: .78rem;
    color: #64748b;
    font-family: 'Courier New', monospace;
}

.app-window-actions {
    display: flex;
    gap: 6px;
}

.app-window-actions span {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #1e293b;
    border: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: #475569;
}

.app-ui {
    display: flex;
    min-height: 420px;
}

.ui-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #0f172a;
    border-right: 1px solid #1e293b;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
}

.ui-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 20px;
    font-size: .85rem;
    font-weight: 700;
    color: #f8fafc;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 12px;
}

.ui-brand-dot {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: #059669;
    display: inline-block;
    flex-shrink: 0;
}

.ui-nav-section {
    padding: 6px 16px 2px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #334155;
    margin-top: 10px;
}

.ui-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: .8rem;
    color: #64748b;
    cursor: default;
    border-radius: 0;
    transition: color .15s;
}

.ui-nav-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: .7;
}

.ui-nav-active {
    color: #10b981;
    background: rgba(5,150,105,.1);
    border-left: 2px solid #059669;
    padding-left: 14px;
}

.ui-nav-active svg {
    opacity: 1;
    color: #10b981;
}

.ui-main {
    flex: 1;
    background: #111827;
    display: flex;
    flex-direction: column;
}

.ui-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #1e293b;
    background: #0f172a;
}

.ui-topbar-title {
    font-size: .85rem;
    font-weight: 600;
    color: #e2e8f0;
}

.ui-topbar-meta {
    font-size: .75rem;
    color: #475569;
}

.ui-search-bar {
    margin: 16px 20px;
    padding: 10px 14px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: .82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ui-search-bar svg {
    width: 14px;
    height: 14px;
    opacity: .5;
}

.ui-results {
    flex: 1;
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.ui-result-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px 14px;
}

.ui-result-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.ui-result-badge.badge-medicare {
    background: rgba(5,150,105,.2);
    color: #6ee7b7;
    border: 1px solid rgba(5,150,105,.3);
}

.ui-result-badge.badge-ncd {
    background: rgba(16,185,129,.15);
    color: #a7f3d0;
    border: 1px solid rgba(16,185,129,.25);
}

.ui-result-badge.badge-lcd {
    background: rgba(6,78,59,.3);
    color: #6ee7b7;
    border: 1px solid rgba(4,120,87,.3);
}

.ui-result-badge.badge-cfr {
    background: rgba(2,132,199,.15);
    color: #7dd3fc;
    border: 1px solid rgba(2,132,199,.25);
}

.ui-result-title {
    font-size: .82rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
    line-height: 1.4;
}

.ui-result-text {
    font-size: .76rem;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ui-result-meta {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    font-size: .7rem;
    color: #475569;
}

/* Theme Indicator & Swatches */
.ui-theme-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    cursor: default;
    font-size: .75rem;
    color: #94a3b8;
}

.theme-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.theme-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #059669;
}

.theme-name {
    font-size: .75rem;
    color: #94a3b8;
}

.theme-showcase {
    padding: 12px 16px;
    border-top: 1px solid #1e293b;
    margin-top: auto;
}

.theme-swatches-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ts-swatch {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #1e293b;
    border: 1px solid #334155;
    font-size: .68rem;
    color: #64748b;
    cursor: default;
}

.ts-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ts-active {
    border-color: #059669;
    color: #a7f3d0;
    background: rgba(5,150,105,.1);
}

/* === Coverage Section === */
.coverage {
    background: var(--color-surface-alt);
    padding: 100px 0;
}

.coverage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.coverage-stat {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #059669;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: .88rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.source-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.source-tag {
    padding: 6px 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: .82rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.source-tag.tag-primary {
    background: rgba(5,150,105,.08);
    border-color: rgba(5,150,105,.2);
    color: #059669;
    font-weight: 600;
}

/* === Source List === */
.source-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.source-list span {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: .85rem;
    color: var(--color-text-muted);
}

/* === Audience (Who It's For) === */
.audience {
    background: var(--color-bg);
    padding: 100px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.audience-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}

.audience-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(5,150,105,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #059669;
}

.audience-icon svg {
    width: 22px;
    height: 22px;
}

.audience-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.audience-card p {
    font-size: .92rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* === How It Works === */
.how-it-works {
    padding: 100px 0;
    background: var(--color-bg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(5,150,105,.1);
    color: #059669;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.step p {
    color: var(--color-text-muted);
    font-size: .95rem;
    line-height: 1.6;
}

/* === CTA Section === */
.cta {
    padding: 100px 0;
    background: var(--color-hero-bg);
    color: var(--color-hero-text);
}

.cta-content {
    text-align: center;
    margin-bottom: 48px;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.cta-content p {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* === Demo Request Form === */
.request-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    margin-bottom: 16px;
}

.form-group label {
    font-size: .9rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.required {
    color: #f87171;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    color: #e2e8f0;
    font-size: .95rem;
    font-family: var(--font-sans);
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5,150,105,.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group select {
    appearance: auto;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    margin-top: 20px;
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .9rem;
}

.form-status-error {
    background: rgba(239,68,68,.1);
    border: 1px solid rgba(239,68,68,.3);
    color: #fca5a5;
}

.form-status-success {
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.3);
    color: #86efac;
}

/* Verification Step */
.verify-step {
    display: none;
}

.verify-step.active {
    display: block;
}

.verify-label {
    font-size: .88rem;
    color: #94a3b8;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Signup Consent */
.mre-signup-consent {
    margin-bottom: 16px;
}

.mre-signup-consent label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .85rem;
    color: #94a3b8;
    cursor: pointer;
}

.mre-signup-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #059669;
}

.mre-signup-consent a {
    color: #10b981;
}

/* Warning / caution checkbox area */
.form-warning-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: .85rem;
    color: #92400e;
    line-height: 1.5;
}

.form-warning-row input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #d97706;
}

/* === Footer === */
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    color: #64748b;
    font-size: .9rem;
    margin-top: 12px;
    line-height: 1.7;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.footer-logo svg {
    color: #10b981;
}

.footer-col h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #94a3b8;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    color: #64748b;
    text-decoration: none;
    font-size: .9rem;
    margin-bottom: 8px;
    transition: color .2s;
}

.footer-col a:hover {
    color: #10b981;
}

.mre-footer-disclaimer {
    border-top: 1px solid #1e293b;
    padding: 24px 0;
}

.mre-footer-disclaimer p {
    font-size: .8rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 8px;
}

.mre-footer-disclaimer a {
    color: #10b981;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
}

.footer-bottom p {
    font-size: .8rem;
    color: #475569;
}

/* === Cookie Consent Banner === */
#mreCookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #1e293b;
    border-top: 1px solid #334155;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: .875rem;
    color: #e2e8f0;
}

#mreCookieBanner a {
    color: #10b981;
}

.mre-cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.mre-btn-accept-all {
    padding: 8px 20px;
    background: #059669;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
}

.mre-btn-accept-all:hover {
    background: #10b981;
}

.mre-btn-necessary-only,
.mre-btn-manage {
    padding: 8px 16px;
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-sans);
}

.mre-btn-necessary-only:hover,
.mre-btn-manage:hover {
    color: #e2e8f0;
    border-color: #94a3b8;
}

.mre-hidden {
    display: none !important;
}

/* === Cookie Modal === */
#mreCookieModal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mre-modal-box {
    background: #fff;
    border-radius: 12px;
    max-width: 560px;
    width: 100%;
    padding: 32px;
    max-height: 90vh;
    overflow-y: auto;
}

.mre-modal-box h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.mre-modal-box p {
    color: #64748b;
    font-size: .9rem;
    margin-bottom: 24px;
}

.mre-pref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
}

.mre-pref-label {
    font-weight: 600;
    font-size: .95rem;
    color: var(--color-text);
}

.mre-pref-desc {
    font-size: .8rem;
    color: #64748b;
    margin-top: 2px;
    max-width: 380px;
}

.mre-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.mre-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mre-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    transition: background .2s;
}

.mre-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}

.mre-toggle input:checked + .mre-slider {
    background: #059669;
}

.mre-toggle input:checked + .mre-slider::before {
    transform: translateX(20px);
}

.mre-toggle input:disabled + .mre-slider {
    opacity: .5;
    cursor: not-allowed;
}

.mre-modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    justify-content: flex-end;
}

.mre-btn-save {
    padding: 10px 24px;
    background: #059669;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
}

.mre-btn-save:hover {
    background: #10b981;
}

.mre-btn-cancel {
    padding: 10px 24px;
    background: transparent;
    color: #64748b;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-sans);
}

.mre-btn-cancel:hover {
    color: var(--color-text);
    border-color: #94a3b8;
}

/* === Legal Pages === */
.legal-content {
    padding: 120px 0 60px;
    max-width: 800px;
}

.legal-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text);
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--color-text);
}

.legal-content p,
.legal-content li {
    font-size: .95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--color-accent);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: .9rem;
    color: var(--color-text-muted);
}

.legal-highlight {
    padding: 16px 20px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: .9rem;
    color: #92400e;
}

/* === Animations === */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15,23,42,.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        backdrop-filter: blur(12px);
    }

    .header-nav.open {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.open svg {
        transform: rotate(90deg);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-stat-div {
        display: none;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .feature-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

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

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

    #mreCookieBanner {
        flex-direction: column;
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .app-ui {
        min-height: 320px;
    }

    .ui-sidebar {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .coverage-stats {
        grid-template-columns: 1fr;
    }

    .app-window-url {
        display: none;
    }

    .ui-sidebar {
        display: none;
    }
}
