:root {
  --bg: #0a0e1a;
  --bg-soft: #111827;
  --card: #151c2c;
  --card-2: #1a2236;
  --border: #232b40;
  --text: #e6e9f2;
  --muted: #8a93ad;
  --primary: #6366f1;
  --primary-2: #8b5cf6;
  --accent: #22d3ee;
  --green: #22c55e;
  --radius: 16px;
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(99,102,241,.18), transparent 60%),
              radial-gradient(900px 500px at -10% 10%, rgba(34,211,238,.12), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.grad {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn--primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(99,102,241,.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(99,102,241,.45); }
.btn--ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  backdrop-filter: blur(12px);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.nav__logo { font-size: 24px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { padding: 10px 18px; font-size: 14px; }

@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px 90px;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.3);
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__title { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.hero__subtitle { color: var(--muted); font-size: 18px; margin: 22px 0 30px; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 26px; font-weight: 800; }
.hero__stats span { color: var(--muted); font-size: 13px; }

/* Vault card visual */
.hero__visual { display: flex; justify-content: center; }
.vault-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  transform: rotate(-1deg);
}
.vault-card__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 22px; }
.dot { font-size: 12px; }
.dot--green { color: var(--green); }
.vault-card__balance small { color: var(--muted); font-size: 13px; }
.vault-card__amount { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin-top: 4px; }
.vault-card__change { color: var(--green); font-size: 13px; margin-top: 6px; }
.vault-card__assets { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.asset {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
}
.asset__icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(99,102,241,.15);
  font-weight: 700;
}
.asset__val { color: var(--muted); font-weight: 600; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
}

/* Sections */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

.features { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.5); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.15));
  font-size: 26px;
  margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

/* Security */
.security {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.security__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.security h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.5px; }
.security__lead { color: var(--muted); margin: 18px 0 26px; font-size: 17px; }
.security__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.security__list li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.security__list span {
  color: var(--green);
  font-weight: 700;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(34,197,94,.12);
  border-radius: 50%;
  font-size: 13px;
}
.security__shield {
  position: relative;
  height: 320px;
  display: grid;
  place-items: center;
}
.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,.25);
  animation: pulse 4s ease-in-out infinite;
}
.shield-ring--1 { width: 300px; height: 300px; }
.shield-ring--2 { width: 220px; height: 220px; animation-delay: .6s; border-color: rgba(34,211,238,.25); }
.shield-ring--3 { width: 150px; height: 150px; animation-delay: 1.2s; border-color: rgba(139,92,246,.3); }
.shield-core {
  font-size: 64px;
  filter: drop-shadow(0 0 20px rgba(99,102,241,.5));
  z-index: 1;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.06); opacity: 1; }
}

@media (max-width: 900px) {
  .security { grid-template-columns: 1fr; }
  .security__shield { display: none; }
}

/* Pricing */
.pricing { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 20px 50px rgba(99,102,241,.2);
  background: linear-gradient(180deg, var(--card-2), var(--card));
}
.plan__tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.plan h3 { font-size: 20px; margin-bottom: 8px; }
.plan__price { font-size: 38px; font-weight: 800; letter-spacing: -.5px; }
.plan__price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan p { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; font-size: 14px; flex: 1; }
.plan ul li { color: var(--text); }
.plan__btn { width: 100%; }

@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* CTA */
.cta { max-width: var(--max); margin: 40px auto; padding: 0 24px; }
.cta__box {
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(34,211,238,.12));
  border: 1px solid rgba(99,102,241,.35);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
}
.cta__box h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.5px; }
.cta__box p { color: var(--muted); margin: 14px auto 28px; max-width: 520px; font-size: 17px; }
.cta__form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.cta__form input {
  flex: 1; min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.3);
  color: var(--text);
  font-size: 15px;
  outline: none;
}
.cta__form input:focus { border-color: var(--primary); }
.cta__note { display: block; margin-top: 18px; color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; padding: 80px 24px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(99,102,241,.5); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after { content: "+"; font-size: 22px; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 14px; font-size: 15px; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 50px 24px 30px;
  max-width: var(--max);
  margin: 40px auto 0;
}
.footer__brand { font-weight: 700; font-size: 20px; margin-bottom: 30px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 500px; margin-bottom: 40px; }
.footer__cols h4 { font-size: 14px; margin-bottom: 14px; color: var(--text); }
.footer__cols a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.footer__disclaimer { opacity: .7; }

@media (max-width: 600px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 22px; }
}
