:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --success: #10b981;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, .18);
    --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head h2 { font-size: 36px; color: var(--ink); }
.section-head p { font-size: 17px; color: var(--text-secondary); margin-top: 14px; }
.muted-bg { background: var(--bg-soft); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -6px rgba(37,99,235,.5); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(15, 23, 42, .82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; }
.nav-brand .icon { width: 34px; height: 34px; border-radius: 9px; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; transition: color .15s; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

/* Hero */
.hero {
    background: radial-gradient(1200px 600px at 15% -10%, #1d3a8a 0%, transparent 55%), var(--ink);
    color: #fff;
    padding: 96px 0 110px;
    position: relative;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 50px; line-height: 1.08; }
.hero h1 span { color: #93c5fd; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.72); margin-top: 20px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5); }
.hero-note i { color: var(--success); margin-right: 6px; }

/* Hero mock dashboard card */
.mock {
    background: #0b1220;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.mock-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-body { padding: 22px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock-title { color: rgba(255,255,255,.9); font-weight: 700; font-size: 14px; }
.mock-badge { font-size: 11px; background: rgba(16,185,129,.15); color: #34d399; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.mock-stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 14px; }
.mock-stat .n { color: #fff; font-size: 18px; font-weight: 800; }
.mock-stat .l { color: rgba(255,255,255,.5); font-size: 11px; margin-top: 2px; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.mock-bars i { flex: 1; background: linear-gradient(180deg, #3b82f6, #1d4ed8); border-radius: 4px 4px 0 0; opacity: .85; }

/* Feature grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-icon {
    width: 46px; height: 46px; border-radius: 11px; background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-secondary); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; padding: 0 12px; }
.step-num {
    width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 18px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* Pricing */
.pricing-toggle { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 44px; }
.toggle-label { font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color .15s; }
.toggle-label.active { color: var(--ink); }
.toggle-save { display: inline-block; margin-left: 6px; background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.toggle-switch { position: relative; width: 46px; height: 26px; border-radius: 999px; background: var(--border); border: none; cursor: pointer; padding: 0; flex-shrink: 0; transition: background .2s; }
.toggle-switch.on { background: var(--primary); }
.toggle-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); transition: transform .2s; }
.toggle-switch.on .toggle-knob { transform: translateX(20px); }
.plan-save { font-size: 12px; color: var(--success); font-weight: 600; min-height: 16px; margin: -4px 0 6px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px 24px; display: flex; flex-direction: column;
}
.plan-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); position: relative; transform: translateY(-8px); }
.plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .04em;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }
.plan-price { font-size: 34px; font-weight: 800; margin: 10px 0 2px; }
.plan-price span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.plan-desc { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 22px; min-height: 36px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); padding: 7px 0; }
.plan-features i { color: var(--success); margin-top: 2px; flex-shrink: 0; font-size: 12px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 20px 4px; display: flex; justify-content: space-between; align-items: center;
    font-size: 16px; font-weight: 600; color: var(--ink); font-family: inherit;
}
.faq-q i { color: var(--text-muted); transition: transform .2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 4px 20px; margin: 0; color: var(--text-secondary); font-size: 14.5px; }

/* CTA banner */
.cta-band {
    background: radial-gradient(900px 400px at 85% 0%, #1d3a8a 0%, transparent 55%), var(--ink);
    color: #fff; border-radius: var(--radius-lg); padding: 64px 48px; text-align: center;
    margin: 0 24px;
}
.cta-band h2 { font-size: 32px; color: #fff; }
.cta-band p { color: rgba(255,255,255,.7); font-size: 16px; margin: 14px 0 30px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.55); padding: 56px 0 28px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.footer-brand .icon { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; }
.footer p.desc { font-size: 13.5px; line-height: 1.6; max-width: 280px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-card.featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}
@media (max-width: 560px) {
    .section { padding: 64px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .cta-band { padding: 44px 24px; margin: 0 16px; }
    .footer-grid { grid-template-columns: 1fr; }
}
