:root {
    --bg: #0b0c10;
    --bg-alt: #101217;
    --surface: #141821;
    --text: #e7ecf3;
    --muted: #a7b0c0;
    --primary: #5b8cff;
    --primary-weak: #2a3e74;
    --accent: #00d4a6;
    --warning: #ffbb55;
    --border: #232939;
    --shadow: 0 10px 30px rgba(0,0,0,.3);
    --radius: 14px;
    --radius-sm: 10px;
    --container: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg) 0%, #0d1016 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

.logo { font-weight: 700; letter-spacing: .5px; }
.logo--sm { font-size: 18px; }

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(11,12,16,.6);
    border-bottom: 1px solid var(--border);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.nav__toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.nav__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    transition: .2s;
}
.nav__list {
    display: flex;
    gap: 18px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__list a { padding: 10px 8px; border-radius: 8px; }
.nav__list a:hover { background: var(--surface); }

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text);
    transition: transform .06s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
    background: linear-gradient(135deg, var(--primary), #7aa6ff);
    border-color: transparent;
    color: #0b0c10;
    font-weight: 700;
}
.btn--ghost { background: transparent; }
.btn--small { padding: 8px 12px; }
.btn--dark {
    background: #fff;
    color: #0b0c10;
    font-weight: 700;
    border-color: transparent;
}

.hero {
    padding: 72px 0 40px;
    border-bottom: 1px solid var(--border);
    background:
            radial-gradient(1000px 400px at 80% -10%, rgba(91,140,255,.18), transparent 60%),
            radial-gradient(700px 300px at -10% 20%, rgba(0,212,166,.14), transparent 60%);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 28px;
}
.hero__title {
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.15;
    margin: 0 0 12px;
}
.hero__subtitle {
    color: var(--muted);
    font-size: clamp(16px, 2vw, 18px);
    margin: 0 0 20px;
}
.hero__cta { display: flex; gap: 12px; margin: 20px 0 14px; }
.hero__badges {
    display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 10px 0 0;
}
.hero__badges li {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.02);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
}

.hero__visual {
    min-height: 320px;
    display: grid;
    place-items: center;
}
.orbit {
    position: relative;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px dashed rgba(167,176,192,.25);
    box-shadow: inset 0 0 80px rgba(91,140,255,.08);
}
.dot {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(0,212,166,.6);
    animation: float 6s ease-in-out infinite;
}
.dot--1 { top: 10%; left: 50%; transform: translate(-50%, -50%); }
.dot--2 { top: 50%; left: 10%; background: var(--primary); box-shadow: 0 0 18px rgba(91,140,255,.6); animation-delay: .6s; }
.dot--3 { bottom: 12%; right: 14%; background: #ff6ea8; box-shadow: 0 0 18px rgba(255,110,168,.6); animation-delay: 1.2s; }
.dot--4 { top: 66%; right: 8%; background: var(--warning); box-shadow: 0 0 18px rgba(255,187,85,.6); animation-delay: 1.8s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.section { padding: 64px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-alt) 0%, #0d121a 100%); }
.section--accent {
    background: linear-gradient(180deg, #1b2340, #12162a);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section__title {
    font-size: clamp(22px, 3vw, 32px);
    margin: 0 0 18px;
}
.section__title--invert { color: #fff; }
.section__subtitle { color: var(--muted); margin: 0 0 22px; }
.section__subtitle--invert { color: #dbe6ff; }

.grid {
    display: grid;
    gap: 16px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.card__title { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0 0 10px; color: var(--text); }
.muted { color: var(--muted); }

.tags {
    display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 8px 0 0;
}
.tags span, .tags li {
    background: #0f1320;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 10px;
    color: #cbd6ff;
    font-size: 14px;
}

.tags--wrap { row-gap: 10px; }

.stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.stack__group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}
.stack__group h3 { margin: 0; font-size: 16px; }
.stack__group p { margin: 8px 0 0; color: var(--muted); }

.list {
    padding-left: 18px;
    margin: 8px 0 0;
}
.list li { margin: 6px 0; }

.process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
}
.step__num {
    width: 44px; height: 44px; border-radius: 10px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), #7aa6ff);
    color: #0b0c10; font-weight: 800;
}

.mt-32 { margin-top: 32px; }

.form {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form__field { display: grid; gap: 8px; }
label { font-size: 14px; color: #dbe6ff; }
input, select, textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(17,20,30,.8);
    color: #eef3ff;
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: #8fb0ff;
    box-shadow: 0 0 0 3px rgba(143,176,255,.15);
}
.form__actions {
    display: flex; align-items: center; gap: 14px;
    margin-top: 12px;
}
.form__note { color: #b9c7ff; font-size: 14px; margin: 0; }
.form__error { color: #ff9e9e; font-size: 12px; min-height: 16px; }
.form__success {
    margin-top: 12px; color: #b6ffd9; font-weight: 600;
}

.footer {
    background: #0a0d14;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 16px;
    padding: 24px 0 8px;
}
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin: 6px 0; }
.footer__links a { color: var(--muted); }
.footer__bar {
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0 18px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; }
    .stack { grid-template-columns: 1fr 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .nav__toggle { display: inline-block; }
    .nav__list {
        position: absolute; right: 20px; top: 64px;
        flex-direction: column; align-items: stretch;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px;
        display: none;
    }
    .nav__list.is-open { display: flex; }
}
