:root {
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --ink: #111827;
  --ink-2: #4B5563;
  --ink-3: #9CA3AF;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --red: #EF4444;
  --green: #22C55E;
  --border: #E5E7EB;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 18px;
  background: var(--amber-light);
  border: 1.5px solid var(--amber);
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--amber); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: 72px 48px 80px;
}
.hero-bg-shape {
  position: absolute;
  right: -100px;
  top: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { padding-right: 24px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.label-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
h1 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}
.stat-label {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Mockup */
.hero-mockup { position: relative; }
.mockup-window {
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.06);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #16162a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f57; }
.yellow { background: #ffbd2e; }
.green { background: #28c840; }
.mockup-title {
  margin-left: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
}
.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 16px;
  gap: 12px;
}
.mockup-panel {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
}
.mockup-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.mockup-question {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
}
.mockup-student-answer {
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
  border-left: 2px solid rgba(245,158,11,0.4);
  padding-left: 8px;
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--amber);
  margin-right: 2px;
  vertical-align: middle;
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.mockup-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.score-badge {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
}
.score-denom { font-size: 18px; color: rgba(255,255,255,0.3); }
.score-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  background: rgba(245,158,11,0.15);
  padding: 3px 8px;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
}
.mockup-feedback-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}
.icon-miss { color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.icon-hit { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.mockup-tip {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  background: rgba(245,158,11,0.1);
  border-radius: 6px;
  padding: 8px 10px;
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
}

/* How it works */
.how-it-works {
  padding: 80px 48px;
  background: var(--bg);
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.how-it-works h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 56px;
  max-width: 480px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.step-card {
  padding: 32px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}
.step-card:hover { transform: translateY(-3px); }
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 20px;
  -webkit-text-stroke: 1px var(--amber);
}
.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
}
.step-card p { font-size: 15px; color: var(--ink-2); line-height: 1.65; }

/* Subjects */
.subjects-section {
  padding: 80px 48px;
  background: var(--ink);
  color: #fff;
}
.subjects-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.subjects-header { margin-bottom: 56px; }
.subjects-section .section-label { color: var(--amber); }
.subjects-section h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}
.subjects-section p { font-size: 16px; color: rgba(255,255,255,0.55); max-width: 560px; line-height: 1.65; }
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.level-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
}
.level-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.igcse { background: rgba(245,158,11,0.2); color: var(--amber); }
.olevel { background: rgba(34,197,94,0.15); color: #4ade80; }
.alevel { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.level-count { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.subject-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Manifesto */
.manifesto {
  padding: 96px 48px;
  background: var(--amber-light);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.manifesto-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  position: sticky;
  top: 100px;
}
.manifesto-body h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
}
.manifesto-body p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Closing */
.closing {
  padding: 96px 48px;
  background: var(--ink);
  color: #fff;
}
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
}
.closing p { font-size: 18px; color: rgba(255,255,255,0.45); }

/* Footer */
footer {
  padding: 40px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
}
.footer-copy { font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.footer-note { font-size: 12px; color: var(--ink-3); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-mockup { order: -1; }
  .hero-content { padding-right: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-quote p { position: static; }
  .navbar { padding: 16px 24px; }
  .hero { padding: 48px 24px 60px; }
  .how-it-works, .subjects-section, .manifesto, .closing { padding: 60px 24px; }
  footer { padding: 32px 24px; }
}
@media (max-width: 480px) {
  h1 { font-size: 32px; }
  .hero-stats { gap: 24px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-panel.left-panel { display: none; }
}