:root {
    --bg: #060812;
    --panel: rgba(255, 255, 255, .075);
    --panel-strong: rgba(255, 255, 255, .12);
    --line: rgba(255, 255, 255, .13);
    --text: #f8fbff;
    --muted: rgba(248, 251, 255, .68);
    --soft: rgba(248, 251, 255, .45);
    --cyan: #31d7ff;
    --green: #77f2b1;
    --pink: #ff5fa2;
    --yellow: #ffd166;
    --violet: #8f7cff;
    --dark: #080b16;
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background:
        linear-gradient(135deg, rgba(49, 215, 255, .16), transparent 27%),
        linear-gradient(315deg, rgba(255, 95, 162, .14), transparent 24%),
        linear-gradient(180deg, #060812 0%, #0b1021 48%, #080a13 100%);
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.site-shell {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
}

.site-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .85) 45%, transparent 100%);
}

.site-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 18%, rgba(49, 215, 255, .24), transparent 20%),
        radial-gradient(circle at 80% 8%, rgba(119, 242, 177, .16), transparent 18%),
        radial-gradient(circle at 62% 72%, rgba(255, 95, 162, .16), transparent 24%);
    filter: blur(8px);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(6, 8, 18, .72);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 25px;
    letter-spacing: 0;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
}

.brand-mark i {
    border-radius: 2px;
    background: var(--cyan);
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(6) {
    background: var(--green);
}

.brand-mark i:nth-child(5),
.brand-mark i:nth-child(9) {
    background: var(--pink);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.nav-links a {
    text-decoration: none;
}

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

.nav-cta,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    font-weight: 900;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.nav-cta,
.primary-btn {
    color: #061018;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    box-shadow: 0 18px 42px rgba(49, 215, 255, .18);
}

.nav-cta {
    padding: 0 16px;
    font-size: 14px;
}

.primary-btn {
    padding: 0 20px;
    gap: 9px;
}

.secondary-btn {
    min-height: 46px;
    padding: 0 18px;
    color: var(--text);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.hero {
    min-height: calc(100vh - 74px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    align-items: center;
    gap: 48px;
    padding: 72px 0 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px 13px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 800;
}

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(119, 242, 177, .8);
    animation: pulse 1.8s infinite;
}

h1 {
    max-width: 690px;
    margin-bottom: 24px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 700;
}

h1 em {
    font-style: normal;
    color: var(--cyan);
}

.hero-copy {
    max-width: 680px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 660px;
}

.stat {
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
}

.stat strong {
    display: block;
    margin-bottom: 4px;
    font-size: 24px;
    color: var(--text);
}

.stat span {
    color: var(--soft);
    font-size: 13px;
    font-weight: 700;
}

.pixel-stage {
    position: relative;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.pixel-stage::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(49, 215, 255, .55), transparent 38%, rgba(255, 95, 162, .36));
    z-index: -1;
}

.stage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.stage-head strong {
    font-size: 15px;
}

.stage-head span {
    color: var(--soft);
    font-size: 12px;
    font-weight: 800;
}

.pixel-board {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 4px;
    aspect-ratio: 1 / 1;
    padding: 10px;
    border-radius: 8px;
    background: rgba(4, 6, 13, .82);
    border: 1px solid rgba(255, 255, 255, .1);
}

.cell {
    min-width: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .055);
    transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.cell.sold {
    background: var(--cell-color);
    box-shadow: 0 0 18px color-mix(in srgb, var(--cell-color), transparent 58%);
}

.cell.preview {
    background: var(--cyan);
    box-shadow: 0 0 20px rgba(49, 215, 255, .45);
}

.cell:hover {
    transform: scale(1.55);
    filter: saturate(1.3);
    z-index: 2;
}

.stage-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: var(--soft);
    font-size: 12px;
    font-weight: 800;
}

.section {
    padding: 72px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-title {
    max-width: 680px;
}

.section-title span {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: 0;
}

.section-note {
    max-width: 390px;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 500;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step,
.package,
.calculator,
.contact-panel {
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
}

.step {
    min-height: 210px;
    padding: 22px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 24px;
    border-radius: 8px;
    color: #061018;
    background: var(--text);
    font-weight: 900;
}

.step h3,
.package h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.step p,
.package p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

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

.package {
    position: relative;
    padding: 24px;
    overflow: hidden;
}

.package.featured {
    background: linear-gradient(180deg, rgba(49, 215, 255, .16), rgba(255, 255, 255, .07));
    border-color: rgba(49, 215, 255, .42);
}

.tag {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.price {
    margin: 18px 0;
    font-size: 34px;
    font-weight: 900;
}

.price small {
    color: var(--soft);
    font-size: 14px;
    font-weight: 800;
}

.package button {
    width: 100%;
    margin-top: 18px;
}

.calculator-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 16px;
    align-items: stretch;
}

.calculator {
    padding: 26px;
}

.range-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 94px;
    gap: 14px;
    align-items: center;
    margin: 24px 0;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--cyan);
}

.number-input {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(0, 0, 0, .24);
    color: var(--text);
    font-weight: 900;
}

.total {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.total-box {
    padding: 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .09);
}

.total-box span {
    display: block;
    margin-bottom: 7px;
    color: var(--soft);
    font-size: 12px;
    font-weight: 800;
}

.total-box strong {
    font-size: 20px;
}

.contact-panel {
    padding: 26px;
    background:
        linear-gradient(135deg, rgba(119, 242, 177, .13), transparent),
        rgba(255, 255, 255, .075);
}

.contact-panel p {
    margin: 14px 0 22px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.contact-list span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
}

.footer {
    padding: 32px 0 42px;
    color: rgba(255, 255, 255, .48);
    font-size: 13px;
    font-weight: 700;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding-top: 24px;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    max-width: 320px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #f8fbff;
    color: #061018;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
    font-weight: 900;
    transform: translateY(24px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 12px rgba(119, 242, 177, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(119, 242, 177, 0);
    }
}

@media (max-width: 980px) {
    .hero,
    .calculator-wrap {
        grid-template-columns: 1fr;
    }

    .pixel-stage {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

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

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        min-height: 66px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 46px 0 34px;
        gap: 34px;
    }

            h1 {
                font-size: clamp(32px, 10vw, 46px);
            }

    .hero-copy {
        font-size: 16px;
    }

    .stats,
    .steps,
    .packages,
    .total {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 48px 0;
    }

    .section-head {
        display: block;
    }

    .section-note {
        margin-top: 14px;
    }

    .pixel-board {
        gap: 3px;
        padding: 8px;
    }

    .range-row {
        grid-template-columns: 1fr;
    }

    .footer .container {
        display: grid;
    }
}
