:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #10b981;
    --bg: #0b1020;
    --surface: #11162a;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border: #1f2937;
    --accent: #22d3ee;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background:
        radial-gradient(
            1200px 600px at 10% -10%,
            rgba(79, 70, 229, 0.25),
            transparent
        ),
        radial-gradient(
            1000px 500px at 90% 10%,
            rgba(34, 211, 238, 0.18),
            transparent
        ),
        var(--bg);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(11, 16, 32, 0.7);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 20px;
}
.brand img {
    vertical-align: middle;
}
.nav-links {
    display: flex;
    gap: 22px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}
.nav-links a.active {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(11, 16, 32, 0.97);
    border-bottom: 1px solid var(--border);
}
.mobile-menu a {
    padding: 16px 24px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}
.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--text-main);
    background: rgba(79, 70, 229, 0.1);
}

/* ---------- Hero ---------- */
.hero {
    padding: 120px 0 100px;
    text-align: center;
}
.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.15);
    color: #c7d2fe;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(79, 70, 229, 0.35);
}
.hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    margin: 0 auto 24px;
    max-width: 900px;
    font-weight: 900;
    letter-spacing: -0.03em;
}
.hero p {
    max-width: 760px;
    margin: 0 auto 36px;
    color: var(--text-muted);
    font-size: 18px;
}

.page-hero {
    padding: 96px 0 40px;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    margin: 0 auto 20px;
    max-width: 860px;
    font-weight: 900;
    letter-spacing: -0.03em;
}
.page-hero p {
    max-width: 720px;
    margin: 0 auto 32px;
    color: var(--text-muted);
    font-size: 18px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b1020;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.35);
}
.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border);
}
.btn-secondary:hover {
    border-color: var(--accent);
}

/* ---------- Sections ---------- */
section {
    padding: 96px 0;
}
section.tight {
    padding: 56px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 64px;
}
.section-title h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.section-title p {
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
}

/* ---------- Cards ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.card {
    background: linear-gradient(
        180deg,
        rgba(17, 22, 42, 0.9),
        rgba(17, 22, 42, 0.7)
    );
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}
.card:hover {
    border-color: rgba(79, 70, 229, 0.6);
    transform: translateY(-3px);
}
.card::after {
    content: "";
    position: absolute;
    inset: auto -40% -60% -40%;
    height: 200px;
    background: radial-gradient(
        50% 50% at 50% 50%,
        rgba(79, 70, 229, 0.25),
        transparent
    );
    pointer-events: none;
}
.card > * {
    position: relative;
    z-index: 1;
}
.card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 22px;
}
.card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(79, 70, 229, 0.4);
    font-size: 20px;
    margin-bottom: 16px;
}

.product {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.badge {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.link-arrow {
    display: inline-block;
    margin-top: 18px;
    font-weight: 600;
    color: var(--accent);
}
.link-arrow:hover {
    text-decoration: underline;
}

.values li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

/* ---------- Stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(17, 22, 42, 0.6);
}
.stat .num {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat .label {
    color: var(--text-muted);
    font-size: 14px;
}

/* ---------- Split layout ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.split h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    letter-spacing: -0.02em;
    margin-top: 0;
}
.split p {
    color: var(--text-muted);
}
.checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
}

/* ---------- Steps ---------- */
.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.step {
    counter-increment: step;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(17, 22, 42, 0.6);
}
.step::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b1020;
    font-weight: 800;
    margin-bottom: 16px;
}
.step h3 {
    margin: 0 0 8px;
    font-size: 19px;
}
.step p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
}

/* ---------- Layer diagram ---------- */
.layers {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}
.layer {
    padding: 22px 26px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(17, 22, 42, 0.8);
}
.layer strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}
.layer span {
    color: var(--text-muted);
    font-size: 15px;
}
.layer.l1 {
    border-color: rgba(34, 211, 238, 0.5);
}
.layer.l2 {
    border-color: rgba(79, 70, 229, 0.6);
}
.layer.l3 {
    border-color: rgba(16, 185, 129, 0.5);
}
.layer.l4 {
    border-color: var(--border);
}

/* ---------- Pills ---------- */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.pill {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(17, 22, 42, 0.7);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* ---------- Table ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}
th,
td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
th {
    background: rgba(79, 70, 229, 0.12);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c7d2fe;
}
td {
    color: var(--text-muted);
}
td:first-child {
    color: var(--text-main);
    font-weight: 600;
}
tr:last-child td {
    border-bottom: none;
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 800px;
    margin: 0 auto;
}
.faq details {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 12px;
    background: rgba(17, 22, 42, 0.6);
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: "+";
    color: var(--accent);
    font-size: 22px;
    line-height: 1;
}
.faq details[open] summary::after {
    content: "–";
}
.faq details p {
    color: var(--text-muted);
    margin: 14px 0 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    text-align: center;
    padding: 64px 32px;
    border-radius: 28px;
    border: 1px solid rgba(79, 70, 229, 0.4);
    background:
        radial-gradient(
            600px 240px at 50% 0%,
            rgba(79, 70, 229, 0.3),
            transparent
        ),
        rgba(17, 22, 42, 0.8);
}
.cta-banner h2 {
    font-size: clamp(26px, 4vw, 40px);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.cta-banner p {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 28px;
}

/* ---------- Jobs ---------- */
.job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 26px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(17, 22, 42, 0.7);
    margin-bottom: 14px;
}
.job h3 {
    margin: 0 0 4px;
    font-size: 18px;
}
.job p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* ---------- Forms ---------- */
.form {
    display: grid;
    gap: 18px;
}
.form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #0d1226;
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.form textarea {
    min-height: 140px;
    resize: vertical;
}
.form-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- Legal ---------- */
.legal {
    max-width: 800px;
    margin: 0 auto;
}
.legal h2 {
    margin-top: 40px;
    font-size: 24px;
}
.legal p,
.legal li {
    color: var(--text-muted);
}
.notice {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
    color: #fcd34d;
    font-size: 14px;
    margin-bottom: 32px;
}

/* ---------- Footer ---------- */
footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--border);
    background: rgba(11, 16, 32, 0.8);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}
.footer-title {
    font-weight: 700;
    margin-bottom: 12px;
}
.footer-link {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 14px;
}
a.footer-link:hover {
    color: var(--text-main);
}
.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu.open {
        display: flex;
    }
}
@media (max-width: 800px) {
    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .form .row {
        grid-template-columns: 1fr;
    }
    section {
        padding: 72px 0;
    }
    .hero {
        padding: 80px 0 64px;
    }
}
