:root {
  --bg: #0a0a12;
  --bg-2: #101020;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f4f4fa;
  --text-2: rgba(244, 244, 250, 0.62);
  --text-3: rgba(244, 244, 250, 0.38);
  --violet: #8c73ff;
  --violet-2: #6a4dff;
  --blue: #4d8dff;
  --green: #3ddb8b;
  --orange: #ffa04d;
  --grad: linear-gradient(120deg, #6a4dff, #9a5cff 45%, #4d8dff);
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(140, 115, 255, 0.4); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10, 10, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 64px; max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--text); }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 650; font-size: 15px;
  padding: 12px 22px; border-radius: 14px; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 8px 28px rgba(120, 90, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(120, 90, 255, 0.5); }
.btn.small { padding: 9px 16px; font-size: 13.5px; border-radius: 11px; }
.btn.ghost {
  background: rgba(255, 255, 255, 0.06); box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; }

/* ---------- Hero ---------- */
header {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 90, 255, 0.22), transparent 65%);
  top: -320px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; letter-spacing: 0.4px;
  color: var(--violet); background: rgba(140, 115, 255, 0.12);
  border: 1px solid rgba(140, 115, 255, 0.3);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; }
h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 22px 0 32px; font-size: 18.5px; line-height: 1.6; color: var(--text-2); max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-3); }

/* ---------- Phone mockup (pure CSS app recreation) ---------- */
.phone-wrap { display: flex; justify-content: center; perspective: 1200px; }
.phone {
  width: 330px; border-radius: 46px; padding: 14px;
  background: linear-gradient(160deg, #23233a, #101018);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 90px rgba(120, 90, 255, 0.18);
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}
.screen {
  border-radius: 34px; background: #0c0c16; overflow: hidden;
  padding: 20px 16px 16px; min-height: 600px;
  display: flex; flex-direction: column; gap: 12px;
}
.notch { width: 96px; height: 24px; background: #000; border-radius: 100px; margin: 0 auto 4px; }
.app-title { font-size: 22px; font-weight: 800; padding-left: 2px; }
.spend-card {
  background: var(--grad); border-radius: 20px; padding: 18px;
  box-shadow: 0 14px 34px rgba(110, 80, 255, 0.4);
}
.spend-label { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: rgba(255,255,255,0.75); }
.spend-amount { font-size: 38px; font-weight: 800; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.spend-pills { display: flex; gap: 8px; }
.pill {
  font-size: 11px; font-weight: 650; padding: 5px 10px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.18); color: #fff;
}
.saved-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(61, 219, 139, 0.09); border: 1px solid rgba(61, 219, 139, 0.25);
  border-radius: 16px; padding: 12px 14px;
}
.saved-dot {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: rgba(61, 219, 139, 0.16); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.saved-text b { color: var(--green); font-size: 14px; font-variant-numeric: tabular-nums; }
.saved-text span { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 1px; }
.sub-row {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px; padding: 11px 12px;
  opacity: 0; transform: translateY(14px);
  animation: rowIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.sub-row:nth-child(5) { animation-delay: 0.55s; }
.sub-row:nth-child(6) { animation-delay: 0.75s; }
.sub-row:nth-child(7) { animation-delay: 0.95s; }
@keyframes rowIn { to { opacity: 1; transform: translateY(0); } }
.sub-icon {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
}
.sub-name { font-size: 13.5px; font-weight: 650; }
.sub-renew { font-size: 10.5px; color: var(--text-3); margin-top: 1px; }
.sub-renew.warn { color: var(--orange); }
.sub-price { margin-left: auto; text-align: right; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sub-price span { display: block; font-size: 10px; font-weight: 500; color: var(--text-3); }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 17px; line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px 26px;
}
.step-num {
  width: 38px; height: 38px; border-radius: 12px; background: rgba(140, 115, 255, 0.14);
  color: var(--violet); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(140, 115, 255, 0.4); background: rgba(140, 115, 255, 0.06); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: rgba(140, 115, 255, 0.13); color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.feature p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.soon {
  font-size: 10px; font-weight: 750; letter-spacing: 0.5px; color: var(--blue);
  background: rgba(77, 141, 255, 0.14); border: 1px solid rgba(77, 141, 255, 0.3);
  padding: 3px 8px; border-radius: 100px;
}

/* Calculator */
.calc {
  background: linear-gradient(150deg, rgba(106, 77, 255, 0.14), rgba(77, 141, 255, 0.07));
  border: 1px solid rgba(140, 115, 255, 0.25);
  border-radius: 28px; padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.calc h2 { font-size: 30px; }
.calc-left p { margin-top: 14px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.calc-control { margin-top: 30px; }
.calc-control label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.calc-control label output { color: var(--text); font-weight: 750; font-variant-numeric: tabular-nums; }
input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.12); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 6px solid var(--violet); cursor: pointer;
  box-shadow: 0 4px 14px rgba(120, 90, 255, 0.5);
}
.calc-result {
  background: rgba(10, 10, 18, 0.55); border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px; padding: 34px; text-align: center;
}
.calc-result .big {
  font-size: 52px; font-weight: 800; letter-spacing: -1.5px;
  background: linear-gradient(120deg, #3ddb8b, #7ef0b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.calc-result .label { font-size: 13px; font-weight: 650; letter-spacing: 1px; color: var(--text-3); margin-bottom: 8px; }
.calc-result .sub { margin-top: 12px; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* Pricing */
.pricing-toggle {
  display: flex; gap: 4px; background: rgba(255, 255, 255, 0.06);
  border-radius: 100px; padding: 4px; width: max-content; margin: 0 auto 44px;
}
.pricing-toggle button {
  border: none; background: transparent; color: var(--text-2); font-weight: 650;
  font-size: 14px; padding: 9px 22px; border-radius: 100px; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.pricing-toggle button.active { background: var(--grad); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; justify-content: center; }
.plan {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 26px; padding: 36px;
}
.plan.pro { border: 1.5px solid rgba(140, 115, 255, 0.55); background: rgba(140, 115, 255, 0.07); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); font-size: 11px; font-weight: 750; letter-spacing: 0.6px;
  padding: 6px 14px; border-radius: 100px;
}
.plan h3 { font-size: 20px; font-weight: 750; }
.plan-price { margin: 18px 0 6px; font-size: 44px; font-weight: 800; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 16px; font-weight: 550; color: var(--text-3); letter-spacing: 0; }
.plan-note { font-size: 13px; color: var(--green); font-weight: 600; min-height: 18px; }
.plan ul { list-style: none; margin: 26px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.plan li b { color: var(--text); font-weight: 650; }
.check { color: var(--green); font-weight: 800; flex: none; }
.plan .btn { width: 100%; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 18px; overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: none; color: var(--text);
  font-size: 15.5px; font-weight: 650; text-align: left; cursor: pointer; font-family: inherit;
}
.faq-q .chev { transition: transform 0.25s; color: var(--text-3); flex: none; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--text-2); line-height: 1.65; }

/* CTA + footer */
.cta-band {
  text-align: center;
  background: linear-gradient(150deg, rgba(106, 77, 255, 0.18), rgba(77, 141, 255, 0.08));
  border: 1px solid rgba(140, 115, 255, 0.25);
  border-radius: 30px; padding: 72px 32px;
}
.cta-band p { margin: 14px auto 30px; color: var(--text-2); max-width: 460px; font-size: 16.5px; line-height: 1.6; }
footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 44px 0 54px; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner .logo { font-size: 15px; }
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a { color: var(--text-2); font-size: 13.5px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.copyright { width: 100%; margin-top: 18px; font-size: 12.5px; color: var(--text-3); }

/* Legal / support pages */
.page { max-width: 760px; margin: 0 auto; padding: 140px 24px 80px; }
.page h1 { font-size: 38px; margin-bottom: 8px; }
.page .updated { color: var(--text-3); font-size: 13.5px; margin-bottom: 40px; }
.page h2 { font-size: 21px; margin: 38px 0 12px; letter-spacing: -0.3px; }
.page p, .page li { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.page ul { padding-left: 22px; margin: 10px 0; }
.page a { color: var(--violet); }
.contact-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 28px; margin: 26px 0;
}
.contact-card b { display: block; margin-bottom: 6px; font-size: 16px; }

@media (max-width: 900px) {
  .hero-grid, .calc { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
  .plans { grid-template-columns: minmax(0, 420px); }
  .nav-links { display: none; }
  header { padding-top: 120px; }
  .phone-wrap { margin-top: 20px; }
}
