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

:root {
  --bg: #080810;
  --bg2: #0e0e1a;
  --bg3: #13131f;
  --surface: #181828;
  --surface2: #1f1f32;
  --border: rgba(255,255,255,0.07);
  --text: #f0f0f8;
  --muted: rgba(240,240,248,0.5);
  --dim: rgba(240,240,248,0.25);
  --grad-start: #1e74f0;
  --grad-mid: #00c8a0;
  --grad-end: #a0e840;
  --grad: linear-gradient(135deg, #1e74f0 0%, #00c8a0 55%, #a0e840 100%);
  --glow: rgba(0,200,160,0.18);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  backdrop-filter: blur(20px);
  background: rgba(8,8,16,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-logo img { height: 32px; filter: brightness(1.1); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad);
  color: #000; font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 8px;
  text-decoration: none; letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 60px 80px;
}
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,160,0.12) 0%, rgba(30,116,240,0.08) 50%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160,232,64,0.08) 0%, transparent 70%);
  top: 20%; right: 10%;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1200px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,200,160,0.1);
  border: 1px solid rgba(0,200,160,0.25);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #00c8a0;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #00c8a0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 86px; font-weight: 900;
  line-height: 0.92; letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-title .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 19px; color: var(--muted);
  line-height: 1.65; max-width: 480px;
  margin-bottom: 44px; font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: flex; align-items: center; gap: 10px;
  background: var(--grad);
  color: #000; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 10px;
  text-decoration: none; letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-primary svg { width: 20px; height: 20px; }
.btn-secondary {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.btn-secondary svg { width: 20px; height: 20px; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px; font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 13px; color: var(--dim); font-weight: 500; margin-top: 2px; letter-spacing: 0.04em; }

/* PHONE MOCKUP */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.phone-wrap {
  position: relative;
  width: 320px;
}
.phone-frame {
  position: relative; z-index: 2;
  width: 100%;
  filter: drop-shadow(0 40px 80px rgba(0,200,160,0.15)) drop-shadow(0 0 0 1px rgba(255,255,255,0.04));
}
.phone-screen {
  position: absolute;
  top: 2.2%; left: 5.5%; right: 5.5%; bottom: 2.2%;
  border-radius: 36px;
  overflow: hidden;
  z-index: 1;
}
.phone-screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
}
.phone-glow {
  position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 80px;
  background: radial-gradient(ellipse, rgba(0,200,160,0.25) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.floating-card {
  position: absolute;
  background: rgba(20,20,35,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 16px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.card-streak {
  left: -60px; top: 20%;
  animation-delay: 0s;
}
.card-leaderboard {
  right: -55px; top: 45%;
  animation-delay: 1.5s;
}
.card-small-label { font-size: 11px; color: var(--dim); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.card-big-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.card-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rank-list { display: flex; flex-direction: column; gap: 6px; }
.rank-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.rank-num { font-weight: 700; color: var(--dim); width: 14px; }
.rank-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: #000;
  background: var(--grad);
  flex-shrink: 0;
}
.rank-name { color: var(--muted); }
.rank-streak { margin-left: auto; color: #ff7a30; font-size: 11px; font-weight: 700; }

/* NOTIFY SECTION */
.notify-section {
  position: relative; z-index: 1;
  padding: 72px 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.notify-inner {
  max-width: 900px;
  margin: 0 auto;
}
.notify-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(160,232,64,0.08);
  border: 1px solid rgba(160,232,64,0.2);
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #a0e840;
  margin-bottom: 20px;
}
.notify-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #a0e840;
  animation: pulse 2s infinite;
}
.notify-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px; font-weight: 900;
  text-transform: uppercase;
  line-height: 1; letter-spacing: -0.01em;
  white-space: nowrap;
  text-align: center;
  margin-bottom: 12px;
}
.notify-title .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.notify-sub {
  font-size: 15px; color: var(--muted); margin-bottom: 32px; line-height: 1.6;
}
.notify-form {
  display: flex; gap: 10px; max-width: 440px; margin: 0 auto;
}
.notify-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 13px 18px; border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.notify-input::placeholder { color: var(--dim); }
.notify-input:focus {
  border-color: rgba(0,200,160,0.4);
  background: rgba(255,255,255,0.08);
}
.notify-btn {
  background: var(--grad);
  color: #000; font-family: 'Barlow', sans-serif;
  font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 10px;
  border: none; cursor: pointer; white-space: nowrap;
  letter-spacing: 0.03em;
  transition: opacity 0.2s, transform 0.2s;
}
.notify-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.notify-success {
  display: none;
  align-items: center; justify-content: center; gap: 8px;
  color: #00c8a0; font-size: 15px; font-weight: 600;
  margin-top: 16px;
}
.notify-success.show { display: flex; }
.notify-note {
  margin-top: 16px;
  font-size: 12px; color: var(--dim);
}

/* FEATURES */
.section {
  padding: 120px 60px;
  position: relative; z-index: 1;
}
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 64px; font-weight: 900;
  line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-sub { font-size: 18px; color: var(--muted); max-width: 520px; line-height: 1.65; }

/* FEATURES GRID */
.features-section { background: var(--bg); }
.features-header { max-width: 1200px; margin: 0 auto 72px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px; margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
}
.feature-card {
  background: var(--bg2);
  padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.feature-card:hover { background: var(--bg3); }
.feature-card.featured {
  grid-column: span 2;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(0,200,160,0.1);
  border: 1px solid rgba(0,200,160,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.feature-desc { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 380px; }
.feature-card-glow {
  position: absolute; top: -80px; right: -80px;
  width: 250px; height: 250px;
  border-radius: 50%;
  pointer-events: none; opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover .feature-card-glow { opacity: 1; }
.glow-teal { background: radial-gradient(circle, rgba(0,200,160,0.08) 0%, transparent 70%); }
.glow-blue { background: radial-gradient(circle, rgba(30,116,240,0.08) 0%, transparent 70%); }
.glow-green { background: radial-gradient(circle, rgba(160,232,64,0.08) 0%, transparent 70%); }

/* SCREENSHOTS */
.screenshots-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.screens-inner { max-width: 1200px; margin: 0 auto; }
.screens-header { margin-bottom: 64px; }
.screens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: end;
}
.screen-item { position: relative; }
.screen-item.center { transform: translateY(-24px); }
.screen-phone {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.screen-phone img { width: 100%; display: block; }
.screen-caption {
  text-align: center; margin-top: 20px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim);
}
.screen-badge {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(0,200,160,0.9);
  color: #000; font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 100px; letter-spacing: 0.06em;
  text-transform: uppercase; white-space: nowrap;
}

/* HOW IT WORKS */
.how-section { background: var(--bg); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-header { margin-bottom: 72px; }
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,160,0.3), transparent);
}
.step {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 32px;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900; color: #000;
  margin-bottom: 28px;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.02em; margin-bottom: 12px;
}
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* CTA */
.cta-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  text-align: center; padding: 120px 60px;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,200,160,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.cta-logo { height: 48px; margin: 0 auto 36px; display: block; filter: brightness(1.1); }
.cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px; font-weight: 900;
  line-height: 0.92; text-transform: uppercase;
  letter-spacing: -0.02em; margin-bottom: 24px;
  text-align: center;
}
.cta-sub { font-size: 18px; color: var(--muted); margin-bottom: 48px; line-height: 1.65; }
.store-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text); text-decoration: none;
  padding: 14px 28px; border-radius: 12px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.store-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(0,200,160,0.4);
  transform: translateY(-2px);
}
.store-icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-tiny { font-size: 11px; color: var(--dim); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.store-big { font-size: 17px; font-weight: 700; margin-top: 1px; }

/* FOOTER */
footer {
  padding: 40px 60px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
footer img { height: 24px; opacity: 0.5; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px; color: var(--dim); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--muted); }
.footer-copy { font-size: 13px; color: var(--dim); }

/* DIVIDER */
.divider {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(0,200,160,0.4), transparent);
  margin: 0 auto;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-title { font-size: 56px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: span 1; }
  .screens-row { grid-template-columns: 1fr; }
  .screen-item.center { transform: none; }
  .steps { flex-direction: column; gap: 48px; }
  .steps::before { display: none; }
  .section { padding: 80px 24px; }
  .section-title { font-size: 48px; }
  .cta-section { padding: 80px 24px; }
  .cta-title { font-size: 36px; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 32px 24px; }
  .card-streak, .card-leaderboard { display: none; }
  .phone-wrap { width: 260px; }
  .notify-section { padding: 56px 24px; }
  .notify-form { flex-direction: column; }
  .notify-title { font-size: 36px; white-space: normal; }
}
