:root {
  --bg: #07111f;
  --bg-soft: #0d1b2e;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.13);
  --text: #f5f8ff;
  --muted: #a9b7cf;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #60f0c8;
  --accent-2: #70a7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(96, 240, 200, 0.22), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(112, 167, 255, 0.25), transparent 34rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav, .section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06111f;
  box-shadow: 0 12px 40px rgba(96, 240, 200, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 650;
}

.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: #06111f !important;
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 74px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

h3 { letter-spacing: -0.03em; margin-bottom: 8px; }
.hero-text, .muted {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 680px;
}

.hero-actions, .trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover { transform: translateY(-2px); }
.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06111f;
  box-shadow: 0 18px 44px rgba(96, 240, 200, 0.24);
}
.secondary {
  background: var(--card);
  border-color: var(--line);
}

.trust-row span {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
}

.phone-wrap { display: grid; place-items: center; }
.phone {
  position: relative;
  width: min(390px, 86vw);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
  box-shadow: var(--shadow);
}
.phone-top {
  width: 95px;
  height: 8px;
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
  margin: 0 auto 18px;
}
.calc-screen {
  min-height: 132px;
  border-radius: 26px;
  padding: 22px;
  background: #05101d;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}
.screen-label { color: var(--muted); font-size: 0.85rem; }
.calc-screen strong { font-size: 3rem; letter-spacing: 0.2em; }
.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.calc-grid button {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  color: var(--text);
}
.vault-card {
  position: absolute;
  left: -36px;
  right: -36px;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(96, 240, 200, 0.38);
  background: rgba(6, 17, 31, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.35);
}
.lock-icon { font-size: 1.8rem; }
.vault-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 70px;
}
.stats article,
.feature-card,
.security-card,
.cta,
.step {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.stats article {
  padding: 24px;
  border-radius: var(--radius);
}
.stats strong { display: block; font-size: 2.4rem; line-height: 1; }
.stats span { color: var(--muted); }

.section { padding: 82px 0; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 26px;
  border-radius: var(--radius);
}
.feature-card span { font-size: 2rem; }
.feature-card p, .step p { color: var(--muted); margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
}
.step span {
  color: var(--accent);
  font-weight: 900;
  font-size: 1.25rem;
}

.security {
  display: grid;
  place-items: center;
}
.security-card {
  width: min(900px, 100%);
  padding: clamp(28px, 5vw, 56px);
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(96, 240, 200, 0.18), transparent 18rem),
    var(--card-strong);
}
.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill-grid span {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-weight: 700;
}

.cta {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 5vw, 50px);
  border-radius: 36px;
  margin: 70px auto;
  background: linear-gradient(135deg, rgba(96,240,200,0.18), rgba(112,167,255,0.14));
}
.cta h2 { margin-bottom: 0; max-width: 820px; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7,17,31,0.96);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .stats, .feature-grid { grid-template-columns: 1fr; }
  .vault-card { left: 12px; right: 12px; }
  .cta, .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .nav, .section-shell { width: min(var(--max), calc(100% - 28px)); }
  .hero-actions .button { width: 100%; }
  .phone { padding: 12px; border-radius: 34px; }
  .calc-grid button { min-height: 48px; border-radius: 14px; }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.back-to-top {
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.footer a:hover,
.back-to-top:hover { color: var(--text); }

.legal-page {
  min-height: calc(100vh - 76px);
  padding: 72px 0;
}

.legal-card {
  max-width: 880px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(2.35rem, 8vw, 5.25rem);
  line-height: 0.95;
}

.legal-card h2 {
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  margin-top: 34px;
}

.legal-card p,
.legal-card li { color: var(--muted); }

.legal-card ul {
  padding-left: 1.2rem;
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.45rem, 13vw, 4.1rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 3rem);
    line-height: 1.04;
  }

  .hero {
    min-height: auto;
    gap: 30px;
    padding: 42px 0 36px;
  }

  .hero-text,
  .muted { font-size: 1rem; }

  .trust-row span { font-size: 0.9rem; }

  .stats { margin-bottom: 30px; }
  .section { padding: 52px 0; }
  .feature-card, .step { padding: 20px; }
  .step { grid-template-columns: 48px 1fr; }
  .cta { margin: 44px auto; }
  .cta .button { width: 100%; }
  .footer-links { width: 100%; justify-content: space-between; }
}

@media (max-width: 420px) {
  .brand { font-size: 1rem; }
  .brand-mark { width: 36px; height: 36px; }
  .nav { height: 68px; }
  .nav-links { top: 68px; }
  .phone { width: 100%; }
  .calc-screen { min-height: 112px; }
  .calc-screen strong { font-size: 2.15rem; }
  .vault-card { position: static; margin-top: 14px; }
}
