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

:root {
  --purple-50:  #f5f3ff;
  --purple-200: #ddd6fe;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-900: #4c1d95;
  --bg:         #0d0b14;
  --bg-2:       #131020;
  --surface:    #1a1726;
  --surface-2:  #221e34;
  --text:       #f8f8f2;
  --text-muted: #9ea8cc;
  --radius:     14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--purple-400); }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 11, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--purple-400);
  font-weight: 700;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
}
.btn-ghost {
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--purple-400);
}
.btn-large { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(109, 40, 217, 0.18) 0%, transparent 70%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--purple-400);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Phone mockup ───────────────────────────────────────────────────────────── */
.phone-frame {
  background: var(--bg-2);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 28px;
  padding: 6px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.07) inset;
  max-width: 280px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--surface);
  border-radius: 22px;
  padding: 20px 16px;
  overflow: hidden;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mock-title { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.mock-day { font-size: 1.4rem; font-weight: 800; color: var(--purple-400); }

.mock-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.mock-stat {
  flex: 1;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.mock-label { display: block; font-size: 0.65rem; color: var(--text-muted); margin-bottom: 2px; }
.mock-val { display: block; font-size: 0.95rem; font-weight: 700; color: var(--purple-400); }

.mock-card {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 500;
}
.mock-purple { background: rgba(139, 92, 246, 0.14); color: var(--purple-400); border: 1px solid rgba(139,92,246,0.2); }
.mock-green { background: rgba(34, 197, 94, 0.12); color: #86efac; border: 1px solid rgba(34,197,94,0.2); }

.mock-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.mock-nav-cell {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* ── Section base ───────────────────────────────────────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 48px;
  font-size: 1rem;
  line-height: 1.65;
}

/* ── Features ───────────────────────────────────────────────────────────────── */
.features {
  padding: 80px 24px;
  border-top: 1px solid rgba(139, 92, 246, 0.08);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(139, 92, 246, 0.35); transform: translateY(-3px); }

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--purple-200); margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Batch types ────────────────────────────────────────────────────────────── */
.batch-types {
  padding: 80px 24px;
  background: linear-gradient(180deg, transparent, rgba(109,40,217,0.06), transparent);
  border-top: 1px solid rgba(139, 92, 246, 0.08);
}

.type-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.type-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: var(--radius);
  padding: 32px 20px;
}
.type-icon { font-size: 2.6rem; margin-bottom: 14px; display: block; }
.type-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--purple-400); margin-bottom: 8px; }
.type-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Download ───────────────────────────────────────────────────────────────── */
.download {
  padding: 80px 24px;
  border-top: 1px solid rgba(139, 92, 246, 0.08);
  text-align: center;
}

.download-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 16px;
  flex-wrap: wrap;
}

.download-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  padding: 32px 24px;
  border-top: 1px solid rgba(139, 92, 246, 0.08);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .type-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-graphic { order: -1; }
  .phone-frame { max-width: 240px; }
  h1 { font-size: 2.2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .type-row { grid-template-columns: 1fr 1fr; }
}
