:root {
    --bg-dark: #04070f;
    --bg-card: #0e1525;
    --bg-panel: #111b32;
    --bg-muted: #111319;
    --fg-base: #f4f7ff;
    --fg-muted: #93a3c5;
    --fg-soft: #c1cee6;
    --accent: #6ee7b7;
    --accent-strong: #36c2a5;
    --highlight: #9d7bff;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 30px 80px rgba(2, 6, 23, 0.6);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body,
.site-body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--fg-base);
    min-height: 100vh;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

.shell {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

header,
section,
footer {
    width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: rgba(4, 7, 15, 0.8);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    border-color: var(--border);
    background: rgba(4, 7, 15, 0.92);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 0;
    gap: 1rem;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-base);
    text-decoration: none;
}

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

.header__nav a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--fg-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header__nav a:hover {
    color: var(--fg-base);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--fg-soft);
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    cursor: pointer;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #081520;
    box-shadow: 0 10px 30px rgba(110, 231, 183, 0.3);
}

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

.btn--ghost {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--fg-soft);
}

.btn--quiet {
    color: var(--fg-soft);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
}

.btn--sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
}

.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: radial-gradient(circle at top, rgba(49, 103, 255, 0.35), transparent 60%),
                radial-gradient(circle at 20% 20%, rgba(110, 231, 183, 0.2), transparent 55%),
                var(--bg-dark);
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.3rem;
    color: var(--fg-muted);
    margin-bottom: 1.8rem;
    max-width: 36rem;
}

.kicker {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.metrics {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.metrics li {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.metrics__value {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
}

.metrics__label {
    color: var(--fg-soft);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.metrics p {
    color: var(--fg-muted);
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

.hero__panel {
    border-radius: 32px;
    padding: 2rem;
    background: linear-gradient(160deg, rgba(17, 27, 50, 0.9), rgba(15, 19, 31, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.panel__title {
    color: var(--fg-soft);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.panel__desc {
    color: var(--fg-base);
    font-size: 1.1rem;
    margin-top: 0.4rem;
}

.panel__list {
    list-style: none;
    margin: 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.panel__list li {
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel__footer {
    font-size: 0.9rem;
    color: var(--fg-muted);
}

.hero__panel--image {
    padding: 0;
    overflow: hidden;
    margin-top: 2rem;
    transform: translate(20px, 20px);
    will-change: transform;
}

.hero__panel--image img {
    width: 110%;
    display: block;
    border-radius: 28px;
}


.hero-highlights {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.hero-highlights article {
    border-radius: 20px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--highlight);
}

.hero-highlights h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.hero-highlights p {
    color: var(--fg-muted);
    font-size: 0.95rem;
}

.section {
    padding: 6rem 0;
}

.section--alt {
    background: var(--bg-muted);
}

.section--accent {
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.14), rgba(20, 184, 166, 0.25));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__header {
    margin-bottom: 3rem;
    max-width: 640px;
}

.section__header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section__header p {
    color: var(--fg-muted);
}

.vision__grid,
.capabilities__grid,
.stack__tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.vision__grid article,
.capabilities__grid article,
.stack__tiers article {
    padding: 1.75rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.showcase__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x proximity;
    padding-inline: 2.5rem;
}

.showcase__track::-webkit-scrollbar {
    height: 8px;
}

.showcase__track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

.showcase__card {
    min-width: 280px;
    width: 280px;
    flex: 0 0 auto;
    padding: 1.75rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    scroll-snap-align: start;
}

.showcase__card h3 {
    margin-top: 1rem;
}

.showcase__card p {
    color: var(--fg-muted);
}

.mockup {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(125deg, rgba(110, 231, 183, 0.12), rgba(59, 130, 246, 0.16));
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    color: var(--fg-soft);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup span {
    opacity: 0.8;
    color: var(--fg-soft);
}

.mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.mockup:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

.vision__grid p,
.capabilities__grid p,
.stack__tiers p,
.quickstart__steps p {
    color: var(--fg-muted);
}

.blueprint {
    margin-top: 3rem;
    padding: 2.5rem;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.blueprint ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blueprint li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--fg-soft);
}

.blueprint li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.7rem;
}

.capabilities__heading h3 {
    margin: 0.3rem 0 0.8rem;
}

.capabilities__grid ul,
.stack__tiers ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: var(--fg-soft);
}

.capabilities__grid li,
.stack__tiers li {
    padding-left: 1rem;
    position: relative;
}

.capabilities__grid li::before,
.stack__tiers li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.pillars {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pillars div {
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stack__notes {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.stack__notes div {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

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

.quickstart__steps article {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem 2rem;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.step__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step__index {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(68, 240, 192, 0.12);
    border: 1px solid rgba(68, 240, 192, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--highlight);
}

.step__text {
    flex: 1;
}

.step__text h3 {
    margin-bottom: 0.3rem;
}

.step__code {
    position: relative;
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(13, 22, 40, 0.9), rgba(6, 11, 20, 0.85));
    padding: 1rem 1rem 1rem 1.25rem;
}

.step__code pre {
    margin: 0;
    padding: 0;
    padding-right: 3.5rem;
    background: transparent;
    border: none;
}

.step__copy {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--fg-base);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.step__copy.copied {
    background: var(--highlight);
    color: #02121f;
    border-color: transparent;
}

pre {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;
    font-size: 0.85rem;
}

.section__note {
    margin-top: 2rem;
    color: var(--fg-soft);
}

.section__note a {
    color: var(--accent);
    text-decoration: none;
}

.cta {
    padding: 4rem 0 6rem;
}

.cta__inner {
    border-radius: 36px;
    padding: 3rem;
    background: linear-gradient(140deg, rgba(17, 24, 39, 0.9), rgba(15, 118, 110, 0.4));
    border: 1px solid rgba(110, 231, 183, 0.3);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.mockup-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 60;
}

.mockup-modal.is-visible {
    opacity: 1;
    pointer-events: all;
}

.mockup-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.mockup-modal__content {
    position: relative;
    background: #0e1525;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    width: min(640px, 90vw);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.mockup-modal__preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: linear-gradient(125deg, rgba(110, 231, 183, 0.16), rgba(59, 130, 246, 0.25));
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.mockup-modal__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}

.mockup-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--fg-soft);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.mockup-modal h3 {
    margin-bottom: 0.5rem;
}

.mockup-modal p {
    color: var(--fg-muted);
}

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

.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: start;
}

.footer__meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer__meta a {
    color: var(--fg-soft);
    text-decoration: none;
}

.footer__copy {
    color: var(--fg-muted);
    font-size: 0.85rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--fg-base);
    display: block;
    transition: transform 0.2s ease;
}

.nav-toggle.is-active span:first-child {
    transform: rotate(45deg) translateY(5px);
}

.nav-toggle.is-active span:last-child {
    transform: rotate(-45deg) translateY(-5px);
}

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

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

@media (max-width: 960px) {
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1.5rem;
        background: rgba(4, 7, 15, 0.98);
        flex-direction: column;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .header__nav--open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .header__actions {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero__panel,
    .hero-highlights article,
    .vision__grid article,
    .capabilities__grid article,
    .stack__tiers article,
    .showcase__card,
    .blueprint,
    .cta__inner {
        padding: 1.5rem;
    }

    .metrics {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .quickstart__steps article {
        padding: 1.5rem;
    }

    .step__index {
        width: 48px;
        height: 48px;
    }

    .step__code pre {
        padding-right: 2.5rem;
    }

    .step__copy {
        top: 0.75rem;
        right: 0.75rem;
    }
}

.showcase__wrapper {
    position: relative;
}

.showcase__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: var(--fg-soft);
    cursor: pointer;
    z-index: 10;
}

.showcase__nav--prev {
    left: 0;
}

.showcase__nav--next {
    right: 0;
}
.quickstart__steps article {
    flex-direction: column;
    padding: 1.5rem;
}

.quickstart__steps article {
    flex-direction: column;
    padding: 1.5rem;
}

.step__body {
    flex-direction: column;
}

.step__index {
    width: 48px;
    height: 48px;
}

.step__code {
    width: 100%;
    margin-top: 1rem;
}

.step__code pre {
    padding-right: 2.5rem;
}
.step__copy {
    top: 0.75rem;
    right: 0.75rem;
