/* ============================================
   Velo Marketing Site
   Design: Dark navy + blue accents + coral highlights
   Typography: Poppins + JetBrains Mono
   ============================================ */

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

:root {
    --navy-deep: #060d1f;
    --navy: #0B2545;
    --navy-light: #0f2e52;
    --sea-blue: #1D6FA3;
    --sky-blue: #7FC8E3;
    --coral: #ff6b8a;
    --coral-dim: rgba(255, 107, 138, 0.15);
    --white: #f0f4f8;
    --white-dim: rgba(240, 244, 248, 0.7);
    --white-muted: rgba(240, 244, 248, 0.4);
    --border: rgba(125, 200, 227, 0.12);
    --surface: rgba(15, 46, 82, 0.4);
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--navy-deep);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6, 13, 31, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--sea-blue);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 8px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--white-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--sea-blue);
    color: white !important;
    padding: 0.45rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem !important;
    transition: background 0.2s !important;
}

.nav-cta:hover { background: #2580b8 !important; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--sea-blue);
    color: white;
}

.btn-primary:hover {
    background: #2580b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(29, 111, 163, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--white-dim);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--white);
    border-color: var(--sky-blue);
    background: rgba(127, 200, 227, 0.06);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    text-align: center;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(29, 111, 163, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 111, 163, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%);
}

.hero-inner { position: relative; }

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--coral);
    background: var(--coral-dim);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.accent-text {
    background: linear-gradient(135deg, var(--sky-blue), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--white-dim);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sky-blue);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--white-muted);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ---- Section Common ---- */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-desc {
    color: var(--white-dim);
    font-size: 1.05rem;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* ---- Demo ---- */
.demo-section {
    padding: 6rem 0;
    text-align: center;
}

.demo-section .section-desc { margin-left: auto; margin-right: auto; }

.demo-container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 37, 69, 0.6);
}

.demo-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--white-muted);
    font-weight: 400;
}

.demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
}

.mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--sky-blue);
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mode-toggle:hover {
    background: rgba(29, 111, 163, 0.2);
    border-color: var(--sky-blue);
}

.mode-icon {
    width: 14px;
    height: 14px;
}

/* RSVP Demo */
.demo-rsvp {
    padding: 3rem 2rem 1.5rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rsvp-display {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-bottom: 2rem;
}

.rsvp-guides {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.75rem;
}

.rsvp-guide-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.rsvp-guide-tick {
    width: 1px;
    height: 12px;
    background: var(--coral);
    flex-shrink: 0;
}

.rsvp-word {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.rsvp-prefix { color: var(--white); }
.rsvp-focus { color: var(--coral); }
.rsvp-suffix { color: var(--white); }

.rsvp-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.rsvp-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sea-blue);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.rsvp-btn:hover { background: #2580b8; }

.rsvp-speed {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--white-muted);
    white-space: nowrap;
    min-width: 75px;
}

.wpm-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
}

.wpm-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--sky-blue);
    cursor: pointer;
}

/* Reader Demo */
.demo-reader {
    padding: 2rem;
    min-height: 200px;
    text-align: left;
    overflow-y: auto;
    max-height: 280px;
}

.reader-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--white-dim);
    font-weight: 300;
}

.reader-text .highlighted {
    background: rgba(255, 107, 138, 0.35);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.demo-progress {
    height: 3px;
    background: rgba(29, 111, 163, 0.15);
}

.demo-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--sea-blue), var(--coral));
    width: 0%;
    transition: width 0.1s;
}

/* ---- How It Works ---- */
.how-section {
    padding: 6rem 0;
    text-align: center;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.mode-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: left;
    transition: border-color 0.3s, transform 0.3s;
}

.mode-card:hover {
    border-color: rgba(127, 200, 227, 0.3);
    transform: translateY(-4px);
}

.mode-card-bridge { border-color: rgba(255, 107, 138, 0.2); }
.mode-card-bridge:hover { border-color: rgba(255, 107, 138, 0.4); }

.mode-card-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--white-muted);
    margin-bottom: 1.5rem;
}

.mode-card-icon {
    width: 48px;
    height: 48px;
    color: var(--sky-blue);
    margin-bottom: 1.25rem;
}

.mode-card-bridge .mode-card-icon { color: var(--coral); }

.mode-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.mode-card p {
    font-size: 0.88rem;
    color: var(--white-dim);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.mode-speed {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--sky-blue);
    background: rgba(29, 111, 163, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    display: inline-block;
}

.mode-card-bridge .mode-speed {
    color: var(--coral);
    background: var(--coral-dim);
}

/* ---- Science ---- */
.science-section {
    padding: 6rem 0;
    text-align: center;
}

.science-section .section-desc { margin-left: auto; margin-right: auto; }

.science-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.science-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.science-stat {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sky-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.science-context {
    font-size: 0.78rem;
    color: var(--white-muted);
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.science-card p {
    font-size: 0.88rem;
    color: var(--white-dim);
    font-weight: 300;
    line-height: 1.65;
}

.science-card em { color: var(--coral); font-style: normal; font-weight: 500; }

.science-quote {
    margin-top: 3rem;
    padding: 2.5rem;
    border-left: 3px solid var(--coral);
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.science-quote blockquote {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.science-quote-source {
    font-size: 0.82rem;
    color: var(--white-muted);
    font-weight: 400;
}

/* ---- Features ---- */
.features-section {
    padding: 6rem 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    text-align: left;
}

.feature {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.3s;
}

.feature:hover { border-color: rgba(127, 200, 227, 0.25); }

.feature-icon {
    width: 28px;
    height: 28px;
    color: var(--sky-blue);
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.82rem;
    color: var(--white-dim);
    font-weight: 300;
    line-height: 1.6;
}

/* ---- Comparison ---- */
.comparison-section {
    padding: 6rem 0;
    text-align: center;
}

.comparison-table {
    max-width: 700px;
    margin: 3rem auto 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-header, .comparison-row {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
}

.comparison-header {
    background: var(--navy);
    border-bottom: 1px solid var(--border);
}

.comparison-header .comparison-col {
    padding: 1rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white-muted);
    text-align: center;
}

.comparison-header .comparison-col:first-child { text-align: left; }

.comparison-row {
    border-bottom: 1px solid var(--border);
}

.comparison-row:last-child { border-bottom: none; }

.comparison-col {
    padding: 0.85rem 0.75rem;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-label {
    text-align: left !important;
    justify-content: flex-start !important;
    color: var(--white-dim);
    font-weight: 400;
    font-size: 0.82rem;
}

.comparison-highlight {
    background: rgba(29, 111, 163, 0.08);
}

.comparison-header .comparison-highlight {
    color: var(--sky-blue) !important;
    font-weight: 700 !important;
}

.check { color: var(--sky-blue); font-size: 1.1rem; }
.cross { color: rgba(255, 255, 255, 0.2); font-size: 1.1rem; }
.na { color: rgba(255, 255, 255, 0.15); }

/* ---- Waitlist ---- */
.waitlist-section {
    padding: 6rem 0;
    text-align: center;
}

.waitlist-inner {
    max-width: 520px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.waitlist-inner h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.waitlist-inner > p {
    color: var(--white-dim);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.waitlist-form input {
    flex: 1;
    min-width: 240px;
    padding: 0.75rem 1rem;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-form input::placeholder { color: var(--white-muted); }
.waitlist-form input:focus { border-color: var(--sea-blue); }

.form-message {
    font-size: 0.85rem;
    margin-top: 1rem;
    min-height: 20px;
}

.form-message.success { color: #4ade80; }
.form-message.error { color: var(--coral); }

/* ---- Footer ---- */
.footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-brand .logo-mark {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    border-radius: 5px;
}

.footer-brand .logo-text {
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--white-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
    font-size: 0.75rem;
    color: var(--white-muted);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .modes-grid { grid-template-columns: 1fr; }
    .science-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-header .comparison-col,
    .comparison-col { font-size: 0.72rem; padding: 0.65rem 0.4rem; }
    .hero { padding: 8rem 0 4rem; }
}

@media (max-width: 640px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .stat-divider { width: 40px; height: 1px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; }
    .waitlist-form { flex-direction: column; }
    .waitlist-form input, .waitlist-form button { width: 100%; }
    .rsvp-word { font-size: 1.8rem; }
    .comparison-header, .comparison-row {
        grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
    }
    .footer-inner { flex-direction: column; text-align: center; }
}
