/* ═══════════════════════════════════════════
   INZAXIS — STYLES.CSS
   Corporate Light Theme · Poppins + Roboto
═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --primary:     #7E4A8E;
  --primary-dark:#0f6b7d;
  --primary-light:#e8f6f8;
  --secondary:   #7E4A8E;
  --secondary-light:#f3edf6;
  --accent:      #E53935;
  --highlight:   #F4C21A;
  --highlight-light:#fef9e7;
  --text:        #222222;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --bg:          #F4F5F7;
  --bg-white:    #ffffff;
  --bg-light:    #f0f4f8;
  --border:      #e2e8f0;
  --border-dark: #cbd5e1;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow:      0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.12);
  --radius:      12px;
  --radius-lg:   20px;
  --trans:       0.25s cubic-bezier(0.4,0,0.2,1);
  --font-display:"Poppins", sans-serif;
  --font-body:   "Roboto", sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
canvas { display: block; }
p { text-align: justify; }

/* ── UTILITY ── */
.container { max-width: 1480px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 60px 0; }
.bg-light { background: var(--bg); }
.text-primary { color: var(--primary); }
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(22,138,160,0.2);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 1rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-desc { color: var(--text-muted); font-size: 1rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,138,160,0.3);
}
.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(22,138,160,0.45);
  transform: translateY(-2px);
}
.ilearn-btn {
  background:var(--primary) ;
  color:var(--primary-light);
  border: 2px solid ;
}
.ilearn-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn--nav {
  background: var(--primary);
  color: #fff;
  padding: 9px 20px;
  font-size: 0.85rem;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(22,138,160,0.25);
}
.btn--lg { padding: 14px 28px; font-size: 0.95rem; }
.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════
   TOP BAR
═══════════════════ */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.75rem;
  padding: 7px 0;
}
.topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.9;
  flex-wrap: wrap;
  gap: 6px;
}

/* ═══════════════════
   NAV
═══════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: var(--trans);
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo { flex-shrink: 0; }
.logo-img { height: 48px; width: auto; object-fit: contain; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav__links > li { position: relative; }
.nav__links a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 7px;
  transition: var(--trans);
}
.nav__links a:hover { color: var(--primary); background: var(--primary-light); }
.nav__links > li.has-dropdown > a { cursor: default; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
  padding: 8px;
  z-index: 200;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  padding: 9px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
  color: var(--text);
}
.dropdown li a:hover { background: var(--primary-light); color: var(--primary); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--trans); }

/* ═══════════════════
   HERO
═══════════════════ */
.hero {
  background: linear-gradient(135deg, #0d5f6e 0%, #168AA0 40%, #1ba5bf 100%);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: #fff;
}
.shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.shape-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; }
.shape-3 { width: 200px; height: 200px; top: 40%; left: 35%; }
.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--highlight); animation: dot-pulse 2s infinite; }
@keyframes dot-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero__left h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero__left h1 .text-primary { color: var(--highlight); -webkit-text-fill-color: var(--highlight); }
.hero__sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 2rem;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__ctas .btn--primary { background: var(--highlight); color: var(--text); box-shadow: 0 4px 16px rgba(244,194,26,0.4); }
.hero__ctas .btn--primary:hover { background: #e0b015; }
.hero__ctas .btn--outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.hero__ctas .btn--outline:hover { background: rgba(255,255,255,0.15); }
.hero__stats { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: #fff; }
.stat span { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }
.hero__right {
  position: relative;
  height: 480px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
#threeCanvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: var(--radius-lg);
  cursor: grab;
  touch-action: none;
}
#threeCanvas:active {
  cursor: grabbing;
}
.canvas-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(13, 27, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 5;
  pointer-events: none;
}

/* Floating 3D HUD Cards */
.hero-3d-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  color: #fff;
  z-index: 4;
  pointer-events: auto;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.hero-3d-card:hover {
  transform: scale(1.05) translateY(-3px) !important;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}
.hfc-icon {
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.22);
  padding: 5px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hero-3d-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.hero-3d-card span {
  display: block;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-3d-card.card-1 {
  top: 16px;
  left: 12px;
  animation: floatCard 4s ease-in-out infinite;
}
.hero-3d-card.card-2 {
  bottom: 50px;
  left: 12px;
  animation: floatCard 4.5s ease-in-out infinite 1s;
}
.hero-3d-card.card-3 {
  top: 36px;
  right: 12px;
  animation: floatCard 5s ease-in-out infinite 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dot-pulse 1.5s infinite; }
.hero__scroll-hint {
  text-align: center;
  padding-bottom: 28px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scroll-bounce 1.5s infinite;
}
@keyframes scroll-bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(4px)} }

/* ═══════════════════
   ABOUT
═══════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about__header {
  grid-column: 1 / -1;
  text-align: center;
}
.about__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.70rem;
  line-height: 1.2;
}
.about__header .section-tag {
  display: inline-block;
  margin-bottom: 0.40rem;
}
.about__left p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.about__mission-vision { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.mv-card {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  /* border-left: 4px solid transparent; */
  border: 1px solid var(--border);
}
.mv-mission { background: var(--primary-light); border-color: var(--primary); }
.mv-vision { background: var(--secondary-light); border-color: var(--secondary); }
.mv-icon { font-size: 1.5rem; flex-shrink: 0; }
.mv-card strong { font-family: var(--font-display); font-size: 0.9rem; display: block; margin-bottom: 4px; font-weight: 600; }
.mv-card p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }
.about__card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.about-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0.15;
}
.about-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.accent-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-color: transparent;
}
.accent-card::before { background: rgba(255,255,255,0.25); }
.accent-card .asc-num { color: #fff; }
.accent-card .asc-label { color: rgba(255,255,255,0.85); }
.accent-card .asc-icon { color: rgba(255,255,255,0.9); }
.highlight-card {
  background: linear-gradient(135deg, var(--highlight) 0%, #f0c420 100%);
  color: var(--text);
  border-color: transparent;
}
.highlight-card::before { background: rgba(0,0,0,0.08); }
.highlight-card .asc-num { color: var(--text); }
.highlight-card .asc-label { color: rgba(0,0,0,0.7); }
.highlight-card .asc-icon { color: rgba(0,0,0,0.7); }
.asc-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.asc-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}
.asc-icon {
  font-size: 2.2rem;
  margin-top: 4px;
  opacity: 0.9;
}


/* ═══════════════════
   PRODUCTS
═══════════════════ */
.prod-tab-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.prod-tab-btn {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  border: 2px solid var(--border-dark);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--trans);
}
.prod-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.prod-tab-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.prod-panel { display: none; }
.prod-panel.active { display: block; }
.prod-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.prod-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.optraa-badge { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(22,138,160,0.25); }
.ilearn-badge { background: var(--secondary-light); color: var(--secondary); border: 1px solid rgba(126,74,142,0.25); }
.smarty-badge { background: var(--highlight-light); color: #b8860b; border: 1px solid rgba(244,194,26,0.4); }
.olympiad-badge { background: #fef2f2; color: var(--accent); border: 1px solid rgba(229,57,53,0.25); }
.prod-panel__info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.prod-panel__info > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.prod-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.75rem; }
.prod-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.feat-check { color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Mockups shared */
.dash-mockup, .ilearn-mockup, .smarty-mockup, .olympiad-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dash-title { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--text); }
.dash-live { font-size: 0.7rem; color: var(--primary); display: flex; align-items: center; gap: 5px; font-weight: 600; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: dot-pulse 1.5s infinite; }

/* OPTRAA mockup */
.dash-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 16px; }
.dm-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border);
}
.dm-icon { font-size: 1.4rem; }
.dm-card strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.dm-card span { font-size: 0.7rem; color: var(--text-muted); }
.dash-chart-area { margin-bottom: 14px; }
.dca-title { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--primary);
  transition: height 1.2s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  position: relative;
}
.chart-bar:hover::after {
  content: attr(data-val);
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  background: var(--primary);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.chart-labels { display: flex; gap: 8px; margin-top: 6px; }
.chart-labels span { flex: 1; text-align: center; font-size: 0.62rem; color: var(--text-muted); }
.dash-alerts { display: flex; flex-direction: column; gap: 6px; }
.da-item { padding: 8px 12px; border-radius: 7px; font-size: 0.75rem; }
.da-item.warn { background: #fef9e7; color: #92600a; }
.da-item.ok { background: #f0fdf4; color: #166534; }
.da-item.info { background: var(--primary-light); color: var(--primary-dark); }

/* iLearn mockup */
.streak-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fef9e7;
  border: 1px solid rgba(244,194,26,0.4);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.streak-fire { font-size: 1.6rem; }
.streak-row div { flex: 1; }
.streak-row strong { display: block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: #8a6200; }
.streak-row span { font-size: 0.72rem; color: var(--text-muted); }
.streak-medal { font-size: 1.4rem; }
.xp-section { margin-bottom: 14px; }
.xp-top { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; }
.xp-val { color: var(--primary); font-weight: 600; }
.xp-track { height: 9px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.xp-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 999px; transition: width 1.5s cubic-bezier(0.4,0,0.2,1); }
.module-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.mod-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 10px 6px; border-radius: 9px;
  border: 1px solid var(--border); font-size: 0.65rem; text-align: center;
  transition: var(--trans);
}
.mod-card.completed { background: #f0fdf4; border-color: #86efac; }
.mod-card.active { background: var(--primary-light); border-color: var(--primary); }
.mod-card.locked { opacity: 0.5; }
.mod-card span { font-size: 0.68rem; color: var(--text-muted); }
.mod-card strong { font-size: 0.65rem; color: var(--primary); }
.mod-card.active strong { color: var(--primary-dark); }
.lb-section { display: flex; flex-direction: column; gap: 5px; }
.lb-row {
  display: flex; justify-content: space-between;
  padding: 7px 11px; border-radius: 7px; font-size: 0.78rem; font-weight: 500;
}
.lb-row.gold { background: #fef9e7; color: #8a6200; }
.lb-row.silver { background: var(--bg); color: var(--text-muted); }
.lb-row.you { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }

/* SMARTY mockup */
.smarty-gate-feed { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.gf-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 0.77rem;
}
.gf-row.entry { background: #f0fdf4; }
.gf-row.late { background: #fef9e7; }
.gf-icon { font-size: 0.8rem; }
.gf-name { flex: 1; font-weight: 500; }
.gf-time { color: var(--text-muted); font-size: 0.7rem; }
.gf-status { font-size: 0.7rem; font-weight: 600; color: var(--primary); }
.gf-row.late .gf-status { color: #b8860b; }
.smarty-sms-notif {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--primary-light); border: 1px solid rgba(22,138,160,0.2);
  border-radius: 10px; padding: 12px; margin-bottom: 14px;
  font-size: 0.77rem;
}
.smarty-sms-notif > span:first-child { font-size: 1.3rem; flex-shrink: 0; }
.smarty-sms-notif strong { display: block; font-family: var(--font-display); font-size: 0.75rem; margin-bottom: 3px; color: var(--primary-dark); }
.smarty-sms-notif p { color: var(--text-muted); font-style: italic; font-size: 0.72rem; }
.sms-tick { color: var(--primary); flex-shrink: 0; }
.smarty-stats { display: flex; justify-content: space-around; }
.ss-item { text-align: center; }
.ss-item strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.ss-item span { font-size: 0.7rem; color: var(--text-muted); }

/* Olympiad mockup */
.oly-subjects { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.oly-sub {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 14px 8px; border-radius: 10px;
  font-size: 0.72rem; font-weight: 600; border: 1px solid var(--border);
  text-align: center;
}
.oly-sub.science { background: #f0fdf4; color: #166534; }
.oly-sub.maths { background: var(--primary-light); color: var(--primary-dark); }
.oly-sub.english { background: var(--secondary-light); color: var(--secondary); }
.oly-sub.gk { background: var(--highlight-light); color: #8a6200; }
.oly-stat-row { display: flex; justify-content: space-around; margin-bottom: 16px; }
.oly-stat { text-align: center; }
.oly-stat strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.oly-stat span { font-size: 0.7rem; color: var(--text-muted); }
.oly-timeline { display: flex; align-items: center; gap: 4px; overflow-x: auto; padding: 8px 0; }
.ot-step {
  flex: 1; min-width: 0;
  text-align: center; font-size: 0.65rem; font-weight: 600;
  padding: 7px 4px; border-radius: 6px;
  background: var(--bg); color: var(--text-muted); border: 1px solid var(--border);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ot-step.done { background: #f0fdf4; color: #166534; border-color: #86efac; }
.ot-step.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ot-arrow { color: var(--text-light); font-size: 0.8rem; flex-shrink: 0; }

/* ═══════════════════
   HOW IT WORKS
═══════════════════ */
.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: nowrap;
  justify-content: center;
}
.hiw-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  position: relative;
}
.hiw-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.hiw-num {
  position: absolute;
  top: -14px; left: 20px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
}
.hiw-icon { font-size: 2rem; margin-bottom: 10px; }
.hiw-step h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.hiw-step p { font-size: 0.82rem; color: var(--text-muted); }
.hiw-arrow { color: var(--primary); font-size: 1.4rem; padding-top: 40px; flex-shrink: 0; padding-left: 8px; padding-right: 8px; }

/* ═══════════════════
   TESTIMONIALS
═══════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border-top: 4px solid var(--primary);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-stars { color: var(--highlight); font-size: 0.9rem; margin-bottom: 12px; }
.testi-card > p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.85rem; font-weight: 600; }
.testi-author span { font-size: 0.75rem; color: var(--text-muted); }

/* ═══════════════════
   CLIENTS
═══════════════════ */
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.client-logo-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.client-logo-item:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.clients-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* ═══════════════════
   CONTACT
═══════════════════ */
.contact__grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: var(--trans);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,138,160,0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; }
.form-check { flex-direction: row; align-items: center; }
.check-label { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--text-muted); cursor: pointer; }
.check-label input { margin-top: 2px; accent-color: var(--primary); }
.form-note { text-align: center; font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.ci-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.ci-card h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.ci-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.ci-note { font-size: 0.75rem; }
.ci-why ul { display: flex; flex-direction: column; gap: 7px; }
.ci-why li { font-size: 0.83rem; color: var(--text-muted); }
.social-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.social-btn {
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
  transition: var(--trans);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.social-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.social-btn.fb:hover { background: #1877f2; border-color: #1877f2; }
.social-btn.tw:hover { background: #1da1f2; border-color: #1da1f2; }
.social-btn.li:hover { background: #0a66c2; border-color: #0a66c2; }

.form-message { height: 1.5rem; text-align: center; font-size: 0.95rem; margin-top: 12px; font-weight: 600; }

/* ═══════════════════
   FOOTER
═══════════════════ */
.footer { background: #0d1b2a; color: #94a3b8; }
.footer__top { padding: 60px 0 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__brand .footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #fff;
  padding: 6px 12px;
}
.footer__brand p { font-size: 0.83rem; line-height: 1.7; max-width: 260px; margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: #e2e8f0; margin-bottom: 4px; }
.footer__col a { font-size: 0.82rem; color: #94a3b8; transition: var(--trans); }
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom a { color: var(--primary); }
.footer__bottom a:hover { text-decoration: underline; }

/* ═══════════════════
   AI CHAT
═══════════════════ */
.ai-chat { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ai-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border: none; border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(22,138,160,0.4);
  transition: var(--trans);
  position: relative;
}
.ai-toggle:hover { background: var(--primary-dark); transform: translateY(-2px); }
.ai-toggle-label { color: #fff; }
.ai-ping {
  position: absolute; top: -3px; right: -3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--highlight);
}
.ai-ping::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--highlight);
  animation: ping-anim 1.8s infinite;
}
@keyframes ping-anim { 0%{opacity:1;transform:scale(1)} 100%{opacity:0;transform:scale(2.2)} }
.ai-panel {
  width: 350px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.ai-panel.open { display: flex; animation: slideup 0.3s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes slideup { from{opacity:0;transform:translateY(16px) scale(0.97)} to{opacity:1;transform:none} }
.ai-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.ai-logo-img { height: 32px; width: auto; border-radius: 6px; background: rgba(255,255,255,0.2); padding: 3px; }
.ai-header > div { flex: 1; }
.ai-header strong { display: block; font-size: 0.875rem; font-weight: 700; }
.ai-status { font-size: 0.68rem; color: rgba(255,255,255,0.8); }
.ai-close-btn { background: rgba(255,255,255,0.15); border: none; color: #fff; cursor: pointer; border-radius: 50%; width: 26px; height: 26px; font-size: 0.8rem; transition: var(--trans); display: flex; align-items: center; justify-content: center; }
.ai-close-btn:hover { background: rgba(255,255,255,0.3); }
.ai-body {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  max-height: 240px;
  scrollbar-width: thin;
}
.ai-msg {
  padding: 10px 13px; border-radius: 12px;
  font-size: 0.82rem; line-height: 1.55; max-width: 88%;
}
.ai-msg.bot { background: var(--primary-light); color: var(--text); align-self: flex-start; border: 1px solid rgba(22,138,160,0.15); }
.ai-msg.user { background: var(--primary); color: #fff; align-self: flex-end; }
.ai-typing { background: var(--bg); align-self: flex-start; padding: 10px 14px; border-radius: 12px; }
.typing-dots { display: flex; gap: 4px; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: dot-b 1.2s infinite; }
.typing-dots span:nth-child(2){animation-delay:0.2s} .typing-dots span:nth-child(3){animation-delay:0.4s}
@keyframes dot-b { 0%,80%,100%{transform:scale(0.8);opacity:0.5} 40%{transform:scale(1.1);opacity:1} }
.ai-quick { display: flex; flex-direction: column; gap: 5px; padding: 4px 14px 10px; }
.qbtn {
  text-align: left; background: var(--bg); border: 1px solid var(--border);
  border-radius: 7px; padding: 8px 11px; font-size: 0.77rem;
  color: var(--text-muted); cursor: pointer; transition: var(--trans); font-family: var(--font-body);
}
.qbtn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.ai-input-row { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); }
.ai-input {
  flex: 1; background: var(--bg); border: 1px solid var(--border-dark);
  border-radius: 7px; padding: 8px 12px; color: var(--text);
  font-size: 0.82rem; font-family: var(--font-body); outline: none; transition: var(--trans);
}
.ai-input:focus { border-color: var(--primary); }
.ai-send-btn { width: 34px; height: 34px; background: var(--primary); border: none; border-radius: 7px; color: #fff; font-size: 0.85rem; cursor: pointer; transition: var(--trans); display: flex; align-items: center; justify-content: center; }
.ai-send-btn:hover { background: var(--primary-dark); }

/* ═══════════════════
   REVEAL
═══════════════════ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.revealed { opacity: 1 !important; transform: none !important; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ═══════════════════
   RESPONSIVE
═══════════════════ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .contact__grid { grid-template-columns: 1fr; }
  .prod-panel__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; padding: 80px 20px 40px; }
  .hero__right { height: 340px; max-width: 100%; overflow: hidden; }
  .hero-3d-card { padding: 6px 10px; }
  .hero-3d-card strong { font-size: 0.72rem; }
  .hero-3d-card span { font-size: 0.6rem; }
  .hero-3d-card.card-1 { top: 10px; left: 8px; }
  .hero-3d-card.card-2 { bottom: 40px; left: 8px; }
  .hero-3d-card.card-3 { top: 20px; right: 8px; }
  .hero__stats { justify-content: center; }
  .hero__sub { text-align: center; }
  .hero__tag { justify-content: center; }
  .hero__ctas { justify-content: center; }
  .hero__left h1 { text-align: center; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid { grid-template-columns: 1fr; }
  .hiw-steps { flex-direction: column; align-items: center; }
  .hiw-arrow { transform: rotate(90deg); padding: 0; font-size: 1.4rem; }
  .hiw-step { max-width: 100%; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .btn--nav { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__inner span:last-child { display: none; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
  .module-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .ai-panel { width: calc(100vw - 32px); }
  .dash-metrics { grid-template-columns: 1fr 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
/* Trusted Institutions Section */

.trusted {
    width: 100%;
    padding: 40px 0;
    background: #f8fafc;
    overflow: hidden;
}

.trusted .trusted-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 30px;
}

/* Carousel container */

.trusted .logo-slider {
    width: 100%;
    max-width: 1320px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

/* Horizontal scrolling track */

.trusted .logo-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    width: max-content;
    gap: 0;
    animation: institutionScroll 30s linear infinite;
    will-change: transform;
}

/* Individual institution */

.trusted .logo-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    flex: 0 0 220px;
    width: 220px;
    min-width: 220px;

    padding: 10px 15px;
    box-sizing: border-box;
    text-align: center;
    gap: 12px;
}

/* Institution logo */

.trusted .logo-slide img {
    width: 150px;
    height: 80px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    opacity: 1;
    filter: none;
}

/* Institution name */

.trusted .institution-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #334155;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 42px;
    text-align: center;
    white-space: normal;
}

/* Right-to-left infinite animation */

@keyframes institutionScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Mobile responsive */

@media (max-width: 768px) {

    .trusted {
        padding: 25px 0;
    }

    .trusted .logo-slide {
        flex: 0 0 170px;
        width: 170px;
        min-width: 170px;
        padding: 10px;
    }

    .trusted .logo-slide img {
        width: 120px;
        height: 65px;
    }

    .trusted .institution-name {
        font-size: 12px;
    }

    .trusted .trusted-label {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trusted .logo-track {
        animation: none;
    }

    .trusted .logo-slider {
        overflow-x: auto;
    }
}

/* ═══════════════════
   PARTNERS & FRANCHISEE
═══════════════════ */
.partners {
  background: var(--bg-white);
}

.partners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.partners__franchise,
.partners__list {
  padding: 24px 0;
}

.partners__franchise .section-header,
.partners__list .section-header {
  text-align: left;
  margin-bottom: 24px;
  max-width: none;
}

.partners__franchise .section-header h2,
.partners__list .section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}

.franchise__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.franchise__content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.franchise__content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.franchise__content a:hover {
  color: var(--primary-dark);
}

.partner-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.partner-card__logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}

.partner-card__info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.partner-card__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .partners__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .partner-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  
  .partner-card__logo {
    width: 80px;
    height: 80px;
  }
  
  .partners__franchise .section-header,
  .partners__list .section-header {
    text-align: center;
  }
}

