:root {
  --bg: #0a0e1c;
  --bg-alt: #0d1228;
  --surface: #121935;
  --surface-2: #0f1530;
  --ink: #eef1fa;
  --ink-soft: #98a2c0;
  --line: rgba(255, 255, 255, 0.09);
  --brand: #2f6fed;
  --brand-2: #7c3aed;
  --green: #34d399;
  --red: #f87171;
  --radius: 14px;
  --shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(47,111,237,.35); }
.btn-primary:hover { background: #2560d8; }
.btn-outline { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: #9ec0ff; background: rgba(47,111,237,.12); }
.btn-ghost { background: transparent; color: #fff; }
.btn-ghost:hover { color: #cdd6f5; }
.btn-light { background: #fff; color: var(--brand); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,16,32,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: #fff; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.nav-links { display: flex; gap: 26px; margin-left: 14px; flex: 1; }
.nav-links a { color: #c4cbe0; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 70% -10%, rgba(124,58,237,.35), transparent),
              linear-gradient(180deg, var(--bg), var(--bg-alt));
  color: #fff; padding: 80px 0 90px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: #8ea2e8; margin-bottom: 16px;
}
.hero h1 { font-size: 52px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.grad { background: linear-gradient(90deg, #6aa0ff, #b48bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 20px 0 28px; font-size: 18px; color: #c4cbe0; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 22px; color: #c4cbe0; font-size: 14px; }
.hero-trust span { color: #ffd33d; letter-spacing: 1px; }

/* Mock window visual */
.mock-window { background: #0c1330; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #11193c; border-bottom: 1px solid rgba(255,255,255,.08); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.amber { background: #febc2e; } .dot.green { background: #28c840; }
.mock-url { margin-left: 10px; color: #7e8bb5; font-size: 12px; }
.mock-body { padding: 16px; }
.mock-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #1a2350; color: #c4cbe0; border: 1px solid rgba(255,255,255,.08); }
.chip-accent { background: rgba(47,111,237,.25); color: #9ec0ff; border-color: rgba(47,111,237,.5); }
.mock-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mock-table th { text-align: right; color: #7e8bb5; font-weight: 600; padding: 7px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mock-table th:first-child { text-align: left; }
.mock-table td { text-align: right; padding: 8px; color: #d7ddf0; border-bottom: 1px solid rgba(255,255,255,.05); }
.mock-table td.t { text-align: left; color: #6aa0ff; font-weight: 700; }
.mock-table td.up { color: #34d399; font-weight: 700; }
.mock-table td.down { color: #f87171; font-weight: 700; }

/* ---------- Logo strip ---------- */
.logos { background: var(--bg-alt); padding: 26px 0 34px; }
.logos-label { text-align: center; color: #7e8bb5; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; }
.logos-row span { color: #aab3d0; font-weight: 700; font-size: 18px; opacity: .7; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--brand); }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124,58,237,.4); }
.card-icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.split-copy p { color: var(--ink-soft); font-size: 17px; margin-bottom: 22px; }
.checklist { list-style: none; margin-bottom: 28px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 16px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(52,211,153,.16); color: var(--green); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 36px; font-weight: 800; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-soft); font-size: 14px; }

/* Testimonials */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.quote p { font-size: 16px; margin-bottom: 18px; }
.quote footer { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* Pricing */
.pricing { align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 20px; }
.price { font-size: 44px; font-weight: 800; margin: 10px 0 18px; }
.price span { font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.plan ul { list-style: none; margin-bottom: 26px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-soft); font-size: 15px; border-bottom: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.plan-featured { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-6px); background: linear-gradient(180deg, rgba(47,111,237,.10), var(--surface)); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 22px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--ink-soft); padding: 0 0 18px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 76px 0; }
.cta-inner { text-align: center; }
.cta h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.cta p { font-size: 18px; opacity: .92; margin: 12px 0 28px; }

/* Footer */
.footer { background: var(--bg-alt); color: var(--ink-soft); padding: 60px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.logo-light { color: #fff; margin-bottom: 12px; }
.footer-brand p { max-width: 280px; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a { display: block; padding: 5px 0; color: #aab3d0; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #7e8bb5; }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: radial-gradient(900px 400px at 80% -20%, rgba(124,58,237,.28), transparent),
              linear-gradient(180deg, var(--bg), var(--bg-alt));
  padding: 70px 0 48px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -.02em; }
.legal-hero .updated { color: var(--ink-soft); margin-top: 12px; font-size: 14px; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: #9ec0ff; }
.breadcrumb a:hover { color: #c4d6ff; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 56px 0 88px; align-items: start; }
.legal-toc { position: sticky; top: 90px; }
.legal-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 12px; }
.legal-toc a { display: block; padding: 7px 0; color: var(--ink-soft); font-size: 14px; border-left: 2px solid transparent; padding-left: 12px; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--brand); }

.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 24px; font-weight: 700; margin: 40px 0 14px; scroll-margin-top: 90px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; font-weight: 600; margin: 26px 0 10px; }
.legal-body p { color: #c4cbe0; margin-bottom: 14px; font-size: 15.5px; }
.legal-body ul { margin: 0 0 16px 22px; color: #c4cbe0; }
.legal-body li { margin-bottom: 8px; font-size: 15.5px; }
.legal-body a { color: #9ec0ff; }
.legal-body a:hover { color: #c4d6ff; }
.legal-body strong { color: var(--ink); }
.legal-callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 10px; padding: 16px 18px; margin: 8px 0 24px;
}
.legal-callout p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); color: #c4cbe0; }
.legal-table th { background: var(--surface); color: var(--ink); font-weight: 600; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-toc { display: none; }
  .legal-hero h1 { font-size: 32px; }
}

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 56px 0 88px; align-items: start; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-form .form-row { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact-form label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.contact-form label .muted { color: var(--ink-soft); font-weight: 400; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #6f7aa0; }
.contact-form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2398a2c0' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,111,237,.25);
}
.contact-form .form-hint { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.contact-form .btn-block { margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--green); min-height: 1px; }
.form-note.is-error { color: var(--red); }
.form-fallback { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); }
.form-fallback a { color: #9ec0ff; }

.contact-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 10px; }
.contact-card a { display: block; color: #9ec0ff; font-size: 14px; padding: 3px 0; }
.contact-card a:hover { color: #c4d6ff; }

@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 64px; }
  .contact-aside { position: static; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan-featured { transform: none; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg); padding: 18px 24px; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-toggle { display: flex; }
  .grid-3, .stat-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .section { padding: 60px 0; }
  .section-head h2, .split-copy h2, .cta h2 { font-size: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
