/* TutorSnap — Warm, editorial, premium */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F0EBE1;
  --bg-dark: #1C1917;
  --fg: #1C1917;
  --fg-muted: #78716C;
  --fg-subtle: #A8A29E;
  --accent: #C2410C;
  --accent-warm: #EA580C;
  --accent-light: #FFF7ED;
  --ink: #0C0A09;
  --border: #E7E5E0;
  --amber: #F59E0B;
  --amber-bg: #FFFBEB;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  background: rgba(250,250,247,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.5px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--ink);
}
.nav-tagline { font-size: 13px; color: var(--fg-muted); font-weight: 400; letter-spacing: 0.5px; }

/* HERO */
.hero {
  padding: 80px 48px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 18px; line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 40px;
}
/* Phone mock */
.hero-ui { display: flex; flex-direction: column; gap: 32px; }
.phone-mock {
  background: var(--bg-dark);
  border-radius: 36px;
  padding: 12px;
  width: 280px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1);
}
.mock-notch {
  width: 80px; height: 24px;
  background: var(--bg-dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}
.mock-screen {
  background: var(--bg);
  border-radius: 24px;
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.snap-prompt {
  display: flex; align-items: center; gap: 10px;
  background: var(--amber-bg);
  border: 1.5px solid #FDE68A;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--fg);
  font-size: 14px; font-weight: 500;
}
.snap-icon { color: var(--amber); flex-shrink: 0; }
.snap-icon svg { display: block; }
.mock-or { font-size: 12px; color: var(--fg-subtle); text-align: center; }
.snap-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-family: var(--font-mono);
  background: var(--bg-alt);
  color: var(--fg-muted);
  border-radius: 20px;
  padding: 4px 10px;
  border: 1px solid var(--border);
}
/* Stats row */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--ink);
}
.stat-label { font-size: 11px; color: var(--fg-muted); }

/* Background art */
.hero-bg-art {
  position: relative;
  width: 400px; height: 400px;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}
.ring-1 { width: 260px; height: 260px; border-color: #D6D3D1; }
.ring-2 { width: 360px; height: 360px; border-color: #E7E5E0; border-style: dashed; }
.ring-3 { width: 440px; height: 440px; border-color: #F5F5F0; }
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
}
.dot-1 { top: 70px; left: 50%; transform: translateX(-50%); }
.dot-2 { bottom: 110px; left: 30px; width: 8px; height: 8px; }
.dot-3 { top: 50%; right: 40px; transform: translateY(-50%); width: 6px; height: 6px; background: var(--accent); }
.orbit-center {
  width: 56px; height: 56px;
  background: var(--amber);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 8px 32px rgba(245,158,11,0.4);
  z-index: 1;
}

/* HOW SECTION */
.how {
  padding: 96px 48px;
  background: var(--bg-alt);
}
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; line-height: 1.15;
  color: var(--ink); letter-spacing: -0.5px;
  margin-bottom: 56px;
  max-width: 600px;
}
.steps {
  display: flex; align-items: flex-start;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.step { flex: 1; }
.step-num {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
.step-body h3 {
  font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 10px;
}
.step-body p { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }
.step-connector {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding-top: 20px;
  flex-shrink: 0;
}
.connector-line { width: 1px; height: 40px; background: var(--border); }
.connector-arrow { color: var(--fg-subtle); }

/* DIFFERENCE */
.difference {
  padding: 96px 48px;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.diff-desc {
  font-size: 16px; color: var(--fg-muted); line-height: 1.7;
  margin-bottom: 32px;
}
.diff-comparison { display: flex; flex-direction: column; gap: 12px; }
.comp-row {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px; font-weight: 500;
}
.comp-label { color: var(--fg-subtle); min-width: 80px; }
.comp-arrow { color: var(--fg-subtle); }
.comp-vs-label { color: var(--ink); font-weight: 600; }
.comp-feature {
  font-size: 13px; color: var(--fg-muted);
  padding-left: 96px;
}
/* Mastery UI */
.mastery-ui {
  background: var(--bg-dark);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
}
.mastery-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.mastery-label { font-size: 13px; color: #A8A29E; font-weight: 500; }
.mastery-badge {
  font-size: 11px; font-family: var(--font-mono);
  background: rgba(245,158,11,0.15);
  color: var(--amber);
  border-radius: 20px;
  padding: 3px 10px;
}
.topic-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.topic-info { min-width: 160px; }
.topic-name { display: block; font-size: 13px; font-weight: 500; color: white; }
.topic-domain { font-size: 11px; color: #78716C; }
.topic-bar-wrap {
  flex: 1; height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.topic-bar {
  height: 100%;
  width: var(--pct, 50%);
  background: linear-gradient(90deg, var(--accent), var(--amber));
  border-radius: 2px;
}
.topic-pct { font-size: 12px; font-family: var(--font-mono); color: #A8A29E; min-width: 36px; text-align: right; }
.mastery-footer {
  display: flex; justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: #78716C;
}
.mastery-cta {
  background: var(--amber);
  color: var(--bg-dark);
  font-size: 11px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

/* MANIFESTO */
.manifesto {
  padding: 96px 48px;
  background: var(--ink);
  color: white;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-quote { margin-bottom: 40px; }
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-style: italic;
  line-height: 1.4;
  color: #E7E5E0;
  border-left: 3px solid var(--amber);
  padding-left: 28px;
}
.manifesto-body {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 48px;
}
.manifesto-body p { font-size: 16px; line-height: 1.8; color: #A8A29E; }
.manifesto-close h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: #F5F5F0;
  font-style: normal;
}

/* FOOTER */
.footer {
  padding: 48px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex; align-items: center; gap: 20px;
  max-width: 1200px; margin: 0 auto;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: white;
}
.brand-mark-sm {
  width: 28px; height: 28px;
  background: var(--amber);
  color: var(--bg-dark);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.footer-tagline { font-size: 14px; color: #78716C; margin-left: 8px; }
.footer-sub { margin-left: auto; font-size: 13px; color: #525252; font-family: var(--font-mono); }
.nav-cta {
  background: var(--fg);
  color: var(--bg);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 60px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-bg-art { display: none; }
  .phone-mock { width: 100%; max-width: 320px; }
  .how { padding: 60px 24px; }
  .steps { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .difference { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px; }
  .comp-feature { padding-left: 0; }
  .manifesto { padding: 60px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-wrap: wrap; gap: 12px; }
  .footer-sub { margin-left: 0; width: 100%; }
}