/* === TOKENS === */
:root {
  --black: #000;
  --white: #fff;
  --gray-100: #eee;
  --gray-200: #ccc;
  --gray-300: #aaa;
  --gray-400: #999;
  --gray-500: #888;
  --gray-600: #666;
  --gray-700: #555;
  --gray-800: #444;
  --gray-900: #333;
  --gray-950: #1a1a1a;
  --gray-970: #141414;
  --gray-980: #111;
  --gray-990: #0a0a0a;
  --purple: #7c6aef;
  --purple-dark: #5b4fcf;
  --purple-glow: rgba(124, 106, 239, 0.15);
  --purple-faint: rgba(124, 106, 239, 0.06);
  --purple-border: rgba(124, 106, 239, 0.33);
  --purple-subtle: rgba(124, 106, 239, 0.04);
  --font-heading: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Inter', sans-serif;
  --nav-height: 56px;
  --status-height: 30px;
  --max-width: 960px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; }
img { max-width: 100%; display: block; }

/* === GRID BG === */
.wire-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* === CANVAS === */
#hero-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh;
  pointer-events: none; z-index: 0;
  opacity: 0.4;
}

/* === SHARED === */
section { position: relative; z-index: 1; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  max-width: var(--max-width); margin: 0 auto;
  opacity: 0.3;
}

.section-header { margin-bottom: 48px; }

.section-label {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--purple);
  letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 10px; font-weight: 700;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px; font-weight: 800;
  color: var(--white); letter-spacing: -1px;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--purple);
  letter-spacing: 4px; margin-bottom: 20px;
  text-transform: uppercase; font-weight: 700;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #hero-canvas { display: none; }
  .node, .wire { display: none; }
}

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  height: var(--nav-height);
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-950);
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 800;
  letter-spacing: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

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

.nav-links {
  display: flex; gap: 28px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: 1px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  background: var(--purple); color: var(--white);
  border: none;
  font-family: var(--font-mono);
  font-size: 11px; border-radius: 4px;
  letter-spacing: 1px; font-weight: 700;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--white); color: var(--black); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 32px 60px;
  position: relative;
}

.hero-nodes {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}

.node {
  position: absolute;
  background: var(--purple-faint);
  border: 1px solid var(--purple-glow);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 9px; color: var(--purple-dark);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.node::before, .node::after {
  content: ''; position: absolute; top: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple); transform: translateY(-50%);
  box-shadow: 0 0 6px var(--purple);
}
.node::before { left: -4px; }
.node::after { right: -4px; }

.wire {
  position: absolute; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,106,239,0.4), transparent);
}

.hero-content { position: relative; z-index: 2; }

.hero h1 {
  font-family: var(--font-heading);
  font-size: 72px; font-weight: 800;
  line-height: 1.0; letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px; color: var(--gray-400);
  margin-bottom: 12px;
}

.hero-topics {
  font-size: 13px; color: var(--gray-700);
  font-family: var(--font-mono);
  margin-bottom: 36px;
}
.hero-topics span { color: var(--purple); font-weight: 700; }

.cta-main {
  display: inline-block;
  padding: 16px 40px;
  background: var(--purple); color: var(--white);
  border: none;
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 2px;
  border-radius: 4px; font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s;
}
.cta-main:hover {
  background: var(--white); color: var(--black);
  box-shadow: 0 0 40px rgba(255,255,255,0.15);
}

.scroll-hint {
  position: absolute; bottom: 28px;
  font-family: var(--font-mono);
  font-size: 10px; color: var(--gray-900);
  letter-spacing: 3px;
}

/* === LEARN === */
.learn {
  padding: 100px 40px;
  max-width: var(--max-width); margin: 0 auto;
}

.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.learn-card {
  background: var(--purple-faint);
  border: 1px solid var(--gray-950);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.3s;
}
.learn-card:hover {
  border-color: var(--purple);
  background: rgba(124,106,239,0.06);
  transform: translateY(-2px);
}

.card-top {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}

.card-icon {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--black);
  padding: 6px 10px;
  background: var(--purple);
  border-radius: 4px; font-weight: 700;
}

.learn-card h3 {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700;
}

.learn-card p {
  font-size: 14px; color: var(--gray-500);
  line-height: 1.7;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.tag {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--purple);
  padding: 3px 10px;
  border: 1px solid var(--purple-border);
  border-radius: 3px;
  background: rgba(124,106,239,0.05);
}

/* === ABOUT === */
.about {
  padding: 100px 40px;
  max-width: var(--max-width); margin: 0 auto;
  display: flex; gap: 48px; align-items: center;
}

.about-photo {
  width: 220px; height: 280px;
  border: 2px solid var(--gray-950);
  border-radius: 10px; flex-shrink: 0;
  overflow: hidden;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 800;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 15px; color: var(--gray-400);
  line-height: 1.8; margin-bottom: 12px;
}
.about-text p strong { color: var(--white); font-weight: 600; }

.about-stats {
  display: flex; gap: 32px; margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-950);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 800;
  color: var(--purple);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 2px;
}

/* === HOW IT WORKS === */
.how {
  padding: 100px 40px;
  max-width: var(--max-width); margin: 0 auto;
}

.steps {
  display: flex; position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 32px;
  left: 32px; right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), rgba(124,106,239,0.25));
}

.step { flex: 1; text-align: center; padding: 0 16px; }

.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--purple);
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-mono);
  font-size: 18px; color: var(--purple); font-weight: 700;
  position: relative; z-index: 1;
  box-shadow: 0 0 20px var(--purple-glow);
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 13px; color: var(--gray-500);
  line-height: 1.6;
}

/* === PRICING === */
.pricing {
  padding: 100px 40px;
  max-width: var(--max-width); margin: 0 auto;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.price-card {
  background: var(--gray-990);
  border: 1px solid var(--gray-950);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.price-card:hover { border-color: var(--gray-900); transform: translateY(-3px); }

.price-card.featured {
  border-color: var(--purple);
  background: var(--purple-subtle);
  position: relative;
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.05); }

.price-card.featured::before {
  content: 'BEST VALUE';
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--purple); color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px; padding: 4px 16px;
  border-radius: 4px; letter-spacing: 2px; font-weight: 700;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700;
  margin-bottom: 4px;
}

.plan-sessions {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--gray-700);
  margin-bottom: 20px;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 48px; font-weight: 800;
  line-height: 1;
}
.plan-price .currency {
  font-size: 24px; color: var(--purple);
  vertical-align: top; margin-right: 2px;
}

.plan-per {
  font-size: 12px; color: var(--gray-700);
  margin-bottom: 4px; margin-top: 4px;
}

.plan-save {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--purple);
  margin-bottom: 20px; font-weight: 700;
  min-height: 16px;
}

.plan-features { text-align: left; margin-bottom: 24px; }

.plan-features li {
  font-size: 13px; color: var(--gray-300);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-970);
}
.plan-features li::before {
  content: '>';
  font-family: var(--font-mono);
  color: var(--purple); margin-right: 10px; font-weight: 700;
}

.plan-btn {
  display: block; width: 100%;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid var(--gray-900);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px; border-radius: 4px;
  letter-spacing: 1px; font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.2s;
}
.plan-btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.price-card.featured .plan-btn {
  border-color: var(--purple); background: var(--purple); color: var(--white);
}
.price-card.featured .plan-btn:hover {
  background: var(--white); color: var(--black); border-color: var(--white);
}

/* === FAQ === */
.faq {
  padding: 100px 40px;
  max-width: 750px; margin: 0 auto;
}

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

.faq-q {
  display: block; width: 100%;
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  color: var(--white);
  background: none; border: none;
  text-align: left;
  padding: 24px 0 24px 26px;
  position: relative;
  cursor: pointer;
}
.faq-q::before {
  content: '>';
  font-family: var(--font-mono);
  color: var(--purple);
  position: absolute; left: 0; top: 24px;
  font-size: 14px; font-weight: 700;
  transition: transform 0.2s;
}
.faq-q[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.faq-a {
  font-size: 14px; color: var(--gray-500);
  line-height: 1.7;
  padding: 0 0 24px 26px;
  display: none;
}
.faq-a.open { display: block; }

/* === BOOK === */
.book {
  padding: 100px 40px 80px;
  text-align: center;
  max-width: 650px; margin: 0 auto;
}
.book .section-title { font-size: 48px; margin-bottom: 16px; }
.book p {
  font-size: 16px; color: var(--gray-500);
  margin-bottom: 32px; line-height: 1.7;
}

.cta-final {
  display: inline-block;
  padding: 18px 48px;
  background: var(--purple); color: var(--white);
  border: none; border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 15px; letter-spacing: 2px;
  font-weight: 700; text-transform: uppercase;
  transition: all 0.2s;
}
.cta-final:hover {
  background: var(--white); color: var(--black);
  box-shadow: 0 0 60px rgba(255,255,255,0.1);
}

.cta-sub {
  margin-top: 14px;
  font-size: 12px; color: var(--gray-800);
  font-family: var(--font-mono);
}

/* === FOOTER === */
.footer {
  padding: 28px 40px;
  border-top: 1px solid var(--gray-980);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px; color: var(--gray-900);
  max-width: var(--max-width); margin: 0 auto;
  padding-bottom: calc(28px + var(--status-height));
}
.footer a { color: var(--gray-600); transition: color 0.2s; }
.footer a:hover { color: var(--purple); }

/* === STATUS BAR === */
.status-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--status-height);
  background: rgba(0,0,0,0.95);
  border-top: 1px solid var(--gray-950);
  display: flex; align-items: center; padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 10px; color: var(--gray-900);
  gap: 24px; z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple);
  display: inline-block; margin-right: 8px;
  box-shadow: 0 0 8px var(--purple);
}

.status-right { margin-left: auto; }

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 768px) {
  .nav { padding: 0 24px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-950);
    padding: 24px;
    flex-direction: column; gap: 20px;
  }
  .nav-menu.open { display: flex; }

  .nav-links { flex-direction: column; gap: 16px; }

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

  /* Hamburger animation */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero h1 { font-size: 48px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .cta-main { padding: 14px 32px; font-size: 12px; }

  .section-title { font-size: 32px; }

  .learn-grid { grid-template-columns: 1fr; }

  .about { flex-direction: column; text-align: center; }
  .about-stats { justify-content: center; }

  .steps { flex-direction: column; gap: 32px; }
  .steps::before { display: none; }

  .price-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-3px); }

  .book .section-title { font-size: 36px; }

  .footer { flex-direction: column; gap: 8px; align-items: center; }

  .status-bar { font-size: 9px; gap: 12px; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero { padding: 80px 20px 40px; }
  .hero h1 { font-size: 36px; }
  .hero-topics { font-size: 11px; }
  .cta-main { padding: 12px 24px; font-size: 11px; letter-spacing: 1px; }

  .learn, .about, .how, .pricing, .faq, .book { padding: 60px 20px; }

  .section-title { font-size: 28px; }

  .learn-card { padding: 20px; }
  .learn-card h3 { font-size: 18px; }

  .about-photo { width: 160px; height: 200px; }
  .about-text h2 { font-size: 26px; }
  .about-stats { gap: 20px; }
  .stat-num { font-size: 24px; }

  .plan-price { font-size: 40px; }

  .book .section-title { font-size: 32px; }
  .cta-final { padding: 14px 32px; font-size: 13px; }
}
