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

:root {
  --bg: #050810;
  --surface: rgba(255, 255, 255, 0.03);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --text: #f0f2f5;
  --text-dim: #8892a4;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.15);
  --accent-subtle: rgba(56, 189, 248, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── Glass utility ── */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(56, 189, 248, 0.06);
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: 17px; letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--text-dim); text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  padding: 7px 14px; border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-cta {
  color: var(--accent); text-decoration: none;
  font-size: 13.5px; font-weight: 600;
  padding: 7px 18px; border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all 0.2s;
}
.nav-cta:hover { background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.4); }

/* ── Buttons ── */
.btn-glass-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 14px;
  background: var(--accent);
  color: #050810; font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.25s;
}
.btn-glass-primary:hover {
  background: #7dd3fc;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-1px);
}
.btn-glass {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 14px;
  background: var(--glass); color: var(--text);
  font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer;
  font-family: inherit;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  transition: all 0.25s;
}
.btn-glass:hover {
  background: var(--glass-strong);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-ambient {
  position: absolute; top: -300px; left: 50%; transform: translateX(-60%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-ambient-2 {
  position: absolute; top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 12px; border-radius: 100px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.15);
  margin-bottom: 28px;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.08; margin-bottom: 20px;
  color: var(--text);
}
.hero-sub {
  font-size: 16.5px; line-height: 1.65;
  color: var(--text-dim); max-width: 440px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero screenshot */
.hero-visual { position: relative; }
.hero-screenshot-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 60px rgba(56, 189, 248, 0.06);
}
.hero-screenshot {
  display: block; width: 100%; height: auto;
  border-radius: 15px;
}
.screenshot-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%, transparent 100%);
  pointer-events: none;
}

/* ── Stats ── */
.stats-bar {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value { display: block; font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.stat-label { display: block; font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.08); }

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 16px;
}
.section-header p {
  font-size: 16.5px; color: var(--text-dim);
  max-width: 480px; margin: 0 auto;
}

/* ── Features ── */
.features { padding: 120px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 32px 28px;
  position: relative;
}
.feature-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-subtle);
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(56, 189, 248, 0.12);
}
.feature-card h3 {
  font-size: 17px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text-dim); font-size: 14.5px; line-height: 1.6;
}
.feature-tag {
  display: inline-block; margin-top: 14px;
  font-size: 11px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: 6px;
  background: var(--accent-subtle);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

/* ── Screenshots ── */
.screenshots { padding: 40px 0 120px; }
.screenshot-showcase { display: flex; flex-direction: column; gap: 20px; }
.showcase-item { }
.showcase-glass {
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}
.showcase-glass::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 40%);
  pointer-events: none;
}
.showcase-glass img {
  display: block; width: 100%; height: auto;
}
.showcase-caption {
  padding: 20px 4px 0;
}
.showcase-caption h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.showcase-caption p {
  font-size: 14.5px; color: var(--text-dim); line-height: 1.55;
}
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

/* ── Waitlist ── */
.waitlist { padding: 80px 0 140px; }
.waitlist-glass {
  position: relative; overflow: hidden;
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 72px 40px;
  backdrop-filter: blur(40px);
}
.waitlist-ambient {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.waitlist-glass h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800; letter-spacing: -0.025em;
  margin-bottom: 12px; position: relative;
}
.waitlist-glass > p {
  color: var(--text-dim); font-size: 16px;
  margin-bottom: 36px; position: relative;
}
#waitlist-form { position: relative; }
.form-row {
  display: flex; gap: 10px; max-width: 440px; margin: 0 auto;
}
.form-row input {
  flex: 1; padding: 14px 20px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text); font-family: inherit; font-size: 15px;
  outline: none; transition: border-color 0.2s;
  backdrop-filter: blur(10px);
}
.form-row input:focus { border-color: rgba(56, 189, 248, 0.4); }
.form-row input::placeholder { color: var(--text-dim); }
.form-msg { margin-top: 16px; font-size: 14px; min-height: 20px; position: relative; }
.form-msg.success { color: #4ade80; }
.form-msg.error { color: #f87171; }

/* ── Footer ── */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 13.5px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-dim); font-size: 13px; }

/* ── Animations ── */
.anim {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim.visible {
  opacity: 1; transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px; text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 120px 0 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .showcase-row { grid-template-columns: 1fr; }
  .stats-inner { gap: 24px; }
  .stat-divider { display: none; }
  .form-row { flex-direction: column; }
  .waitlist-glass { padding: 48px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
