@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #05080d;
  --panel: rgba(17, 24, 36, 0.84);
  --panel-2: rgba(20, 29, 42, 0.92);
  --border: #263140;
  --text: #f4f7fb;
  --muted: #9aa4b2;
  --muted-2: #748091;
  --teal: #00b8a9;
  --teal-2: #00d4bd;
  --blue: #4568ff;
  --purple: #7257ff;
  --coral: #ff5a64;
  --gold: #f5b942;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --button-grad: linear-gradient(135deg, var(--teal), #10d3c4);
  --robot-grad: linear-gradient(135deg, var(--blue), var(--purple));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 35%, rgba(0, 184, 169, 0.07), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(0, 184, 169, 0.04), transparent 28rem),
    linear-gradient(180deg, #05080d 0%, #070b12 52%, #05080d 100%);
}

#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header and navigation */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 14px;
  z-index: 40;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  height: 130px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
  font-size: 14px;
  color: #d7dee9;
}

.brand img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  padding: 4px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.logo-only {
  gap: 0 !important;
}

.logo-only img {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #929aa7;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  color: #03100f !important;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--teal);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 184, 169, 0.18);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

/* Hero */
.hero {
  max-width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 190px 22px 70px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 54px;
  align-items: center;
  position: relative;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 3;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.pill,
.info-pill,
.section-kicker,
.price-card small {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid transparent;
  background: rgba(17, 24, 36, 0.74);
}

.pill.blue {
  color: #8fb2ff;
  border-color: rgba(69, 104, 255, 0.36);
  background: rgba(69, 104, 255, 0.12);
}

.pill.purple,
.pill.lilac {
  color: #b7a8ff;
  border-color: rgba(114, 87, 255, 0.34);
  background: rgba(114, 87, 255, 0.11);
}

.pill.teal {
  color: var(--teal-2);
  border-color: rgba(0, 184, 169, 0.36);
  background: rgba(0, 184, 169, 0.10);
}

.pill.green {
  color: #5ee7b7;
  border-color: rgba(52, 211, 153, 0.30);
  background: rgba(52, 211, 153, 0.10);
}

.info-pill,
.section-kicker,
.price-card small {
  color: var(--teal-2);
  background: rgba(0, 184, 169, 0.10);
  border-color: rgba(0, 184, 169, 0.42);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 670px;
  font-size: clamp(34px, 4.2vw, 55px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
  color: #f3f6fb;
}

.headline-line {
  width: 170px;
  height: 7px;
  border-radius: 999px;
  background: var(--button-grad);
  margin-bottom: 22px;
}

.hero-text,
.section-lead,
.contact-copy p,
..feature-card p,
.price-card p,
.footer p,
.video-card p,
.video-note {
  color: var(--muted);
}

.hero-text {
  max-width: 640px;
  font-size: 19px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #04110f;
  background: var(--teal);
  box-shadow: 0 18px 38px rgba(0, 184, 169, 0.18);
}

.btn.secondary {
  color: #e8eef8;
  background: rgba(20, 29, 42, 0.96);
  border-color: #2a3442;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card,
.dashboard-card,
.feature-card,
.price-card,
.contact-card,
.video-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stat-card {
  border-radius: 18px;
  padding: 18px;
}

.stat-card strong {
  display: block;
  color: var(--teal-2);
  font-size: 31px;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
}

/* Dashboard mockup */
.dashboard-card {
  border-radius: 28px;
  padding: 20px;
  background: rgba(18, 26, 37, 0.88);
}

.dashboard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.dashboard-top p {
  margin: 0 0 0 8px;
  color: #9faabc;
  font-weight: 800;
}

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

.window-dot.red {
  background: #fb7185;
}

.window-dot.yellow {
  background: #facc15;
}

.window-dot.green {
  background: #4ade80;
}

.robot-stage {
  position: relative;
  min-height: 250px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(30, 42, 64, 0.95), rgba(25, 31, 50, 0.96));
  border: 1px solid #2b3748;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.robot-head {
  width: 190px;
  height: 130px;
  border-radius: 40px;
  background: var(--robot-grad);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.robot-head::after {
  content: "";
  position: absolute;
  bottom: 28px;
  width: 80px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.robot-head i {
  width: 25px;
  height: 25px;
  background: #fff;
  border-radius: 50%;
}

.progress-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  background: rgba(17, 24, 36, 0.78);
  border: 1px solid #2b3748;
  border-radius: 18px;
  padding: 16px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.progress-header strong,
.task-item strong {
  color: #f3f6fb;
}

.progress-header span {
  color: #e8eef8;
}

.progress-bar {
  height: 12px;
  background: #2a3442;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(15, 22, 34, 0.82);
  border: 1px solid #2a3442;
  border-radius: 18px;
  padding: 16px;
}

.task-item.active {
  background: rgba(0, 184, 169, 0.08);
  border-color: rgba(0, 184, 169, 0.32);
}

.task-item span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #04110f;
  font-weight: 900;
  background: var(--teal);
}

.task-item small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

/* Floating mission cards */
.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 150px;
  padding: 15px;
  border-radius: 10px;
  background: rgba(19, 27, 38, 0.86);
  border: 1px solid #2a3442;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  color: #9ca6b6;
  font-size: 12px;
  z-index: 2;
}

.floating-card small {
  display: block;
  color: #9aa4b2;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 6px;
}

.mission-card {
  width: 190px;
  padding: 16px;
}

.mission-card strong {
  color: #f3f6fb;
  font-size: 13px;
  line-height: 1.35;
}

.mission-line {
  left: -285px;
  top: 27%;
}

.mission-maze {
  left: -245px;
  bottom: 21%;
}

.mission-soccer {
  right: -245px;
  top: 26%;
}

.mission-design {
  right: -225px;
  bottom: 18%;
}

.mini-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 14px;
}

.mini-icon.teal {
  color: var(--teal);
  background: rgba(0, 184, 169, 0.14);
}

.mini-icon.coral {
  color: var(--coral);
  background: rgba(255, 90, 100, 0.13);
}

.mini-icon.purple {
  color: var(--purple);
  background: rgba(114, 87, 255, 0.14);
}

.mini-icon.gold {
  color: var(--gold);
  background: rgba(245, 185, 66, 0.14);
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 22px;
  text-align: left;
}

.soft-section {
  max-width: none;
  padding-left: calc((100% - 1180px) / 2 + 22px);
  padding-right: calc((100% - 1180px) / 2 + 22px);
  background: rgba(10, 15, 24, 0.62);
  border-top: 1px solid #1d2530;
  border-bottom: 1px solid #1d2530;
}

.section .section-kicker,
.section h2,
.section .section-lead {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

h2 {
  max-width: 780px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  color: #f3f6fb;
}

.section-lead {
  max-width: 720px;
  font-size: 18px;
  margin-bottom: 34px;
}

.card-grid,
.program-grid,
.steps-grid,
.pricing-grid,
.video-grid,
.timetable-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.program-grid,
.steps-grid,
.pricing-grid,
.video-grid,
.timetable-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.price-card {
  border-radius: 18px;
  padding: 24px;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 23px;
}

.icon-box.teal {
  background: rgba(0, 184, 169, 0.14);
  color: var(--teal-2);
}

.icon-box.coral {
  background: rgba(255, 90, 100, 0.14);
  color: var(--coral);
}

.icon-box.purple {
  background: rgba(114, 87, 255, 0.16);
  color: #b7a8ff;
}

.icon-box.blue {
  background: rgba(69, 104, 255, 0.14);
  color: #8fb2ff;
}

.feature-card h3,
.price-card h3,
/* YouTube Thumbnail Video Cards */
.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #2a3442;
  margin-bottom: 18px;
  background: #0d131b;
  transition: 0.2s ease;
}

.video-thumb:hover {
  border-color: rgba(0, 184, 169, 0.55);
  transform: translateY(-2px);
}

.video-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.88;
  transition: 0.2s ease;
}

.video-thumb:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #04110f;
  background: rgba(0, 184, 169, 0.94);
  font-size: 28px;
  font-weight: 900;
  padding-left: 4px;
  box-shadow: 0 18px 36px rgba(0, 184, 169, 0.28);
}

.video-frame,
.video-frame iframe,
.video-placeholder {
  display: none;
}

.video-card h3 {
  color: #f3f6fb;
}


.program-card strong {
  font-size: 20px;
}

.program-card span {
  font-weight: 700;
}


/* Timetable Section */
.timetable-section h2 {
  max-width: 900px;
}

.timetable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.timetable-day {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(10px);
}

.timetable-day h3 {
  color: #f3f6fb;
  font-size: 26px;
  margin-bottom: 20px;
}

.time-slot {
  padding: 18px;
  border: 1px solid #2a3442;
  border-radius: 16px;
  background: rgba(15, 22, 34, 0.72);
  margin-bottom: 14px;
}

.time-slot strong {
  display: block;
  color: var(--teal-2);
  font-size: 20px;
  margin-bottom: 5px;
}

.time-slot span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.timetable-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(0, 184, 169, 0.08);
  border: 1px solid rgba(0, 184, 169, 0.35);
}

.timetable-note p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

@media (max-width: 760px) {
  .timetable-grid {
    grid-template-columns: 1fr;
  }

  .timetable-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .timetable-note .btn {
    width: 100%;
  }
}

/* Videos */
.videos-section h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.videos-section .section-lead {
  max-width: 760px;
  line-height: 1.65;
  margin-bottom: 42px;
}

.video-card {
  border-radius: 18px;
  padding: 18px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #2a3442;
  background: #0d131b;
  margin-bottom: 18px;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* Study Path Form */
.study-path-section h2 {
  max-width: 900px;
}

.study-path-form {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.path-group {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.path-group h3 {
  color: #f3f6fb;
  margin-bottom: 18px;
  font-size: 22px;
}

.course-option {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid #2a3442;
  border-radius: 16px;
  background: rgba(15, 22, 34, 0.72);
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

.course-option:hover {
  border-color: rgba(0, 184, 169, 0.5);
  background: rgba(0, 184, 169, 0.08);
}

.course-option input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--teal);
}

.course-option strong {
  display: block;
  color: #f3f6fb;
  font-size: 16px;
  margin-bottom: 4px;
}

.course-option small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.study-path-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: rgba(0, 184, 169, 0.08);
  border: 1px solid rgba(0, 184, 169, 0.35);
  border-radius: 20px;
  padding: 22px;
}

.study-path-note p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

@media (max-width: 760px) {
  .study-path-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .study-path-note .btn {
    width: 100%;
  }
}

/* Timetable final column correction */
.timetable-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Pricing */
.price-card.featured {
  border: 2px solid rgba(0, 184, 169, 0.48);
  transform: translateY(-8px);
}

.price {
  color: var(--teal-2);
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin: 14px 0;
}

.price span {
  font-size: 16px;
  color: var(--muted);
}

.full-btn {
  width: 100%;
  margin-top: 20px;
}


/* Contact */
.contact-card {
  border-radius: 22px;
  padding: 34px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}

.location-text {
  color: var(--teal-2) !important;
  font-weight: 900;
  margin-top: 18px !important;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-helper {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

label {
  display: grid;
  gap: 8px;
  color: #d9dee8;
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 10px;
  border: 1px solid #2a3442;
  background: #0d131b;
  color: #fff;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 184, 169, 0.10);
}

.form-message {
  min-height: 24px;
  color: var(--teal-2);
  font-weight: 800;
}

/* Footer */
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 22px 56px;
  border-top: 1px solid #1d2530;
}

.footer-brand {
  margin-bottom: 12px;
}

/* Chatbot */
.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  border: 0;
  color: #04110f;
  background: var(--teal);
  border-radius: 8px;
  padding: 15px 18px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 184, 169, 0.20);
  cursor: pointer;
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 55;
  width: 380px;
  max-width: calc(100vw - 44px);
  background: #111821;
  border: 1px solid #2a3442;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}

.chatbot.open {
  display: block;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px;
  color: #fff;
  background: #151d28;
  border-bottom: 1px solid #2a3442;
}

.chat-header button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.chat-messages {
  height: 240px;
  overflow-y: auto;
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.bot-message,
.user-message {
  padding: 11px 13px;
  border-radius: 12px;
  max-width: 88%;
  font-size: 14px;
}

.bot-message {
  background: #1a2330;
  color: #c8d0dc;
}

.user-message {
  margin-left: auto;
  color: #04110f;
  background: var(--teal);
  font-weight: 800;
}

.quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 12px;
}

.quick-questions button {
  border: 1px solid #2a3442;
  background: #151d28;
  color: #c8d0dc;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  font-weight: 700;
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid #2a3442;
}

.chat-form input {
  flex: 1;
}

.chat-form button {
  border: 0;
  color: #04110f;
  background: var(--teal);
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

/* Accessibility */
.menu-toggle:focus-visible,
.nav-links a:focus-visible,
.btn:focus-visible,
.chat-launcher:focus-visible,
.chat-header button:focus-visible,
.quick-questions button:focus-visible,
.chat-form button:focus-visible,
.video-link:focus-visible,
.video-thumb:focus-visible,
.video-placeholder:focus-visible,
.course-option:focus-within {
  outline: 3px solid rgba(0, 212, 189, 0.8);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1280px) {

  .mission-line,
  .mission-maze {
    left: -210px;
  }

  .mission-soccer,
  .mission-design {
    right: -210px;
  }
}

@media (max-width: 1200px) {
  .nav {
    height: 112px;
  }

  .nav .brand img {
    width: 104px;
    height: 104px;
    border-radius: 16px;
  }

  .hero {
    padding-top: 170px;
  }
}

@media (max-width: 1080px) {

  .floating-card,
  .mission-card {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav {
    height: 96px;
  }

  .nav .brand img {
    width: 82px;
    height: 82px;
    border-radius: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 145px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .program-grid,
  .steps-grid,
  .pricing-grid,
  .video-grid,
  .timetable-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-section h2 {
    white-space: normal;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 96px;
    left: 22px;
    right: 22px;
    padding: 18px;
    background: #111821;
    border: 1px solid #2a3442;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

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

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 86px;
  }

  .nav .brand img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
  }

  .hero {
    padding-top: 125px;
  }

  .stats-row,
  .card-grid,
  .program-grid,
  .steps-grid,
  .pricing-grid,
  .video-grid,
  .timetable-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  h1 {
    font-size: 46px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #particleCanvas {
    display: none;
  }
}

/* Wider section text alignment */
#features .section-lead,
#programs .section-lead,
#study-path .section-lead,
#timetable .section-lead,
#videos .section-lead,
#pricing .section-lead,
#book .contact-copy p {
  max-width: 100%;
}

#features h2,
#features .section-lead {
  max-width: 100%;
}

.feature-card p,
.video-card p,
.price-card p,
.time-slot span,
.course-option small {
  max-width: none;
}

/* Mobile polish for phone layout */
@media (max-width: 640px) {
  .site-header {
    padding-top: 6px;
  }

  .nav {
    height: 72px;
    padding: 0 16px;
  }

  .nav .brand img {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }

  .menu-toggle {
    font-size: 25px;
  }

  .nav-links {
    top: 78px;
    left: 16px;
    right: 16px;
  }

  .hero {
    padding: 105px 16px 44px;
    gap: 32px;
    min-height: auto;
  }

  .pill-row {
    gap: 8px;
    margin-bottom: 16px;
  }

  .pill,
  .info-pill,
  .section-kicker {
    font-size: 11px;
    padding: 6px 10px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .hero-text {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-row {
    gap: 12px;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-card strong {
    font-size: 26px;
  }

  .dashboard-card {
    padding: 16px;
    border-radius: 22px;
  }

  .robot-stage {
    min-height: 210px;
  }

  .robot-head {
    width: 150px;
    height: 105px;
    border-radius: 32px;
  }

  .progress-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px;
  }

  .task-item {
    padding: 13px;
  }

  .section {
    padding: 54px 16px;
  }

  h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .section-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .feature-card,
  .price-card,
  .video-card,
  .path-group,
  .timetable-day {
    padding: 18px;
    border-radius: 16px;
  }

  .card-grid,
  .pricing-grid,
  .video-grid,
  .timetable-grid {
    gap: 14px;
  }

  .course-option {
    padding: 14px;
  }

  .time-slot strong {
    font-size: 18px;
  }

  .contact-card {
    padding: 22px;
  }

  .chatbot {
    right: 12px;
    bottom: 76px;
    max-width: calc(100vw - 24px);
  }

  .chat-launcher {
    right: 12px;
    bottom: 12px;
  }
}
