/* MizCode — Kids Learning Software (EdTech Theme) */

:root {
  --color-bg: #1c1634;
  --color-bg-alt: #241e42;
  --color-bg-card: #2f2852;
  --color-bg-soft: #352d5c;
  --color-surface: #3d3568;
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-accent: #ffb347;
  --color-accent-warm: #ff9f6b;
  --color-mint: #6ee7b7;
  --color-text: #f5f3ff;
  --color-text-muted: #b8b0d4;
  --color-border: #4a4178;
  --color-success: #6ee7b7;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(28, 22, 52, 0.4);
  --max-width: 1200px;
  --header-height: 72px;
  --z-header: 1000;
  --z-nav-menu: 1001;
  --z-skip-link: 1100;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gradient-hero: radial-gradient(ellipse at 20% 20%, rgba(139, 124, 247, 0.2) 0%, transparent 50%),
                    radial-gradient(ellipse at 80% 70%, rgba(255, 179, 71, 0.12) 0%, transparent 45%),
                    radial-gradient(ellipse at 50% 100%, rgba(110, 231, 183, 0.08) 0%, transparent 40%);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: var(--z-skip-link);
  padding: 10px 18px;
  background: var(--ds-cta, #22c55e);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
  outline: none;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.5), var(--shadow);
}

main {
  width: 100%;
  overflow-x: clip;
}

@keyframes pageIn {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
  body { opacity: 1; animation: none; }
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(12px, 4vw, 24px);
}

h1, h2, h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(28, 22, 52, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(28, 22, 52, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
}

.logo:hover {
  color: var(--color-text);
}

.logo-img {
  display: block;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.logo-brand {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.logo:hover .logo-brand,
.logo:hover .logo-img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
}

@media (max-width: 480px) {
  .logo-brand {
    height: 34px;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
  background: var(--color-bg-card);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: var(--z-nav-menu);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s, border-color 0.25s, color 0.25s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #9d8ff9);
  color: white;
  box-shadow: 0 4px 20px rgba(139, 124, 247, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), #8b7cf7);
  color: white;
  box-shadow: 0 8px 28px rgba(139, 124, 247, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.12);
}

.btn-light {
  background: white;
  color: var(--color-bg);
}

.btn-light:hover {
  background: var(--color-text);
  color: var(--color-bg);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.15);
}

.btn-full {
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  max-width: 100%;
  padding: 6px 14px;
  background: rgba(139, 124, 247, 0.12);
  border: 1px solid rgba(139, 124, 247, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.45;
  white-space: normal;
  text-align: left;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -80px;
  background: rgba(139, 124, 247, 0.2);
  animation: orbFloat 18s ease-in-out infinite;
}

.hero::after {
  width: 420px;
  height: 420px;
  bottom: -100px;
  right: -60px;
  background: rgba(255, 179, 71, 0.14);
  animation: orbFloat 22s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1,
.hero h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #F8FAFC;
}

.hero-content h1,
.hero-content h2 {
  animation: heroIn 0.8s var(--ease-out) 0.2s both;
}

@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  width: 100%;
}

.stat strong {
  display: block;
  font-variant-numeric: tabular-nums;
}

/* Code Window */
.code-window {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(59, 130, 246, 0.05);
  animation: codeFloat 6s ease-in-out infinite;
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.code-window:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(59, 130, 246, 0.08);
  transform: translateY(-4px);
  animation-play-state: paused;
}

@keyframes codeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.code-window::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), transparent 40%, rgba(6, 182, 212, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.hero-visual {
  position: relative;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.filename {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.code-body {
  padding: 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
}

.code-body code {
  display: block;
}

.code-line {
  display: block;
  opacity: 0;
  transform: translateX(-8px);
  animation: lineIn 0.5s var(--ease-out) forwards;
}

.code-line:nth-child(1) { animation-delay: 0.6s; }
.code-line:nth-child(2) { animation-delay: 0.75s; }
.code-line:nth-child(3) { animation-delay: 0.9s; }
.code-line:nth-child(4) { animation-delay: 1.05s; }
.code-line:nth-child(5) { animation-delay: 1.2s; }
.code-line:nth-child(6) { animation-delay: 1.35s; }
.code-line:nth-child(7) { animation-delay: 1.5s; }
.code-line:nth-child(8) { animation-delay: 1.65s; }
.code-line:nth-child(9) { animation-delay: 1.8s; }
.code-line:nth-child(10) { animation-delay: 1.95s; }

@keyframes lineIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.code-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.code-body .keyword { color: #c084fc; }
.code-body .string { color: #34d399; }
.code-body .comment { color: #64748b; }

/* Sections */
.section {
  padding: 80px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.hero-brand,
.hero-edtech,
.page-hero,
.ai-tutor-hero,
.phaser-hero,
.whatsapp-hero,
.robotics-hero {
  content-visibility: visible;
}

.section-alt {
  background: var(--color-bg-alt);
}

.page-edtech .section-alt {
  background: rgba(36, 30, 66, 0.72);
  position: relative;
}

.page-edtech .section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(139, 124, 247, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(110, 231, 183, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-edtech .section-alt > .container {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.card:hover {
  border-color: rgba(139, 124, 247, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(139, 124, 247, 0.12);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.2), rgba(139, 124, 247, 0.08));
  border: 2px solid rgba(129, 140, 248, 0.3);
  border-radius: 16px;
  box-shadow: var(--clay-shadow-in);
  color: var(--ds-primary-soft);
  transition: transform 0.3s var(--ease-spring);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(-4deg);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.split-section h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.split-section > div > p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  margin-bottom: 32px;
}

.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.tech-stack h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tags span {
  padding: 8px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}

.tech-tags span:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  background: rgba(59, 130, 246, 0.08);
}

/* Audience Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.audience-card {
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 124, 247, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.audience-card h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
}

.audience-card p {
  color: var(--color-text-muted);
}

/* CTA */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, #8b7cf7, #6d5ce7, #ff9f6b);
  background-size: 200% 200%;
  border-radius: var(--radius);
  animation: gradientShift 10s ease infinite;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  animation: ctaShine 12s linear infinite;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes ctaShine {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-box h2,
.cta-box p,
.cta-box .btn {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-box p {
  margin-bottom: 28px;
  opacity: 0.9;
}

/* Page Hero */
.page-hero {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
  background: var(--color-bg);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(139, 124, 247, 0.14) 0%, rgba(255, 179, 71, 0.06) 45%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

.content-narrow {
  max-width: 760px;
}

.content-narrow h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.content-narrow h2:first-child {
  margin-top: 0;
}

.content-narrow p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* Info Table */
.info-table {
  margin-top: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-row {
  display: flex;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 180px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--color-text-muted);
}

.info-value {
  color: var(--color-text);
}

/* Services */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  transition: transform 0.35s var(--ease-out);
}

.service-item:hover {
  transform: translateY(-2px);
}

.service-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.5;
}

.service-content h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-content > p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.feature-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 16px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s;
}

.process-step:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
}

.process-step h3 {
  margin-bottom: 8px;
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Products */
.product-showcase {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.product-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, var(--color-bg-card) 100%);
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-primary);
  color: white;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.product-card h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.product-tagline {
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.product-card > p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.product-feature {
  padding: 8px 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.product-card .feature-list {
  margin-bottom: 28px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.contact-item {
  margin-bottom: 16px;
}

.contact-item h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-form {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group > input,
.form-group > select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}

.form-group > input:focus,
.form-group > select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

.form-success {
  background: var(--color-bg-card);
  border: 1px solid var(--color-success);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  animation: successPop 0.5s var(--ease-spring);
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.form-success h3 {
  color: var(--color-success);
  margin-bottom: 12px;
}

/* Legal */
.legal-content ul {
  margin: 12px 0 16px 24px;
  color: var(--color-text-muted);
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.footer-founded {
  margin-top: 8px;
  font-size: 0.85rem !important;
  color: var(--color-accent) !important;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-contact p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    z-index: var(--z-nav-menu);
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 968px) {
  .hero-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 64px;
  }

  .hero-stats {
    gap: 24px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-row {
    flex-direction: column;
    gap: 4px;
  }

  .info-label {
    width: auto;
  }
}

/* ─── Scroll reveal & hero entrance ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-fade.is-visible {
  opacity: 1;
}

.hero-content .badge { animation: heroIn 0.7s var(--ease-out) 0.1s both; }
.hero-content .hero-lead { animation: heroIn 0.8s var(--ease-out) 0.35s both; }
.hero-content .hero-actions { animation: heroIn 0.8s var(--ease-out) 0.5s both; }
.hero-content .hero-stats { animation: heroIn 0.8s var(--ease-out) 0.65s both; }
.hero-content .trust-pills { animation: heroIn 0.8s var(--ease-out) 0.8s both; }
.hero-visual { animation: heroIn 1s var(--ease-out) 0.4s both; }

.page-hero .badge { animation: heroIn 0.7s var(--ease-out) 0.1s both; }
.page-hero h1 { animation: heroIn 0.8s var(--ease-out) 0.2s both; }
.page-hero .page-lead { animation: heroIn 0.8s var(--ease-out) 0.35s both; }

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links.open {
  animation: navDrop 0.35s var(--ease-out);
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Animated Logo ─── */
.logo-animated {
  gap: 10px;
  transition: transform 0.25s var(--ease-out);
}

.logo-animated:hover {
  transform: translateY(-1px);
}

.logo-icon-wrap {
  display: flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 2px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(28, 22, 52, 0.5));
  border: 2px solid rgba(129, 140, 248, 0.25);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-spring);
}

.logo-animated:hover .logo-icon-wrap {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12), 0 0 16px rgba(99, 102, 241, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.08);
  transform: scale(1.04);
}

.logo-icon-wrap.logo-icon-sm {
  width: 36px;
  height: 36px;
}

.logo-mark {
  width: 100%;
  height: 100%;
}

.logo-mark .lb {
  transform-box: fill-box;
  transform-origin: center;
}

.logo-mark .lb1 { animation: logoBlock 2.4s ease-in-out infinite; }
.logo-mark .lb2 { animation: logoBlock 2.4s ease-in-out 0.15s infinite; }
.logo-mark .lb3 { animation: logoBlock 2.4s ease-in-out 0.3s infinite; }
.logo-mark .lb4 { animation: logoBlock 2.4s ease-in-out 0.45s infinite; }
.logo-mark .lb5 { animation: logoBlock 2.4s ease-in-out 0.6s infinite; }

.logo-mark:not(.logo-mark--hero) .logo-bg-ring {
  animation: logoRingPulse 4s ease-in-out infinite;
}

.logo-mark .logo-spark {
  animation: logoSpark 3s ease-in-out infinite;
  transform-origin: 37px 9px;
}

@keyframes logoBlock {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.06); }
}

@keyframes logoSpark {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
  50% { transform: rotate(18deg) scale(1.15); opacity: 0.9; }
}

@keyframes logoRingPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.45; }
}

.logo-wordmark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.wm-miz { color: #F8FAFC; }
.wm-code {
  background: linear-gradient(90deg, var(--color-accent), #ffd07a, var(--ds-primary-soft, #818cf8));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 5s linear infinite;
}

.logo-animated:hover .logo-mark .lb {
  animation-duration: 1.4s;
}

.logo-animated:hover .wm-code {
  animation-duration: 2s;
}

/* ─── Homepage Tech Background ─── */
body.page-edtech {
  background-color: var(--color-bg);
}

.page-home.page-edtech {
  background: var(--color-bg);
}

/* ─── Site-wide ambience layer ─── */
.site-ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambience-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-attachment: scroll;
}

.ambience-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 124, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 247, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 25%, black 12%, transparent 72%);
}

.ambience-orbs {
  position: absolute;
  inset: 0;
}

.ambience-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: orbFloat 24s ease-in-out infinite;
  translate: var(--orb-x, 0) var(--orb-y, 0);
}

.orb-purple {
  width: 420px;
  height: 420px;
  top: -8%;
  left: -6%;
  background: rgba(139, 124, 247, 0.35);
}

.orb-orange {
  width: 360px;
  height: 360px;
  top: 55%;
  right: -8%;
  background: rgba(255, 179, 71, 0.22);
  animation-delay: -6s;
  animation-duration: 28s;
}

.orb-mint {
  width: 300px;
  height: 300px;
  bottom: 8%;
  left: 18%;
  background: rgba(110, 231, 183, 0.18);
  animation-delay: -12s;
  animation-duration: 32s;
}

.orb-wa {
  width: 220px;
  height: 220px;
  top: 28%;
  right: 22%;
  background: rgba(37, 211, 102, 0.12);
  animation-delay: -4s;
  animation-duration: 26s;
}

.ambience-glyphs {
  position: absolute;
  inset: 0;
}

.ambience-glyphs .glyph {
  position: absolute;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(245, 243, 255, 0.06);
  font-family: var(--font-mono);
  animation: glyphDrift 20s ease-in-out infinite;
  user-select: none;
}

.glyph-1 { top: 12%; left: 8%; animation-delay: 0s; }
.glyph-2 { top: 22%; right: 12%; animation-delay: -3s; font-size: 0.95rem; }
.glyph-3 { top: 48%; left: 5%; animation-delay: -7s; font-size: 1.25rem; opacity: 0.5; }
.glyph-4 { top: 62%; right: 8%; animation-delay: -5s; font-size: 1.2rem; opacity: 0.45; }
.glyph-5 { top: 78%; left: 14%; animation-delay: -9s; font-size: 1.15rem; opacity: 0.4; }
.glyph-6 { top: 35%; right: 28%; animation-delay: -2s; color: rgba(255, 179, 71, 0.12); }
.glyph-7 { top: 8%; right: 35%; animation-delay: -11s; font-size: 0.9rem; }
.glyph-8 { top: 88%; right: 22%; animation-delay: -6s; font-size: 1rem; opacity: 0.35; }

@keyframes glyphDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.35; }
  50% { transform: translate(12px, -18px) rotate(4deg); opacity: 0.55; }
}

.ambience-particles {
  position: absolute;
  inset: 0;
}

.ambience-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  opacity: 0;
  animation: ambienceParticle 16s linear infinite;
  box-shadow: 0 0 6px currentColor;
}

@keyframes ambienceParticle {
  0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
  8% { opacity: 0.7; }
  85% { opacity: 0.5; }
  100% { transform: translate(var(--drift-x, 0), -140px) scale(0); opacity: 0; }
}

.ambience-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.page-edtech main,
.page-edtech .site-footer {
  position: relative;
  z-index: 1;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--gradient-hero);
  opacity: 1;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 124, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 247, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 15%, transparent 70%);
}

.page-home main,
.page-home .site-footer {
  position: relative;
  z-index: 1;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ffd07a 50%, var(--color-mint) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 6s linear infinite;
}

.badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-mint);
  box-shadow: 0 0 8px var(--color-mint);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.badge-ai {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(56, 189, 248, 0.15));
  border-color: rgba(129, 140, 248, 0.4);
  color: #C4B5FD;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tech-pills span,
.trust-pills span {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(139, 124, 247, 0.12);
  border: 1px solid rgba(139, 124, 247, 0.25);
  border-radius: 999px;
}

.trust-pills span {
  color: var(--color-mint);
  background: rgba(110, 231, 183, 0.1);
  border-color: rgba(110, 231, 183, 0.25);
  padding: 8px 14px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(139, 124, 247, 0.55);
  animation: particle 8s linear infinite;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 1.5s; background: rgba(255, 179, 71, 0.5); }
.hero-particles span:nth-child(3) { left: 50%; top: 15%; animation-delay: 3s; background: rgba(110, 231, 183, 0.45); }
.hero-particles span:nth-child(4) { left: 70%; top: 45%; animation-delay: 0.8s; background: rgba(196, 181, 253, 0.5); }
.hero-particles span:nth-child(5) { left: 85%; top: 75%; animation-delay: 2.2s; background: rgba(37, 211, 102, 0.35); }
.hero-particles span:nth-child(6) { left: 40%; top: 80%; animation-delay: 4s; background: rgba(110, 231, 183, 0.5); }

@keyframes particle {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120px) scale(0); opacity: 0; }
}

.hero-orbit {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border: 1px dashed rgba(139, 124, 247, 0.22);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 160px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-accent);
  animation: orbitSpin 20s linear infinite;
  transform-origin: -160px 0;
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

.code-window-glow {
  box-shadow: 0 0 60px rgba(139, 124, 247, 0.12), var(--shadow);
}

.live-badge {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  animation: pulseDot 2s ease-in-out infinite;
}

/* ─── AI Tutor Hero ─── */
.ai-tutor-hero {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(17, 24, 39, 0.95) 50%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.ai-tutor-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(129, 140, 248, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.ai-tutor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-tutor-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ai-tutor-content h2 em {
  font-style: normal;
  color: #C4B5FD;
}

.ai-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.ai-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.ai-features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-feat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.ai-features strong {
  display: block;
  margin-bottom: 4px;
}

.ai-features p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.ai-chat-demo {
  position: relative;
}

.ai-glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(129,140,248,0.2), rgba(6,182,212,0.2));
  filter: blur(24px);
  opacity: 0.6;
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.02); }
}

.ai-chat-window {
  position: relative;
  z-index: 1;
  background: var(--color-bg-card);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(129,140,248,0.1));
  border-bottom: 1px solid var(--color-border);
}

.ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  animation: avatarBob 3s ease-in-out infinite;
}

@keyframes avatarBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.ai-chat-header strong {
  display: block;
  font-size: 0.95rem;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #4ADE80;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.ai-chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  max-height: 320px;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: bubbleIn 0.5s var(--ease-out) both;
}

.chat-bubble:nth-child(1) { animation-delay: 0.3s; }
.chat-bubble:nth-child(2) { animation-delay: 0.8s; }
.chat-bubble:nth-child(3) { animation-delay: 1.4s; }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bot {
  align-self: flex-start;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom-left-radius: 4px;
}

.chat-user {
  align-self: flex-end;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-bottom-right-radius: 4px;
}

.chat-code {
  margin: 8px 0;
  padding: 10px 12px;
  background: var(--color-bg);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #4ADE80;
  overflow-x: auto;
}

.chat-bubble code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: #FDE047;
}

.ai-chat-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.ai-quick-replies {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-quick-btn {
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(139, 124, 247, 0.12);
  border: 1px solid rgba(139, 124, 247, 0.3);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s;
}

.ai-quick-btn:hover {
  background: rgba(139, 124, 247, 0.22);
  transform: translateY(-1px);
}

.ai-quick-btn:active {
  transform: scale(0.96);
}

.input-fake {
  flex: 1;
  padding: 10px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.send-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(139, 124, 247, 0.4);
}

.send-btn-pulse {
  animation: sendPulse 0.3s var(--ease-out);
}

@keyframes sendPulse {
  50% { transform: scale(1.15); }
}

.chat-bubble.chat-latest {
  animation: chatIn 0.45s var(--ease-out) both;
}

@keyframes chatIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Tech Showcase Bento ─── */
.tech-showcase {
  background: var(--color-bg-alt);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 124, 247, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.bento-large {
  grid-column: span 2;
}

.bento-wide {
  grid-column: span 3;
}

.bento-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.bento-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.bento-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-tags span {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(255, 179, 71, 0.08);
  border: 1px solid rgba(255, 179, 71, 0.2);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s;
}

.stack-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.stack-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.stack-track span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.card-featured {
  border-color: rgba(129, 140, 248, 0.4);
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.08), var(--color-bg-card));
}

.audience-featured {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), var(--color-bg-card));
  position: relative;
}

.product-label {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #C4B5FD;
  background: rgba(129, 140, 248, 0.15);
  border-radius: 999px;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

/* ─── Phaser Educational Games Section ─── */
.phaser-hero {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #0d1526 50%, var(--color-bg) 100%);
}

.phaser-stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.4;
  animation: twinkle 3s ease-in-out infinite;
}

.phaser-stars span:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.phaser-stars span:nth-child(2) { top: 35%; left: 92%; animation-delay: 0.8s; }
.phaser-stars span:nth-child(3) { top: 70%; left: 15%; animation-delay: 1.6s; }
.phaser-stars span:nth-child(4) { top: 25%; left: 55%; animation-delay: 2.2s; }
.phaser-stars span:nth-child(5) { top: 85%; left: 75%; animation-delay: 1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.5); }
}

.phaser-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.phaser-game-wrap {
  position: relative;
}

.phaser-frame-glow {
  position: absolute;
  inset: -16px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(59, 130, 246, 0.2), rgba(74, 222, 128, 0.15));
  border-radius: 20px;
  filter: blur(28px);
  opacity: 0.7;
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 0;
}

.phaser-game-frame {
  position: relative;
  z-index: 1;
  background: #1a1a2e;
  border: 3px solid #2d3a52;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  image-rendering: pixelated;
}

.phaser-game-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 10;
}

.game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #162032;
  border-bottom: 2px solid #2d3a52;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.game-title-pill {
  padding: 4px 10px;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 999px;
  color: #FDBA74;
  font-weight: 700;
}

.game-score {
  color: #FDE047;
  font-weight: 700;
}

.score-label {
  color: var(--color-text-muted);
  font-weight: 500;
  margin-right: 4px;
}

.game-scene {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(180deg, #1e3a5f 0%, #7c3aed 45%, #4c1d95 100%);
}

.game-sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(253, 224, 71, 0.15) 0%, transparent 50%);
}

.game-cloud {
  position: absolute;
  width: 48px;
  height: 16px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  opacity: 0.7;
  animation: cloudDrift 12s linear infinite;
}

.game-cloud::before,
.game-cloud::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.game-cloud::before { width: 22px; height: 22px; top: -10px; left: 6px; }
.game-cloud::after { width: 16px; height: 16px; top: -6px; right: 8px; }

.game-cloud-1 { top: 28px; left: -60px; animation-duration: 18s; }
.game-cloud-2 { top: 56px; left: -80px; animation-duration: 22s; animation-delay: 4s; opacity: 0.5; }

@keyframes cloudDrift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100% + 400px)); }
}

.game-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(180deg, #4ADE80 0%, #15803D 100%);
  border-top: 4px solid #166534;
}

.game-ground::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, #22c55e 0, #22c55e 16px, #16a34a 16px, #16a34a 32px);
}

.game-platform-float {
  position: absolute;
  bottom: 110px;
  left: 50%;
  width: 80px;
  height: 14px;
  margin-left: -40px;
  background: #F97316;
  border-radius: 4px;
  border: 2px solid #EA580C;
  animation: platformMove 4s ease-in-out infinite;
  box-shadow: 0 4px 0 #C2410C;
}

@keyframes platformMove {
  0%, 100% { transform: translateX(-30px); }
  50% { transform: translateX(30px); }
}

.game-player {
  position: absolute;
  bottom: 48px;
  left: 18%;
  width: 32px;
  height: 36px;
  animation: playerJump 2.8s ease-in-out infinite;
  z-index: 5;
}

@keyframes playerJump {
  0%, 100% { transform: translate(0, 0); }
  15% { transform: translate(40px, 0); }
  25% { transform: translate(55px, -70px); }
  35% { transform: translate(80px, -70px); }
  45% { transform: translate(100px, 0); }
  55% { transform: translate(130px, 0); }
  65% { transform: translate(145px, -55px); }
  75% { transform: translate(170px, -55px); }
  85% { transform: translate(200px, 0); }
}

.player-body {
  width: 28px;
  height: 28px;
  background: #3B82F6;
  border-radius: 6px;
  border: 2px solid #1D4ED8;
  margin: 0 auto;
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.2);
}

.player-face {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 8px;
}

.player-face::before,
.player-face::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 1px;
  top: 0;
}

.player-face::before { left: 2px; }
.player-face::after { right: 2px; }

.game-coin {
  position: absolute;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #CA8A04;
  background: radial-gradient(circle, #FDE047, #EAB308);
  border-radius: 50%;
  border: 2px solid #CA8A04;
  animation: coinSpin 2s ease-in-out infinite;
  z-index: 4;
  cursor: pointer;
  transition: transform 0.2s;
}

.game-coin:hover {
  transform: scale(1.12);
}

.game-coin.coin-collected {
  pointer-events: none;
  animation: coinPop 0.45s ease-out forwards !important;
}

@keyframes coinPop {
  to { transform: scale(0) rotate(180deg); opacity: 0; }
}

.game-coin-1 { bottom: 130px; left: 45%; animation-delay: 0s; }
.game-coin-2 { bottom: 160px; left: 62%; animation-delay: 0.4s; }
.game-coin-3 { bottom: 90px; left: 78%; animation-delay: 0.8s; }

@keyframes coinSpin {
  0%, 100% { transform: translateY(0) rotateY(0deg) scale(1); }
  50% { transform: translateY(-8px) rotateY(180deg) scale(1.1); }
}

.game-goal {
  position: absolute;
  bottom: 48px;
  right: 8%;
  font-size: 1.75rem;
  animation: goalWave 2s ease-in-out infinite;
}

@keyframes goalWave {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg) scale(1.1); }
}

.game-quiz-bubble {
  position: absolute;
  top: 24px;
  right: 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  border-bottom-right-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: bubblePop 3s ease-in-out infinite;
  z-index: 6;
}

.game-quiz-bubble::after {
  content: '?';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: #F97316;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

@keyframes bubblePop {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.95; }
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: #162032;
  border-top: 2px solid #2d3a52;
}

.ctrl-key {
  padding: 8px 16px;
  background: #243049;
  border: 2px solid #3d4f6f;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  box-shadow: 0 3px 0 #1a2234;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

.ctrl-key-active,
.ctrl-key:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #1a2234;
}

.game-user-mode .game-player {
  animation: none !important;
  transition: left 0.35s var(--ease-out);
}

.game-player.user-jump {
  animation: userJump 0.55s ease-out !important;
}

@keyframes userJump {
  0% { transform: translateY(0); }
  45% { transform: translateY(-52px); }
  100% { transform: translateY(0); }
}

.game-score-pop .score-value {
  animation: scorePop 0.4s var(--ease-spring);
  color: #4ade80;
}

@keyframes scorePop {
  50% { transform: scale(1.25); }
}

.ctrl-jump {
  color: #4ADE80;
  border-color: rgba(74, 222, 128, 0.4);
  animation: keyPulse 2.8s ease-in-out infinite;
}

@keyframes keyPulse {
  0%, 100% { box-shadow: 0 3px 0 #1a2234; transform: translateY(0); }
  25%, 35% { box-shadow: 0 1px 0 #1a2234; transform: translateY(2px); background: rgba(74, 222, 128, 0.15); }
}

.badge-phaser {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.1));
  border-color: rgba(249, 115, 22, 0.4);
  color: #FDBA74;
}

.phaser-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.phaser-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.phaser-lead strong {
  color: #FDBA74;
}

.phaser-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.phaser-features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.phaser-feat-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #F97316;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 8px;
}

.phaser-features strong {
  display: block;
  margin-bottom: 4px;
}

.phaser-features p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.phaser-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.phaser-game-tags span {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FDBA74;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out), background 0.25s;
}

.phaser-game-tags span:hover {
  transform: translateY(-2px);
  background: rgba(249, 115, 22, 0.18);
}

.audience-phaser {
  border-color: rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), var(--color-bg-card));
}

.product-label-game {
  color: #FDBA74;
  background: rgba(249, 115, 22, 0.15);
}

/* ─── EdTech hero & learning card ─── */
.hero-edtech {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: transparent;
}

.hero-edtech::before,
.hero-edtech::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-edtech::before {
  width: 480px;
  height: 480px;
  top: -100px;
  left: -60px;
  background: rgba(139, 124, 247, 0.2);
  animation: orbFloat 18s ease-in-out infinite;
}

.hero-edtech::after {
  width: 400px;
  height: 400px;
  bottom: -80px;
  right: -40px;
  background: rgba(255, 179, 71, 0.15);
  animation: orbFloat 22s ease-in-out infinite reverse;
}

.hero-learning-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(139, 124, 247, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(28, 22, 52, 0.45), 0 0 40px rgba(139, 124, 247, 0.1);
  animation: codeFloat 6s ease-in-out infinite;
}

.learning-path {
  list-style: none;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.learning-path li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}

.learning-path li:hover {
  transform: translateX(4px);
}

.learning-path li.path-tap {
  animation: pathTap 0.4s var(--ease-out);
}

@keyframes pathTap {
  50% { transform: scale(1.02); }
}

.path-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.path-done {
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.25);
  color: var(--color-mint);
}

.path-done .path-icon { background: rgba(110, 231, 183, 0.2); }

.path-active {
  background: rgba(139, 124, 247, 0.15);
  border: 1px solid rgba(139, 124, 247, 0.4);
  animation: pathPulse 2.5s ease-in-out infinite;
}

.path-active .path-icon {
  background: var(--color-primary);
  color: white;
}

.path-active em {
  display: block;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-style: normal;
  margin-top: 2px;
}

.path-next {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
}

@keyframes pathPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 124, 247, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(139, 124, 247, 0); }
}

.learning-badge-row {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
  flex-wrap: wrap;
}

.earn-badge {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 179, 71, 0.12);
  border: 1px solid rgba(255, 179, 71, 0.3);
  border-radius: 999px;
  color: var(--color-accent);
}

.page-edtech .page-hero {
  background: transparent;
}

.page-edtech .card,
.page-edtech .audience-card,
.page-edtech .product-card,
.page-edtech .service-item {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-edtech .card:hover,
.page-edtech .audience-card:hover,
.page-edtech .product-card:hover {
  box-shadow: 0 12px 40px rgba(28, 22, 52, 0.35), 0 0 24px rgba(139, 124, 247, 0.08);
}

.hero-content .hero-learning-card {
  animation: heroIn 1s var(--ease-out) 0.4s both, codeFloat 6s ease-in-out 1.4s infinite;
}

/* ─── WhatsApp Chatbot Section ─── */
.whatsapp-hero {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.badge-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
  color: #86efac;
}

.text-gradient-wa {
  background: linear-gradient(135deg, #25D366, #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.whatsapp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.whatsapp-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.whatsapp-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.whatsapp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.whatsapp-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wa-feat-icon {
  font-size: 1.35rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.whatsapp-features strong { display: block; margin-bottom: 4px; }
.whatsapp-features p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  color: white;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.whatsapp-demo-wrap { position: relative; }

.whatsapp-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.2), transparent 70%);
  filter: blur(24px);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}

.whatsapp-phone {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border: 3px solid #2d2450;
  animation: phoneFloat 5s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.wa-phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #128C7E;
  color: white;
  font-size: 0.85rem;
}

.wa-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.wa-contact strong { display: block; font-size: 0.9rem; }
.wa-contact span { font-size: 0.7rem; opacity: 0.85; }

.wa-chat-area {
  background: #0b141a url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='%230b141a'/%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23182229' stroke-width='0.5'/%3E%3C/svg%3E");
  padding: 16px 12px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-date {
  align-self: center;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.wa-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
  animation: waMsgIn 0.5s var(--ease-out) both;
}

.wa-msg:nth-child(2) { animation-delay: 0.2s; }
.wa-msg:nth-child(3) { animation-delay: 0.5s; }
.wa-msg:nth-child(4) { animation-delay: 0.8s; }
.wa-msg:nth-child(5) { animation-delay: 1.1s; }
.wa-msg:nth-child(6) { animation-delay: 1.4s; }
.wa-msg:nth-child(7) { animation-delay: 1.7s; }

@keyframes waMsgIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-in {
  align-self: flex-start;
  background: #1f2c34;
  color: #e9edef;
  border-top-left-radius: 2px;
}

.wa-out {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-top-right-radius: 2px;
}

.wa-time {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
  margin-top: 4px;
}

.wa-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: transparent !important;
  padding: 0;
}

.wa-chip {
  padding: 8px 14px;
  background: #1f2c34;
  border: 1px solid #25D366;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #86efac;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}

.wa-chip:hover {
  transform: scale(1.03);
  background: rgba(37, 211, 102, 0.12);
}

.wa-chip-used {
  opacity: 0.45;
  pointer-events: none;
}

.wa-msg-new {
  animation: waMsgIn 0.45s var(--ease-out) both;
}

.wa-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
  width: fit-content;
}

.wa-dot {
  width: 8px;
  height: 8px;
  background: #8696a0;
  border-radius: 50%;
  animation: waTyping 1.2s ease-in-out infinite;
}

.wa-dot:nth-child(2) { animation-delay: 0.2s; }
.wa-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes waTyping {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.wa-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #1f2c34;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.wa-input-fake {
  flex: 1;
  padding: 8px 14px;
  background: #2a3942;
  border-radius: 999px;
}

/* ─── AI Robotics Lab ─── */
.robotics-hero {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg) 0%, #1a1535 50%, var(--color-bg-alt) 100%);
}

.robotics-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 124, 247, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 247, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 20%, transparent 70%);
}

.robotics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge-robotics {
  background: rgba(110, 231, 183, 0.12);
  border-color: rgba(110, 231, 183, 0.35);
  color: var(--color-mint);
}

.text-gradient-robo {
  background: linear-gradient(135deg, #6ee7b7, #8b7cf7, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.robotics-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.robotics-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.robotics-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.robotics-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.robo-feat-icon {
  font-size: 1.35rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.robotics-features strong { display: block; margin-bottom: 4px; }
.robotics-features p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

.robotics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.robotics-tags span {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-mint);
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 999px;
}

.robotics-visual { position: relative; }

.robotics-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.15), rgba(139, 124, 247, 0.1), transparent 70%);
  filter: blur(30px);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 0;
}

.robo-lab-scene {
  position: relative;
  z-index: 1;
  background: var(--color-bg-card);
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.robo-workbench {
  position: relative;
  height: 220px;
  background: linear-gradient(180deg, #2a2450 0%, #1e1a38 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
  overflow: hidden;
}

.robo-bot {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  animation: roboDrive 6s ease-in-out infinite;
}

@keyframes roboDrive {
  0%, 100% { transform: translateX(-50%); }
  50% { transform: translateX(calc(-50% + 40px)); }
}

.robo-head {
  width: 48px;
  height: 40px;
  background: linear-gradient(180deg, #8b7cf7, #6d5ce7);
  border-radius: 12px 12px 8px 8px;
  margin: 0 auto 4px;
  position: relative;
  border: 2px solid #a89bf8;
}

.robo-antenna {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: var(--color-accent);
}

.robo-antenna::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -3px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.robo-eye {
  position: absolute;
  top: 14px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  animation: roboBlink 4s ease-in-out infinite;
}

.robo-eye-l { left: 10px; }
.robo-eye-r { right: 10px; }

.robo-eye::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: #1e1a38;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  animation: roboLook 3s ease-in-out infinite;
}

@keyframes roboBlink {
  0%, 48%, 52%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

@keyframes roboLook {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2px, 0); }
}

.robo-body-panel {
  width: 56px;
  height: 36px;
  background: #3d3568;
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid #5b5294;
}

.robo-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

.robo-led:nth-child(1) { animation: ledBlink 1s ease-in-out infinite; background: #ef4444; }
.robo-led:nth-child(2) { animation: ledBlink 1s ease-in-out 0.3s infinite; background: #eab308; }
.robo-led:nth-child(3) { animation: ledBlink 1s ease-in-out 0.6s infinite; background: #22c55e; }

@keyframes ledBlink {
  0%, 100% { opacity: 0.3; box-shadow: none; }
  50% { opacity: 1; box-shadow: 0 0 8px currentColor; }
}

.robo-wheels {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 6px;
}

.robo-wheels span {
  width: 16px;
  height: 16px;
  background: #1e293b;
  border: 3px solid #64748b;
  border-radius: 50%;
  animation: wheelSpin 2s linear infinite;
}

@keyframes wheelSpin {
  to { transform: rotate(360deg); }
}

.robo-arm {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
}

.robo-base {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 12px;
  background: #64748b;
  border-radius: 4px;
}

.robo-joint-1 {
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 8px;
  height: 40px;
  background: #94a3b8;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-30deg);
  animation: armSwing1 3s ease-in-out infinite;
  border-radius: 4px;
}

.robo-joint-2 {
  position: absolute;
  bottom: 48px;
  left: 50%;
  width: 8px;
  height: 32px;
  background: #cbd5e1;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(40deg);
  animation: armSwing2 3s ease-in-out infinite;
  border-radius: 4px;
}

.robo-claw {
  position: absolute;
  bottom: 76px;
  left: 50%;
  width: 16px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: clawGrab 3s ease-in-out infinite;
}

@keyframes armSwing1 {
  0%, 100% { transform: translateX(-50%) rotate(-30deg); }
  50% { transform: translateX(-50%) rotate(-10deg); }
}

@keyframes armSwing2 {
  0%, 100% { transform: translateX(-50%) rotate(40deg); }
  50% { transform: translateX(-50%) rotate(20deg); }
}

@keyframes clawGrab {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(0.85); }
}

.robo-blocks span {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  animation: blockFloat 3s ease-in-out infinite;
}

.robo-blocks span:nth-child(1) { bottom: 30px; left: 24px; background: #3b82f6; animation-delay: 0s; }
.robo-blocks span:nth-child(2) { bottom: 50px; left: 36px; background: #f97316; animation-delay: 0.5s; }
.robo-blocks span:nth-child(3) { bottom: 38px; left: 48px; background: #4ade80; animation-delay: 1s; }

@keyframes blockFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.robo-code-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: #0f172a;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border: 1px solid var(--color-border);
}

.robo-code-line { color: #94a3b8; }
.robo-code-line .ck { color: #c084fc; }
.robo-code-line .cn { color: #4ade80; }

.card-grid-6 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.audience-grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

/* Prevent grid/flex children from forcing horizontal scroll */
.hero-grid > *,
.ai-tutor-grid > *,
.phaser-grid > *,
.whatsapp-grid > *,
.robotics-grid > *,
.split-section > *,
.contact-grid > *,
.footer-grid > *,
.bento-grid > *,
.card-grid > *,
.audience-grid > * {
  min-width: 0;
}

.hero-visual,
.ai-chat-demo,
.phaser-game-wrap,
.whatsapp-demo-wrap,
.robotics-visual,
.hero-learning-card,
.ai-chat-window,
.phaser-game-frame,
.whatsapp-phone,
.robo-lab-scene {
  width: 100%;
  max-width: 100%;
}

.learning-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(139, 124, 247, 0.15);
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.9rem;
}

.audience-whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.06), var(--color-bg-card));
}

.audience-robotics {
  border-color: rgba(110, 231, 183, 0.35);
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.06), var(--color-bg-card));
}

.product-label-wa {
  color: #86efac;
  background: rgba(37, 211, 102, 0.15);
}

.product-label-robo {
  color: var(--color-mint);
  background: rgba(110, 231, 183, 0.15);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  animation: waFloatPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  color: white;
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

@keyframes waFloatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.65); }
}

/* ─── Interactive polish & scroll progress ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-mint));
  box-shadow: 0 0 12px rgba(139, 124, 247, 0.5);
  pointer-events: none;
}

.tech-tags span,
.phaser-game-tags span,
.trust-pills span {
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, border-color 0.2s;
}

.tag-active,
.tech-tags span.tag-active,
.phaser-game-tags span.tag-active,
.bento-tags span.tag-active,
.trust-pills span.tag-active {
  transform: scale(1.06);
  border-color: var(--color-accent) !important;
  background: rgba(255, 179, 71, 0.15) !important;
}

.btn:active {
  transform: scale(0.97);
}

/* ─── Responsive: tablets & small laptops ─── */
@media (max-width: 968px) {
  .section,
  .cta-section {
    padding: 64px 0;
  }

  .ai-tutor-hero,
  .phaser-hero,
  .whatsapp-hero,
  .robotics-hero,
  .hero-edtech {
    padding: 64px 0;
  }

  .hero-learning-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .whatsapp-phone {
    max-width: 100%;
  }

  .robo-lab-scene {
    max-width: 100%;
    margin: 0 auto;
  }

  .ai-chat-window,
  .phaser-game-frame {
    max-width: 100%;
  }

  .hero-actions {
    gap: 12px;
  }

  .split-section {
    gap: 40px;
  }

  .ai-tutor-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ai-tutor-content {
    order: -1;
  }

  .phaser-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phaser-content {
    order: -1;
  }

  .whatsapp-grid,
  .robotics-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .whatsapp-content,
  .robotics-content {
    order: -1;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }
}

@media (min-width: 600px) and (max-width: 968px) {
  .card-grid-6,
  .audience-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ─── Responsive: mobile ─── */
@media (max-width: 768px) {
  .ambience-gradient {
    background-attachment: scroll;
  }

  .ambience-glyphs,
  .ambience-grain,
  .ambience-particles {
    display: none;
  }

  .orb-wa,
  .orb-mint {
    display: none;
  }

  .ambience-orb {
    filter: blur(48px);
    opacity: 0.35;
  }

  .orb-purple {
    width: 280px;
    height: 280px;
  }

  .orb-orange {
    width: 240px;
    height: 240px;
  }

  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(28, 22, 52, 0.97);
  }

  .page-edtech .card,
  .page-edtech .audience-card,
  .page-edtech .product-card,
  .page-edtech .service-item {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ai-chat-demo,
  .phaser-game-wrap,
  .whatsapp-demo-wrap {
    overflow-x: clip;
  }

  .ai-glow-ring,
  .phaser-frame-glow,
  .whatsapp-glow,
  .robotics-glow {
    inset: -8px;
    filter: blur(16px);
  }

  .hero-learning-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .whatsapp-phone {
    max-width: 100%;
  }

  .robo-lab-scene {
    max-width: 100%;
    margin: 0 auto;
  }

  .stack-marquee {
    margin: 0 -4px;
  }

  .bento-wide {
    overflow-x: clip;
  }

  .path-active em {
    font-size: 0.75rem;
  }

  .learning-path li {
    align-items: flex-start;
  }

  .path-icon {
    margin-top: 2px;
  }

  .earn-badge {
    font-size: 0.75rem;
  }

  .learning-badge-row {
    padding: 0 16px 16px;
  }

  .learning-path {
    padding: 16px;
  }

  .game-title-pill {
    font-size: 0.65rem;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .input-fake {
    min-width: 0;
    font-size: 0.78rem;
  }

  .chat-code {
    font-size: 0.72rem;
    overflow-x: auto;
  }

  .hero-content,
  .ai-tutor-content,
  .phaser-content,
  .whatsapp-content,
  .robotics-content {
    width: 100%;
  }

  .section,
  .cta-section {
    padding: 48px 0;
  }

  .hero-edtech,
  .ai-tutor-hero,
  .phaser-hero,
  .whatsapp-hero,
  .robotics-hero {
    padding: 48px 0;
  }

  .page-hero {
    padding: 48px 0 32px;
  }

  .hero-content h1,
  .hero-content h2,
  .ai-tutor-content h2,
  .phaser-content h2,
  .whatsapp-content h2,
  .robotics-content h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-lead,
  .ai-lead,
  .phaser-lead,
  .whatsapp-lead,
  .robotics-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .stat strong {
    font-size: 1.35rem;
  }

  .card-grid,
  .card-grid-6,
  .audience-grid,
  .audience-grid-5 {
    grid-template-columns: 1fr;
  }

  .card,
  .bento-card,
  .audience-card,
  .product-card {
    padding: 24px;
  }

  .card:hover,
  .bento-card:hover,
  .audience-card:hover,
  .product-card:hover {
    transform: none;
  }

  .whatsapp-features li,
  .robotics-features li,
  .ai-features li,
  .phaser-features li {
    gap: 12px;
  }

  .wa-feat-icon,
  .robo-feat-icon,
  .ai-feat-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .nav-links a {
    padding: 12px 16px;
    min-height: 44px;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .ctrl-key {
    min-height: 44px;
    flex: 1;
    text-align: center;
  }

  .game-controls {
    display: flex;
    gap: 8px;
  }

  .ai-quick-btn,
  .wa-chip {
    min-height: 36px;
  }

  .learning-path li {
    font-size: 0.88rem;
    padding: 10px 12px;
  }

  .cta-box {
    padding: 32px 20px;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .tech-showcase .bento-grid {
    gap: 16px;
  }

  .hero-visual {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-wordmark {
    font-size: 1.15rem;
  }

  .logo-icon-wrap {
    width: 34px;
    height: 34px;
  }

  .badge {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .hero-edtech,
  .ai-tutor-hero,
  .phaser-hero,
  .whatsapp-hero,
  .robotics-hero,
  .hero {
    padding: 36px 0;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 1.75rem;
  }

  .phaser-game-tags,
  .robotics-tags,
  .tech-pills {
    gap: 6px;
  }

  .phaser-game-tags span,
  .robotics-tags span {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .game-scene {
    height: 200px;
  }

  .game-player {
    animation: playerIdle 4s ease-in-out infinite;
  }

  .game-user-mode .game-player {
    animation: none !important;
  }

  @keyframes playerIdle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, 0); }
  }

  .game-controls {
    flex-wrap: wrap;
  }

  .ctrl-key {
    font-size: 0.68rem;
    padding: 8px 8px;
  }

  .ctrl-jump {
    flex: 1.4;
  }

  .wa-chat-area {
    min-height: 280px;
  }

  .robo-workbench {
    height: 180px;
  }

  .footer-grid {
    gap: 24px;
  }

  .ai-chat-body {
    max-height: 240px;
    overflow-y: auto;
  }

  .ambience-glyphs .glyph {
    display: none;
  }

  .orb-wa {
    width: 160px;
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .logo-mark .lb1, .logo-mark .lb2, .logo-mark .lb3,
  .logo-mark .lb4, .logo-mark .lb5, .logo-mark .logo-spark,
  .ambience-orb, .ambience-glyphs .glyph, .ambience-particle,
  .hero-particles span,
  .game-player, .game-coin, .game-cloud, .game-platform-float,
  .game-quiz-bubble, .game-goal, .ctrl-jump, .phaser-stars span,
  .whatsapp-phone, .robo-bot, .robo-joint-1, .robo-joint-2, .robo-claw,
  .robo-blocks span, .whatsapp-float {
    animation: none !important;
  }
}
