/* ── Reset & base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0f0f14;
  color: #e8e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ── Variables ─────────────────────────────────────────── */
:root {
  --primary:    #8B5CF6;
  --primary-dk: #6D28D9;
  --accent:     #EC4899;
  --bg:         #0f0f14;
  --surface:    #1a1a24;
  --surface2:   #22223a;
  --border:     rgba(255,255,255,0.08);
  --text:       #e8e8f0;
  --muted:      #9898b0;
  --radius:     16px;
}

/* ── Utility ───────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,92,246,.35); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(139,92,246,.2); }
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.tag-free { background: rgba(139,92,246,.15); color: var(--primary); }
.tag-premium { background: linear-gradient(135deg,var(--primary),var(--accent)); color: #fff; }

/* ── Navbar ────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,15,20,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.logo-icon { font-size: 28px; }
.nav-cta { padding: 10px 22px; font-size: 14px; }

/* ── Hero ──────────────────────────────────────────────── */
#hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,.18), transparent);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.3);
  color: var(--primary);
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
}
#hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto; margin-right: auto;
}
#hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 12px 22px; border-radius: 14px;
  font-size: 14px; transition: border-color .2s, background .2s;
}
.store-btn:hover { border-color: var(--primary); background: var(--surface2); }
.store-btn .store-icon { font-size: 24px; }
.store-btn .store-label { font-size: 10px; color: var(--muted); display: block; }
.store-btn .store-name { font-weight: 700; font-size: 15px; }
.hero-mockup {
  margin-top: 64px;
  display: flex; justify-content: center;
}
.mockup-frame {
  width: 240px; height: 480px;
  background: var(--surface);
  border-radius: 40px;
  border: 2px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
}
.mockup-screen {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 24px;
}
.mockup-app-name { font-size: 28px; font-weight: 900; }
.mockup-tagline { font-size: 13px; color: var(--muted); text-align: center; }
.mockup-card {
  width: 100%; background: var(--surface2);
  border-radius: 14px; padding: 14px 16px;
  border: 1px solid var(--border);
}
.mockup-card-title { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.mockup-card-sub { font-size: 11px; color: var(--muted); }

/* ── Features ──────────────────────────────────────────── */
#features { padding: 100px 0; }
.section-label {
  text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 16px;
}
.section-sub {
  text-align: center;
  color: var(--muted); font-size: 1.05rem;
  max-width: 520px; margin: 0 auto 60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── How it works ──────────────────────────────────────── */
#how { padding: 100px 0; background: var(--surface); }
.steps { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 60px; }
.step {
  flex: 1; min-width: 220px; max-width: 300px;
  text-align: center; position: relative;
}
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
}
.step-connector {
  position: absolute; top: 28px; left: calc(50% + 28px);
  width: calc(100% - 28px); height: 2px;
  background: var(--border);
}
.step:last-child .step-connector { display: none; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ── Pricing ───────────────────────────────────────────── */
#pricing { padding: 100px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 60px auto 0;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: transform .2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(139,92,246,.12) 0%, var(--surface) 100%);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px; letter-spacing: .5px;
  white-space: nowrap;
}
.price-plan { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.price-amount { font-size: 40px; font-weight: 900; margin-bottom: 4px; }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--muted); }
.price-desc { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.price-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.price-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.price-features li.no::before { content: '✗'; color: var(--muted); }
.price-features li.no { color: var(--muted); }
.pricing-btn { width: 100%; text-align: center; display: block; padding: 14px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: opacity .2s; }
.pricing-btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.pricing-btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.pricing-btn:hover { opacity: .85; }

/* ── Screenshots ───────────────────────────────────────── */
#screenshots { padding: 100px 0; background: var(--surface); overflow: hidden; }
.screenshots-scroll {
  display: flex; gap: 20px;
  overflow-x: auto;
  padding: 20px 24px 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}
.screenshot-frame {
  flex-shrink: 0;
  width: 200px; height: 400px;
  background: var(--surface2);
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
}
.screenshot-label {
  position: absolute; bottom: 16px; left: 0; right: 0;
  text-align: center; font-size: 12px; font-weight: 600; color: var(--muted);
}
.screenshot-icon { font-size: 48px; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { font-size: 20px; font-weight: 800; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { width: 100%; text-align: center; font-size: 13px; color: var(--muted); margin-top: 24px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  #hero { padding: 70px 0 60px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .steps { flex-direction: column; align-items: center; }
  .step-connector { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}
