* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: #1a1a2e;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
}

.nav-logo {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: #4ade80;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger becomes an X when open */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 6px 0;
}

.nav-links a:hover {
  color: #4ade80;
}

/* Active nav link — current page */
.nav-links a.active {
  color: #4ade80;
  font-weight: 700;
  pointer-events: none;
  cursor: default;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #4ade80;
  border-radius: 2px;
}

.nav-links a.nav-cta {
  background: #4ade80;
  color: #1a1a2e;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
}

.nav-links a.nav-cta:hover {
  background: #22c55e;
  color: #1a1a2e;
}

.nav-links a.nav-cta.active {
  color: #1a1a2e;
  pointer-events: none;
}

.nav-links a.nav-cta.active::after {
  display: none;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f8f9fc;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #4ade80;
}

.subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-btn {
  display: inline-block;
  background: #4ade80;
  color: #1a1a2e;
  padding: 16px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 222, 128, 0.3);
}

.urgency {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #fbbf24;
}

/* Features */
.features {
  padding: 80px 0;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #f8f9fc;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Enrollment Form */
.enroll {
  padding: 80px 0;
}

.enroll h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 40px;
}

#admissionForm {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #4ade80;
}

.form-group small {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pay-btn {
  width: 100%;
  padding: 18px;
  background: #1a1a2e;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.pay-btn:hover {
  background: #16213e;
  transform: translateY(-1px);
}

.pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.secure-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #64748b;
}

/* Success / Error */
.hidden {
  display: none;
}

#successMessage {
  text-align: center;
  padding: 40px;
  background: #f0fdf4;
  border-radius: 16px;
  margin-top: 24px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #4ade80;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

#errorMessage {
  text-align: center;
  padding: 24px;
  background: #fef2f2;
  border-radius: 16px;
  margin-top: 24px;
  color: #dc2626;
}

footer {
  text-align: center;
  padding: 32px;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ===== INNER PAGES ===== */
.page-content {
  padding: 60px 0 80px;
  background: white;
  min-height: calc(100vh - 200px);
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.25;
}

.page-content > .container > p:first-of-type {
  font-size: 1.05rem;
  color: #64748b;
  margin-bottom: 32px;
}

.page-content h2 {
  font-size: 1.35rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: #1a1a2e;
}

.page-content p {
  margin-bottom: 16px;
  color: #334155;
}

.page-content ul {
  margin-left: 22px;
  margin-bottom: 20px;
}

.page-content li {
  margin-bottom: 10px;
  color: #334155;
}

.page-content strong {
  color: #1a1a2e;
}

/* Text links inside page content */
.text-link {
  color: #16a34a;
  text-decoration: underline;
  font-weight: 600;
}

.text-link:hover {
  color: #15803d;
}

/* FAQ items */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 22px 0;
}

.faq-item:last-of-type {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.faq-item p {
  color: #64748b;
  margin: 0;
}

/* Thank-you page */
.thank-you {
  text-align: center;
}

.thank-you .success-icon {
  margin: 20px auto 24px;
}

.thank-you ul {
  display: inline-block;
  text-align: left;
  margin: 24px auto;
}

.thank-you .cta-btn {
  margin-top: 16px;
}

/* ===== CURRICULUM PAGE ===== */
.curriculum-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 60px 0 50px;
  text-align: center;
}

.curriculum-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.curriculum-hero p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.journey-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #4ade80;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 6px;
  display: block;
}

/* Week cards */
.weeks {
  padding: 60px 0;
  background: #f8f9fc;
}

.week-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-left: 6px solid #4ade80;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.week-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
}

.week-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.week-badge {
  background: #1a1a2e;
  color: #4ade80;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.week-emoji {
  font-size: 2rem;
  line-height: 1;
}

.week-card h2 {
  font-size: 1.35rem;
  margin: 0;
  color: #1a1a2e;
}

.week-card p.week-tagline {
  color: #64748b;
  font-style: italic;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.week-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.week-card ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #334155;
  font-size: 0.98rem;
}

.week-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Final project card — different color */
.week-card.final {
  border-left-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.week-card.final .week-badge {
  background: #fbbf24;
  color: #1a1a2e;
}

.week-card.final ul li::before {
  background: #fef3c7;
  color: #d97706;
}

/* Requirements card */
.requirements {
  background: #1a1a2e;
  color: white;
  border-radius: 20px;
  padding: 40px 32px;
  margin-top: 40px;
}

.requirements h2 {
  color: #4ade80;
  margin-bottom: 20px;
  font-size: 1.35rem;
}

.requirements ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.requirements li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.requirements li span.req-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* CTA at bottom */
.curriculum-cta {
  text-align: center;
  padding: 60px 0;
  background: white;
}

.curriculum-cta h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.curriculum-cta p {
  color: #64748b;
  margin-bottom: 28px;
}

/* ===== MOBILE ===== */
@media (max-width: 700px) {
  .nav-container {
    padding: 14px 20px;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  }

  .nav-links.open {
    max-height: 600px;
    padding: 12px 0 20px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.nav-cta {
    margin: 12px 20px 0;
    border-radius: 8px;
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  #admissionForm { padding: 24px; }

  .curriculum-hero h1 { font-size: 1.7rem; }
  .week-card { padding: 24px 20px; }
  .week-card h2 { font-size: 1.15rem; }
  .week-header { flex-wrap: wrap; gap: 10px; }
  .requirements { padding: 32px 20px; }
}
/* ===== AUTH STAGES ===== */
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: 12px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  color: #64748b;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.auth-tab.active {
  background: white;
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.auth-form {
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.verify-box {
  background: white;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.verify-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.verify-box h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.verify-box p {
  color: #64748b;
  margin-bottom: 24px;
}

.verify-box .form-group {
  text-align: left;
  max-width: 320px;
  margin: 0 auto 20px;
}

.verify-box input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.5em;
  font-weight: 700;
}

.verify-box .pay-btn {
  max-width: 320px;
  margin: 0 auto;
}

.verify-error {
  color: #dc2626;
  margin-top: 12px;
  font-size: 0.9rem;
}

.verified-banner {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  padding: 12px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.verified-banner span {
  color: #166534;
}

#admissionForm input[readonly] {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}
/* ===== INTRO SECTION (What is Coding / AI) ===== */
.intro-section {
  padding: 60px 0 20px;
  background: white;
}

.intro-card {
  background: #f0fdf4;
  border-left: 6px solid #4ade80;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.intro-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.intro-card h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #1a1a2e;
}

.intro-card p {
  color: #334155;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.7;
}

.intro-card p:last-child {
  margin-bottom: 0;
}

.intro-card strong {
  color: #15803d;
}

@media (max-width: 600px) {
  .intro-card {
    padding: 24px 20px;
  }
  .intro-card h2 {
    font-size: 1.15rem;
  }
}
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  flex: 1 1 50%;
}

.hero-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Stack on phones */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-text,
  .hero-image {
    flex: 1 1 100%;
  }
}