:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --ink: #0b1020;
  --ink-2: #3b4256;
  --muted: #6b7286;
  --line: #e6e8f0;
  --primary: #4f46e5;
  --primary-2: #06b6d4;
  --dark: #0a0f1f;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --grad: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "Inter", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(820px, 92%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; font-family: inherit; font-size: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn-lg { padding: .9rem 1.5rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(79, 70, 229, .7); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: #c9cde0; }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta-mobile { display: none; }
.nav-actions { display: flex; gap: .5rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 5rem 0 6rem; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 700px; background: radial-gradient(600px 300px at 75% 30%, rgba(6,182,212,.18), transparent 70%), radial-gradient(600px 350px at 20% 10%, rgba(99,102,241,.18), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--primary); background: rgba(79,70,229,.08); border: 1px solid rgba(79,70,229,.18); padding: .35rem .8rem; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 0 4px rgba(6,182,212,.2); }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.1rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 1.2rem 0 1.2rem; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 1.5rem; }
.hero-points { display: flex; gap: 1.5rem; flex-wrap: wrap; list-style: none; color: var(--muted); font-size: .92rem; font-weight: 500; }

.hero-visual { position: relative; }
.dash { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(15,23,42,.25); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 6px; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: #fafbfe; }
.dash-top .c { width: 10px; height: 10px; border-radius: 50%; }
.c.r { background: #ff5f57; } .c.y { background: #febc2e; } .c.g { background: #28c840; }
.dash-title { margin-left: .8rem; font-size: .82rem; color: var(--muted); font-weight: 600; }
.dash-body { padding: 1.4rem; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.metric { background: var(--bg-alt); border-radius: 12px; padding: 1rem; }
.metric-label { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.metric-value { display: block; font-size: 1.6rem; font-weight: 800; margin: .2rem 0 .5rem; }
.metric-value.ok { color: #059669; }
.bar { height: 6px; background: #e3e6f0; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.bar span.green { background: #10b981; }
.timeline { display: grid; gap: .65rem; }
.tl { position: relative; display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--ink-2); }
.tl span { width: 18px; height: 18px; border-radius: 50%; flex: none; border: 2px solid #cbd0e0; }
.tl.done span { background: #10b981; border-color: #10b981; box-shadow: inset 0 0 0 3px #fff; }
.tl.active span { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,.2); }
.tl em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.tl.active { color: var(--ink); font-weight: 600; }
.dash-actions { display: flex; gap: .6rem; margin-top: 1.4rem; }
.chip { font: inherit; font-size: .85rem; font-weight: 600; padding: .55rem .9rem; border-radius: 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.chip-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .7rem 1rem; font-size: .85rem; display: flex; align-items: center; gap: .5rem; animation: float 6s ease-in-out infinite; }
.fc-1 { right: -1.5rem; bottom: -1.8rem; flex-direction: column; align-items: flex-start; gap: 0; }
.fc-1 strong { font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-1 span { color: var(--muted); font-size: .8rem; }
.fc-2 { right: -1.2rem; top: -1.2rem; font-weight: 600; animation-delay: -3s; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* Trust */
.trust { padding: 2rem 0 3rem; text-align: center; border-bottom: 1px solid var(--line); }
.trust p { color: var(--muted); font-size: .9rem; font-weight: 500; }
.trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 2.5rem; margin-top: 1rem; }
.trust-row span { font-weight: 700; color: #9aa1b5; font-size: 1.15rem; letter-spacing: -.01em; }

/* Sections */
.section { padding: 6rem 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-bottom: .8rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin-top: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .5rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8dbea; }
.card p { color: var(--ink-2); }
.stat-card .stat { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; }

.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.icon svg { width: 24px; height: 24px; fill: #fff; }
.i1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.i2 { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.i3 { background: linear-gradient(135deg, #10b981, #059669); }
.i4 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.i5 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.i6 { background: linear-gradient(135deg, #4f46e5, #0ea5e9); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, #c7c9f9, #b6ecf5); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 .5rem; }
.step .num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); font-weight: 800; margin-bottom: 1.2rem; box-shadow: 0 0 0 8px var(--bg-alt); }
.step p { color: var(--ink-2); font-size: .97rem; }

/* Tabs */
.tabs { max-width: 900px; margin: 0 auto; }
.tab-list { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; background: var(--bg-alt); padding: .4rem; border-radius: 12px; width: fit-content; margin-inline: auto; }
.tab { font: inherit; font-weight: 600; font-size: .95rem; padding: .6rem 1.2rem; border-radius: 9px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15,23,42,.08); }
.tab-panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.tab-panel.active { display: block; animation: fade .3s ease; }
.tab-panel h3 { font-size: 1.5rem; }
.tab-panel p { color: var(--ink-2); margin-bottom: 1rem; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.checks { list-style: none; display: grid; gap: .6rem; margin-top: 1.2rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: rgba(16,185,129,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 60% no-repeat; }
.checks.light li { color: #cfd5e6; }

/* Results */
.results { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.results::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 250px at 15% 0%, rgba(99,102,241,.35), transparent 70%), radial-gradient(500px 250px at 85% 100%, rgba(6,182,212,.25), transparent 70%); }
.results .container { position: relative; }
.section-head.light p { color: #aab2c8; }
.section-head.light .kicker { color: #7dd3fc; }
.result { text-align: center; padding: 2rem 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.counter { display: block; font-size: 3rem; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(135deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.result p { color: #c3c9da; }

/* Security split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split h2 { margin-bottom: 1rem; }
.split > div > p { color: var(--ink-2); font-size: 1.05rem; }
.integrations { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px; padding: 2.5rem; text-align: center; }
.int-center { display: inline-flex; align-items: center; gap: .7rem; background: #fff; padding: .8rem 1.4rem; border-radius: 14px; box-shadow: var(--shadow); font-weight: 800; font-size: 1.2rem; margin-bottom: 2rem; }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.int-grid span { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .8rem .4rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.int-note { margin-top: 1.5rem; color: var(--muted); font-size: .9rem; }

/* Quote */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.quote figcaption { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2rem; text-align: left; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote figcaption span:not(.avatar) { display: block; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.4rem; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin-top: .8rem; }

/* CTA */
.cta { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 0% 50%, rgba(99,102,241,.35), transparent 70%); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cta-copy p { color: #c3c9da; font-size: 1.1rem; margin-top: 1rem; }
.demo-form { background: #fff; color: var(--ink); border-radius: 20px; padding: 2rem; display: grid; gap: 1rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.demo-form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.demo-form input, .demo-form select { font: inherit; font-size: .95rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.demo-form input:focus, .demo-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.demo-form input.invalid { border-color: #ef4444; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.demo-form button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-msg { font-size: .9rem; text-align: center; min-height: 1.2em; }
.form-msg.ok { color: #059669; } .form-msg.err { color: #dc2626; }

/* Footer */
.footer { background: #070b17; color: #aab2c8; padding: 4rem 0 2rem; }
.footer .brand { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer-brand p { margin-top: .8rem; max-width: 280px; }
.footer-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-cols h4 { color: #fff; font-size: .9rem; margin-bottom: 1rem; }
.footer-cols a { display: block; margin-bottom: .55rem; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner, .split, .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 4%; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta-mobile { display: inline-flex; margin: 1rem 0; border: 0; color: #fff; }
  .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .fc-1 { display: none; } .fc-2 { right: -.3rem; }
}
@media (max-width: 560px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
  .tab-panel { padding: 1.6rem; }
  .hero { padding: 3rem 0 4rem; }
}
