/* ── Landing page — cryptonic ──────────────────────────────────────────── */
:root {
    --bg:           #020b03;
    --glow:         rgb(41, 242, 107);
    --highlight:    rgb(199, 255, 219);
    --muted:        rgb(79, 158, 94);
    --border:       rgba(28, 148, 61, 0.55);
    --panel-bg:     rgba(2, 14, 4, 0.88);
    --font:         'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--glow);
    font-family: var(--font);
    font-size: 14px;
    overflow-x: hidden;
    overflow-y: auto;
}

#matrix-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* ── Wrapper ───────────────────────────────────────────────────────────── */
.land-wrap {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
.land-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 11, 3, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.land-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--highlight);
    font-size: 15px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.nav-brand img { width: 24px; height: 24px; }

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
    transition: color 0.15s;
}

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

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn {
    display: inline-block;
    padding: 6px 14px;
    font-family: var(--font);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

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

.nav-btn-ghost:hover {
    border-color: var(--glow);
    color: var(--glow);
}

.nav-btn-solid {
    background: rgba(41, 242, 107, 0.12);
    border: 1px solid rgba(41, 242, 107, 0.55);
    color: var(--glow);
}

.nav-btn-solid:hover {
    background: rgba(41, 242, 107, 0.22);
    border-color: var(--glow);
    color: var(--highlight);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    padding: 96px 0 72px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--highlight);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-headline span { color: var(--glow); }

.hero-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 10px 24px;
    background: rgba(41, 242, 107, 0.13);
    border: 1px solid rgba(41, 242, 107, 0.6);
    color: var(--glow);
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}

.btn-hero-primary:hover {
    background: rgba(41, 242, 107, 0.24);
    color: var(--highlight);
}

.btn-hero-ghost {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-radius: 2px;
    transition: border-color 0.15s, color 0.15s;
}

.btn-hero-ghost:hover {
    border-color: var(--glow);
    color: var(--glow);
}

/* Hero stat card */
.hero-card {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    position: relative;
    padding: 28px 24px;
}

/* Corner brackets */
.hero-card::before,
.hero-card::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0.5;
}

.hero-card::before {
    top: 8px; left: 8px;
    border-top: 1px solid var(--glow);
    border-left: 1px solid var(--glow);
}

.hero-card::after {
    bottom: 8px; right: 8px;
    border-bottom: 1px solid var(--glow);
    border-right: 1px solid var(--glow);
}

.hcard-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.hcard-brand img { width: 32px; height: 32px; }

.hcard-brand-name {
    font-size: 15px;
    letter-spacing: 0.06em;
    color: var(--highlight);
}

.hcard-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.hcard-big {
    font-size: 28px;
    color: var(--highlight);
    letter-spacing: -0.02em;
}

.hcard-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--muted);
}

.hcard-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.hcard-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 2px;
}

/* ── Divider ───────────────────────────────────────────────────────────── */
.land-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
    margin: 0;
}

/* ── Stats bar ─────────────────────────────────────────────────────────── */
.stats-bar {
    padding: 56px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.stat-item {
    padding: 0 32px;
    border-right: 1px solid var(--border);
}

.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }

.stat-eyebrow {
    font-size: 9px;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 8px;
}

.stat-number {
    font-size: 48px;
    color: var(--highlight);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── Tagline section ───────────────────────────────────────────────────── */
.tagline-section {
    padding: 72px 0 60px;
    border-top: 1px solid var(--border);
}

.tagline-heading {
    font-size: clamp(22px, 3vw, 34px);
    color: var(--highlight);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.01em;
    max-width: 680px;
    margin-bottom: 20px;
}

.tagline-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 540px;
}

/* ── Feature cards grid ────────────────────────────────────────────────── */
.features-grid {
    padding: 0 0 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feat-card {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    padding: 22px 20px;
    position: relative;
    transition: border-color 0.2s;
}

.feat-card:hover { border-color: rgba(41, 242, 107, 0.7); }

.feat-card::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px;
    width: 8px; height: 8px;
    border-top: 1px solid var(--glow);
    border-left: 1px solid var(--glow);
    opacity: 0.4;
}

.feat-number {
    font-size: 9px;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 10px;
}

.feat-title {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--glow);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.feat-body {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.65;
}

/* ── Footer CTA ────────────────────────────────────────────────────────── */
.footer-cta {
    border-top: 1px solid var(--border);
    padding: 80px 0 64px;
}

.footer-cta-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 20px;
}

.footer-cta-heading {
    font-size: clamp(26px, 3.5vw, 44px);
    color: var(--highlight);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.01em;
    max-width: 640px;
    margin-bottom: 36px;
}

.footer-cta-heading span { color: var(--glow); }

/* ── Footer bar ────────────────────────────────────────────────────────── */
.footer-bar {
    border-top: 1px solid var(--border);
    background: rgba(2, 11, 3, 0.6);
}

.footer-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 11px;
    color: var(--muted);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.footer-links a:hover { opacity: 1; }

/* ── Scanline overlay ──────────────────────────────────────────────────── */
.scanlines {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 3px
    );
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 0 48px;
    }
    .hero-card { display: none; }
    .stats-bar { grid-template-columns: 1fr; gap: 32px; }
    .stat-item { border-right: none; padding-left: 0; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
    .stat-item:last-child { border-bottom: none; }
    .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
    .land-nav-inner { gap: 16px; }
    .nav-links { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .land-wrap { padding: 0 20px; }
    .footer-bar-inner { flex-direction: column; align-items: flex-start; }
}
