:root {
  --bg: #07080a;
  --surface: #15171a;
  --surface-2: #1c1f23;
  --screen: #0b0c0e;
  --sheet: #0f1113;
  --text: #f2f3f4;
  --text-2: #c9cdd3;
  --muted: #9aa0a8;
  --faint: #6b7280;
  --dim: #565c66;
  --accent: #7c5cff;
  --accent-hover: #8e72ff;
  --accent-tint: #c4b5ff;
  --success: #6ee7a8;
  --danger: #ff8fa8;
  --gold: #f4c542;
  --gold-text: #1a1400;
  --gold-tint: #f4dd8f;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius-card: 22px;
  --radius-pill: 999px;
  --shadow-float: 0 14px 36px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: #9d87ff;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #b9a9ff;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.bg-glow {
  position: fixed;
  inset: -20% 0 auto;
  height: 70vh;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 45% 40% at 15% 30%, rgba(110, 231, 168, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 45% at 50% 0%, rgba(244, 197, 66, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.35);
}

.brand-mark.sm {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 14px;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links > a:not(.btn) {
  font-size: 14.5px;
  color: var(--text-2);
}

.nav-links > a:not(.btn):hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  display: flex;
  gap: 56px;
  align-items: center;
  padding: 56px 0 40px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 420px;
  min-width: 280px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill i {
  color: var(--success);
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 20px 0 0;
  text-wrap: pretty;
}

.lede {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 480px;
  text-wrap: pretty;
}

.hero-cta {
  margin-top: 28px;
}

.fine {
  font-size: 12.5px;
  color: var(--dim);
  margin: 12px 0 0;
}

.studio-link {
  font-size: 13px;
  color: var(--faint);
  margin: 18px 0 0;
}

.studio-link a {
  color: var(--accent-tint);
}

/* Phone mock */
.hero-device {
  flex: 0 0 auto;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.phone {
  animation: float 6s ease-in-out infinite;
}

.phone-bezel {
  width: 300px;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2d33, #121418 40%, #0a0b0d);
  box-shadow:
    var(--shadow-float),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 6px 14px 2px;
  font-size: 11px;
  color: var(--text-2);
}

.phone-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a1c20;
  box-shadow: inset 0 0 0 2px #2e3138;
}

.phone-icons {
  text-align: right;
  opacity: 0.7;
  letter-spacing: 1px;
}

.phone-screen {
  background: var(--screen);
  border-radius: 28px;
  padding: 10px 12px 14px;
  min-height: 520px;
  position: relative;
}

.screen-title {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.screen-sub {
  text-align: center;
  font-size: 9.5px;
  color: var(--faint);
  margin-top: 1px;
  margin-bottom: 10px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px;
}

.muted {
  font-size: 10.5px;
  color: #8a8f98;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
  margin-top: 12px;
}

.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.13);
}

.bars span.active {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.45);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-row .label {
  font-size: 8.5px;
  color: var(--faint);
  text-transform: uppercase;
}

.stat-row .val {
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 2px;
}

.stat-row .spend {
  color: var(--danger);
}

.stat-row .save {
  color: var(--success);
}

.spend-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.flag {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.spend-meta {
  flex: 1;
}

.spend-note {
  font-size: 12px;
  font-weight: 600;
}

.spend-time {
  font-size: 9px;
  color: var(--faint);
}

.spend-amt {
  font-size: 12.5px;
  font-weight: 700;
}

.bottom-nav {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
}

.bottom-nav span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.bottom-nav span.on {
  background: var(--accent);
}

/* Sections */
.section {
  padding: 88px 0 20px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}

.section-head p {
  font-size: 15.5px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.55;
}

.feature-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-tint);
  font-size: 22px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 0;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 0;
}

.price {
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8f98;
}

.gold-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-tint);
}

.price-amount {
  font-size: 32px;
  font-weight: 800;
  margin-top: 10px;
}

.price-note {
  font-size: 12px;
  color: #8a8f98;
  margin-top: 2px;
}

.price ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  align-items: flex-start;
}

.price li i {
  color: var(--success);
  font-size: 16px;
  margin-top: 1px;
}

.price li.muted-item {
  color: var(--dim);
}

.price li.muted-item i {
  color: var(--dim);
}

.price.gold {
  background: rgba(244, 197, 66, 0.08);
  border-color: rgba(244, 197, 66, 0.4);
}

.price.gold li {
  color: #e4e6e8;
}

.badge {
  position: absolute;
  top: -11px;
  right: 24px;
  padding: 5px 11px;
  background: var(--gold);
  color: var(--gold-text);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ads-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 20px;
}

/* Previews */
.preview-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.mini-phone {
  width: 220px;
}

.mini-bezel {
  background: var(--screen);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 14px 12px 20px;
  min-height: 280px;
  box-shadow: var(--shadow-float);
}

.mini-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mini-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  text-align: right;
}

.tape {
  font-size: 9px;
  color: var(--faint);
}

.num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.num.lg {
  font-size: 20px;
  font-weight: 800;
}

.num.accent {
  color: var(--accent-tint);
}

.mini-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 8px;
}

.mini-keys span {
  height: 32px;
  border-radius: 9px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.mini-keys .op {
  background: rgba(124, 92, 255, 0.16);
}

.mini-keys .danger {
  color: var(--danger);
  font-size: 9px;
}

.ex-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
}

.ex-row {
  background: var(--surface-2);
  border-radius: 11px;
  padding: 9px 10px;
}

.ex-row .label,
.ex-card > .label {
  font-size: 8px;
  color: var(--faint);
}

.ex-row .num {
  font-size: 16px;
  font-weight: 600;
  margin-top: 1px;
}

.swap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -9px 0 -9px auto;
  position: relative;
  z-index: 1;
  border: 2px solid var(--surface);
  color: #fff;
  font-size: 13px;
}

.progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  margin-top: 9px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
}

/* FAQ */
.faq-list {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q i {
  font-size: 16px;
  color: #8a8f98;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-q i {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.faq-item.open .faq-a {
  display: block;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
}

.footer-brand p {
  font-size: 12.5px;
  color: var(--dim);
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13.5px;
  color: #8a8f98;
}

.footer-links a:hover {
  color: #fff;
}

/* Motion */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phone,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links > a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .phone-bezel {
    width: 280px;
  }

  .section {
    padding: 64px 0 12px;
  }
}
