:root {
  --bg: #0b1020;
  --surface: #111a30;
  --surface-2: #16223c;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.9);
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.32);
  --amber: #38bdf8;
  --orange: #2dd4bf;
  --grad: linear-gradient(135deg, #7dd3fc, #38bdf8, #2dd4bf);
  --font: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; color: var(--amber); }
.brand-name { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color 0.15s; }
.nav-links > a:not(.btn):hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 12px; }
.btn-primary { background: var(--grad); color: #0b1020; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(56, 189, 248, 0.25); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 24px 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.12), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.eyebrow.center { text-align: center; }
.hero-title {
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 40px;
}
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 500;
}
.trust-bar span { display: inline-flex; align-items: center; gap: 8px; }
.ico { width: 16px; height: 16px; color: var(--text-faint); }

/* ---------- Sections ---------- */
.section { padding: 96px 24px; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-title { font-size: clamp(32px, 4.5vw, 44px); font-weight: 900; letter-spacing: -0.025em; margin-bottom: 16px; }
.section-title.center { text-align: center; }
.section-sub { font-size: 17px; color: var(--text-dim); max-width: 640px; }
.section-sub.center { margin: 0 auto 56px; text-align: center; }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(56, 189, 248, 0.25); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(45, 212, 191, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--amber); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-dim); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.step-num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad);
  color: #111;
  font-weight: 900;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-dim); }

/* ---------- CTA ---------- */
.cta-section { padding: 120px 24px; position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.1), transparent 65%);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 24px 32px; background: var(--surface); }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 15px; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-tag { color: var(--text-faint); font-size: 14px; margin-top: 12px; max-width: 240px; }
.footer-bottom {
  max-width: 1140px; margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links > a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .trust-bar { gap: 16px; flex-direction: column; }
}

/* ---------- Forms (register/pricing shared) ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--amber);
}
.form-error { color: #f87171; font-size: 14px; margin-top: 12px; min-height: 20px; }
.form-note { font-size: 13px; color: var(--text-faint); margin-top: 16px; text-align: center; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 520px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.price-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); margin-bottom: 12px; }
.price-amount { font-size: 56px; font-weight: 900; letter-spacing: -0.03em; }
.price-amount small { font-size: 18px; font-weight: 500; color: var(--text-dim); }
.price-desc { color: var(--text-dim); font-size: 15px; margin: 12px 0 28px; }
.price-features { list-style: none; text-align: left; margin-bottom: 32px; }
.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li::before {
  content: '';
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.price-note { font-size: 13px; color: var(--text-faint); margin-top: 16px; }
