:root {
  --bg: #080809;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --border: #262629;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --faint: #6b6b6b;
  --accent: #2bd98a;
  --accent-2: #21c2e0;
  --accent-soft: rgba(43, 217, 138, 0.12);
  --radius: 18px;
  --max: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
/* horizontal only — must NOT reset the vertical padding that `section` sets */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- on-load + scroll reveal (progressive enhancement) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-24px) scale(1.06); } }
@keyframes shimmer { to { background-position: 200% center; } }

/* Reveal is a pure enhancement: elements are VISIBLE by default and only animate
   in once JS adds .in. If JS never runs, nothing is hidden. */
.reveal.in { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px;
  background: rgba(8, 8, 9, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.brand span { color: var(--accent); }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); font-size: 15px; transition: color .15s; }
.nav nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 104px 24px 64px; overflow: hidden; }
.hero-grid {
  position: relative; z-index: 1; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero-copy { animation: fadeUp .8s both; }
.badge {
  display: inline-block; font-size: 13px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(43,217,138,0.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px); line-height: 1.04; letter-spacing: -1.6px; font-weight: 800;
  background: linear-gradient(100deg, #fff 30%, var(--accent) 65%, var(--accent-2) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
.hero p { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 520px; margin: 22px 0 0; }
.cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #06140d; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; font-size: 16px;
  transition: transform .15s ease, box-shadow .25s ease;
  box-shadow: 0 8px 30px rgba(43,217,138,0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(43,217,138,0.4); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }

/* glowing background orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: 0; pointer-events: none; }
.orb-1 { width: 460px; height: 460px; background: rgba(43,217,138,0.35); top: -120px; right: -80px; animation: drift 14s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: rgba(33,194,224,0.22); bottom: -140px; left: -100px; animation: drift 18s ease-in-out infinite reverse; }

/* ---------- phone mockup ---------- */
.phone-wrap { display: flex; justify-content: center; animation: fadeUp 1s .15s both; }
.phone {
  width: 270px; height: 552px; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #202024, #0e0e10);
  border: 1px solid #2e2e33;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
  animation: floatY 6s ease-in-out infinite;
}
.screen { width: 100%; height: 100%; border-radius: 32px; background: radial-gradient(120% 80% at 50% 0%, #10261c 0%, #0b0b0d 55%); padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.screen .s-label { color: var(--faint); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.screen .s-balance { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.screen .s-row { display: flex; gap: 10px; }
.s-pill { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.s-pill .k { font-size: 10px; color: var(--faint); }
.s-pill .v { font-size: 15px; font-weight: 700; margin-top: 2px; }
.s-pill .v.up { color: var(--accent); }
.s-pill .v.down { color: #ff6b6b; }
.s-bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
.s-bar i { display: block; height: 100%; width: 64%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 6px; }
.s-chart { display: flex; align-items: flex-end; gap: 7px; height: 90px; margin-top: 4px; }
.s-chart b { flex: 1; background: linear-gradient(180deg, rgba(43,217,138,0.7), rgba(43,217,138,0.15)); border-radius: 5px 5px 0 0; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-title { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.6px; text-align: center; margin-bottom: 8px; }
.section-sub { color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 44px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: linear-gradient(180deg, #18181b, #121214);
  border: 1px solid #2c2c31; border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(43,217,138,0.45); box-shadow: 0 22px 50px rgba(0,0,0,0.45); }
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15px; }
.card .ic {
  width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}

/* download CTA + store badges */
.download { text-align: center; }
.download h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -0.5px; }
.download p { color: var(--muted); margin: 12px 0 0; }
.download .store-badges { justify-content: center; margin-top: 28px; }

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 6px 20px rgba(43, 217, 138, 0.16); }
  50% { box-shadow: 0 10px 32px rgba(43, 217, 138, 0.34); }
}
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: linear-gradient(180deg, #0e1a13, #0a0b0a);
  border: 1px solid rgba(43, 217, 138, 0.45); border-radius: 13px;
  padding: 11px 20px; min-width: 178px;
  animation: badgeGlow 3.2s ease-in-out infinite;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.store-badge:hover {
  transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 14px 42px rgba(43, 217, 138, 0.5); animation: none;
}
.store-badge svg { width: 26px; height: 26px; fill: var(--accent); flex: none; }
.store-badge .bt { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.store-badge .bt small { font-size: 11px; color: #d0d0d0; }
.store-badge .bt strong { font-size: 17px; color: #fff; font-weight: 700; letter-spacing: .2px; }

/* ---------- support / legal ---------- */
.page { padding: 64px 0 24px; }
.page h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.9px; }
.page .meta { color: var(--faint); font-size: 14px; margin-top: 8px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 18px; margin: 30px 0 8px; letter-spacing: 0.2px; }
.prose p { color: var(--muted); margin-bottom: 12px; font-size: 15.5px; }

.faq { max-width: 760px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 4px 18px; margin-bottom: 12px; transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(43,217,138,0.35); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

.contact { position: relative; background: var(--accent-soft); border: 1px solid rgba(43,217,138,0.25); border-radius: var(--radius); padding: 30px; text-align: center; margin-bottom: 40px; }
.contact a { color: var(--accent); font-weight: 700; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border); margin-top: 48px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding: 30px 24px; color: var(--faint); font-size: 14px;
  max-width: var(--max); margin-left: auto; margin-right: auto;
}
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); transition: color .15s; }
.footer nav a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .phone-wrap { margin-top: 36px; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav nav { gap: 14px; font-size: 14px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, .hero h1, .reveal.in { animation: none !important; }
  html { scroll-behavior: auto; }
}
