:root {
  --bg: #0A0A0A;
  --surface: #111;
  --border: rgba(255, 255, 255, 0.06);
  --text: #d4d4d4;
  --text-dim: #666;
  --accent: #34C759;
  --accent-glow: rgba(52, 199, 89, 0.15);
  --white: #f0f0f0;
  --heading: 'Space Grotesk', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.w {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.icon-img {
  filter: brightness(0) invert(0.9);
}

/* NAV */

.nav {
  padding: 24px 0;
  position: relative;
  z-index: 10;
}

.nav .w {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.logo span {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.store-badge {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.12s;
}

.store-badge:hover { opacity: 0.85; }
.store-badge:active { transform: scale(0.96); }

.store-badge img {
  display: block;
  width: auto;
}

.store-badge-sm img { height: 36px; }
.store-badge-lg img { height: 52px; }

/* HERO */

.hero {
  padding: 80px 0 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: center;
}

.hero-text { max-width: 640px; }

.hero h1 {
  font-family: var(--heading);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
}

.hero h1 .green { color: var(--accent); }

.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-dim);
  max-width: 440px;
  line-height: 1.55;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trial {
  font-size: 14px;
  color: var(--text-dim);
}

/* CAROUSEL + PHONE FRAME */

.carousel {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.carousel-track {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 36px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 24px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.carousel-track .phone-frame {
  display: none;
  animation: slideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-track .phone-frame.visible {
  display: block;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

.dot:hover { background: rgba(255, 255, 255, 0.3); }
.dot.active:hover { background: var(--accent); }

/* MOBILE STICKY CTA */

.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px calc(env(safe-area-inset-bottom, 8px) + 8px);
    background: linear-gradient(to top, var(--bg) 60%, transparent);
    z-index: 50;
  }
  .mobile-cta .store-badge img { height: 44px; }
  .foot { padding-bottom: 80px; }
}

/* MARQUEE */

.marquee {
  margin-top: 80px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.marquee-track {
  display: flex;
  gap: 48px;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-track .price {
  color: var(--accent);
  margin-left: 6px;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* BIG STAT */

.bigstat {
  padding: 160px 0 120px;
}

.bigstat-num {
  font-family: var(--heading);
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.bigstat-label {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-dim);
  max-width: 400px;
}

/* HOW */

.how {
  padding: 64px 0 80px;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.how-item h3 {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.how-item p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* HIGHLIGHT SECTION */

.highlight {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.06) 0%, rgba(52, 199, 89, 0.02) 100%);
  border-top: 1px solid rgba(52, 199, 89, 0.1);
  border-bottom: 1px solid rgba(52, 199, 89, 0.1);
}

.highlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.highlight h2 {
  font-family: var(--heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.highlight p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}

.mock-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.mock-card-brand {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mock-card-amount {
  font-family: var(--heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  margin-top: 20px;
  letter-spacing: -0.03em;
}

.mock-card-sub {
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}

.mock-card-count {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}

.mock-items {
  margin-top: 20px;
  text-align: left;
}

.mock-items div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.mock-card-url {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 24px;
}

/* FEATURES */

.feats {
  padding: 120px 0;
}

.feat-list {
  display: grid;
  gap: 40px;
  max-width: 640px;
}

.feat h3 {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.feat p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* PRICING */

.pricing {
  padding: 64px 0 80px;
  border-top: 1px solid var(--border);
}

.pricing h2 {
  font-family: var(--heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.pricing-plans {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.plan {
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}

.plan.pop { border-color: rgba(52, 199, 89, 0.2); }

.plan-name {
  display: block;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan-price {
  display: block;
  font-family: var(--heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.plan-period {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 2px;
}

.plan-save {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-top: 8px;
}

.pricing-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-dim);
}

/* END CTA */

.endcta {
  padding: 140px 0;
  border-top: 1px solid var(--border);
}

.endcta h2 {
  font-family: var(--heading);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 500px;
}

.endcta p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-dim);
  max-width: 380px;
}

.endcta .store-badge { margin-top: 40px; }

/* FOOTER */

.foot {
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
}

.foot .w {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.foot-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-left .logo span {
  font-size: 16px;
}

.foot-tagline {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.5;
}

.foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.foot-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.foot-links a {
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.12s;
}

.foot-links a:hover { color: var(--white); }

.foot-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* LEGAL PAGES */

.legal { padding: 64px 0 96px; }

.legal h1 {
  font-family: var(--heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal .updated {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.legal h2 {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p, .legal li {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 640px;
}

.legal ul { padding-left: 20px; margin-bottom: 16px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* FOCUS */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero { padding: 48px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .carousel { width: 260px; margin: 0 auto; }
  .carousel-track { border-radius: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .store-badge-lg img { height: 44px; }
  .marquee { margin-top: 56px; }
  .bigstat { padding: 100px 0 80px; }
  .how { padding: 56px 0 64px; }
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .highlight { padding: 56px 0; }
  .highlight-inner { grid-template-columns: 1fr; gap: 40px; }
  .feats { padding: 80px 0; }
  .feat-list { gap: 32px; }
  .pricing { padding: 56px 0 64px; }
  .pricing-plans { flex-direction: column; gap: 12px; }
  .plan { min-width: unset; }
  .endcta { padding: 80px 0; }
  .foot-right { align-items: flex-start; }
  .nav .store-badge-sm img { height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
