/* EdTech Landing Styles */
:root {
  --bg-night: #0a0b10;
  --bg-card: #151821;
  --bg-card-hover: #1e2230;
  --indigo: #6366f1;
  --indigo-dark: #4f46e5;
  --coral: #f43f5e;
  --coral-hover: #e11d48;
  --emerald: #10b981;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: #6366f1;
  --radius: 12px;

  /* Emil Kowalski motion tokens */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration-normal: 240ms;
}

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

body {
  font-family: 'Geist', sans-serif;
  background-color: var(--bg-night);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

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

/* Topbar */
.topbar {
  background: #11131a;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse-dot {
  color: var(--coral);
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.topbar-timer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-timer span {
  color: var(--text-muted);
}
.timer-digits {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  background: rgba(244, 63, 94, 0.15);
  color: var(--coral);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* Header */
.header {
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-sym {
  color: var(--indigo);
  font-size: 22px;
}
.logo-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.logo-badge {
  background: rgba(99, 102, 241, 0.2);
  color: var(--indigo);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out), 
              background-color var(--duration-fast) var(--ease-out), 
              box-shadow var(--duration-fast) var(--ease-out);
  user-select: none;
}
.btn:active {
  transform: scale(0.97);
}
.btn-indigo {
  background: var(--indigo);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}
.btn-indigo:hover {
  background: var(--indigo-dark);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.5);
}
.btn-coral {
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.4);
}
.btn-coral:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  color: #ffffff;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-outline-light {
  background: transparent;
  border: 1.5px solid var(--border);
  color: #fff;
}
.btn-outline-light:hover {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.1);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}
.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(10, 11, 16, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
}
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.tag-tech {
  color: var(--indigo);
  font-weight: 700;
}
.hero-title {
  font-size: clamp(26px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  overflow-wrap: break-word;
}
.hero-title span {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 auto 30px;
  max-width: 700px;
}
.hero-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.htag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #cbd5e1;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.h-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.h-stat span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Sections Global */
.section {
  padding: 80px 0;
}
.bg-card {
  background-color: var(--bg-card);
}
.text-center {
  text-align: center;
}
.section-title {
  margin-bottom: 48px;
}
.badge-label {
  display: inline-block;
  color: var(--indigo);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title h2 {
  font-size: 34px;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Curriculum Accordion */
.accordion-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cur-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.cur-item.active {
  border-color: var(--indigo);
}
.cur-head {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  width: 100%;
  border: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
}
.cur-title-block {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cur-week {
  background: rgba(99, 102, 241, 0.15);
  color: var(--indigo);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.cur-head h3 {
  font-size: 17px;
}
.cur-arrow {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.cur-item.active .cur-arrow {
  transform: rotate(45deg);
}
.cur-body {
  padding: 0 26px 24px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.cur-item.active .cur-body {
  display: block;
}
.cur-tags {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.cur-tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: #cbd5e1;
}

/* ROI Calculator */
.roi-box {
  background: #10121a;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
}
.roi-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}
.roi-group {
  margin-bottom: 24px;
}
.slider-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}
.slider-row strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--indigo);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--indigo);
  height: 6px;
  background: #232733;
  border-radius: 4px;
  cursor: pointer;
}
.roi-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px;
  text-align: center;
}
.res-sub {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}
.res-delta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 34px;
  font-weight: 800;
  color: var(--emerald);
  margin: 6px 0 16px;
}
.res-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}
.res-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
}
.res-meta strong {
  color: #fff;
}
.roi-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* Mentors */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mentor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
}
.m-avatar {
  font-size: 40px;
  width: 64px;
  height: 64px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.mentor-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.m-role {
  color: var(--indigo);
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.mentor-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Tariffs Toggle */
.payment-toggle {
  display: inline-flex;
  background: var(--bg-night);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 30px;
  margin-top: 24px;
}
.toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring);
}
.toggle-btn:active {
  transform: scale(0.97);
}
.toggle-btn.active {
  background: var(--indigo);
  color: #fff;
}

/* Tariffs Grid */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t-card {
  background: var(--bg-night);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.t-card.featured {
  border-color: var(--coral);
  box-shadow: 0 16px 36px rgba(244, 63, 94, 0.15);
}
.feat-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}
.t-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.t-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 38px;
}
.t-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.t-price span {
  font-size: 14px;
  color: var(--text-muted);
}
.t-total {
  font-size: 12px;
  color: var(--indigo);
  margin-bottom: 24px;
  display: block;
}
.t-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 30px;
  flex-grow: 1;
}
.t-features strong {
  color: #fff;
}

/* Footer */
.footer {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 10px 0 4px;
}
.footer small {
  color: rgba(255, 255, 255, 0.4);
}
.footer-meta strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}
.footer-meta span {
  color: var(--text-muted);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.modal.active {
  display: flex;
  opacity: 1;
}
.modal.active .modal-win {
  transform: scale(1);
  opacity: 1;
}
.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.modal-win {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  padding: 34px;
  z-index: 2;
  transform: scale(0.95);
  opacity: 0;
  transition: transform var(--duration-normal) var(--ease-spring), opacity var(--duration-normal) var(--ease-out);
}

/* Live AI Sandbox Terminal */
.sandbox-section {
  padding: 70px 0;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}
.sandbox-card {
  background: #0f111a;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-width: 920px;
  margin: 32px auto 0;
}
.terminal-header {
  background: #181b26;
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.window-dots {
  display: flex;
  gap: 7px;
}
.w-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.sandbox-scenarios {
  display: flex;
  background: #131520;
  border-bottom: 1px solid var(--border);
  padding: 8px 14px;
  gap: 8px;
  overflow-x: auto;
}
.scenario-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-spring);
  white-space: nowrap;
}
.scenario-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.scenario-btn:active {
  transform: scale(0.97);
}
.scenario-btn.active {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.35);
}
.terminal-body {
  padding: 24px;
  min-height: 210px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #cbd5e1;
  background: #090a10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-x: auto;
  word-break: break-word;
}
.log-line {
  opacity: 0;
  animation: typeIn 0.3s forwards var(--ease-out);
}
@keyframes typeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.log-prompt { color: #818cf8; }
.log-time { color: #06b6d4; }
.log-accent { color: #f43f5e; font-weight: 700; }
.log-success { color: #10b981; font-weight: 700; }
.sandbox-footer-metrics {
  background: #131622;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.sb-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.sb-metric strong {
  color: #34d399;
}
.modal-x {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}
.modal-win h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.modal-win p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.modal-win form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.input-ed {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-night);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.input-ed:focus {
  border-color: var(--indigo);
}
.ed-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-stats, .roi-grid, .mentors-grid, .tariffs-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-flex {
    gap: 12px;
  }
  .header .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .terminal-body {
    padding: 16px 12px;
    font-size: 11.5px;
  }
  .sandbox-footer-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .roi-result-card {
    padding: 24px 16px;
  }
  .t-card {
    padding: 26px 18px;
  }
  .modal-win {
    width: min(92vw, 440px);
    padding: 24px 18px;
  }
}

