:root {
    --bg: #ffffff;
    --bg-alt: #f6f9fc;
    --ink: #0a2540;
    --ink-soft: #425466;
    --muted: #8898aa;
    --accent: #635bff;
    --accent-2: #00d4ff;
    --line: #e6ebf1;
    --radius: 12px;
    --shadow: 0 6px 24px rgba(10, 37, 64, 0.06);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    font-size: 16px;
}
.brand:hover { text-decoration: none; }

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 28px;
}
.nav-links a {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

.btn-primary {
    background: var(--ink);
    color: white;
}
.btn-primary:hover { background: #0d2c4d; box-shadow: var(--shadow); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

/* Hero */
.hero {
    padding: 88px 0 72px;
    background:
        radial-gradient(1200px 400px at 80% -10%, rgba(99, 91, 255, 0.12), transparent 60%),
        radial-gradient(900px 300px at -10% 10%, rgba(0, 212, 255, 0.10), transparent 60%);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 16px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    font-weight: 800;
}
.accent {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    font-size: 20px;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 0 32px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.cta-row.center { justify-content: center; }

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 36px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Sections */
.section {
    padding: 88px 0;
    border-top: 1px solid var(--line);
}
.section-alt { background: var(--bg-alt); }

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    font-weight: 700;
}
.section-sub {
    font-size: 18px;
    color: var(--ink-soft);
    margin: 0 0 48px;
    max-width: 640px;
}

/* Grid + cards */
.grid {
    display: grid;
    gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 860px) {
    .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero { padding: 56px 0 48px; }
    .section { padding: 64px 0; }
}

.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.card-icon {
    font-size: 28px;
    margin-bottom: 12px;
}
.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.solution {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--line);
}
.solution h3 { margin-top: 0; }
.solution p { color: var(--ink-soft); margin-bottom: 0; }

/* Pricing */
.pricing .price-card {
    display: flex;
    flex-direction: column;
    position: relative;
}
.price {
    font-size: 36px;
    font-weight: 800;
    margin: 8px 0 4px;
}
.price span {
    font-size: 16px;
    color: var(--muted);
    font-weight: 500;
}
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card.highlight {
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(99, 91, 255, .15);
}
.badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

/* CTA section */
.section-cta {
    text-align: center;
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
    color: white;
    border-top: none;
}
.section-cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 12px;
    font-weight: 700;
}
.section-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, .8);
    margin: 0 0 32px;
}
.section-cta .btn-primary { background: white; color: var(--ink); }
.section-cta .btn-primary:hover { background: #f0f0f0; }
.section-cta .btn-ghost { color: white; border-color: rgba(255,255,255,.3); }
.section-cta .btn-ghost:hover { border-color: white; }

/* Footer */
.site-footer {
    padding: 64px 0 32px;
    background: #f6f9fc;
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}
@media (max-width: 740px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
.site-footer h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-soft);
    margin: 0 0 12px;
}
.site-footer a {
    display: block;
    color: var(--ink-soft);
    font-size: 14px;
    margin-bottom: 8px;
}
.site-footer a:hover { color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
