/* ================================================================== */
/*  Engrm Marketing Site — Shared Styles                              */
/*  Used by: index.html, developers.html, vibes.html,                 */
/*           sentinel.html, pricing.html                              */
/* ================================================================== */

:root {
    --primary: #00d4ff;
    --secondary: #7b2cbf;
    --accent-cyan: #00d4ff;
    --accent-purple: #7b2cbf;
    --emerald: #10b981;
    --amber: #f59e0b;
    --bg-dark: #06060e;
    --bg-mid: #0c0c1e;
    --bg-card: rgba(255,255,255,0.025);
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.55);
    --text-secondary: rgba(255,255,255,0.75);
    --border: rgba(255,255,255,0.07);
    --glow: rgba(0, 212, 255, 0.25);
    --glow-purple: rgba(123, 44, 191, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -- Logo SVG -- */
.engrm-wordmark { height: 32px; }
.engrm-icon { height: 40px; width: 40px; }

/* -- Nav -- */
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
    position: relative; z-index: 10;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo span { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-active { color: var(--text); }

/* -- Buttons -- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 10px;
    font-size: 15px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    border: none; transition: all 0.2s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px var(--glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 30px var(--glow); }
.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); }
.btn-amber {
    background: linear-gradient(135deg, var(--amber), #ef4444);
    color: #fff;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}
.btn-amber:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(245, 158, 11, 0.3); }

/* -- Hero -- */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, var(--glow-purple) 0%, transparent 70%);
    pointer-events: none; z-index: -1;
}

/* -- Hero badge -- */
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 24px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 15px; font-weight: 600; color: var(--emerald);
    margin-bottom: 32px;
}
.hero-badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-badge .pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--emerald);
    animation: pulse-dot 2s ease-in-out infinite;
}
.hero-badge.amber-badge {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--amber);
}
.hero-badge.amber-badge .pulse-dot { background: var(--amber); }
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}
.hero h1 {
    font-size: 80px; font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.05;
    margin-bottom: 24px;
}
.hero h1 .line1 { display: block; }
.hero h1 .line2 {
    display: block; font-weight: 300;
    color: var(--text-muted); -webkit-text-fill-color: var(--text-muted);
}
.hero-sub {
    font-size: 20px; color: var(--text-secondary);
    max-width: 650px; margin: 0 auto 16px; line-height: 1.7;
}
.hero-detail {
    font-size: 15px; color: var(--text-muted);
    max-width: 620px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-ctas {
    display: flex; gap: 16px; justify-content: center;
    margin-bottom: 48px; flex-wrap: wrap;
}

/* -- Install block -- */
.install-block {
    max-width: 600px; margin: 0 auto 80px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: left;
}
.install-label {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px;
}
.install-cmd {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 15px; color: var(--primary);
    word-break: break-all;
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.install-cmd .copy-hint {
    font-size: 12px; color: var(--text-muted); white-space: nowrap;
    font-family: -apple-system, sans-serif;
}
.install-cmd:hover .copy-hint { color: var(--text-secondary); }

/* -- Hero social proof -- */
.hero-social-proof {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-bottom: 32px; flex-wrap: wrap;
}
.hero-divider { color: var(--text-muted); }
.hero-proof-text { color: var(--text-muted); font-size: 13px; }

/* -- Metrics -- */
.metrics-bar {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
    margin-bottom: 40px;
}
.metric { text-align: center; }
.metric-value {
    font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
}
.metric-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* -- Sections -- */
.section { padding: 50px 0; }
.section-header {
    text-align: center; max-width: 700px; margin: 0 auto 60px;
}
.section-header h2 {
    font-size: 40px; font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text), var(--text-secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header p { font-size: 18px; color: var(--text-muted); line-height: 1.7; }

/* -- Pipeline steps -- */
.pipeline-steps {
    display: flex; flex-direction: column; gap: 0;
    max-width: 800px; margin: 0 auto; position: relative;
}
.pipeline-steps::before {
    content: ''; position: absolute;
    left: 32px; top: 32px; bottom: 32px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.3;
}
.pipeline-step {
    display: flex; align-items: flex-start; gap: 24px;
    padding: 24px 0; position: relative;
}
.step-number {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; flex-shrink: 0;
    position: relative; z-index: 1;
}
.step-content h3 {
    font-size: 20px; font-weight: 700; margin-bottom: 6px;
}
.step-content p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* -- Feature cards -- */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* -- Agent grid -- */
.agent-grid {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-top: 40px;
}
.agent-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px; font-weight: 500; color: var(--text-secondary);
}
.agent-tag .status {
    width: 8px; height: 8px; border-radius: 50%;
}
.agent-tag .status.live { background: var(--emerald); }
.agent-tag .status.soon { background: var(--text-muted); }

/* -- Sentinel section -- */
.sentinel-section {
    padding: 60px 0;
    position: relative;
}
.sentinel-section::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 600px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
    pointer-events: none; z-index: -1;
}
.sentinel-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 100px;
    font-size: 12px; font-weight: 700; color: var(--amber);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 24px;
}
.sentinel-header {
    text-align: center; max-width: 800px; margin: 0 auto 60px;
}
.sentinel-header h2 {
    font-size: 48px; font-weight: 800; letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--amber), #ef4444);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sentinel-header p {
    font-size: 18px; color: var(--text-muted); line-height: 1.7;
    max-width: 620px; margin: 0 auto;
}
.sentinel-flow {
    max-width: 700px; margin: 0 auto 60px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 16px;
    padding: 32px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 13px;
    line-height: 2;
    color: var(--text-muted);
    overflow-x: auto;
}
.sentinel-flow .flow-pass { color: var(--emerald); }
.sentinel-flow .flow-block { color: #ef4444; }
.sentinel-flow .flow-label { color: var(--amber); font-weight: 600; }
.sentinel-flow .flow-dim { color: rgba(255,255,255,0.3); }

.sentinel-features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 900px; margin: 0 auto 60px;
}
.sentinel-feature {
    background: var(--bg-card);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}
.sentinel-feature h4 {
    font-size: 16px; font-weight: 700; margin-bottom: 8px;
}
.sentinel-feature p {
    font-size: 13px; color: var(--text-muted); line-height: 1.6;
}
.sentinel-feature .sf-icon {
    font-size: 28px; margin-bottom: 16px; display: block;
}

/* Countdown */
.countdown-wrap {
    text-align: center;
    margin: 0 auto;
    max-width: 500px;
}
.countdown-label {
    font-size: 14px; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.countdown {
    display: flex; gap: 20px; justify-content: center;
}
.countdown-unit {
    text-align: center;
}
.countdown-value {
    font-size: 48px; font-weight: 800; letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--amber), #ef4444);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.countdown-suffix {
    font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-top: 4px;
}

/* Provider logos */
.provider-grid {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-top: 32px;
}
.provider-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
}

/* -- Pricing -- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 900px; margin: 0 auto;
}
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.2s;
}
.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0,212,255,0.1);
    position: relative;
}
.price-card.featured::before {
    content: 'Recommended';
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; font-size: 12px; font-weight: 700;
    padding: 4px 16px; border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.price-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.price-card .price {
    font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 16px 0 4px;
}
.price-card .price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.price-card .price-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card li {
    padding: 6px 0; font-size: 14px; color: var(--text-secondary);
    display: flex; align-items: center; gap: 8px;
}
.price-card li::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary); flex-shrink: 0;
}
.price-card li.sentinel-li::before {
    background: var(--amber);
}

/* -- Why not X -- */
.why-not-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    max-width: 800px; margin: 0 auto;
}
.why-not-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}
.why-not-card h4 {
    font-size: 16px; font-weight: 700; margin-bottom: 8px;
    color: var(--text-secondary);
}
.why-not-card p {
    font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

/* -- Comparison -- */
.compare-grid {
    max-width: 900px; margin: 0 auto;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.compare-table th, .compare-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.compare-table th {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
}
.compare-table th:first-child, .compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 160px;
}
.compare-table th.engrm-col { color: var(--primary); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.015); }
.check { color: var(--emerald); font-weight: 700; }
.partial { color: var(--text-muted); font-size: 12px; }
.nope { color: rgba(255,255,255,0.2); }
.engrm-highlight { color: var(--primary); font-weight: 700; }

/* Speed bars */
.speed-bars { max-width: 700px; margin: 40px auto 0; }
.speed-row {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 16px;
}
.speed-label {
    width: 110px; flex-shrink: 0;
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
    text-align: right;
}
.speed-bar-wrap {
    flex: 1; height: 28px;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.speed-bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex; align-items: center; padding-left: 12px;
    font-size: 12px; font-weight: 700;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    width: 0%;
}
.speed-bar-fill.engrm { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: #000; }
.speed-bar-fill.competitor { background: rgba(255,255,255,0.08); color: var(--text-muted); }
.speed-note {
    font-size: 12px; color: var(--text-muted); text-align: center;
    margin-top: 24px; font-style: italic;
}

/* -- Architecture diagram -- */
.arch-diagram {
    max-width: 700px; margin: 0 auto 40px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: center;
    overflow-x: auto;
}
.arch-diagram .arch-node {
    color: var(--primary); font-weight: 600;
}
.arch-diagram .arch-arrow {
    color: rgba(255,255,255,0.3);
}

/* Leaderboard preview */
.lb-preview {
    max-width: 480px; margin: 16px auto 0;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.lb-preview-header {
    padding: 10px 16px;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.lb-preview-row {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.lb-preview-row:last-child { border-bottom: none; }
.lb-preview-rank {
    font-weight: 800; width: 24px; text-align: center;
}
.lb-preview-rank.gold { color: #fbbf24; }
.lb-preview-rank.silver { color: #94a3b8; }
.lb-preview-rank.bronze { color: #d97706; }
.lb-preview-name { flex: 1; color: var(--text-secondary); }
.lb-preview-refs { color: var(--primary); font-weight: 700; font-size: 12px; }

/* -- Constellation Hero -- */
.constellation-hero {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.constellation-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.constellation-label-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
}
.constellation-label-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}
.constellation-wrap {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 340px;
}
.constellation-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* -- Launch countdown section -- */
.launch-section {
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.launch-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.launch-inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.launch-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--amber);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.launch-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.launch-sub {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}
.launch-section .countdown {
    display: flex; gap: 28px; justify-content: center;
    margin-bottom: 36px;
}
.launch-section .countdown-value {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--amber), #ef4444);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.launch-section .countdown-suffix {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}
.launch-cta {
    margin-bottom: 16px;
}
.launch-hint {
    font-size: 13px;
    color: var(--text-muted);
}

/* -- Audience split cards -- */
.audience-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    max-width: 800px; margin: 0 auto;
}
.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.audience-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.audience-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.audience-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.audience-card .btn { width: 100%; justify-content: center; }

/* -- Before/After cards (vibes page) -- */
.before-after {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    max-width: 800px; margin: 0 auto;
}
.ba-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}
.ba-card.before { border-color: rgba(239, 68, 68, 0.2); }
.ba-card.after { border-color: rgba(16, 185, 129, 0.2); }
.ba-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.ba-card.before h4 { color: #ef4444; }
.ba-card.after h4 { color: var(--emerald); }
.ba-card ul { list-style: none; }
.ba-card li {
    padding: 6px 0; font-size: 14px; color: var(--text-muted);
    display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.ba-card.before li::before { content: '\2717'; color: #ef4444; flex-shrink: 0; }
.ba-card.after li::before { content: '\2713'; color: var(--emerald); flex-shrink: 0; }

/* -- FAQ -- */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h4 {
    font-size: 16px; font-weight: 700; margin-bottom: 8px;
    color: var(--text-secondary);
}
.faq-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* -- CTA banner -- */
.cta-banner {
    padding: 50px 0;
    text-align: center;
}
.cta-banner h2 {
    font-size: 36px; font-weight: 800; margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-banner p {
    font-size: 16px; color: var(--text-muted); margin-bottom: 32px;
}

/* -- Footer -- */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer p { font-size: 14px; color: var(--text-muted); }
.footer a { color: var(--text-secondary); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer-links { margin-top: 16px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

/* -- Waitlist modal -- */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-overlay.active {
    opacity: 1; pointer-events: auto;
}
.modal-box {
    width: 90%; max-width: 440px;
    background: rgba(12, 12, 30, 0.95);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.5);
    transform: translateY(8px) scale(0.98);
    transition: transform 0.25s ease;
}
.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}
.modal-box h3 {
    font-size: 22px; font-weight: 700; margin-bottom: 8px;
}
.modal-box .modal-sub {
    font-size: 14px; color: var(--text-muted); margin-bottom: 24px;
}
.modal-box input {
    width: 100%; padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #fff; font-size: 15px; font-family: inherit;
    outline: none; margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.modal-box input:focus {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}
.modal-box input::placeholder { color: rgba(255,255,255,0.3); }
.modal-box .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.modal-hint { font-size: 13px; color: var(--text-muted); text-align: center; }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; color: var(--text-muted);
    font-size: 20px; cursor: pointer; padding: 4px 8px;
    border-radius: 6px; transition: all 0.2s;
}
.modal-close:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* -- Status banner -- */
.status-banner {
    background: rgba(0, 212, 255, 0.06);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 10px 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}
.status-banner strong { color: var(--primary); }
.status-banner a { color: var(--primary); text-decoration: underline; }

/* -- Responsive -- */
@media (max-width: 768px) {
    .hero h1 { font-size: 48px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .sentinel-features { grid-template-columns: 1fr; }
    .why-not-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .before-after { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .metrics-bar { gap: 24px; }
    .compare-table { display: block; overflow-x: auto; }
    .speed-row { flex-direction: column; gap: 4px; }
    .speed-label { width: auto; text-align: left; }
    .launch-section .countdown-value { font-size: 36px; }
    .launch-title { font-size: 30px; }
    .launch-section .countdown { gap: 16px; }
    .sentinel-header h2 { font-size: 36px; }
    .sentinel-header h1 { font-size: 36px; }
}

/* Screen-reader only (for accessible form labels) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
