:root {
    --bg: #0f172a;
    --bg-soft: #1e293b;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #6366f1;
    --accent-2: #818cf8;
    --success: #34d399;
    --warning: #fbbf24;
    --radius: 16px;
    --shadow: 0 24px 80px rgba(15, 23, 42, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: radial-gradient(circle at top, #312e81 0%, var(--bg) 42%, #020617 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.72);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand img {
    width: 40px;
    height: 40px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9375rem;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #4f46e5);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.hero {
    padding: 5rem 0 4rem;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.15);
    color: #c7d2fe;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.08;
    margin: 0 0 1rem;
}

.hero p {
    color: var(--muted);
    font-size: 1.125rem;
    max-width: 38rem;
    margin: 0 0 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.hero__note {
    margin-top: 1rem;
    color: #cbd5e1;
    font-size: 0.875rem;
}

.preview-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.preview-card img {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.section {
    padding: 4.5rem 0;
}

.section__head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.section__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0 0 0.75rem;
}

.section__head p {
    color: var(--muted);
    margin: 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.feature-card__icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.18);
}

.stat-card strong {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    color: #e0e7ff;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.875rem;
}

.cta {
    margin: 1rem 0 5rem;
    padding: 3rem 2rem;
    border-radius: calc(var(--radius) + 8px);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.35), rgba(14, 165, 233, 0.12));
    border: 1px solid rgba(129, 140, 248, 0.25);
    text-align: center;
}

.cta h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.cta p {
    margin: 0 auto 1.5rem;
    max-width: 36rem;
    color: #dbeafe;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0 2rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

@media (max-width: 960px) {
    .hero__grid,
    .features,
    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .features,
    .stats {
        grid-template-columns: 1fr;
    }

    .nav-actions .btn-secondary {
        display: none;
    }
}
