/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0b0f;
  --bg2: #0f1117;
  --bg3: #141720;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --accent: #6366f1;
  --accent2: #a5b4fc;
  --accent-glow: rgba(99,102,241,0.3);
  --green: #10b981;
  --red: #ef4444;
  --yellow: #f59e0b;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

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

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

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo-img {
  height: 96px;
  width: auto;
  display: block;
}

.nav-logo {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }

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

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

@media (max-width: 700px) {
  .nav-hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 16px;
    gap: 4px;
  }

  .nav-menu.open { display: flex; }

  .nav-link { padding: 10px 12px; }

  .nav-cta { text-align: center; margin-top: 8px; }
}

/* ===== HERO ===== */
.hero {
  padding: 140px 24px 100px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto 32px;
}

.presenter-line {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

.hero-badge {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--accent2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #fff;
}

.gradient-text {
  font-size: clamp(1.75rem, 4.9vw, 3.15rem);
  background: linear-gradient(135deg, #a855f7, #7c3aed, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.2); }

.btn-large { padding: 18px 36px; font-size: 1.1rem; }

/* ===== TERMINAL ===== */
.hero-terminal {
  max-width: 620px;
  margin: 0 auto;
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,58,237,0.1);
  text-align: left;
}

.terminal-bar {
  background: #161b22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca41; }

.terminal-title {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 20px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
}

.terminal-line { display: flex; gap: 8px; align-items: baseline; }
.terminal-line.dim { color: var(--text-dim); }
.terminal-line.fade-line { color: var(--text-muted); }

.prompt { color: var(--green); font-weight: 600; }

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent2);
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== STATS ===== */
.stats {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}

.stats-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--accent2);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===== PROBLEM ===== */
.problem {
  padding: 96px 24px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.problem h2 { margin-bottom: 24px; }

.problem p {
  font-size: 1.125rem;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.problem-highlight {
  color: var(--text) !important;
  font-size: 1.2rem !important;
  padding: 24px 32px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius);
  margin-top: 24px !important;
}

/* ===== ANATOMY ===== */
.anatomy {
  padding: 96px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.anatomy-header {
  text-align: center;
  margin-bottom: 48px;
}

.badge-mini {
  display: inline-block;
  background: rgba(124,58,237,0.1);
  color: var(--accent2);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.infographic-container {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.infographic-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .infographic-container {
    padding: 12px;
    border-radius: var(--radius);
  }
}

/* ===== WHAT YOU GET ===== */
.what-you-get {
  padding: 96px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-4px);
}

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

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

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

/* ===== SHOWCASE ===== */
.showcase {
  padding: 96px 24px;
}

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

.tutor-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.tutor-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-3px);
}

.tutor-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.tutor-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent2);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.tutor-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.tutor-topic {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tutor-project {
  font-size: 0.8rem;
  color: var(--accent2);
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.tutor-bio { font-size: 0.875rem; color: var(--text-dim); line-height: 1.6; }

.showcase-more {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== TOPICS ===== */
.topics {
  padding: 96px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.topic-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.topic-columns ul {
  list-style: none;
}

.topic-columns li {
  font-size: 0.875rem;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: 'JetBrains Mono', monospace;
  transition: color 0.15s;
}

.topic-columns li:hover { color: var(--text); }

/* ===== WHO IT'S FOR ===== */
.for-who { padding: 96px 24px; }

.for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.for-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.for-card:hover { border-color: rgba(124,58,237,0.3); }

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

.for-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.for-card p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }

/* ===== PRICING ===== */
.pricing {
  padding: 96px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  text-align: center;
}

.pricing-card {
  max-width: 500px;
  margin: 40px auto 32px;
  background: var(--bg3);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 0 60px rgba(124,58,237,0.1);
}

.pricing-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.pricing-dollar {
  font-size: 2.5rem;
  vertical-align: super;
  font-weight: 700;
  color: var(--text-dim);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::first-letter { color: var(--green); }

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

.pricing-compare {
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* ===== FAQ ===== */
.faq {
  padding: 96px 24px;
}

.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: rgba(124,58,237,0.3);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent2);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--accent2); }

.faq-a {
  display: none;
  padding: 0 24px 20px;
}

.faq-a.open { display: block; }

.faq-a p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 120px 24px;
  text-align: center;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 700px;
  margin: 0 auto 36px;
  position: relative;
}

.final-small {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== VIDEO DEMOS ===== */
.videos { padding: 80px 24px; }

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

.video-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.video-card video {
  width: 100%;
  display: block;
  background: #000;
}

.video-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.video-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 4px;
}

.video-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.video-topic {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: auto;
}

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* ===== FOOTER ===== */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 6px; }
.footer-small { font-size: 0.75rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .topic-columns { grid-template-columns: repeat(2, 1fr); }
  .for-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .tutor-grid { grid-template-columns: 1fr; }
  .topic-columns { grid-template-columns: repeat(2, 1fr); }
  .for-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 24px 80px; }
  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .topic-columns { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .pricing-amount { font-size: 4rem; }
}
