/* ============================================================
   GENIUS PAY — Settlement infrastructure for banks
   Colossus-inspired dark fintech theme
   ============================================================ */

:root {
    --bg: #0a0b0e;
    --bg-soft: #0e1014;
    --surface: #11141a;
    --surface-2: #151923;
    --border: #1e222b;
    --border-strong: #2b313d;
    --text: #edeae2;
    --muted: #8a8f98;
    --faint: #5a6069;
    --accent: #c9f73a;
    --accent-soft: rgba(201, 247, 58, 0.12);
    --accent-glow: rgba(201, 247, 58, 0.25);
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --sans: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    --radius: 16px;
    --maxw: 1180px;
}

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

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: #0a0b0e;
}

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

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

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------------- Nav ---------------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 11, 14, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent) 0%, #7be25b 100%);
    display: grid;
    place-items: center;
    color: #0a0b0e;
    font-family: var(--mono);
    font-weight: 700;
    font-size: 17px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 19px;
}

.brand-name span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 13px 26px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.btn-solid {
    background: var(--accent);
    color: #0a0b0e;
}

.btn-solid:hover {
    background: #e2ff70;
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-ghost {
    border-color: var(--border-strong);
    color: var(--text);
    background: transparent;
}

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

.nav .btn {
    padding: 10px 20px;
    font-size: 12px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 14px;
    cursor: pointer;
}

/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    padding: 188px 0 110px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(138, 143, 152, 0.13) 1px,
        transparent 1px
    );
    background-size: 26px 26px;
    mask-image: radial-gradient(
        ellipse 90% 70% at 50% 0%,
        black 30%,
        transparent 75%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 90% 70% at 50% 0%,
        black 30%,
        transparent 75%
    );
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 520px;
    background: radial-gradient(
        ellipse at center,
        rgba(201, 247, 58, 0.09) 0%,
        transparent 65%
    );
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--accent);
}

.hero h1 {
    font-size: clamp(44px, 5.4vw, 76px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 26px;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero p.lede {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 36px;
}

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

.hero-art {
    position: relative;
}

.hero-art svg {
    width: 100%;
    height: auto;
}

/* ---------------- Stats band ---------------- */

.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

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

.stat {
    padding: 42px 34px;
    border-left: 1px solid var(--border);
}

.stat:first-child {
    border-left: none;
}

.stat .num {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--text);
}

.stat .num .accent {
    color: var(--accent);
}

.stat .lbl {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------------- Sections ---------------- */

section {
    padding: 110px 0;
    border-bottom: 1px solid var(--border);
}

section:last-of-type {
    border-bottom: none;
}

.sec-label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 22px;
}

.sec-label b {
    color: var(--accent);
    font-weight: 500;
}

.statement {
    font-size: clamp(30px, 3.6vw, 50px);
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -0.025em;
    max-width: 940px;
}

.statement .accent {
    color: var(--accent);
}

.sec-sub {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    max-width: 640px;
    margin-top: 26px;
}

.sec-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 58px;
}

h2.sec-title {
    font-size: clamp(30px, 3.4vw, 46px);
    letter-spacing: -0.025em;
    line-height: 1.1;
    font-weight: 700;
    max-width: 560px;
}

.sec-desc {
    color: var(--muted);
    max-width: 420px;
    font-size: 16.5px;
    line-height: 1.7;
}

/* ---------------- Cards ---------------- */

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: all 0.25s ease;
}

.card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    background: var(--surface-2);
}

.card:hover .card-icon {
    color: var(--accent);
    border-color: var(--accent);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    color: var(--muted);
    margin-bottom: 22px;
    transition: all 0.25s ease;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------------- How it works ---------------- */

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

.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px 32px;
}

.step-num {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 18px;
}

.step h3 {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.step p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
}

.flow-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.flow-chip {
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    padding: 10px 22px;
    background: var(--bg-soft);
    color: var(--text);
    white-space: nowrap;
}

.flow-chip.accent {
    border-color: var(--accent);
    color: var(--accent);
}

.flow-arrow {
    color: var(--faint);
    margin: 0 12px;
    flex: none;
}

/* ---------------- Network (two columns) ---------------- */

.net-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.net-col {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px 34px;
}

.net-col h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.net-col p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.net-col li {
    position: relative;
    padding: 12px 0 12px 30px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px solid var(--border);
}

.net-col li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 21px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--accent);
}

/* ---------------- CTA band ---------------- */

.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 120px 0;
    text-align: center;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 60% 90% at 50% 110%,
        rgba(201, 247, 58, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-band .sec-label {
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(32px, 4.2vw, 56px);
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-weight: 700;
    max-width: 760px;
    margin: 0 auto 20px;
}

.cta-band p {
    color: var(--muted);
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-band .hero-ctas {
    justify-content: center;
}

/* ---------------- Footer ---------------- */

footer {
    padding: 56px 0 48px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-copy {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--faint);
}

.footer-links {
    display: flex;
    gap: 26px;
}

.footer-links a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s ease;
}

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

/* ---------------- Reveal animation ---------------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-art {
        max-width: 560px;
    }

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

    .stat {
        border-top: 1px solid var(--border);
    }

    .stat:nth-child(-n + 2) {
        border-top: none;
    }

    .stat:nth-child(odd) {
        border-left: none;
    }

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

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

    .sec-head-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 44px;
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--bg-soft);
        border-bottom: 1px solid var(--border);
        padding: 10px 28px 18px;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        width: 100%;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: 150px;
    }

    section {
        padding: 80px 0;
    }

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

    .stat {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .stat:first-child {
        border-top: none;
    }
}
