/* Antiforce — public site styles */
:root {
  --bg: #06070d;
  --bg-2: #0b0d18;
  --panel: rgba(255, 255, 255, 0.025);
  --text: #e9ebf4;
  --muted: #9aa0b8;
  --border: rgba(255, 255, 255, 0.09);
  --blue: #3aa0ff;
  --purple: #7b5cff;
  --pink: #ff4fd8;
  --brand: linear-gradient(100deg, #3aa0ff, #7b5cff, #ff4fd8);
  --maxw: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 420px at 78% -10%, rgba(123, 92, 255, 0.22), transparent 60%),
    radial-gradient(560px 380px at 12% 4%, rgba(58, 160, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at 50% 108%, rgba(255, 79, 216, 0.12), transparent 60%);
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p { color: var(--muted); }

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

.grad-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* visually hidden but available to screen readers / SEO */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(6, 7, 13, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand img { width: 34px; height: 34px; }
.brand .name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.92rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- hero ---------- */
.hero { text-align: center; padding: 90px 0 70px; }
.hero .logo-burst { width: 280px; height: auto; max-width: 80%; margin: 0 auto 18px; filter: drop-shadow(0 0 48px rgba(123, 92, 255, 0.5)); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 0.25em;
  letter-spacing: 0.04em;
}
.hero .tag {
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  max-width: 720px;
  margin: 0 auto 34px;
  color: #c4c8db;
}
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--border);
  transition: transform 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; border: none; }
.btn-ghost { background: var(--panel); color: var(--text); }

/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 12px;
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(123, 92, 255, 0.5); transform: translateY(-3px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(58, 160, 255, 0.18), rgba(255, 79, 216, 0.18));
  border: 1px solid var(--border);
  font-size: 1.3rem;
}
.card h3 { font-size: 1.2rem; }
.card p { font-size: 0.96rem; margin: 0; }

/* messaging / compliance panel */
.panel {
  background: linear-gradient(180deg, rgba(123, 92, 255, 0.07), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.panel ul { margin: 18px 0 0; padding: 0; list-style: none; }
.panel li { color: var(--muted); padding: 8px 0 8px 28px; position: relative; }
.panel li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand);
}
.fineprint {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem; color: var(--muted);
}
.fineprint strong { color: var(--text); }

/* contact */
.contact-box { text-align: center; }
.contact-box .email {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  display: inline-block;
  margin-top: 6px;
}

/* ---------- legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 0 72px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin-top: 38px; }
.legal p, .legal li { color: #c2c6d8; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a.inline { color: var(--blue); text-decoration: underline; }
.callout {
  background: rgba(123, 92, 255, 0.08);
  border: 1px solid rgba(123, 92, 255, 0.3);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 22px 0;
  color: var(--text);
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}
.foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.foot .brand .name { font-size: 1rem; }
.foot-links { display: flex; gap: 22px; }
.foot-links a, .foot small { color: var(--muted); font-size: 0.88rem; }
.foot-links a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .panel { padding: 26px 22px; }
  section { padding: 48px 0; }
}
