:root {
  --heading: #f8fafc;
  --ink: #e2e8f0;
  --ink-soft: #94a3b8;
  --muted: #7c8799;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --bg: #0b1220;
  --bg-alt: #0e1628;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --footer: #070c17;
  --accent: #3b82f6;
  --accent-2: #7c3aed;
  --link: #7cb3ff;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: #a5cbff; }
h1, h2, h3, h4 { color: var(--heading); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255, 255, 255, 0.72); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: #fff; }
.nav .nav-cta {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  padding: 7px 16px;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-top: -68px;
  padding: 188px 0 136px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 25% 15%, rgba(37, 99, 235, 0.32), transparent 70%),
    radial-gradient(560px 400px at 78% 75%, rgba(124, 58, 237, 0.28), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-text { max-width: 820px; margin: 0 auto; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 24px;
  color: #fff;
}
.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto 40px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, var(--accent-2));
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }

/* ---------- Sections ---------- */
section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 14px;
}
.section-lead { color: var(--ink-soft); max-width: 680px; margin: 0 0 48px; font-size: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  transition: border-color .2s, background .2s;
}
.card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(124, 58, 237, 0.18));
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #93c5fd;
  margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 40px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.fact { padding: 22px 26px; background: #0f1626; }
.fact dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.fact dd { margin: 0; font-weight: 600; color: var(--heading); }

/* ---------- Product ---------- */
.product {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  border-radius: 24px;
  padding: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.55), rgba(167, 139, 250, 0.45), rgba(255, 255, 255, 0.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-logo {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, #2563eb, var(--accent-2));
  display: grid; place-items: center; color: #fff;
}
.product-logo svg { width: 26px; height: 26px; }
.product h3 { font-size: 26px; margin: 0; letter-spacing: -0.02em; }
.product .domain { color: var(--muted); font-size: 15px; margin: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: #fcd34d; background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.25);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 18px;
}
.product p { color: var(--ink-soft); }
.checks { list-style: none; margin: 20px 0 0; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink); }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, var(--accent-2));
}
.checks li::after {
  content: "";
  position: absolute; left: 6px; top: 8px;
  width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.product-side {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  align-self: start;
}
.product-side h4 { margin: 0 0 6px; font-size: 15px; }
.product-side p { margin: 0 0 20px; font-size: 15px; }
.product-side p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-grid .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; display: block; }
.contact-grid .big { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
address { font-style: normal; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.5);
  padding: 44px 0;
  font-size: 14px;
}
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-top: -68px;
  padding: 148px 0 60px;
  border-bottom: 1px solid var(--line);
}
.legal-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 20% 0%, rgba(37, 99, 235, 0.3), transparent 70%),
              radial-gradient(400px 260px at 90% 100%, rgba(124, 58, 237, 0.24), transparent 70%);
}
.legal-hero .wrap { position: relative; max-width: 800px; }
.legal-hero h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.03em; font-weight: 800; margin: 0 0 8px; color: #fff; }
.legal-hero p { margin: 0; color: rgba(255, 255, 255, 0.6); }
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h2 { font-size: 21px; letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 140px 0 96px; }
  .hero p { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
