:root {
  --bg: #0b0f1a;
  --bg-alt: #111727;
  --card: #151c2f;
  --border: #232c45;
  --text: #e8ecf5;
  --muted: #9aa4bd;
  --primary: #7c5cff;
  --primary-2: #22d3ee;
  --danger: #ef4444;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid; place-items: center; font-size: 1.1rem;
}
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-size: 0.98rem;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #5b8cff); color: #fff; }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--card); }
.btn-danger { background: var(--danger); color: #fff; }

/* Hero */
.hero { padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 600px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .35), transparent),
              radial-gradient(closest-side, rgba(34, 211, 238, .2), transparent) 60% 20% / 60% 60% no-repeat;
  z-index: -1;
}
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--muted); font-size: .85rem; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 20px auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); }

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

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .96rem; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(124, 92, 255, .15); color: var(--primary); font-size: 1.4rem;
}

.steps { counter-reset: step; }
.steps .card { position: relative; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 20px; right: 24px; font-size: 2.4rem; font-weight: 800; color: var(--border);
}

.cta {
  text-align: center; padding: 56px 28px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(34, 211, 238, .12));
  border: 1px solid var(--border);
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta p { color: var(--muted); margin-bottom: 26px; }

/* Contact */
.info-list { list-style: none; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { flex-shrink: 0; width: 42px; height: 42px; font-size: 1.15rem; }
.info-list small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.info-list strong { font-weight: 600; word-break: break-word; }

form { display: grid; gap: 16px; }
label { font-size: .9rem; color: var(--muted); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--primary); border-color: transparent; }
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: .85rem; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.checkbox input { width: auto; margin-top: 5px; }

/* Legal / document pages */
.page-hero { padding: 70px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: var(--muted); margin-top: 8px; }
.doc { max-width: 820px; margin: 0 auto; padding-bottom: 80px; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.doc h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.doc p, .doc li { color: #c6cde0; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.doc .card { margin: 22px 0; }
.alert {
  border-left: 4px solid var(--danger); background: rgba(239, 68, 68, .08);
  padding: 16px 18px; border-radius: 10px; color: #f5c2c2;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.site-footer h4 { font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer li, .site-footer p { color: var(--muted); font-size: .92rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--muted); font-size: .85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-alt); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 20px; }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 70px 0 60px; }
}
