/* =======================================================================
   SIÊU NHÍ AN TOÀN GIAO THÔNG AI — style.css
   Hệ thống thiết kế dùng chung cho Landing Page.
   Bảng màu / font / bố cục dựa theo giao diện tham chiếu do người dùng cung cấp.
   ======================================================================= */

:root {
  --bg-deep-1: #0a0f3d;
  --bg-deep-2: #1b0f52;
  --bg-deep-3: #2a1266;
  --blue: #3b82f6;
  --blue-light: #60c6fa;
  --purple: #8b5cf6;
  --cyan: #22d3ee;
  --green: #34d399;
  --yellow: #fbbf24;
  --pink: #ec4899;
  --white: #ffffff;
  --ink: #0b1030;
  --mist: rgba(255, 255, 255, 0.72);
  --mist-dim: rgba(255, 255, 255, 0.52);

  --glass-fill: rgba(255, 255, 255, 0.08);
  --glass-fill-strong: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.22);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 50px -15px rgba(10, 15, 61, 0.45);
  --shadow-glow-blue:
    0 0 40px rgba(59, 130, 246, 0.55), 0 15px 40px -10px rgba(59, 130, 246, 0.5);
  --shadow-glow-purple:
    0 0 40px rgba(139, 92, 246, 0.45),
    0 15px 40px -10px rgba(139, 92, 246, 0.45);

  --grad-primary: linear-gradient(
    135deg,
    var(--blue) 0%,
    #6e8cf7 45%,
    var(--purple) 100%
  );
  --grad-text: linear-gradient(
    100deg,
    #fff 18%,
    var(--blue-light) 55%,
    var(--cyan) 78%
  );
}

/* ---------------- RESET / BASE ---------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Be Vietnam Pro", sans-serif;
  background: var(--bg-deep-1);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1,
h2,
h3,
h4,
.display {
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection {
  background: var(--purple);
  color: #fff;
}
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------- DARK / LIGHT THEME TOGGLE ---------------- */
html {
  transition: filter 0.35s ease;
}
html[data-theme="light"] {
  filter: invert(1) hue-rotate(180deg);
}
html[data-theme="light"] .hero-city,
html[data-theme="light"] .robot-illustration,
html[data-theme="light"] img,
html[data-theme="light"] .no-invert {
  filter: invert(1) hue-rotate(180deg);
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- BUTTONS (shared) ---------------- */
.btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-ghost {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  color: #fff;
}
.btn-ghost:hover {
  background: var(--glass-fill-strong);
  transform: translateY(-2px);
}
.btn-primary-sm {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.7);
}
.btn-primary-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(139, 92, 246, 0.8);
}

.cta-btn {
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.cta-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow-blue);
}
.cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 55px rgba(59, 130, 246, 0.75),
    0 20px 45px -12px rgba(139, 92, 246, 0.6);
}
.cta-secondary {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  color: #fff;
  backdrop-filter: blur(10px);
}
.cta-secondary:hover {
  background: var(--glass-fill-strong);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.cta-tertiary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* ---------------- NAV ---------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease,
    border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 15, 61, 0.68);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  row-gap: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--cyan),
    var(--blue) 55%,
    var(--purple)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-blue);
  font-size: 18px;
}
.logo-text-en {
  color: var(--cyan);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  padding: 6px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.nav-menu li a {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.2s;
  white-space: nowrap;
}
.nav-menu li a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-1px);
}
.nav-menu li a.active {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  color: #fff;
  transition: 0.25s;
}
.icon-btn:hover {
  background: var(--glass-fill-strong);
  transform: translateY(-2px);
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 700;
}
.lang-toggle span {
  padding: 5px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}
.lang-toggle span.on {
  background: #fff;
  color: var(--ink);
}
.nav-burger {
  display: none;
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(
      1100px 620px at 82% -8%,
      rgba(139, 92, 246, 0.55),
      transparent 60%
    ),
    radial-gradient(
      900px 560px at 8% 8%,
      rgba(34, 211, 238, 0.28),
      transparent 55%
    ),
    linear-gradient(
      160deg,
      var(--bg-deep-1) 0%,
      var(--bg-deep-2) 48%,
      var(--bg-deep-3) 100%
    );
}
.hero-city {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}
.hero-city svg {
  width: 100%;
  height: 100%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 61, 0.15) 0%,
    rgba(10, 15, 61, 0.55) 78%,
    var(--bg-deep-1) 100%
  );
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.eyebrow-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
  text-shadow: 0 0 60px rgba(96, 198, 250, 0.25);
}
.hero p.subtitle {
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.avatar-stack {
  display: flex;
}
.avatar-stack span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg-deep-1);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.avatar-stack span:first-child {
  margin-left: 0;
}
.hero-trust p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}
.hero-trust strong {
  color: #fff;
}

/* Hero visual (robot + kids scene) */
.hero-visual {
  position: relative;
  height: 640px;
}
.visual-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.robot-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.float-card {
  position: absolute;
  z-index: 5;
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card .ic {
  font-size: 22px;
  line-height: 1;
}
.float-card .lb {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}
.fc-1 {
  top: 2%;
  left: 0%;
  width: 86px;
  height: 86px;
  animation-delay: 0.1s;
}
.fc-2 {
  top: 14%;
  right: 0%;
  width: 92px;
  height: 92px;
  animation-delay: 1.1s;
}
.fc-3 {
  top: 46%;
  left: -6%;
  width: 80px;
  height: 80px;
  animation-delay: 0.6s;
}
.fc-4 {
  top: 60%;
  right: -4%;
  width: 88px;
  height: 88px;
  animation-delay: 1.6s;
}
.fc-5 {
  top: 80%;
  left: 2%;
  width: 78px;
  height: 78px;
  animation-delay: 2.1s;
}
.fc-6 {
  top: 4%;
  left: 36%;
  width: 74px;
  height: 74px;
  animation-delay: 2.6s;
}
.fc-7 {
  top: 82%;
  right: 8%;
  width: 82px;
  height: 82px;
  animation-delay: 0.9s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

.hologram-tag {
  position: absolute;
  top: 20%;
  right: 14%;
  z-index: 6;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.22),
    rgba(59, 130, 246, 0.18)
  );
  border: 1px solid rgba(34, 211, 238, 0.55);
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.35);
  animation: floaty 4.5s ease-in-out infinite;
  animation-delay: 0.4s;
  backdrop-filter: blur(8px);
}
.scene-glow {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(59, 130, 246, 0.55),
    transparent 75%
  );
  filter: blur(10px);
  z-index: 1;
}
.robot-illustration {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* ---------------- SECTION HEAD (shared) ---------------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head .kicker {
  color: var(--cyan);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-head p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------------- STATS ---------------- */
.stats-section {
  position: relative;
  padding: 90px 0 40px;
  background: var(--bg-deep-1);
}
.stats-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg-deep-1));
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.stat-card {
  background: linear-gradient(
    160deg,
    var(--glass-fill-strong),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(160%);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s;
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -20px rgba(59, 130, 246, 0.45);
  border-color: rgba(255, 255, 255, 0.4);
}
.stat-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: -40px;
  right: -40px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.35),
    transparent 70%
  );
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 10px 22px -8px rgba(59, 130, 246, 0.6);
}
.stat-card:nth-child(2) .stat-icon {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.stat-card:nth-child(3) .stat-icon {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}
.stat-card:nth-child(4) .stat-icon {
  background: linear-gradient(135deg, var(--green), var(--cyan));
}
.stat-card:nth-child(5) .stat-icon {
  background: linear-gradient(135deg, var(--yellow), var(--pink));
}
.stat-number {
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
  background: linear-gradient(100deg, #fff, var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------------- FEATURES ---------------- */
.features-section {
  padding: 100px 0;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feat-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    160deg,
    var(--glass-fill),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s,
    border-color 0.35s;
}
.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px -16px rgba(59, 130, 246, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
}
.feat-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 10px 22px -8px rgba(59, 130, 246, 0.55);
}
.feat-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Baloo 2", sans-serif;
}
.feat-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------------- AI TUTOR PREVIEW ---------------- */
.tutor-section {
  padding: 20px 0 100px;
}
.tutor-panel {
  display: grid;
  grid-template-columns: 250px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: linear-gradient(
    160deg,
    var(--glass-fill),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(16px) saturate(160%);
}
.tutor-side {
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid var(--glass-border);
  padding: 22px;
}
.tutor-side h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
.conv-item {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.conv-item.active {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.3),
    rgba(139, 92, 246, 0.24)
  );
  color: #fff;
}
.conv-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.tutor-main {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.msg {
  display: flex;
  gap: 12px;
  max-width: 82%;
}
.msg.bot {
  align-self: flex-start;
}
.msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.msg.bot .msg-avatar {
  background: var(--grad-primary);
}
.msg.user .msg-avatar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
}
.msg-bubble {
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
}
.msg.bot .msg-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-top-left-radius: 4px;
}
.msg.user .msg-bubble {
  background: linear-gradient(
    120deg,
    rgba(59, 130, 246, 0.35),
    rgba(139, 92, 246, 0.3)
  );
  border-top-right-radius: 4px;
}
.suggest-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.suggest-chip {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: all 0.2s;
}
.suggest-chip:hover {
  border-color: var(--cyan);
  color: #fff;
}
.tutor-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
}
.tutor-input input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
}
.tutor-input input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.icon-btn-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}
.icon-btn-sm.send {
  background: var(--grad-primary);
}

/* ---------------- SPOTLIGHT (simulation + gamification) ---------------- */
.spotlight-section {
  padding: 20px 0 100px;
}
.spot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.spot-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: linear-gradient(
    160deg,
    var(--glass-fill),
    rgba(255, 255, 255, 0.02)
  );
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.spot-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
  font-family: "Baloo 2", sans-serif;
}
.spot-card p.desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
  max-width: 400px;
}

.sim-board {
  border-radius: 16px;
  background: rgba(5, 9, 30, 0.55);
  border: 1px solid var(--glass-border);
  padding: 20px;
  height: 220px;
  position: relative;
  overflow: hidden;
}
.cross {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 56px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0 14px,
    transparent 14px 24px
  );
}
.cross2 {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 56px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 0 14px,
    transparent 14px 24px
  );
}
.signal {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 16px;
  height: 40px;
  border-radius: 6px;
  background: #10173f;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 4px 0;
}
.signal i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a3358;
}
.signal i.on {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.veh {
  position: absolute;
  font-size: 20px;
  animation: driveX 5s linear infinite;
}
.veh.v2 {
  animation: driveY 6s linear infinite;
  animation-delay: 1s;
}
.veh.v3 {
  animation: driveX 4s linear infinite;
  animation-delay: 2.4s;
  top: 60%;
}
@keyframes driveX {
  0% {
    left: -10%;
    top: 44%;
  }
  100% {
    left: 105%;
    top: 44%;
  }
}
@keyframes driveY {
  0% {
    top: -10%;
    left: 44%;
  }
  100% {
    top: 105%;
    left: 44%;
  }
}
.sim-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.28);
  border: 1px solid var(--glass-border);
  font-weight: 600;
}

.game-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.avatar-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.lvl-track {
  flex: 1;
}
.lvl-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.lvl-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.lvl-fill {
  height: 100%;
  width: 68%;
  background: var(--grad-primary);
  border-radius: 999px;
}
.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 600;
}

/* ---------------- ROLES / DASHBOARDS ---------------- */
.roles-section {
  padding: 20px 0 100px;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.role-card {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: linear-gradient(
    160deg,
    var(--glass-fill),
    rgba(255, 255, 255, 0.02)
  );
  text-align: left;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.role-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
}
.role-card .r-icon {
  font-size: 24px;
  margin-bottom: 12px;
}
.role-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: "Baloo 2", sans-serif;
}
.role-card p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 14px;
}
.role-card a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------------- CTA BAND ---------------- */
.cta-section {
  padding: 0 0 100px;
}
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.24),
    rgba(139, 92, 246, 0.24)
  );
  border: 1px solid var(--glass-border);
}
.cta-band h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
}
.cta-row-center {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 56px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.foot-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
  max-width: 260px;
}
.foot-col h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
.foot-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--cyan);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1460px) {
  .nav-extra {
    display: none;
  }
  .nav-menu {
    gap: 2px;
  }
  .nav-menu li a {
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .nav-actions {
    gap: 8px;
  }
}
@media (max-width: 1600px) {
  .nav-menu {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 520px;
    order: -1;
    margin-bottom: 10px;
  }
  .hero p.subtitle {
    max-width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spot-grid {
    grid-template-columns: 1fr;
  }
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tutor-panel {
    grid-template-columns: 1fr;
  }
  .tutor-side {
    display: none;
  }
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .wrap {
    padding: 0 20px;
  }
  .nav-inner {
    padding: 0 18px;
  }
  .lang-toggle,
  .icon-btn {
    display: none;
  }
  .btn-ghost.desktop-only {
    display: none;
  }
  .hero {
    padding: 120px 0 70px;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-btn {
    justify-content: center;
  }
  .hero-visual {
    height: 420px;
  }
  .fc-1,
  .fc-2,
  .fc-3,
  .fc-4,
  .fc-5,
  .fc-6,
  .fc-7 {
    width: 60px;
    height: 60px;
    padding: 8px;
  }
  .float-card .ic {
    font-size: 16px;
  }
  .float-card .lb {
    font-size: 8.5px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .role-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .logo {
    font-size: 16px;
  }
  .cta-band {
    padding: 40px 22px;
  }
}
