:root {
    --bg: #0b1117;
    --bg-soft: #111a21;
    --panel: rgba(14, 22, 31, 0.84);
    --panel-strong: #14212c;
    --line: rgba(170, 196, 213, 0.16);
    --text: #f4efe3;
    --muted: #a5b6bf;
    --gold: #d8aa63;
    --salmon: #f06f5a;
    --mint: #8fd6b6;
    --sky: #88c7ff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(240, 111, 90, 0.18), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(143, 214, 182, 0.14), transparent 28%),
        linear-gradient(180deg, #091017 0%, #0b1117 38%, #111b24 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 75%);
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 48px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    backdrop-filter: blur(18px);
}

.brand,
.nav-links a,
.footer-links a,
.button {
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--gold), #8a6333);
    color: #111;
    font-size: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.brand-mark.small {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-links a,
.footer-links a {
    color: var(--muted);
    transition: color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    padding: 44px 0 32px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--mint);
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero h1,
.feature-tall h2,
.showcase h2,
.premium-head h2,
.cta-section h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 0.95;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(3.6rem, 7vw, 6.8rem);
    max-width: 10ch;
}

.hero-text,
.feature-card p,
.showcase-copy p,
.premium-head p,
.cta-section p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.hero-actions,
.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0 22px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #111;
    background: linear-gradient(135deg, var(--gold), #f4d193);
    box-shadow: 0 12px 30px rgba(216, 170, 99, 0.24);
}

.button-secondary {
    color: var(--text);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
}

.button.full {
    width: 100%;
}

.hero-pills,
.check-list,
.premium-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-pills li,
.check-list li,
.premium-card li {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
}

.hero-pills li {
    padding: 10px 14px;
    border-radius: 999px;
    color: #d9e4ea;
    font-size: 0.92rem;
}

.hero-stage {
    position: relative;
    min-height: 640px;
    display: grid;
    place-items: center;
}

.hero-stage::before,
.hero-stage::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
}

.hero-stage::before {
    width: 240px;
    height: 240px;
    background: rgba(240, 111, 90, 0.24);
    top: 60px;
    right: 18px;
}

.hero-stage::after {
    width: 180px;
    height: 180px;
    background: rgba(136, 199, 255, 0.16);
    bottom: 40px;
    left: 30px;
}

.device-frame {
    position: relative;
    width: min(360px, 86vw);
    padding: 16px 16px 20px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: var(--shadow);
}

.device-header {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.device-header span {
    width: 32px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
}

.screen {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, #10202b, #0d1720);
    min-height: 620px;
}

.board-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(216, 170, 99, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent 45%);
}

.mock-board {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    margin: 22px;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.mock-board span {
    display: grid;
    place-items: center;
    font-size: 1.8rem;
}

.mock-board span:nth-child(16n + 1),
.mock-board span:nth-child(16n + 3),
.mock-board span:nth-child(16n + 5),
.mock-board span:nth-child(16n + 7),
.mock-board span:nth-child(16n + 10),
.mock-board span:nth-child(16n + 12),
.mock-board span:nth-child(16n + 14),
.mock-board span:nth-child(16n + 16) {
    background: #d9c29e;
    color: #2a1d13;
}

.mock-board span:nth-child(16n + 2),
.mock-board span:nth-child(16n + 4),
.mock-board span:nth-child(16n + 6),
.mock-board span:nth-child(16n + 8),
.mock-board span:nth-child(16n + 9),
.mock-board span:nth-child(16n + 11),
.mock-board span:nth-child(16n + 13),
.mock-board span:nth-child(16n + 15) {
    background: #7a5f46;
    color: #fff7ed;
}

.screen-overlay {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    padding: 0 22px 22px;
}

.metric-card,
.feature-card,
.showcase-panel,
.premium-card,
.cta-section,
.stats-band article,
.signal-card,
.time-card {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.metric-card {
    padding: 16px 18px;
    border-radius: 18px;
}

.metric-card strong,
.signal-card strong,
.feature-card h3,
.premium-card h3 {
    display: block;
    margin-bottom: 6px;
}

.metric-card span,
.signal-card p,
.premium-card span {
    color: var(--muted);
}

.metric-card.accent {
    background: linear-gradient(135deg, rgba(240,111,90,0.18), rgba(143,214,182,0.1));
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 12px 0 30px;
}

.stats-band article,
.feature-card,
.premium-card,
.showcase-panel,
.cta-section {
    border-radius: 26px;
}

.stats-band article {
    padding: 18px 20px;
}

.stats-band strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.stats-band span {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.feature-card {
    padding: 24px;
}

.feature-tall {
    grid-row: span 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.feature-tall h2,
.showcase h2,
.premium-head h2,
.cta-section h2 {
    font-size: clamp(2.4rem, 4vw, 4.3rem);
}

.showcase {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 18px;
    margin: 28px 0;
    align-items: stretch;
}

.showcase-panel {
    padding: 24px;
    display: grid;
    gap: 16px;
    background:
        radial-gradient(circle at top right, rgba(136,199,255,0.16), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.signal-card,
.time-card {
    border-radius: 20px;
    padding: 18px;
}

.signal-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.signal-dot {
    width: 14px;
    height: 14px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--salmon);
    box-shadow: 0 0 0 8px rgba(240, 111, 90, 0.16);
}

.time-card {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.time-card span,
.check-list li {
    padding: 12px 14px;
    border-radius: 14px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.premium-section {
    margin: 28px 0;
}

.premium-head {
    max-width: 760px;
}

.premium-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.premium-card {
    padding: 24px;
}

.plan-highlight {
    background: linear-gradient(135deg, rgba(216,170,99,0.12), rgba(255,255,255,0.03));
}

.plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price {
    margin: 12px 0 8px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.premium-card ul {
    display: grid;
    gap: 10px;
}

.premium-card li {
    padding: 12px 14px;
    border-radius: 14px;
}

.cta-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 28px;
    margin-top: 30px;
    background:
        radial-gradient(circle at 10% 30%, rgba(143,214,182,0.16), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 22px 0 8px;
    color: var(--muted);
}

.footer > div,
.footer-links {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .hero,
    .showcase,
    .cta-section,
    .premium-grid,
    .feature-grid,
    .stats-band {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 18px;
    }

    .hero h1 {
        max-width: none;
    }

    .feature-tall {
        grid-row: auto;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .button {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(100% - 20px, 1180px);
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        gap: 14px;
    }

    .hero-stage {
        min-height: auto;
    }

    .screen {
        min-height: 560px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}