@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #0f1520;
  --bg-card: #131a2b;
  --bg-card-hover: #1a2340;
  --cyan: #00d4ff;
  --cyan-glow: rgba(0,212,255,0.15);
  --cyan-border: rgba(0,212,255,0.25);
  --blue: #1e3a8a;
  --blue-light: #3b82f6;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --gradient-cyan: linear-gradient(135deg, #00d4ff, #0066ff);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 30px rgba(0,212,255,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 34px 0; position: relative; }
.section-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px; display: inline-block;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2;
  margin-bottom: 20px;
}
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 640px; }
.text-gradient {
  background: var(--gradient-cyan); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.text-gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 1rem; cursor: pointer; border: none;
  transition: all 0.3s ease; text-decoration: none;
}
.btn-primary {
  background: var(--gradient-gold); color: #000;
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(245,158,11,0.5); }
.btn-secondary {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--cyan-border);
}
.btn-secondary:hover { background: var(--cyan-glow); border-color: var(--cyan); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Cards */
.card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 28px; transition: all 0.3s ease;
}
.card:hover { border-color: var(--cyan-border); transform: translateY(-4px); box-shadow: var(--shadow-glow); }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; backdrop-filter: blur(20px);
  background: rgba(10,14,23,0.8); border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}
.navbar.scrolled { padding: 10px 0; background: rgba(10,14,23,0.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); text-decoration: none; }
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta .btn { padding: 10px 24px; font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ============ HERO ============ */
.hero { padding: 160px 0 34px; position: relative; min-height: 100vh; display: flex; align-items: center; }
.hero::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan-glow); border: 1px solid var(--cyan-border);
  border-radius: 50px; padding: 6px 16px; font-size: 0.8rem; color: var(--cyan);
  margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.15; margin-bottom: 24px; }
.hero p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; margin-bottom: 48px; }
.hero-actions .btn { padding-inline: 24px; white-space: nowrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.stat-card .num { font-size: 1.8rem; font-weight: 800; color: var(--cyan); font-family: 'JetBrains Mono'; }
.stat-card .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.hero-visual {
  position: relative; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 24px; overflow: hidden;
  align-self: start;
}
.hero-visual::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-cyan);
}
.hero-photo-card {
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), var(--shadow-glow);
}
.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: brightness(1.12) contrast(1.05);
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-photo-caption {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(10,14,23,0.82);
  backdrop-filter: blur(14px);
}
.hero-photo-caption span {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
}
.hero-photo-caption strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.35;
}
.code-header { display: flex; gap: 6px; margin-bottom: 16px; }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot:nth-child(1) { background: #ff5f57; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #28ca42; }
.code-block {
  font-family: 'JetBrains Mono', monospace; font-size: 0.74rem;
  line-height: 1.6; color: var(--text-secondary);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.hero-visual.visible .code-block { animation: codeRevealDown 1.5s ease-out 0.25s forwards; }
.code-block .keyword { color: #c084fc; }
.code-block .func { color: #38bdf8; }
.code-block .string { color: #4ade80; }
.code-block .comment { color: var(--text-muted); font-style: italic; }
.code-block .number { color: var(--gold); }

/* ============ PROBLEMS ============ */
.problems { background: var(--bg-secondary); }
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 48px; }
.problem-card { position: relative; padding-left: 20px; }
.problem-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, #ef4444, transparent); border-radius: 2px;
}
.problem-card .icon { font-size: 2rem; margin-bottom: 12px; }
.problem-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.problem-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ============ SOLUTION ============ */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.solution-card { text-align: center; padding: 36px 24px; }
.solution-card .icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.solution-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.solution-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ============ OUTCOMES ============ */
.outcomes { background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(0,212,255,0.035) 100%); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.outcome-card {
  border-top: 3px solid var(--gold);
}
.outcome-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.outcome-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ============ ROADMAP ============ */
.roadmap { background: var(--bg-secondary); }
.roadmap-timeline { position: relative; margin-top: 48px; }
.roadmap-timeline::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--cyan), var(--blue), var(--gold));
}
.roadmap-item { display: flex; gap: 32px; margin-bottom: 32px; position: relative; }
.roadmap-marker {
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--cyan-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: var(--cyan); z-index: 1;
  font-family: 'JetBrains Mono';
}
.roadmap-content { flex: 1; }
.roadmap-content .level-tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
}
.roadmap-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.roadmap-content p { font-size: 0.9rem; color: var(--text-secondary); }
.roadmap-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.roadmap-tags span {
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.15);
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; color: var(--cyan);
}

/* ============ WHO ============ */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 48px; }
.who-card { padding: 36px 28px; border-top: 3px solid var(--cyan); }
.who-card .persona { font-size: 1.5rem; margin-bottom: 12px; display: block; }
.who-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.who-card ul { list-style: none; }
.who-card li { padding: 6px 0; font-size: 0.9rem; color: var(--text-secondary); }
.who-card li::before { content: '→ '; color: var(--cyan); font-weight: 700; }
.who-card .outcome {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06);
  font-weight: 600; color: var(--gold); font-size: 0.9rem;
}

/* ============ INSTRUCTOR ============ */
.instructor { background: var(--bg-secondary); }
.instructor-grid { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; margin-top: 36px; }
.instructor-photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 2px solid var(--cyan-border);
  display: flex; align-items: center; justify-content: center; font-size: 6rem;
  overflow: hidden;
}
.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(1.08) contrast(1.04);
}
.instructor-info h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.instructor-info .tagline { color: var(--cyan); font-size: 0.95rem; margin-bottom: 20px; }
.instructor-info p { color: var(--text-secondary); margin-bottom: 16px; font-size: 0.95rem; }
.instructor-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,212,255,0.16);
  background: rgba(0,212,255,0.04);
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.instructor-contact strong { color: var(--text-primary); }
.instructor-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}
.instructor-detail-card {
  background: linear-gradient(180deg, rgba(59,130,246,0.18), var(--bg-card));
  border-color: rgba(0,212,255,0.18);
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  align-items: center;
  column-gap: 16px;
  row-gap: 18px;
  min-height: 290px;
  padding: 30px 28px;
}
.instructor-detail-card .detail-icon {
  font-size: 2rem;
  line-height: 1;
  margin: 0;
}
.instructor-detail-card h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 0;
}
.instructor-detail-card ul {
  grid-column: 1 / -1;
  list-style: none;
  display: grid;
  gap: 11px;
}
.instructor-detail-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.instructor-detail-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 800;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.trust-card { text-align: center; }
.trust-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}
.trust-card div:last-child {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }
.testimonial-card { padding: 32px; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 16px; font-size: 0.9rem; }
.testimonial-card blockquote { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gradient-cyan); display: flex; align-items: center;
  justify-content: center; flex: 0 0 72px; overflow: hidden;
  border: 3px solid var(--cyan-border);
  box-shadow: 0 0 24px rgba(0,212,255,0.12);
}
.testimonial-card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.testimonial-card .name { font-weight: 600; font-size: 0.9rem; }
.testimonial-card .role { font-size: 0.8rem; color: var(--text-muted); }

/* ============ COMMUNITY ============ */
.community { background: var(--bg-secondary); text-align: center; }
.community-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 48px; }
.community-feature { padding: 28px 20px; text-align: center; }
.community-feature .icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.community-feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.community-feature p { font-size: 0.85rem; color: var(--text-secondary); }
.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
  border: 1px solid var(--gold);
  box-shadow: 0 0 40px rgba(245,158,11,0.08);
}
.offer-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.offer-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.offer-card .btn { white-space: nowrap; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text-primary);
  font-size: 1rem; font-weight: 600; padding: 20px 0; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Inter', sans-serif;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--cyan); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 0 20px; color: var(--text-secondary); font-size: 0.95rem; }

/* ============ FINAL CTA ============ */
.final-cta {
  text-align: center; padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(0,212,255,0.05) 50%, var(--bg-primary) 100%);
}
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 20px; line-height: 1.3; }
.final-cta p { color: var(--text-secondary); margin-bottom: 36px; font-size: 1.1rem; }
.final-cta .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }

/* Consultation Google Form modal */
.consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.consultation-modal.open { display: flex; }
.consultation-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(5px);
}
.consultation-modal-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cyan-border);
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.65);
}
.consultation-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
}
.consultation-modal-close:hover { background: rgba(255,255,255,0.18); }
.consultation-iframe-wrap {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.consultation-iframe-wrap iframe {
  display: block;
  width: 100%;
  min-height: 1529px;
  border: 0;
  background: #ffffff;
}

/* Lead capture form */
.lead-form-card {
  max-width: 520px; margin: 48px auto 0; text-align: left;
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--cyan-border);
  box-shadow: 0 0 40px rgba(0,212,255,0.08);
}
.lead-form-card:hover { transform: none; }
.lead-form-intro { margin-bottom: 14px; }
.lead-form-intro[hidden],
.lead-form[hidden] { display: none !important; }
.lead-form-title {
  font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--text-primary); margin-bottom: 8px;
}
.lead-form-note { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.form-label .req { color: var(--gold); }
.form-input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1); background: var(--bg-secondary);
  color: var(--text-primary); font-family: inherit; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:hover { border-color: rgba(0,212,255,0.25); }
.form-input:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.lead-options {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  padding: 12px 14px;
}
.lead-options .form-label { margin-bottom: 4px; }
.option-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.option-item + .option-item { margin-top: 8px; }
.option-item input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: #00d4ff;
}
.payment-deposit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 12px 16px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(0, 212, 255, 0.06));
}
.payment-deposit-card[hidden] { display: none; }
.payment-deposit-card-result {
  margin-top: 2px;
  border-color: rgba(52, 211, 153, 0.36);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(0, 212, 255, 0.06));
}
.payment-success-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.payment-success-view[hidden] { display: none; }
.lead-modal-content.is-payment-mode .form-message {
  margin-top: 12px;
}
.payment-state {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.payment-state[hidden] { display: none; }
.payment-state strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.payment-state p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}
.payment-state-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(245,158,11,0.12);
}
.payment-paid-state {
  border-color: rgba(52, 211, 153, 0.36);
  background: rgba(52, 211, 153, 0.12);
}
.payment-deposit-copy {
  display: grid;
  gap: 6px;
}
.payment-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.payment-deposit-copy strong {
  color: var(--text-primary);
  font-size: 1.35rem;
  line-height: 1;
}
.payment-deposit-copy p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.payment-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  background: #ffffff;
}
.payment-qr-wrap img {
  width: 132px;
  height: auto;
  display: block;
}
.payment-bank-info {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.payment-bank-info div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.payment-bank-info strong {
  color: var(--text-primary);
  text-align: right;
  overflow-wrap: anywhere;
}
.lead-form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.lead-form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.form-message {
  margin-top: 10px; min-height: 0; font-size: 0.95rem; font-weight: 500; text-align: center;
}
.form-message.success { color: #34d399; }
.form-message.error { color: #f87171; }

/* Lead modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lead-modal.open { display: flex; }

.lead-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(5px);
}

.lead-modal-content {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cyan-border);
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.65);
}

.lead-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
}

.lead-modal-close:hover { background: rgba(255,255,255,0.18); }
body.modal-open { overflow: hidden; }

/* ============ SALES CHATBOT ============ */
.sales-chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 220;
  font-family: 'Inter', sans-serif;
}
.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--cyan-border);
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(19,26,43,0.96), rgba(15,21,32,0.96));
  color: var(--text-primary);
  box-shadow: 0 16px 40px rgba(2,6,23,0.45), var(--shadow-glow);
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chatbot-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(0,212,255,0.14), rgba(19,26,43,0.98));
}
.chatbot-toggle-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-cyan);
  color: #001018;
  font-size: 1rem;
}
.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  display: none;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-lg);
  background: rgba(10,14,23,0.98);
  box-shadow: 0 24px 70px rgba(2,6,23,0.72);
}
.sales-chatbot.open .chatbot-panel { display: grid; }
.sales-chatbot.open .chatbot-toggle-text { display: none; }
.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(245,158,11,0.07));
}
.chatbot-kicker {
  margin-bottom: 3px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.chatbot-header strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.35;
}
.chatbot-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}
.chatbot-close:hover { background: rgba(255,255,255,0.16); }
.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.chatbot-message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-line;
}
.chatbot-message.bot {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-secondary);
}
.chatbot-message.user {
  align-self: flex-end;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.22);
  color: var(--text-primary);
}
.chatbot-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gradient-gold);
  color: #111827;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
}
.chatbot-suggestions {
  display: flex;
  gap: 8px;
  padding: 0 18px 14px;
  overflow-x: auto;
}
.chatbot-suggestions button {
  flex: 0 0 auto;
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(0,212,255,0.06);
  color: var(--cyan);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}
.chatbot-suggestions button:hover {
  border-color: var(--cyan);
  background: var(--cyan-glow);
}
.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(15,21,32,0.96);
}
.chatbot-form input {
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 12px 14px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.9rem;
}
.chatbot-form input::placeholder { color: var(--text-muted); }
.chatbot-form input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.chatbot-form button {
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--gradient-cyan);
  color: #001018;
  cursor: pointer;
  font-weight: 800;
}

/* ============ FOOTER ============ */
.footer { padding: 56px 0 34px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  text-align: left;
}
.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.footer p { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }
.footer-note {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
}

/* ============ ANIMATIONS ============ */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes codeRevealDown {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 680px;
    opacity: 1;
  }
}

.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .instructor-grid { grid-template-columns: 1fr; }
  .instructor-detail-grid { grid-template-columns: 1fr; }
  .instructor-photo { max-width: 320px; }
}

@media (max-width: 768px) {
  .section { padding: 24px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 120px 0 24px; min-height: auto; }
  .hero-visual { margin-top: 24px; padding: 18px; }
  .code-block { font-size: 0.68rem; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-card { padding: 14px 8px; }
  .stat-card .num { font-size: 1.35rem; }
  .stat-card .label { font-size: 0.7rem; }
  .problems-grid, .solution-grid, .outcomes-grid, .who-grid, .testimonials-grid, .trust-grid { grid-template-columns: 1fr; }
  .community-features { grid-template-columns: repeat(2, 1fr); }
  .offer-card { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .roadmap-timeline::before { left: 18px; }
  .roadmap-marker { width: 40px; height: 40px; min-width: 40px; font-size: 0.9rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .lead-modal-content { padding: 24px 20px; }
  .consultation-modal-content { padding: 24px 16px; }
  .consultation-iframe-wrap iframe { min-height: 1650px; }
  .sales-chatbot {
    right: 14px;
    bottom: 14px;
  }
  .chatbot-panel {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 96px);
    bottom: 66px;
  }
  .chatbot-toggle {
    padding: 10px 14px;
  }
  .chatbot-toggle-icon {
    width: 32px;
    height: 32px;
  }
  .chatbot-message {
    max-width: 94%;
    font-size: 0.86rem;
  }
}

@media (max-width: 480px) {
  .community-features { grid-template-columns: 1fr; }
}
