/* ============================================
   LEDGER LEGENDS — Commercial Website Styles
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #3D5AF1;
  --primary-dark: #2B44D6;
  --primary-light: #EEF1FF;
  --accent: #FD7E14;
  --accent-dark: #E06B0A;
  --success: #40C057;
  --bg: #F5F4EF;
  --bg-white: #FFFFFF;
  --bg-dark: #1A1D2E;
  --text: #2D3436;
  --text-light: #636E72;
  --text-muted: #95A5A6;
  --border: #E8E6E1;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

.text-accent { color: var(--accent); }

.section {
  padding: 80px 0;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 12px auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.btn-nav {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-play {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

.btn-play:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 244, 239, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  vertical-align: middle;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.logo-highlight {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

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

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ---------- Problem Section ---------- */
.section-problem {
  background: var(--bg-white);
}

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

.problem-card {
  text-align: center;
  padding: 32px 24px;
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  margin-bottom: 8px;
}

.problem-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- Solution Section ---------- */
.section-solution {
  background: var(--bg);
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Screenshot Showcase ---------- */
.screenshot-showcase {
  margin-top: 56px;
}

.screenshot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.screenshot-item img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.screenshot-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Teacher Section ---------- */
.section-teachers {
  background: var(--bg-white);
}

.teacher-feature {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}

.teacher-feature-reverse {
  direction: rtl;
}

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

.teacher-feature-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.teacher-feature-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.teacher-feature-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* ---------- Steps Section ---------- */
.section-steps {
  background: var(--bg);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius);
  text-align: center;
  flex: 1;
  max-width: 280px;
  border: 1px solid var(--border);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

/* ---------- Testimonials ---------- */
.section-testimonials {
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  display: none;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Pricing ---------- */
.section-pricing {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 48px auto 0;
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1060px;
}

.pricing-period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 2px solid var(--border);
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
  border-color: var(--primary);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-price-old {
  margin-bottom: 4px;
}

.pricing-strike {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-strike-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-saving {
  display: inline-block;
  margin-top: 8px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-launch-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ---------- Leerplankoppeling ---------- */
.lp-intro {
  margin-bottom: 48px;
}

.lp-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.lp-card-sm {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.lp-card-sm h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.lp-tag {
  display: inline-block;
  background: var(--bg);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 2px;
}

.lp-tag-d { background: #e3f2fd; color: #1565c0; }
.lp-tag-da { background: #f3e5f5; color: #7b1fa2; }

.lp-net {
  margin-bottom: 40px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.lp-net-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.lp-net-ref {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lp-goals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-goal {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lp-goal summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  transition: background var(--transition);
}

.lp-goal summary::-webkit-details-marker { display: none; }

.lp-goal summary:hover {
  background: var(--bg);
}

.lp-goal[open] summary {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.lp-goal > p,
.lp-goal > .lp-sub-table {
  padding: 16px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.lp-goal-code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.lp-goal-name {
  flex: 1;
  min-width: 200px;
}

.lp-goal-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}

.lp-status-full { background: #e8f5e9; color: #2e7d32; }
.lp-status-most { background: #fff3e0; color: #e65100; }
.lp-status-partial { background: #fff8e1; color: #f57f17; }

.lp-sub-table {
  overflow-x: auto;
}

.lp-sub-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lp-sub-table th,
.lp-sub-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.lp-sub-table th {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
}

.lp-check { color: #2e7d32; font-weight: 600; }
.lp-planned { color: var(--primary); font-weight: 600; }
.lp-none { color: var(--text-muted); }

/* Mapping table */
.lp-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--border);
  border-radius: var(--radius);
}

.lp-mapping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lp-mapping-table th,
.lp-mapping-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.lp-mapping-table th {
  background: var(--bg-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  position: sticky;
  top: 0;
}

.lp-mapping-table tbody tr:hover {
  background: var(--primary-light);
}

.lp-mapping-table td:first-child {
  font-weight: 600;
}

/* Mission cards grid */
.lp-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.lp-mission-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.lp-mission-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.lp-mission-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.lp-mission-count {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.lp-mission-levels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.lp-level {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.lp-level-easy { background: #e8f5e9; color: #2e7d32; }
.lp-level-medium { background: #fff3e0; color: #e65100; }
.lp-level-hard { background: #fce4ec; color: #c62828; }

/* ---------- FAQ ---------- */
.section-faq {
  background: var(--bg-white);
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color var(--transition);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---------- CTA Section ---------- */
.section-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #2B44D6 100%);
  color: #fff;
}

.section-cta h2 {
  color: #fff;
}

.section-cta .section-sub {
  color: rgba(255,255,255,0.85);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.section-cta .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.section-cta .btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.section-cta .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.section-cta .btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.footer-brand .logo-icon {
  width: 160px;
  height: 160px;
  border-radius: 16px;
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1rem;
  margin-top: 0;
}

.footer-brand p {
  margin-top: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Contact Page ---------- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
  text-align: center;
}

.page-header p {
  color: var(--text-light);
  margin-top: 12px;
  font-size: 1.1rem;
}

.contact-form-section {
  padding: 64px 0 80px;
  background: var(--bg-white);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Privacy Page ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.prose h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.prose p {
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

.prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose ul li {
  margin-bottom: 8px;
  color: var(--text-light);
}

/* ---------- Roadmap / Timeline ---------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 32px;
  position: relative;
}

.timeline-item + .timeline-item {
  margin-top: 0;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 3px var(--border);
  z-index: 1;
  flex-shrink: 0;
}

.timeline-item-active .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary), 0 0 16px rgba(61, 90, 241, 0.3);
}

.timeline-line {
  width: 3px;
  flex-grow: 1;
  background: linear-gradient(to bottom, var(--border), var(--border));
  min-height: 40px;
}

.timeline-content {
  padding-bottom: 48px;
  flex: 1;
}

.timeline-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.timeline-month {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.timeline-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.timeline-card-launch {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
}

.timeline-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.timeline-card-sub {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.timeline-card-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.timeline-badge-launch {
  background: var(--primary);
  color: #fff;
}

.timeline-badge-update {
  background: var(--accent);
  color: #fff;
}

.timeline-badge-major {
  background: var(--success);
  color: #fff;
}

.timeline-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.timeline-feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.timeline-feature strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--text);
}

.timeline-feature p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.roadmap-cta {
  margin-top: 64px;
  padding: 56px 32px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.roadmap-cta h2 {
  font-size: 1.8rem;
}

/* Timeline responsive */
@media (max-width: 768px) {
  .timeline-item {
    gap: 20px;
  }

  .timeline-marker {
    width: 28px;
  }

  .timeline-dot {
    width: 16px;
    height: 16px;
    border-width: 3px;
  }

  .timeline-card {
    padding: 24px 20px;
  }

  .timeline-card h2 {
    font-size: 1.25rem;
  }

  .timeline-year {
    font-size: 1.4rem;
  }

  .timeline-feature {
    flex-direction: column;
    gap: 4px;
  }

  .timeline-feature-icon {
    width: auto;
  }

  .roadmap-cta {
    padding: 40px 20px;
  }
}

/* ---------- About Page ---------- */
.about-story {
  max-width: 760px;
  margin: 0 auto;
}

.about-block {
  margin-bottom: 48px;
}

.about-block-content h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.about-block-content p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-block-highlight {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 40px 36px;
  border-left: 4px solid var(--primary);
}

.about-block-highlight .about-block-content h2 {
  color: var(--primary-dark);
}

.about-list {
  list-style: none;
  margin-top: 16px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.02rem;
}

.about-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.about-stat {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-block-personal {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 48px 40px;
  border: 2px solid var(--border);
  text-align: center;
}

.about-quote {
  font-size: 1.2rem !important;
  font-style: italic;
  color: var(--text) !important;
  line-height: 1.9 !important;
  max-width: 600px;
  margin: 0 auto 24px !important;
}

.about-signature strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
}

.about-signature span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-block-highlight,
  .about-block-personal {
    padding: 28px 20px;
  }

  .about-quote {
    font-size: 1.05rem !important;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 8px;
  color: #fff;
}

/* ---------- Video Section ---------- */
.section-video {
  background: var(--bg);
}

.video-wrapper {
  max-width: 800px;
  margin: 40px auto 0;
}

.video-placeholder {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  gap: 16px;
  cursor: default;
}

.video-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
}

.video-placeholder p {
  font-size: 0.95rem;
}

/* When video is ready, use this for responsive embed */
.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--radius-lg);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .teacher-feature,
  .teacher-feature-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .teacher-feature-reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Grids */
  .problem-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .screenshot-row {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .testimonials-grid,
  .pricing-grid,
  .pricing-grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-sub {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
  }
}
