:root {
    --bg: #ffffff;
    --ink: #121212;
    --muted: #5f6368;
    --line: #e8eaee;
    --surface: rgba(255, 255, 255, 0.64);
    --neon: #74ff3f;
    --neon-soft: rgba(116, 255, 63, 0.22);
    --cyan: rgba(0, 196, 255, 0.22);
    --violet: rgba(152, 108, 255, 0.2);
    --font-sans: 'Space Grotesk', 'Avenir Next', Avenir, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.45;
    overflow-x: hidden;
}

.page-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(520px 300px at 72% 26%, var(--cyan), transparent 70%),
        radial-gradient(520px 320px at 80% 32%, var(--violet), transparent 76%);
}

.page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 24px;
    backdrop-filter: blur(8px);
}

.nav-shell {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 28px rgba(18, 18, 18, 0.06);
    padding: 10px 14px 10px 18px;
}

.brand {
    min-width: 210px;
}

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

.nav-links a {
    color: #2f3338;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: #000;
}

.cta-link {
    text-decoration: none;
    color: #0d0f12;
    border: 1px solid #0d0f12;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 0 0 var(--neon-soft), 0 12px 24px rgba(18, 18, 18, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 8px var(--neon-soft), 0 16px 34px rgba(18, 18, 18, 0.12);
}

.hero {
    padding: 108px 0 68px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.hero-main {
    grid-column: 1 / span 8;
    padding: 6px 0;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.77rem;
    color: #5d646d;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-title {
    margin: 0;
    font-size: clamp(2.1rem, 6vw, 4.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    max-width: 11ch;
}

.hero-title .kinetic {
    display: block;
    font-weight: 700;
    transform: translateX(0);
    animation: titleShift 4.5s ease-in-out infinite;
}

.hero-title .kinetic:nth-child(2) {
    animation-delay: 240ms;
}

.hero-title .kinetic:nth-child(3) {
    animation-delay: 480ms;
}

@keyframes titleShift {
    0%,
    100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.hero-subtitle {
    margin: 20px 0 32px;
    max-width: 52ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-proof {
    margin: -10px 0 22px;
    color: #4f565f;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

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

.cta-button,
.neon-button {
    appearance: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
    border-radius: 999px;
    padding: 14px 20px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.neon-button {
    background: #0e1014;
    color: var(--bg);
    box-shadow: 0 0 0 0 var(--neon-soft), 0 18px 36px rgba(18, 18, 18, 0.16);
}

.neon-button:hover,
.cta-button:hover {
    transform: translateY(-1px);
}

.neon-button:hover {
    box-shadow: 0 0 0 8px var(--neon-soft), 0 20px 42px rgba(18, 18, 18, 0.19);
}

.secondary-link {
    color: #1b1f25;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid #1b1f25;
    padding-bottom: 2px;
}

.secondary-link:hover {
    opacity: 0.72;
}

.hero-panel {
    grid-column: 8 / span 5;
    margin-top: 38px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 24px;
    padding: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(246, 248, 252, 0.66));
    backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 20px 34px rgba(13, 18, 25, 0.08);
}

.hero-panel p {
    margin: 0;
    color: #4a4f56;
}

.hero-panel .panel-title {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #8a9099;
    margin-bottom: 14px;
}

.hero-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.hero-panel li {
    padding: 10px 0;
    border-top: 1px dashed rgba(18, 18, 18, 0.16);
    font-size: 0.92rem;
}

.hero-panel li:first-child {
    border-top: none;
    padding-top: 0;
}

.section {
    padding: 52px 0;
}

.section-muted {
    background: #fafbfc;
    border-radius: 26px;
    border: 1px solid #f0f2f5;
    padding: 64px 22px;
}

.section-subscribe {
    padding-top: 64px;
}

.section-header {
    margin-bottom: 26px;
}

.section-label {
    margin: 0;
    font-family: var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8b9198;
    font-size: 0.75rem;
}

.section-title {
    margin: 8px 0 0;
    font-size: clamp(1.6rem, 2.8vw, 2.65rem);
    letter-spacing: -0.03em;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.project-card {
    grid-column: span 6;
    border: 1px solid #eceef2;
    border-radius: 20px;
    background: var(--surface);
    backdrop-filter: blur(8px);
    padding: 24px;
    box-shadow: 0 14px 24px rgba(17, 17, 17, 0.05);
}

.project-card.offset {
    transform: translateY(26px);
}

.project-card h3 {
    margin: 10px 0;
    font-size: 1.4rem;
}

.project-card p {
    margin: 0;
    color: #5f646b;
}

.project-card .project-desc {
    margin-bottom: 12px;
}

.status-badge {
    display: inline-block;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.status-badge.status-live {
    background: #ecffe4;
    color: #2f6e0f;
    border-color: #b8eba1;
}

.status-badge.status-in-build {
    background: #fff5df;
    color: #8b5b00;
    border-color: #f6d48f;
}

.status-badge.status-paused {
    background: #f1f2f4;
    color: #555d66;
    border-color: #d8dde4;
}

.project-link {
    display: inline-block;
    margin-top: 18px;
    text-decoration: none;
    color: #111;
    font-size: 0.82rem;
    font-weight: 700;
    border-bottom: 1px solid #111;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.process-card {
    grid-column: span 4;
    border: 1px solid #eceef2;
    border-radius: 18px;
    padding: 22px;
    background: #fff;
}

.process-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.process-card p {
    margin: 0;
    color: #5f646b;
}

.capacity-wrap {
    border: 1px solid #eceef2;
    border-radius: 22px;
    background: var(--surface);
    backdrop-filter: blur(6px);
    padding: 34px;
    max-width: 760px;
}

.capacity-wrap h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.8vw, 2.3rem);
}

.capacity-wrap p {
    margin: 10px 0 0;
    color: #5f646b;
}

.subscribe-wrap {
    max-width: 760px;
    border: 1px solid #eceef2;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 18px 32px rgba(17, 17, 17, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.88));
}

.subscribe-form {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.form-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #dce1e7;
    background: #fff;
    color: #121212;
    padding: 13px 14px;
    font-size: 0.94rem;
    font-family: inherit;
}

.form-input:focus {
    outline: 2px solid #d7ffc4;
    border-color: #9fe381;
}

.cta-button {
    background: #111;
    color: #fff;
}

.cta-button:hover {
    box-shadow: 0 0 0 8px var(--neon-soft), 0 16px 30px rgba(17, 17, 17, 0.16);
}

.subscribe-msg {
    font-size: 0.9rem;
    color: #49623e;
}

.subscribe-error {
    color: #a04343;
}

.site-footer {
    border-top: 1px solid #f0f2f5;
    margin-top: 36px;
    padding: 30px 24px 46px;
}

.footer-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.footer-title {
    margin: 0 0 10px;
    font-family: var(--font-mono);
    color: #6a727b;
    letter-spacing: 0.11em;
    font-size: 0.74rem;
    text-transform: uppercase;
}

.footer-meta {
    margin: 0;
    color: #5f646b;
    font-size: 0.86rem;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: #121212;
    text-decoration: none;
    font-weight: 700;
}

.footer-contact p {
    margin-top: 8px;
    color: #666e77;
    font-size: 0.86rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none;
}

@media (max-width: 960px) {
    .site-nav {
        padding: 12px 14px;
    }

    .nav-shell {
        min-height: 56px;
        border-radius: 14px;
        padding: 8px 10px 8px 12px;
    }

    .brand {
        min-width: 0;
    }

    .nav-links {
        display: none;
    }

    .cta-link {
        padding: 8px 12px;
        font-size: 0.66rem;
    }

    .page-shell {
        padding: 0 14px 44px;
    }

    .hero {
        padding: 84px 0 34px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 12vw, 2.7rem);
        max-width: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin: 14px 0 24px;
    }

    .hero-grid,
    .project-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero-main,
    .hero-panel,
    .project-card,
    .process-card {
        grid-column: auto;
    }

    .hero-panel {
        margin-top: 0;
        padding: 18px;
        border-radius: 18px;
    }

    .project-card.offset {
        transform: none;
    }

    .section {
        padding: 36px 0;
    }

    .section-muted {
        border-radius: 18px;
        padding: 36px 14px;
    }

    .project-card,
    .subscribe-wrap {
        padding: 18px;
        border-radius: 16px;
    }

    .section-title {
        font-size: clamp(1.3rem, 8vw, 1.9rem);
    }

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

    .footer-contact {
        text-align: left;
    }
}
