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

:root {
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --ink: #07070f;
  --s1: #0e0e1a;
  --s2: #131320;
  --electric: #5b4eff;
  --neon: #00e5c0;
  --warm: #ff6b35;
  --pink: #e858ff;
  --text: #f9f9ff;
  --muted: #ffffff;
  --border: rgba(91,78,255,0.18);
  --border2: rgba(255,255,255,0.07);
}

/* ── RESET & BODY ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.65;
  overflow-x: hidden;
}

@media (max-width: 600px) {
  html { font-size: 16px; }
  body { font-size: 16px; }
}

/* ── GLOBAL BG ── */
.mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 5%, rgba(91,78,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(0,229,192,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 85% 5%, rgba(255,107,53,0.06) 0%, transparent 50%);
}
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(91,78,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,78,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ── LAYOUT UTILS ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section { position: relative; z-index: 1; }

/* ── TAGS ── */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 100px; padding: 5px 14px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
}
.tag-purple { background: rgba(91,78,255,0.12); border: 1px solid rgba(91,78,255,0.3); color: #a78bfa; }
.tag-teal   { background: rgba(0,229,192,0.08); border: 1px solid rgba(0,229,192,0.25); color: var(--neon); }
.tag-orange { background: rgba(255,107,53,0.08); border: 1px solid rgba(255,107,53,0.25); color: var(--warm); }

.section-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--neon);
  margin-bottom: 14px; display: block;
}

/* ── HEADINGS ── */
h2 {
  font-family: var(--font-title); font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  letter-spacing: -0.035em; line-height: 1.1;
  margin-bottom: 18px;
}
h2 .grad {
  background: linear-gradient(90deg, var(--electric), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { font-size: 1rem; color: var(--muted); max-width: 580px; }

/* ── BUTTONS ── */
.btn-main {
  background: linear-gradient(135deg, var(--electric), #7c3aed);
  color: #fff; border: none; border-radius: 10px;
  padding: 14px 30px; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 36px rgba(91,78,255,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 0 56px rgba(91,78,255,0.5); }

.btn-outline {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border2); border-radius: 10px;
  padding: 14px 28px; font-family: var(--font-body);
  font-size: 0.95rem; cursor: pointer; white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 48px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,7,15,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: var(--font-title); font-weight: 800; font-size: 1.1rem;
  letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--electric), var(--neon));
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.logo span { color: var(--text); }
.logo em { color: var(--neon); font-style: normal; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: transparent; border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 9px 22px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, box-shadow 0.2s; text-decoration: none;
}
.nav-cta:hover { background: rgba(91,78,255,0.12); box-shadow: 0 0 20px rgba(91,78,255,0.25); }
.nav-back {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); border-radius: 8px; padding: 9px 22px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-back:hover { color: var(--text); border-color: rgba(91,78,255,0.4); background: rgba(91,78,255,0.08); }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border2);
  padding: 32px 48px; background: var(--s1);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-left p { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-contact { font-size: 0.82rem; color: var(--muted); }
.footer-contact a { color: var(--neon); text-decoration: none; }
.footer-legal {
  width: 100%; border-top: 1px solid var(--border2);
  padding-top: 20px; margin-top: 4px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--muted); font-size: 0.76rem; text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.76rem; color: rgba(120,120,160,0.6); }

/* ── POLICY PAGE LAYOUT ── */
.page-wrap { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 104px 32px 80px; }
.page-title {
  font-family: var(--font-title); font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 12px;
}
.page-title .grad {
  background: linear-gradient(90deg, var(--electric), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border2); }
.doc-body h2 {
  font-family: var(--font-title); font-weight: 700;
  font-size: 1.15rem; letter-spacing: -0.02em;
  color: var(--text); margin: 36px 0 12px;
  padding-left: 14px; border-left: 3px solid var(--electric);
}
.doc-body p { color: rgba(238,238,255,0.75); margin-bottom: 14px; font-size: 0.95rem; }
.doc-body ul { list-style: none; padding: 0; margin-bottom: 16px; }
.doc-body ul li { color: rgba(238,238,255,0.75); font-size: 0.95rem; padding: 5px 0 5px 20px; position: relative; }
.doc-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--electric); font-weight: 500; }
.doc-body strong { color: var(--text); font-weight: 500; }
.doc-body a { color: var(--neon); text-decoration: none; }
.doc-body a:hover { text-decoration: underline; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 0.75rem; padding: 8px 14px; white-space: nowrap; }
  footer { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer-left { width: 100%; }
  .footer-logo { display: none; }
  .footer-links { justify-content: center; }
  .footer-legal { justify-content: center; }
  .footer-legal-links { justify-content: center; }
}
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .page-wrap { padding: 90px 20px 60px; }
}
