@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg-1: #0f172a;
  --bg-2: #1e1b4b;
  --bg-3: #312e81;
  --indigo: #6366f1;
  --indigo-hover: #4f46e5;
  --indigo-soft: rgba(99, 102, 241, 0.14);
  --indigo-border: rgba(99, 102, 241, 0.4);
  --gold-1: #fde68a;
  --gold-2: #f59e0b;
  --green: #34d399;
  --text: #ffffff;
  --text-muted: #c7d2fe;
  --text-dim: #94a3b8;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-border: rgba(199, 210, 254, 0.18);
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  background: var(--bg-1);
  line-height: 1.5;
  min-height: 100vh;
}

/* Background surface */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(129, 140, 248, 0.45), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(99, 102, 241, 0.55), transparent 55%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
  overflow: hidden;
}
.bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}
.bg::after {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -200px; top: -240px;
  background: radial-gradient(circle, rgba(244, 182, 93, 0.25), transparent 60%);
  filter: blur(40px);
}

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  padding: 28px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; }
.brand span { color: var(--gold-1); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 13px; font-weight: 600;
  color: var(--green);
}
.status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
}

/* Hero */
.hero {
  padding: 70px 0 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(253, 224, 71, 0.08);
  border: 1px solid rgba(253, 224, 71, 0.32);
  color: var(--gold-1);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2);
}
.hero h1 {
  font-size: 76px; font-weight: 900; line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2) 60%, #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  font-size: 19px; color: var(--text-muted); line-height: 1.55;
  max-width: 540px; margin-bottom: 36px;
}
.actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}
.btn--primary:hover {
  background: var(--indigo-hover);
  border-color: var(--indigo-hover);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}
.btn svg { width: 18px; height: 18px; }

/* Hero shield stage */
.shield-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
}
.shield-stage .ring {
  position: absolute; inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(199, 210, 254, 0.25);
}
.shield-stage .ring.outer { inset: -40px; }
.shield-stage .glow {
  position: absolute; inset: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 182, 93, 0.4), transparent 65%);
  filter: blur(28px);
}
.shield-stage img.shield {
  position: absolute; inset: 60px;
  width: calc(100% - 120px); height: calc(100% - 120px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.popup-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px; font-weight: 600; color: #475569;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex; align-items: center; gap: 10px;
  text-decoration: line-through;
  color: #94a3b8;
}
.popup-card .x {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.popup-card.p1 { top: 6%; left: -2%; transform: rotate(-8deg); }
.popup-card.p2 { top: 22%; right: -4%; transform: rotate(7deg); }
.popup-card.p3 { bottom: 22%; left: 0; transform: rotate(5deg); }
.popup-card.p4 { bottom: 4%; right: 4%; transform: rotate(-6deg); }

/* Features */
.features {
  padding: 60px 0 80px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 18px; padding: 1px;
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.3), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.4);
  color: var(--gold-1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 19px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.55;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
}
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  color: var(--text-dim); font-size: 13.5px;
}
.site-footer a {
  color: var(--text-muted); text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer a:hover { color: var(--text); }

/* Document pages (privacy, etc.) */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 0 80px;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}
.doc-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 20px; padding: 1px;
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.3), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.doc h1 {
  font-size: 38px; font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.doc .updated {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
  background: rgba(253, 224, 71, 0.08);
  border: 1px solid rgba(253, 224, 71, 0.3);
  padding: 5px 10px; border-radius: 999px;
  margin-bottom: 28px;
}
.doc h2 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 36px 0 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.doc h2:first-of-type { border-top: none; padding-top: 0; margin-top: 8px; }
.doc p {
  font-size: 15.5px; color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--gold-1); text-decoration: none; border-bottom: 1px solid rgba(253, 224, 71, 0.3); }
.doc a:hover { color: var(--gold-2); border-bottom-color: var(--gold-2); }
.doc ul {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
}
.doc li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px; color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}
.doc li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}
.doc table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.doc thead th {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text);
  font-weight: 600; font-size: 14px;
  text-align: left;
  padding: 12px 16px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.doc tbody td {
  padding: 12px 16px;
  font-size: 14.5px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}
.doc tbody tr:last-child td { border-bottom: none; }
.doc tbody td:first-child {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--gold-1);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 40px 0 60px;
    text-align: center;
  }
  .hero h1 { font-size: 56px; }
  .hero .lead { margin: 0 auto 32px; }
  .actions { justify-content: center; }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .shield-stage { margin: 0 auto; max-width: 380px; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 16px; }
  .site-header { padding: 20px 0; }
  .status { display: none; }
  .doc-card { padding: 28px 22px; }
  .doc h1 { font-size: 28px; }
  .doc h2 { font-size: 18px; }
  .doc table { display: block; overflow-x: auto; }
}
