:root {
  --bg: #0a0f14;
  --bg-elevated: #10161d;
  --bg-card: #131b23;
  --border: #1f2b35;
  --text: #eaf2f7;
  --text-muted: #9fb2c0;
  --text-faint: #6b7d8a;
  --teal: #34e2c4;
  --blue: #3aa0e8;
  --gradient: linear-gradient(120deg, #2fe3b8 0%, #37b7e0 55%, #4a8ef0 100%);
  --gradient-soft: linear-gradient(120deg, rgba(47, 227, 184, 0.14) 0%, rgba(74, 142, 240, 0.14) 100%);
  --radius: 14px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.brand img { height: 32px; width: 32px; }

.brand span { color: var(--text); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gradient);
  color: #051014;
  box-shadow: 0 10px 30px -8px rgba(58, 197, 200, 0.55);
}

.btn-primary:hover { box-shadow: 0 14px 36px -8px rgba(58, 197, 200, 0.7); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover { border-color: var(--teal); }

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.header-cta { display: none; }
@media (min-width: 760px) { .header-cta { display: inline-flex; } }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(closest-side, rgba(47, 227, 184, 0.18), transparent);
  z-index: -1;
}

.hero-logo { width: 96px; height: 96px; margin: 0 auto 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  color: var(--text-faint);
  font-size: 13px;
}

/* Sections */
section { padding: 72px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p { color: var(--text-muted); margin: 0; font-size: 1.05rem; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step { position: relative; padding-left: 8px; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--gradient);
  color: #051014;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Security */
.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 720px) { .security-card { grid-template-columns: 1fr; } }

.security-card h2 { margin: 0 0 14px; font-size: 1.6rem; }
.security-card p { color: var(--text-muted); margin: 0 0 12px; }

.security-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }

.security-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.security-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
}

/* CTA band */
.cta-band {
  text-align: center;
  background: var(--gradient-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 14px; }
.cta-band p { color: var(--text-muted); margin: 0 0 32px; }

/* Footer */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--border); }

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand img { height: 26px; width: 26px; }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }

.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  color: var(--text-faint);
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Toast for "coming soon" */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal h1 { font-size: 2.1rem; margin-bottom: 6px; }
.legal .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; }
.legal p, .legal li { color: var(--text-muted); font-size: 0.98rem; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--teal); }

/* Mobile nav collapse */
@media (max-width: 760px) {
  .nav-links { display: none; }
}
