:root {
    --bg: #0a0d12;
    --bg-soft: #10151d;
    --panel: linear-gradient(180deg, rgba(18, 24, 33, 0.86), rgba(9, 13, 19, 0.96));
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(125, 211, 252, 0.18);
    --text: #eef4ff;
    --muted: #93a0b3;
    --accent: #7dd3fc;
    --accent-strong: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.12);
    --shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 24%),
        var(--bg);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.1), rgba(10, 13, 18, 0.75)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 92px),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 92px);
    opacity: 0.48;
}

a {
    color: inherit;
    text-decoration: none;
}

.nav-link {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #e5e5e5;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 11, 16, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-primary {
    background: linear-gradient(180deg, #f8fafc 0%, #dbe4ee 100%);
    color: #0f172a;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ffffff 0%, #e8eef6 100%);
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 30px rgba(0, 0, 0, 0.28);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #a3a3a3;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 11, 16, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    color: #a3a3a3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    color: #e5e5e5;
}

.mobile-nav .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    padding: 10px 22px;
    border-bottom: none;
}

.page-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 78px 24px 88px;
}

.hero {
    margin-bottom: 34px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #9fb7d6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, 0.8));
}

.hero h1 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero p {
    margin: 18px 0 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
}

.hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.hero-tag,
.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--accent-soft);
    color: #d9f2ff;
    font-size: 12px;
    font-weight: 600;
}

.hero-tag::before,
.card-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.9;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.card {
    grid-column: span 4;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
}

.card.wide {
    grid-column: span 12;
}

.card.half {
    grid-column: span 6;
}

.card h2,
.card h3 {
    margin: 0;
    letter-spacing: -0.03em;
}

.card h2 {
    font-size: 28px;
}

.card h3 {
    font-size: 18px;
}

.card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.72;
}

.mini-stack,
.faq-stack,
.pill-stack,
.step-stack {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.mini-row,
.faq-item,
.step-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.mini-row:first-child,
.faq-item:first-child,
.step-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.mini-label {
    display: block;
    margin-bottom: 6px;
    color: #d8e6fa;
    font-size: 13px;
    font-weight: 600;
}

.pill-stack {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.pill-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
}

.pill-box strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #eff6ff;
}

.pill-box span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.compare-box {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
}

.compare-box small {
    display: inline-block;
    margin-bottom: 8px;
    color: #9fb7d6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.compare-box p {
    margin-top: 0;
}

.link-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.sub-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
}

.sub-link:hover {
    color: var(--text);
    border-color: rgba(125, 211, 252, 0.2);
}

.page-footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.page-footer-inner {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 960px) {
    .card,
    .card.half {
        grid-column: span 6;
    }

    .hero h1 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 720px) {
    .page-shell {
        padding-top: 56px;
    }

    .nav-inner {
        padding: 16px 18px;
    }

    .page-shell,
    .page-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero p {
        font-size: 16px;
    }

    .card,
    .card.half,
    .card.wide {
        grid-column: span 12;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .page-button {
        width: 100%;
    }
}