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

:root {
  --bg:          #08080F;
  --surface:     #13131F;
  --surface-2:   #1C1C2E;
  --primary:     #7C4DFF;
  --primary-light: #9B72FF;
  --gold:        #FFB800;
  --gold-dark:   #E6A500;
  --teal:        #00C9A7;
  --text:        #FFFFFF;
  --text-2:      #A8A8C0;
  --text-3:      #5A5A78;
  --divider:     rgba(255,255,255,0.07);
  --radius:      16px;
  --radius-lg:   24px;
}

html { scroll-behavior: smooth; }

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 8px 24px rgba(124,77,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124,77,255,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 16px; }

/* ── Navbar ───────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 88vh;
  padding: 80px 24px 60px;
  max-width: 1160px;
  margin: 0 auto;
}

.hero-content { flex: 1; max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124,77,255,0.12);
  border: 1px solid rgba(124,77,255,0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-3);
}

/* Phone mockup */
.hero-phone { flex: 0 0 auto; }

.phone-frame {
  position: relative;
  width: 300px;
  background: var(--surface);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(124,77,255,0.15);
}

.phone-frame::before {
  content: '';
  display: block;
  width: 100px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin: 0 auto 8px;
}

.phone-screen {
  width: 100%;
  border-radius: 36px;
  object-fit: cover;
  aspect-ratio: 9/19;
}

.phone-frame-sm { width: 260px; }

/* ── Strip ────────────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--surface);
}

.strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.strip-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.strip-label {
  font-size: 12px;
  color: var(--text-3);
}

.strip-dot {
  width: 4px;
  height: 4px;
  background: var(--text-3);
  border-radius: 50%;
}

/* ── Problem/Solution ─────────────────────────────────── */
.problem {
  padding: 120px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-left h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.problem-left p {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.problem-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.problem-card-good {
  border-color: rgba(124,77,255,0.3);
  background: rgba(124,77,255,0.05);
}

.problem-card-icon { font-size: 24px; margin-bottom: 8px; }

.problem-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  margin-bottom: 14px;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-list li {
  font-size: 15px;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}

.problem-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text-3);
}

/* ── Feature Sections ─────────────────────────────────── */
.feature { padding: 100px 0; }

.feature-dark {
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-reverse .feature-grid { direction: rtl; }
.feature-reverse .feature-grid > * { direction: ltr; }

.feature-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.feature-eyebrow-gold { color: var(--gold); }

.feature-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.score-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.score-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.badge-gold   { background: rgba(255,184,0,0.15);   color: var(--gold);         border: 1px solid rgba(255,184,0,0.3); }
.badge-purple { background: rgba(124,77,255,0.15);  color: var(--primary-light);border: 1px solid rgba(124,77,255,0.3); }
.badge-teal   { background: rgba(0,201,167,0.12);   color: var(--teal);         border: 1px solid rgba(0,201,167,0.3); }
.badge-gray   { background: rgba(255,255,255,0.06); color: var(--text-2);       border: 1px solid var(--divider); }

.feature-phone {
  display: flex;
  justify-content: center;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-chip {
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--divider);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
}

/* ── How It Works ─────────────────────────────────────── */
.how { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.step-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(124,77,255,0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Screenshots ──────────────────────────────────────── */
.screenshots {
  padding: 100px 0;
  background: var(--surface);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: start;
}

.screenshot-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9/16;
  transition: transform 0.4s ease;
}

.screenshot-item:hover img { transform: scale(1.03); }

.screenshot-tall {
  grid-row: 1 / 3;
}

.screenshot-right {
  grid-column: 4;
}

.screenshot-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(8,8,15,0.75);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--divider);
}

/* ── Download ─────────────────────────────────────────── */
.download { padding: 100px 0; }

.download-card {
  background: var(--surface);
  border: 1px solid rgba(124,77,255,0.2);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(124,77,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.download-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.download-card h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.download-card > p {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 40px;
}

.download-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.download-note {
  font-size: 13px;
  color: var(--text-3);
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--divider);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
    min-height: auto;
    gap: 48px;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-note { text-align: center; }

  .problem-grid,
  .feature-grid,
  .feature-reverse .feature-grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 48px;
  }

  .feature-phone { order: -1; }

  .steps { grid-template-columns: 1fr; }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .screenshot-tall { grid-row: auto; }
  .screenshot-right { grid-column: auto; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .strip-inner { gap: 20px; }
  .strip-dot { display: none; }

  .screenshots-grid { grid-template-columns: 1fr; }

  .download-card { padding: 48px 24px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .download-ctas { flex-direction: column; align-items: center; }
}

/* ── Scroll animation ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeUp 0.7s ease both; }
.hero-phone   { animation: fadeUp 0.7s 0.15s ease both; }
