/* ============================================
   Chr Connect - chrconnect.io
   Dark futuristic theme, post-quantum branding
   ============================================ */

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

/* Custom Properties */
:root {
    --bg-base: #020617;
    --bg-card: #0f172a;
    --bg-elevated: #1e293b;
    --border: #1e293b;
    --border-hover: #334155;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #1e3a5f;
    --accent-purple: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;

    --gradient-main: linear-gradient(135deg, #1e3a5f 0%, #6366f1 50%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #6366f1, #06b6d4);
    --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1));

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-base);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Header / Navigation
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-main);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

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

.btn-nav {
    padding: 0.5rem 1.25rem;
    background: var(--accent-purple);
    color: white !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.btn-nav:hover {
    background: #4f46e5;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.2s, opacity 0.2s;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent-purple);
    color: white;
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--gradient-subtle);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Problem Section
   ============================================ */
.problem {
    padding: 7rem 0;
    background: var(--bg-card);
}

.timeline {
    max-width: 700px;
    margin: 0 auto 3rem;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-cyan));
}

.timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-purple);
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--accent-purple);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.problem-callout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
}

.callout-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
}

.callout-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    color: #fca5a5;
}

.callout-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   Solution / Features Section
   ============================================ */
.solution {
    padding: 7rem 0;
    background: var(--bg-base);
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
}

.feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--accent-cyan);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   Ecosystem Visual
   ============================================ */
.ecosystem-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.eco-center {
    text-align: center;
}

.eco-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.eco-center-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.eco-center-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.eco-ring {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.eco-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 140px;
    transition: border-color 0.25s, transform 0.25s;
}

.eco-node:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.eco-node-icon {
    color: var(--accent-cyan);
}

.eco-node span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Application layer in arch diagram */
.layer-app {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.layer-app .layer-nodes {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================
   Tech Deep Dive
   ============================================ */
.tech-dive {
    padding: 7rem 0;
    background: var(--bg-card);
}

/* Architecture Diagram */
.arch-diagram {
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 4rem;
    overflow-x: auto;
}

.arch-title {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

.arch-layers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.arch-layer {
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.layer-control {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.layer-data {
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.layer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.layer-nodes {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.arch-node {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    min-width: 140px;
    text-align: center;
}

.arch-node.highlight-node {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
}

.node-name {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.node-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.arch-arrow {
    color: var(--text-muted);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.arch-divider {
    text-align: center;
    position: relative;
    padding: 0.75rem 0;
}

.arch-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.arch-divider span {
    position: relative;
    background: var(--bg-base);
    padding: 0 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Key Exchange Flow */
.key-exchange {
    margin-bottom: 4rem;
}

.key-exchange h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.exchange-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.flow-step {
    position: relative;
}

.flow-num {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.flow-detail strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.flow-detail p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.flow-detail code {
    background: var(--bg-base);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--accent-cyan);
}

/* Comparison Table */
.comparison {
    background: transparent;
    padding: 0;
}

.comparison h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.comparison-table {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.comparison-table th {
    background: var(--bg-elevated);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
}

.col-highlight {
    background: rgba(99, 102, 241, 0.06);
}

th.col-highlight {
    color: var(--accent-cyan) !important;
}

.cell-yes {
    color: var(--accent-green);
    font-weight: 600;
}

.cell-no {
    color: #64748b;
}

.cell-partial {
    color: #fbbf24;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.03);
}

/* ============================================
   Use Cases
   ============================================ */
.use-cases {
    padding: 7rem 0;
    background: var(--bg-base);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.25s, border-color 0.25s;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
}

.case-icon {
    color: var(--accent-cyan);
    margin-bottom: 1.25rem;
}

.case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.case-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.case-tags li {
    padding: 0.25rem 0.75rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

/* ============================================
   Early Access
   ============================================ */
.early-access {
    padding: 7rem 0;
    background: var(--bg-card);
}

.ea-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ea-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ea-content p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.ea-benefits {
    list-style: none;
}

.ea-benefits li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.5rem;
}

.ea-benefits li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* Form */
.ea-form-wrap {
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.ea-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-purple);
}

.form-group select {
    cursor: pointer;
    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='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* Form success state */
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-secondary);
}

/* ============================================
   Footer
   ============================================ */
footer {
    padding: 4rem 0 2rem;
    background: var(--bg-base);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in grids */
.features-grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.features-grid [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.features-grid [data-reveal]:nth-child(4) { transition-delay: 0.15s; }
.features-grid [data-reveal]:nth-child(5) { transition-delay: 0.25s; }
.features-grid [data-reveal]:nth-child(6) { transition-delay: 0.3s; }

.cases-grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.cases-grid [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.cases-grid [data-reveal]:nth-child(4) { transition-delay: 0.3s; }

.timeline-item[data-reveal]:nth-child(2) { transition-delay: 0.15s; }
.timeline-item[data-reveal]:nth-child(3) { transition-delay: 0.3s; }

/* ============================================
   Responsive: Tablet (768px)
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .ea-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    /* Nav */
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(2, 6, 23, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem 24px;
        gap: 1rem;
    }

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

    .btn-nav {
        text-align: center;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 5rem 0 4rem;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 2.25rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Tech */
    .exchange-flow {
        grid-template-columns: 1fr;
    }

    .layer-nodes {
        flex-direction: column;
        align-items: stretch;
    }

    .arch-arrow {
        transform: rotate(90deg);
        text-align: center;
    }

    /* Use Cases */
    .cases-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Callout */
    .problem-callout {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 16px;
    }

    .ea-form-wrap {
        padding: 1.5rem;
    }

    .arch-diagram {
        padding: 1.25rem;
    }
}
