:root {
  --bg: #fffdfa;
  --card: #ffffff;
  --peach: #fff5ef;
  --peach-2: #fff0e7;
  --coral: #ff6b5f;
  --coral-strong: #ff5b4e;
  --navy: #142347;
  --text: #354052;
  --muted: #6f7a8c;
  --border: #f1dfd2;
  --shadow: 0 16px 36px rgba(20, 35, 71, 0.08);
  --green: #1cb85f;
  --green-dark: #11974a;
  --red: #f14949;
  --amber: #f7a11b;
  --purple: #9b6cff;
  --blue: #3a86ff;
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 215, 201, 0.35), transparent 26%),
    radial-gradient(circle at bottom left, rgba(199, 181, 255, 0.20), transparent 22%),
    var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.12; margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: #000;
  color: #fff;
  padding: .75rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 1rem; }

.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,245,239,.75), rgba(255,250,247,.55)); border-block: 1px solid rgba(241,223,210,.55); }
.section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-heading p { color: var(--muted); }
.section-tag, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow { background: rgba(255,255,255,.9); }
.green-text { color: var(--green); }
.red-text { color: var(--red); }
.amber-text { color: var(--amber); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 250, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(241, 223, 210, .65);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  color: var(--coral);
}
.brand-icon { display: inline-flex; width: 42px; height: 42px; }
.brand-wordmark { font-size: 2rem; letter-spacing: -.03em; }
.brand-wordmark .heavy { font-weight: 700; }
.brand-wordmark .light { font-weight: 400; opacity: .65; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-weight: 500;
  color: var(--navy);
}
.primary-nav a:not(.btn):hover { color: var(--coral); }
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: .25rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .95rem 1.3rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-sm { min-height: 44px; padding: .7rem 1rem; }
.btn-outline { background: #fff; color: var(--coral); border-color: var(--coral); }
.btn-light { background: #fff; color: var(--coral); }
.btn-whatsapp { background: linear-gradient(180deg, #25D366, #1BAA51); color: #fff; }

.hero { padding-top: 4.75rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(2.8rem, 6vw, 4.95rem); letter-spacing: -.04em; }
.hero-copy h1 span { color: var(--coral); }
.hero-lead { max-width: 640px; font-size: 1.1rem; color: var(--muted); margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.4rem; }
.mini-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.5rem 0;
}
.mini-highlights div {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 18px;
}
.mini-highlights strong { display: block; color: var(--navy); margin-bottom: .35rem; }
.mini-highlights span { color: var(--muted); font-size: .95rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.trust-pill {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .75rem 1rem;
  color: var(--navy);
  font-size: .92rem;
}
.hero-visual { position: relative; }
.device-stage { position: relative; padding: 1.5rem 0 .5rem 1rem; }
.screen-card {
  background: #fff;
  border: 1px solid rgba(20,35,71,.06);
  box-shadow: var(--shadow);
  border-radius: 28px;
  overflow: hidden;
}
.desktop-card img { width: 100%; aspect-ratio: 1.48 / 1; object-fit: cover; object-position: center; }
.window-bar {
  display: flex;
  gap: .45rem;
  align-items: center;
  padding: .8rem 1rem;
  border-bottom: 1px solid #f2f2f2;
}
.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffd3cb;
}
.window-bar span:nth-child(2) { background: #f8e5b7; }
.window-bar span:nth-child(3) { background: #c8efcf; }
.floating-metric {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(241,223,210,.9);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: .95rem 1rem;
  min-width: 170px;
}
.floating-metric strong { display: block; color: var(--navy); font-size: 1.1rem; }
.floating-metric small, .metric-label { color: var(--muted); }
.metric-one { left: -10px; bottom: 12px; }
.metric-two { right: -18px; top: 30px; }

.two-col, .attendance-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: .8rem;
}
.check-list li {
  position: relative;
  padding-left: 1.7rem;
}
.check-list li::before {
  content: '•';
  position: absolute;
  left: .4rem;
  color: var(--coral);
  font-size: 1.15rem;
}
.ai-panel {
  display: grid;
  gap: 1rem;
}
.ai-chat,
.ai-tasks,
.attendance-card,
.benefit-stack,
.testimonial,
.faq-grid details,
.legal-wrap details {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.ai-chat { padding: 1rem; }
.bubble {
  max-width: 85%;
  padding: .95rem 1rem;
  border-radius: 18px;
  margin-bottom: .75rem;
}
.bubble-user {
  margin-left: auto;
  background: #f2ebff;
  color: var(--navy);
  border-bottom-right-radius: 8px;
}
.bubble-ai {
  background: #fff3ec;
  border-bottom-left-radius: 8px;
}
.ai-tasks {
  padding: 1rem;
  display: grid;
  gap: .7rem;
}
.ai-tasks span {
  padding: .85rem 1rem;
  border-radius: 16px;
  background: #fff8f5;
  border: 1px solid #f5ddd2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card {
  background: rgba(255,255,255,.95);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.feature-card.active { border-color: #cfe9d2; background: linear-gradient(180deg, #fafffb, #ffffff); }
.icon-circle {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .9rem;
}
.icon-circle.green { background: #e8f8ef; color: var(--green); }
.icon-circle.blue { background: #ebf3ff; color: var(--blue); }
.icon-circle.orange { background: #fff5e4; color: var(--amber); }
.icon-circle.purple { background: #f4ecff; color: var(--purple); }
.icon-circle.pink { background: #fff0f4; color: #ff5d90; }
.icon-circle.coral { background: #fff1ec; color: var(--coral); }

.attendance-showcase {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem;
}
.attendance-card { padding: 1.1rem; }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}
.card-head span { color: var(--muted); font-size: .95rem; }
.attendance-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1rem;
}
.attendance-stats div {
  background: #fff8f5;
  border: 1px solid #f5e2d6;
  border-radius: 18px;
  padding: .9rem;
}
.attendance-stats strong { display: block; font-size: 1.5rem; line-height: 1.1; }
.attendance-stats span { color: var(--muted); font-size: .9rem; }
.attendance-list { display: grid; gap: .75rem; }
.attendance-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid #f3ede7;
}
.attendance-list div:last-child { border-bottom: 0; }
.attendance-list em { font-style: normal; font-weight: 600; }
.benefit-stack {
  padding: 1rem;
  display: grid;
  gap: .75rem;
}
.benefit-stack div {
  padding: .95rem 1rem;
  background: #fff8f4;
  border-radius: 16px;
  border: 1px solid #f5ddd2;
  color: var(--navy);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-box {
  padding: 1.35rem;
  border-radius: 22px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-box strong { display: block; color: var(--navy); font-size: 2rem; line-height: 1.1; margin-bottom: .45rem; }
.stat-box span { color: var(--muted); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.testimonial { padding: 1.35rem; margin: 0; }
.testimonial p { color: var(--navy); font-weight: 500; }
.testimonial footer { color: var(--muted); font-weight: 600; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.faq-grid details,
.legal-wrap details { padding: 1.15rem 1.2rem; }
.faq-grid summary,
.legal-wrap summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
.faq-grid p,
.legal-content p { color: var(--muted); margin-top: .8rem; }
.legal-wrap { display: grid; gap: 1rem; }
.section-legal { padding-top: 2rem; }

.cta-band {
  background: linear-gradient(135deg, var(--coral), #ff8a57);
  color: #fff;
  border-radius: 32px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 20px 50px rgba(255, 107, 95, .18);
}
.cta-band h2, .cta-band p, .cta-band .section-tag { color: #fff; }
.cta-band .section-tag { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.25); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: flex-end; }

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(241,223,210,.7);
  background: rgba(255,255,255,.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 1.2rem;
}
.footer-brand { margin-bottom: 1rem; }
.footer-text { max-width: 280px; color: var(--muted); }
.site-footer h4 { margin-bottom: .9rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.site-footer a:hover { color: var(--coral); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(241,223,210,.7);
  color: var(--muted);
  font-size: .95rem;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: linear-gradient(180deg, #25D366, #1BAA51);
  color: #fff;
  border-radius: 999px;
  padding: .95rem 1.1rem;
  box-shadow: 0 15px 40px rgba(37, 211, 102, .35);
  font-weight: 600;
}
.floating-wa::before {
  content: '✆';
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

@media (max-width: 1060px) {
  .hero-grid,
  .two-col,
  .attendance-layout,
  .cta-band,
  .footer-grid,
  .stats-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .attendance-showcase { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .hero-copy h1 br { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .75rem);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .device-stage { padding: 1rem 0; }
  .metric-two { right: 0; top: 12px; }
}

@media (max-width: 720px) {
  .section { padding: 4rem 0; }
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .brand-wordmark { font-size: 1.8rem; }
  .hero-copy h1 { font-size: clamp(2.4rem, 13vw, 3.6rem); }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .mini-highlights,
  .feature-grid { grid-template-columns: 1fr; }
  .attendance-stats { grid-template-columns: 1fr; }
  .floating-metric {
    position: static;
    margin-top: .75rem;
    width: 100%;
  }
  .floating-wa span { display: none; }
  .floating-wa { padding: .85rem; }
  .footer-bottom { flex-direction: column; }
}


/* Official uploaded Klassy logo */
.official-logo {
  display: block;
  width: 205px;
  height: auto;
  object-fit: contain;
}
.footer-brand .official-logo {
  width: 150px;
}

/* Legal popups */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal:target {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 35, 71, 0.42);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(20, 35, 71, .22);
  padding: 2rem;
}
.modal-card h2 {
  margin-right: 2rem;
}
.modal-card p {
  color: var(--muted);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--peach);
  color: var(--coral);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 600;
}
@media (max-width: 720px) {
  .official-logo { width: 170px; }
  .footer-brand .official-logo { width: 138px; }
  .modal-card { padding: 1.4rem; border-radius: 22px; }
}


/* v2 tweaks */
.metric-one {
  left: -10px;
  bottom: 12px;
  background: linear-gradient(180deg, #eafff0, #f7fff9);
  border-color: #bce7c6;
}
.metric-one strong { color: var(--green-dark); }
.metric-one .metric-label, .metric-one small { color: #28884d; }

.trust-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.trust-main { display: flex; align-items: center; justify-content: center; min-height: 72px; }
.logo-marquee {
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: .6rem 0;
}
.logo-track {
  display: flex;
  gap: .85rem;
  width: max-content;
  animation: scroll-logos 28s linear infinite;
  align-items: center;
}
.school-logo-item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: #fff8f4;
  border: 1px solid #f4ddd1;
  white-space: nowrap;
  color: var(--navy);
  font-size: .92rem;
}
.school-logo-item strong { font-weight: 600; }
.school-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
}
.school-badge.coral { background: var(--coral); }
.school-badge.green { background: var(--green); }
.school-badge.blue { background: var(--blue); }
.school-badge.purple { background: var(--purple); }
.school-badge.amber { background: var(--amber); }
.school-badge.pink { background: #ff5d90; }
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }

.ai-mascot-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  align-items: center;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1rem;
}
.robot-mascot {
  position: relative;
  width: 130px;
  margin: 0 auto;
  padding-top: 14px;
}
.robot-antennas {
  position: absolute;
  top: 0;
  left: 50%;
  width: 74px;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
}
.robot-antennas span {
  position: relative;
  display: block;
  width: 3px;
  height: 16px;
  background: #cfd9e8;
}
.robot-antennas span::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}
.robot-head {
  width: 96px;
  height: 74px;
  margin: 0 auto;
  border-radius: 28px;
  background: #fff;
  border: 4px solid #e6edf7;
  box-shadow: 0 12px 24px rgba(20,35,71,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.robot-eyes { display: flex; gap: 14px; margin-bottom: 8px; }
.robot-eyes span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--navy);
}
.robot-mouth {
  width: 28px; height: 12px; border-bottom: 4px solid var(--navy); border-radius: 0 0 20px 20px;
}
.robot-body {
  width: 112px;
  height: 104px;
  margin: 10px auto 0;
  border-radius: 28px;
  background: #fff;
  border: 4px solid #e6edf7;
  position: relative;
  box-shadow: 0 12px 24px rgba(20,35,71,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.robot-body img {
  width: 66px;
  height: auto;
  object-fit: contain;
}
.robot-arms .arm,
.robot-legs span {
  position: absolute;
  background: #e6edf7;
  border-radius: 999px;
}
.robot-arms .arm { width: 16px; height: 54px; top: 92px; }
.robot-arms .left { left: 0; transform: rotate(24deg); }
.robot-arms .right { right: 0; transform: rotate(-24deg); }
.robot-arms .right::after,
.robot-arms .left::after,
.robot-legs span::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #e6edf7;
}
.robot-arms .left::after { left: -4px; bottom: -6px; }
.robot-arms .right::after { right: -4px; bottom: -6px; }
.robot-legs span { width: 16px; height: 44px; bottom: -36px; }
.robot-legs span:first-child { left: 42px; }
.robot-legs span:last-child { right: 42px; }
.robot-legs span::after { left: -2px; bottom: -8px; width: 22px; height: 12px; border-radius: 12px; }
.mascot-copy h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.mascot-copy p { color: var(--muted); margin-bottom: .8rem; }
.mascot-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.mascot-chips span {
  padding: .45rem .75rem;
  border-radius: 999px;
  background: #fff7ef;
  border: 1px solid #f4ddd1;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 600;
}
.coming-soon {
  display: inline-block;
  margin-left: .45rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: #fff3d8;
  color: #a66b00;
  border: 1px solid #f1d296;
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.faq-item {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.25rem;
}
.faq-item h3 { margin: 0 0 .55rem; font-size: 1.12rem; }
.faq-item p { color: var(--muted); margin: 0; }

@media (max-width: 1060px) {
  .trust-row { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .ai-mascot-card { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 720px) {
  .trust-main { min-height: auto; }
  .logo-marquee { border-radius: 22px; }
}


/* v3 corrections: fixed image dependency, logo row, compact AI mascot */
.trust-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.school-logo-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 72px;
  padding: .45rem 0;
  flex-wrap: wrap;
}

.mini-school-logo {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 18px rgba(20, 35, 71, .10));
  opacity: .95;
}

.mini-school-logo::before,
.mini-school-logo::after,
.mini-school-logo i {
  content: '';
  position: absolute;
  display: block;
}

.logo-a::before {
  inset: 5px;
  border-radius: 50%;
  background: conic-gradient(from 30deg, #ff6b5f, #f7a11b, #3a86ff, #1cb85f, #ff6b5f);
}
.logo-a::after {
  inset: 15px;
  border-radius: 50%;
  background: #fff;
}
.logo-a i {
  width: 14px;
  height: 14px;
  background: #ff6b5f;
  border-radius: 4px;
}

.logo-b::before {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3a86ff, #9b6cff);
  transform: rotate(45deg);
}
.logo-b::after {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
}
.logo-b i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a86ff;
}

.logo-c::before {
  width: 46px;
  height: 40px;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(135deg, #1cb85f, #96d83d);
}
.logo-c::after {
  width: 30px;
  height: 14px;
  border-radius: 999px 999px 6px 6px;
  background: #fff;
  top: 22px;
}
.logo-c i {
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  top: 12px;
}

.logo-d::before {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff5d90, #ff6b5f);
}
.logo-d::after {
  width: 28px;
  height: 28px;
  background: #fff;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 92%, 50% 70%, 21% 92%, 32% 57%, 2% 35%, 39% 35%);
}
.logo-d i {
  display: none;
}

.logo-e::before {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7a11b, #ffd24a);
}
.logo-e::after {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  transform: rotate(10deg);
}
.logo-e i {
  width: 12px;
  height: 20px;
  border-radius: 8px;
  background: #f7a11b;
}

.logo-f::before {
  width: 48px;
  height: 48px;
  border-radius: 15px 26px 15px 26px;
  background: linear-gradient(135deg, #00b7ff, #5e6bff);
}
.logo-f::after {
  width: 28px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}
.logo-f i {
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: #00b7ff;
  bottom: 18px;
}

.logo-marquee,
.logo-track,
.school-logo-item,
.school-badge {
  display: none !important;
}

.compact-ai-chat {
  padding: 1.15rem;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid #f2e3da;
}

.ai-chat-header strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.ai-chat-header small {
  display: block;
  color: var(--muted);
  font-size: .86rem;
}

.robot-head-mini {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 48px;
  border-radius: 20px;
  background: #fff;
  border: 4px solid #e6edf7;
  box-shadow: 0 10px 20px rgba(20,35,71,.08);
}

.robot-head-mini::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 22px;
  height: 10px;
  transform: translateX(-50%);
  background: #e6edf7;
  border-radius: 0 0 8px 8px;
}

.mini-antenna {
  position: absolute;
  top: -17px;
  left: 50%;
  width: 3px;
  height: 15px;
  transform: translateX(-50%);
  background: #cfd9e8;
  border-radius: 999px;
}

.mini-antenna::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--coral);
}

.mini-eye {
  position: absolute;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.mini-eye.left { left: 16px; }
.mini-eye.right { right: 16px; }

.mini-smile {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 22px;
  height: 9px;
  transform: translateX(-50%);
  border-bottom: 3px solid var(--navy);
  border-radius: 0 0 18px 18px;
}

.ai-mascot-card,
.robot-mascot,
.mascot-copy,
.mascot-chips {
  display: none !important;
}

@media (max-width: 1060px) {
  .trust-row {
    grid-template-columns: 1fr;
  }
  .school-logo-row {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .school-logo-row {
    gap: .7rem;
  }
  .mini-school-logo {
    width: 46px;
    height: 46px;
  }
  .ai-chat-header {
    align-items: flex-start;
  }
}


/* v4 updates */
.official-logo {
  width: 410px;
  max-width: 48vw;
  height: auto;
}
.footer-brand .official-logo {
  width: 300px;
  max-width: 100%;
}
.nav-wrap {
  min-height: 116px;
}
.brand {
  flex-shrink: 0;
}
.primary-nav {
  gap: 1.1rem;
}

.ai-mascot-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(20,35,71,.08));
}
.robot-head-mini, .mini-antenna, .mini-eye, .mini-smile { display: none !important; }

.showcase-heading {
  text-align: center;
  max-width: 820px;
  margin: 3rem auto 1.5rem;
}
.showcase-heading h3 {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  margin-bottom: .7rem;
}
.showcase-heading p {
  color: var(--muted);
}
.platform-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1rem;
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid #f0e7df;
  background: #fff;
}
.gallery-copy {
  margin-bottom: .9rem;
}
.gallery-label {
  display: inline-flex;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #fff5ef;
  border: 1px solid #f3ddd2;
  color: var(--coral);
  font-size: .84rem;
  font-weight: 700;
  margin-bottom: .65rem;
}
.gallery-copy h3 {
  font-size: 1.3rem;
  margin-bottom: .55rem;
}
.gallery-copy p {
  color: var(--muted);
  margin: 0;
}
.gallery-wide { grid-column: span 7; }
.gallery-wide img { aspect-ratio: 16/9; object-fit: cover; object-position: center top; }
.gallery-tall { grid-column: span 5; }
.gallery-duo {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: .8rem;
  align-items: start;
}
.gallery-duo img:first-child {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: left top;
}
.gallery-duo img:last-child {
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}
.gallery-phone-card { grid-column: span 4; display: flex; flex-direction: column; }
.gallery-phone-card .phone-shot {
  width: min(100%, 320px);
  margin: 0 auto;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 1200px) {
  .gallery-wide { grid-column: span 12; }
  .gallery-tall { grid-column: span 12; }
  .gallery-phone-card { grid-column: span 4; }
}
@media (max-width: 1060px) {
  .official-logo { width: 320px; max-width: 42vw; }
  .footer-brand .official-logo { width: 240px; }
  .nav-wrap { min-height: 100px; }
  .gallery-phone-card { grid-column: span 6; }
}
@media (max-width: 900px) {
  .official-logo { width: 260px; max-width: 55vw; }
  .gallery-phone-card, .gallery-wide, .gallery-tall { grid-column: span 12; }
}
@media (max-width: 720px) {
  .official-logo { width: 220px; max-width: 62vw; }
  .footer-brand .official-logo { width: 190px; }
  .nav-wrap { min-height: 88px; }
  .ai-mascot-img { width: 70px; height: 70px; }
  .gallery-duo { grid-template-columns: 1fr; }
  .gallery-card { padding: .9rem; }
}


/* v5 logo height correction: keep larger visual logo but reduce section height */
.official-logo {
  width: 260px !important;
  max-width: 38vw !important;
  height: auto !important;
}
.footer-brand .official-logo {
  width: 190px !important;
  max-width: 100% !important;
}
.nav-wrap {
  min-height: 78px !important;
  padding-top: .25rem;
  padding-bottom: .25rem;
}
.site-footer {
  padding: 1.6rem 0 1rem !important;
}
.footer-brand {
  margin-bottom: .45rem !important;
}
.footer-grid {
  align-items: start;
}
.footer-bottom {
  margin-top: 1rem !important;
  padding-top: .8rem !important;
}
@media (max-width: 1060px) {
  .official-logo { width: 230px !important; max-width: 46vw !important; }
  .footer-brand .official-logo { width: 170px !important; }
  .nav-wrap { min-height: 74px !important; }
}
@media (max-width: 720px) {
  .official-logo { width: 200px !important; max-width: 58vw !important; }
  .footer-brand .official-logo { width: 160px !important; }
  .nav-wrap { min-height: 70px !important; }
  .site-footer { padding: 1.25rem 0 .9rem !important; }
}


/* v6 updates */
.school-logos-mockup {
  flex: 1 1 460px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
}
.school-logos-mockup img {
  display: block;
  width: min(100%, 720px);
  height: auto;
  object-fit: contain;
}
/* Hide old generated mini logo rules if they remain in markup elsewhere */
.school-logo-row,
.mini-school-logo,
.mini-school-logo::before,
.mini-school-logo::after,
.mini-school-logo i,
.logo-a,
.logo-b,
.logo-c,
.logo-d,
.logo-e,
.logo-f {
  display: none !important;
}
.footer-bottom p:last-child {
  max-width: 620px;
  text-align: right;
}
@media (max-width: 1060px) {
  .school-logos-mockup {
    flex-basis: 100%;
  }
  .school-logos-mockup img {
    width: min(100%, 640px);
  }
  .footer-bottom p:last-child {
    text-align: left;
    max-width: none;
  }
}
@media (max-width: 720px) {
  .school-logos-mockup img {
    width: 100%;
  }
}
