:root {
  --bg: #fff8ea;
  --text: #301304;
  --muted: #7e3a17;
  --brand-blue: #23146e;
  --yellow: #ffd447;
  --orange: #ff9f1c;
  --red: #df3e1e;
  --card: #ffffff;
  --stroke: rgba(177, 86, 35, 0.2);
  --shadow: 0 14px 34px rgba(135, 66, 32, 0.14);
  --shadow-lg: 0 28px 56px rgba(35, 20, 110, 0.1);
  --shadow-xl: 0 34px 80px rgba(35, 20, 110, 0.14);
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --premium-border: rgba(35, 20, 110, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + clamp(5.5rem, 14vw, 7.5rem));
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: transparent;
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 18% 82%, rgba(255, 255, 255, 0.28)),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.24), transparent 42%);
  mix-blend-mode: soft-light;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  image-rendering: auto;
}

::selection {
  background: rgba(255, 212, 71, 0.45);
  color: #17102f;
}

a,
button,
input,
textarea,
summary {
  -webkit-tap-highlight-color: rgba(255, 212, 71, 0.28);
}

/* Full-viewport decorative layer: continuous waves + education icons */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-bg-waves {
  position: absolute;
  inset: -12% -8% -8% -8%;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.4px) 0 0 / 34px 34px,
    radial-gradient(circle at 78% 32%, rgba(255, 212, 71, 0.36) 0 1px, transparent 1.5px) 0 0 / 52px 52px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffd44718' d='M0,72 C240,120 480,24 720,72 C960,120 1200,32 1440,70 L1440,120 L0,120z'/%3E%3C/svg%3E")
      center 12% / 110% 110px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ff9f1c12' d='M0,48 C320,8 640,88 960,48 C1120,28 1280,40 1440,52 L1440,100 L0,100z'/%3E%3C/svg%3E")
      center 38% / 115% 95px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%2323146e0a' d='M0,58 C280,102 560,18 840,58 C1080,92 1260,40 1440,62 L1440,110 L0,110z'/%3E%3C/svg%3E")
      center 68% / 108% 100px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffd44714' d='M0,40 C360,88 720,12 1080,48 C1260,64 1380,36 1440,44 L1440,90 L0,90z'/%3E%3C/svg%3E")
      center 102% / 112% 88px no-repeat,
    radial-gradient(900px 340px at 50% -6%, rgba(255, 212, 71, 0.46), transparent 62%),
    radial-gradient(720px 280px at 8% 45%, rgba(255, 159, 28, 0.12), transparent 55%),
    radial-gradient(680px 300px at 92% 55%, rgba(35, 20, 110, 0.09), transparent 58%),
    radial-gradient(520px 200px at 40% 88%, rgba(255, 159, 28, 0.1), transparent 55%),
    linear-gradient(180deg, #fffdf8 0%, #fff9ee 28%, #fff3d8 52%, #fff8ef 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .site-bg-waves {
    animation: site-bg-drift 32s ease-in-out infinite alternate;
  }
}

@keyframes site-bg-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -14px, 0);
  }
}

.site-bg-deco {
  position: absolute;
  inset: 0;
}

.site-bg-icon {
  position: absolute;
  color: rgba(35, 20, 110, 0.17);
  filter: drop-shadow(0 18px 36px rgba(255, 212, 71, 0.22));
  opacity: 0.88;
}

.site-bg-icon svg {
  display: block;
  width: clamp(88px, 14vw, 148px);
  height: clamp(88px, 14vw, 148px);
}

@media (prefers-reduced-motion: no-preference) {
  .site-bg-icon svg {
    animation: deco-svg-float 11s ease-in-out infinite;
  }

  .site-bg-icon--books svg {
    animation-duration: 13s;
  }

  .site-bg-icon--graduate svg {
    animation-duration: 10s;
    animation-delay: -2s;
  }

  .site-bg-icon--teacher-board svg {
    animation-duration: 14s;
    animation-delay: -1s;
  }

  .site-bg-icon--parents svg {
    animation-duration: 12s;
    animation-delay: -3s;
  }

  .site-bg-icon--chalkboard svg {
    animation-duration: 15s;
  }

  .site-bg-icon--reading svg {
    animation-duration: 9s;
    animation-delay: -1.5s;
  }

  .site-bg-icon--backpack svg {
    animation-duration: 10.5s;
    animation-delay: -2.5s;
  }
}

@keyframes deco-svg-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.site-bg-icon--books {
  top: 11%;
  left: 1%;
  transform: rotate(-10deg);
}

.site-bg-icon--graduate {
  top: 16%;
  right: 2%;
  transform: rotate(6deg);
  color: rgba(35, 20, 110, 0.13);
}

.site-bg-icon--teacher-board {
  top: 42%;
  left: 0%;
  transform: rotate(-4deg) scale(1.02);
}

.site-bg-icon--parents {
  top: 48%;
  right: 1%;
  transform: rotate(5deg);
  color: rgba(35, 20, 110, 0.12);
}

.site-bg-icon--chalkboard {
  bottom: 20%;
  left: 4%;
  transform: rotate(-8deg);
  filter: drop-shadow(0 12px 26px rgba(35, 20, 110, 0.12));
}

.site-bg-icon--reading {
  bottom: 14%;
  right: 3%;
  transform: rotate(9deg);
  color: rgba(255, 101, 0, 0.14);
}

.site-bg-icon--backpack {
  top: 62%;
  left: 42%;
  transform: translateX(-50%) rotate(-3deg);
  color: rgba(35, 20, 110, 0.11);
}

@media (max-width: 900px) {
  .site-bg-icon--backpack {
    display: none;
  }
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1200px, calc(100vw - clamp(1.25rem, 5vw, 2.75rem)));
  max-width: 100%;
  margin-inline: auto;
  padding-inline: max(0px, env(safe-area-inset-left, 0px))
    max(0px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.section {
  padding: clamp(4rem, 8vw, 5.75rem) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Frosted glass: blur needs a slight tint or some browsers show a hard edge */
  background: rgba(255, 253, 248, 0.64);
  backdrop-filter: blur(20px) saturate(1.28);
  -webkit-backdrop-filter: blur(20px) saturate(1.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(35, 20, 110, 0.04);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.88);
  border-bottom-color: rgba(35, 20, 110, 0.07);
  box-shadow: 0 14px 44px rgba(35, 20, 110, 0.11);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 118px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  background: var(--brand-blue);
  box-shadow: 0 8px 20px rgba(35, 20, 110, 0.16);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  text-decoration: none;
  color: var(--text);
  outline: 1px solid rgba(255, 255, 255, 0.35);
  outline-offset: -1px;
}

.brand:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(35, 20, 110, 0.22);
}

.brand:active {
  transform: translateY(0) scale(0.99);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

nav a {
  position: relative;
  color: #23146e;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 253, 248, 0.85);
  padding: 0.35rem 0.15rem;
  transition: color 0.22s ease;
}

nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

nav a:not(.nav-cta):hover {
  color: #ff6500;
}

nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--yellow), var(--orange), var(--red));
  color: #20105e;
  font-weight: 700;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, filter 0.2s ease;
  box-shadow: 0 6px 18px rgba(255, 101, 0, 0.28);
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 10px 26px rgba(255, 101, 0, 0.38);
}

.nav-cta:active {
  transform: translateY(0);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 46px;
  height: 50px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.menu-btn:hover {
  background: rgba(255, 212, 71, 0.22);
}

.menu-btn span {
  display: block;
  width: 22px;
  margin: 4px auto;
  height: 2px;
  background: #2d1304;
  border-radius: 2px;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
  transform-origin: center;
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
  background:
    radial-gradient(720px 280px at 50% 10%, rgba(255, 212, 71, 0.3), transparent 68%),
    radial-gradient(700px 260px at 50% 55%, rgba(35, 20, 110, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 248, 232, 0.78));
}

.hero-copy {
  order: 2;
  max-width: 900px;
}

.hero-bg-video {
  display: none;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  display: none;
}

.hero-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(35, 20, 110, 0.1);
  box-shadow: 0 10px 26px rgba(35, 20, 110, 0.08);
  color: #2b1b70;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.hero-logo-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(35, 20, 110, 0.12);
}

.hero-logo-pill img {
  width: 58px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  object-position: left center;
}

.chip {
  display: inline-block;
  background: rgba(255, 212, 71, 0.55);
  border: 1px solid rgba(181, 83, 32, 0.28);
  border-radius: 999px;
  padding: 0.48rem 1.15rem;
  color: #23146e;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: 0.75rem;
}

.section-head .chip {
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  color: #101024;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 span {
  display: inline;
  background: linear-gradient(90deg, #f3bd00, #ff8a00, #ff6500);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 680px;
  color: #5a4a39;
  margin-top: 0.8rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1rem, 1.55vw, 1.13rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  padding: 0.72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, filter 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  color: #20105e;
  background: linear-gradient(135deg, var(--yellow), var(--orange), var(--red));
  box-shadow: 0 8px 22px rgba(255, 101, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow: 0 14px 32px rgba(255, 101, 0, 0.38);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: #23146e;
  border: 1px solid rgba(35, 20, 110, 0.12);
  box-shadow: 0 10px 20px rgba(35, 20, 110, 0.08);
}

.btn-light:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 159, 28, 0.45);
  box-shadow: 0 16px 32px rgba(35, 20, 110, 0.12);
}

.btn-light:active {
  transform: translateY(-1px);
}

.hero-stats {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-stats article {
  min-width: 170px;
  background: #fff;
  border: 1px solid rgba(35, 20, 110, 0.1);
  border-radius: 12px;
  padding: 0.72rem;
  box-shadow: 0 10px 24px rgba(35, 20, 110, 0.08);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.hero-stats article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(35, 20, 110, 0.12);
}

.hero-stats h3 {
  font-size: 1.4rem;
  color: #23146e;
}

.hero-stats p {
  color: #5f568d;
  font-size: 0.85rem;
}

.hero-animation {
  order: 1;
  width: 100%;
  max-width: 1040px;
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-animation::before {
  content: "";
  position: absolute;
  width: min(760px, 88vw);
  height: 360px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 212, 71, 0.44), rgba(255, 101, 0, 0.16), transparent 72%),
    conic-gradient(from 120deg, rgba(35, 20, 110, 0.18), rgba(255, 212, 71, 0.18), rgba(255, 101, 0, 0.18), rgba(35, 20, 110, 0.18));
  filter: blur(13px);
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-animation::after {
  content: "";
  position: absolute;
  width: min(780px, 78vw);
  height: min(780px, 78vw);
  border-radius: 50%;
  border: 1px dashed rgba(35, 20, 110, 0.18);
  animation: slowSpin 22s linear infinite;
  z-index: 0;
}

.laptop {
  position: relative;
  width: min(620px, 88vw);
  z-index: 4;
  animation: laptopFloat 4.8s ease-in-out infinite;
}

.laptop-screen {
  height: 344px;
  border: 13px solid #130b25;
  border-radius: 18px 18px 10px 10px;
  background: #eef3fa;
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  overflow: hidden;
  padding: 0;
  position: relative;
  display: grid;
  place-items: center;
}

.dashboard-shot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  filter: saturate(1.12) contrast(1.04);
}

.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(255, 212, 71, 0.12), transparent 24%);
}

.laptop-base {
  width: 112%;
  height: 24px;
  margin-left: -6%;
  border-radius: 0 0 50px 50px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent 64%),
    linear-gradient(180deg, #f0f0f4, #7f8390);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.scene-person {
  position: absolute;
  z-index: 5;
  bottom: 70px;
  width: 98px;
  height: 215px;
  animation: personFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 18px 18px rgba(35, 20, 110, 0.18));
}

.teacher-person {
  left: 10%;
  transform: rotate(4deg);
}

.student-person {
  right: 10%;
  transform: scaleX(-1) rotate(4deg);
  animation-delay: 0.8s;
}

.person-head {
  width: 56px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 42%, #3a235f 0 3px, transparent 4px),
    radial-gradient(circle at 63% 42%, #3a235f 0 3px, transparent 4px),
    radial-gradient(circle at 52% 62%, rgba(221, 112, 75, 0.45) 0 4px, transparent 5px),
    linear-gradient(180deg, #ffe0bc, #f4b77f);
  margin: 0 auto;
  border: 3px solid #25156d;
  position: relative;
  box-shadow: inset 0 -5px 0 rgba(122, 59, 38, 0.09);
}

.person-head::before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: -7px;
  height: 24px;
  border-radius: 28px 28px 12px 12px;
  background:
    radial-gradient(circle at 18% 80%, #2a174d 0 8px, transparent 9px),
    linear-gradient(135deg, #25156d, #120a35);
}

.person-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 16px;
  height: 7px;
  border-bottom: 3px solid #9e4f45;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.person-body {
  width: 64px;
  height: 92px;
  margin: -1px auto 0;
  border-radius: 24px 24px 18px 18px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(35, 20, 110, 0.16) 47% 53%, transparent 54%),
    linear-gradient(160deg, #ffffff, #e7e3ff);
  border: 3px solid #25156d;
  position: relative;
  box-shadow: inset 0 -10px 0 rgba(35, 20, 110, 0.08);
}

.person-body::before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: 13px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.person-body::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  width: 12px;
  height: 28px;
  background: linear-gradient(180deg, #ff9f1c, #ff6500);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.teacher-person .person-body {
  background:
    linear-gradient(90deg, transparent 46%, rgba(35, 20, 110, 0.14) 47% 53%, transparent 54%),
    linear-gradient(160deg, #fff, #ffef91);
}

.student-person .person-body {
  background:
    linear-gradient(90deg, transparent 46%, rgba(35, 20, 110, 0.12) 47% 53%, transparent 54%),
    linear-gradient(160deg, #fff, #ffb15a);
}

.person-arm {
  position: absolute;
  left: 55px;
  top: 82px;
  width: 60px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe0bc, #f2b47d);
  border: 3px solid #25156d;
  transform: rotate(-24deg);
  transform-origin: left center;
}

.person-arm::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f2b47d;
  border: 3px solid #25156d;
}

.person-leg {
  position: absolute;
  width: 18px;
  height: 64px;
  top: 142px;
  border-radius: 999px;
  background: linear-gradient(180deg, #25156d, #140a3d);
}

.person-leg::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 30px;
  height: 13px;
  border-radius: 999px;
  background: #120a35;
}

.leg-one {
  left: 30px;
  transform: rotate(9deg);
}

.leg-one::after {
  left: -7px;
}

.leg-two {
  right: 30px;
  transform: rotate(-9deg);
}

.leg-two::after {
  right: -7px;
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.screen-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff6b4a;
}

.screen-top span:nth-child(2) {
  background: #ffd447;
}

.screen-top span:nth-child(3) {
  background: #34c776;
}

.screen-top p {
  margin-left: auto;
  margin-top: 0;
  color: #2a1b65;
  font-size: 0.8rem;
  font-weight: 800;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(35, 20, 110, 0.12);
  border-radius: 14px;
  padding: 0.75rem;
}

.metric-card small {
  color: #5f568d;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  color: #23146e;
  font-size: 1.45rem;
}

.analytics-wave {
  grid-column: 1 / -1;
  min-height: 78px;
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(35, 20, 110, 0.12), rgba(255, 101, 0, 0.16)),
    repeating-linear-gradient(90deg, rgba(35, 20, 110, 0.12) 0 18px, transparent 18px 32px),
    repeating-linear-gradient(0deg, rgba(255, 212, 71, 0.16) 0 12px, transparent 12px 24px);
  position: relative;
  overflow: hidden;
}

.analytics-wave::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 40%;
  width: 140%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff6500, #23146e, transparent);
  animation: graphMove 2.6s linear infinite;
}

.analytics-wave::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto;
  height: 28px;
  border-radius: 999px;
  border: 3px solid transparent;
  border-top-color: rgba(35, 20, 110, 0.5);
  border-right-color: rgba(255, 101, 0, 0.62);
  transform: skewX(-14deg);
}

.student-strip {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
}

.student-strip span {
  flex: 1;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(35, 20, 110, 0.16), rgba(255, 212, 71, 0.42));
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: 250px;
  min-height: 144px;
  border-radius: 18px;
  padding: 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(4px);
}

.floating-card span {
  display: inline-flex;
  color: #23146e;
  background: #ffd447;
  border-radius: 999px;
  padding: 0.26rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card small {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
}

.card-left {
  left: 2%;
  top: 18%;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.25), transparent 28%),
    linear-gradient(135deg, #5b2eff, #23146e);
  animation: slideLeftCard 6s ease-in-out infinite;
}

.card-right {
  right: 2%;
  top: 20%;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #ff6500, #f5b400);
  animation: slideRightCard 6s ease-in-out infinite;
}

.side-tab {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 0.7rem 0.45rem;
  border-radius: 10px;
  background: #ffd447;
  color: #23146e;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.side-tab-left {
  left: 0;
}

.side-tab-right {
  right: 0;
  background: #23146e;
  color: #fff;
}

.mascot-bot {
  position: absolute;
  z-index: 6;
  bottom: 38px;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translateX(-50%);
  border-radius: 50% 50% 44% 44%;
  background: #23146e;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.22), 0 12px 18px rgba(0, 0, 0, 0.22);
  animation: botBounce 2.2s ease-in-out infinite;
}

.orbit {
  position: absolute;
  inset: 52px 8%;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  animation: slowSpin 28s linear infinite;
}

.orbit-two {
  inset: 88px 15%;
  animation-duration: 34s;
  animation-direction: reverse;
}

.orbit span {
  position: absolute;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #23146e;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(35, 20, 110, 0.12);
}

.orbit span:nth-child(1) {
  top: 0;
  left: 50%;
}

.orbit span:nth-child(2) {
  bottom: 12%;
  left: 10%;
}

.orbit span:nth-child(3) {
  bottom: 18%;
  right: 7%;
}

.data-lane {
  position: absolute;
  z-index: 1;
  height: 2px;
  width: 70%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 101, 0, 0.8), transparent);
  opacity: 0.75;
  animation: dataFlow 3s ease-in-out infinite;
}

.lane-one {
  top: 28%;
  transform: rotate(-8deg);
}

.lane-two {
  bottom: 30%;
  transform: rotate(8deg);
  animation-delay: 1.2s;
}

.mascot-bot::before,
.mascot-bot::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffd447;
}

.mascot-bot::before {
  left: 15px;
}

.mascot-bot::after {
  right: 15px;
}

.mascot-bot span {
  position: absolute;
  left: 50%;
  top: -15px;
  width: 64px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 60px 60px 10px 10px;
  background: linear-gradient(90deg, #ffd447, #ff6500);
}

.preview-grid {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-card {
  min-height: 175px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 20, 110, 0.08);
  overflow: hidden;
  position: relative;
  background: var(--glass);
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 70px rgba(35, 20, 110, 0.16);
}

.preview-card img {
  width: 100%;
  height: 100%;
  min-height: 175px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(17, 8, 3, 0.78), rgba(17, 8, 3, 0.18) 48%, transparent 72%),
    radial-gradient(circle at 18% 12%, rgba(255, 212, 71, 0.28), transparent 38%);
}

.preview-card:hover img {
  transform: scale(1.06);
}

.preview-text {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 0.85rem;
  right: 1rem;
  color: #fff8ef;
  font-weight: 700;
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.vectors {
  padding-top: 0;
}

.vector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.vector-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 20, 110, 0.08);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 236, 0.9));
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(180px 80px at 92% 6%, rgba(255, 212, 71, 0.24), transparent 68%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 42%);
  pointer-events: none;
}

.vector-card > * {
  position: relative;
}

.vector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px rgba(35, 20, 110, 0.11);
}

.vicon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd447, #ff9f1c, #df3e1e);
  margin-bottom: 0.7rem;
}

.vicon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #2d1304;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vector-card h3 {
  margin-bottom: 0.35rem;
}

.vector-card p {
  color: #8c4422;
  font-size: 0.9rem;
}

.section-head {
  text-align: center;
  margin: 0 auto clamp(2.25rem, 4vw, 3rem);
  max-width: 920px;
}

.section-head h2 {
  font-size: clamp(2.15rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: #17102f;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head p:not(.chip) {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  text-align: center;
  color: #5f4b3a;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.08rem;
}

.products,
.testimonials,
.insights,
.faq {
  position: relative;
  overflow: hidden;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 240px at 50% 0%, rgba(255, 212, 71, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.55), rgba(255, 248, 232, 0.35));
}

.products > .container,
.testimonials > .container,
.insights > .container,
.faq > .container,
.contact > .container {
  position: relative;
  z-index: 1;
}

.product-card {
  position: relative;
  padding: 1rem 1rem 1rem 3.9rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 239, 0.92));
  border-radius: var(--radius-md);
  border: 1px solid var(--premium-border);
  box-shadow: 0 18px 42px rgba(35, 20, 110, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(180px 70px at 95% 0%, rgba(255, 212, 71, 0.22), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 45%);
  pointer-events: none;
}

.product-card > * {
  position: relative;
}

.card-icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff3b1, #ffd447);
  box-shadow: inset 0 -8px 14px rgba(255, 101, 0, 0.12);
}

.product-card:nth-child(2n) .card-icon {
  background: linear-gradient(135deg, #ffe1cf, #ff8a00);
}

.product-card:nth-child(3n) .card-icon {
  background: linear-gradient(135deg, #e8e2ff, #7b61ff);
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #23146e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card:nth-child(3n) .card-icon svg {
  stroke: #fff;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px rgba(35, 20, 110, 0.15);
}

.product-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.product-card p {
  color: #87401c;
  font-size: 0.88rem;
}

.testimonials {
  background:
    radial-gradient(680px 220px at 50% 0%, rgba(255, 212, 71, 0.16), transparent 70%),
    rgba(255, 219, 133, 0.12);
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.arrow {
  border: 1px solid rgba(35, 20, 110, 0.12);
  border-radius: 12px;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  background: #fff;
  color: #23146e;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background 0.2s ease;
  box-shadow: 0 6px 16px rgba(35, 20, 110, 0.07);
}

.arrow:hover {
  transform: scale(1.06);
  background: rgba(255, 212, 71, 0.35);
  box-shadow: 0 10px 22px rgba(35, 20, 110, 0.1);
}

.arrow:active {
  transform: scale(0.98);
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 241, 0.92));
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 20, 110, 0.08);
  padding: 1.1rem;
  scroll-snap-align: start;
  box-shadow: 0 16px 36px rgba(35, 20, 110, 0.08);
}

.testimonial-card p {
  color: #803919;
  margin-bottom: 0.6rem;
}

.testimonial-card span {
  color: #995127;
  font-size: 0.85rem;
}

.app-cta-wrap {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(420px 170px at 80% 10%, rgba(255, 212, 71, 0.28), transparent),
    linear-gradient(135deg, #17121f, #070711);
  color: #fff;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.app-cta-wrap p {
  color: #d7d0e9;
  margin-top: 0.35rem;
}

.phone-preview {
  width: 130px;
  height: 190px;
  border-radius: 28px;
  background: #fff;
  border: 8px solid #111;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.32);
  padding: 1rem 0.75rem;
  flex: 0 0 auto;
}

.phone-logo {
  color: #23146e;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}

.phone-line,
.phone-line.short,
.phone-pill {
  height: 10px;
  border-radius: 999px;
  background: #ece8ff;
  margin-bottom: 0.55rem;
}

.phone-line.short {
  width: 70%;
}

.phone-pill {
  height: 34px;
  background: linear-gradient(135deg, #ffd447, #ff6500);
}

.promo-band {
  padding: 2.4rem 0;
  position: relative;
  overflow: hidden;
}

.promo-band > .container {
  position: relative;
  z-index: 1;
}

.promo-wrap {
  min-height: 150px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(520px 180px at 92% 14%, rgba(255, 212, 71, 0.4), transparent 70%),
    radial-gradient(380px 140px at 16% 90%, rgba(255, 101, 0, 0.18), transparent 70%),
    linear-gradient(135deg, #090712, #151120 62%, #21154f);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-wrap p {
  color: #ffd447;
  font-weight: 700;
}

.promo-wrap h2 {
  max-width: 620px;
}

.promo-mascot {
  width: 78px;
  height: 78px;
  border-radius: 50% 50% 42% 42%;
  background: #ffd447;
  position: relative;
  flex: 0 0 auto;
  box-shadow: inset 0 -14px 0 rgba(0, 0, 0, 0.14);
}

.promo-mascot::before,
.promo-mascot::after {
  content: "";
  position: absolute;
  top: 33px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #23146e;
}

.promo-mascot::before {
  left: 24px;
}

.promo-mascot::after {
  right: 24px;
}

.team {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 240px at 50% 0%, rgba(255, 212, 71, 0.14), transparent 70%),
    rgba(255, 250, 236, 0.55);
}

.team > .container {
  position: relative;
  z-index: 1;
}

.team-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.team-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 30px;
  padding: 1.55rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 240, 0.94)) padding-box,
    linear-gradient(135deg, rgba(255, 212, 71, 0.95), rgba(255, 101, 0, 0.55), rgba(35, 20, 110, 0.7)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 28px 64px rgba(35, 20, 110, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 76px rgba(35, 20, 110, 0.17);
}

.team-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.team-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  min-height: 0;
  padding-top: 0.25rem;
}

.team-card-bio {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 1.72em; /* one line of body copy after the name */
}

.team-card-bio p {
  color: #5f4b3a;
  line-height: 1.72;
  margin: 0;
}

.team-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -86px;
  top: -96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 71, 0.42), transparent 70%);
}

.team-card::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  right: 1.55rem;
  bottom: 0;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #23146e, #ff6500, #ffd447);
}

.team-avatar {
  width: 182px;
  height: 182px;
  flex-shrink: 0;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 34px rgba(35, 20, 110, 0.18),
    0 0 0 10px rgba(255, 212, 71, 0.12);
  border: 6px solid #fff;
}

.team-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  z-index: 1;
  pointer-events: none;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.amruta-avatar {
  background: #fff4d8;
}

.amruta-avatar img {
  object-position: center 12%;
  transform: scale(1.76);
}

.chintak-avatar {
  background: #f1efff;
}

.chintak-avatar img {
  object-position: center 36%;
  transform: scale(1.06);
}

.team-role {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  color: #23146e;
  background: rgba(255, 212, 71, 0.36);
  border: 1px solid rgba(35, 20, 110, 0.1);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-weight: 700;
  font-size: 0.84rem;
}

.team-meta h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  margin: 0;
  color: #17102f;
  line-height: 1.2;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-card {
  overflow: hidden;
  padding: 0;
  background: linear-gradient(160deg, #fff, #fff8ef);
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 20, 110, 0.08);
  box-shadow: 0 16px 38px rgba(35, 20, 110, 0.08);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 58px rgba(35, 20, 110, 0.14);
}

.blog-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.blog-card:hover img {
  transform: scale(1.04);
}

.blog-card p {
  color: #985126;
  font-size: 0.8rem;
  margin: 0.9rem 0.9rem 0.3rem;
}

.blog-card h3 {
  font-size: 1rem;
  margin: 0 0.9rem 0.5rem;
}

.blog-card a {
  color: #c44615;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  margin: 0 0.9rem 0.9rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border: 1px solid rgba(35, 20, 110, 0.1);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #ffffff, #fffdf8);
  box-shadow: 0 8px 22px rgba(35, 20, 110, 0.05);
  transition: box-shadow 0.3s ease, border-color 0.25s ease, transform 0.25s ease;
}

.faq-list details:hover {
  border-color: rgba(255, 159, 28, 0.35);
}

.faq-list details[open] {
  box-shadow: 0 16px 36px rgba(35, 20, 110, 0.1);
  border-color: rgba(35, 20, 110, 0.14);
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.25rem;
  color: #23146e;
  transition: color 0.2s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.35rem;
  border-right: 2px solid #23146e;
  border-bottom: 2px solid #23146e;
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-list details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -0.15rem;
}

.faq-list p {
  color: #8a401c;
  margin-top: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(35, 20, 110, 0.06);
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
}

.contact-map-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(255, 212, 71, 0.2), transparent 70%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 232, 0.9));
  border: 1px solid rgba(35, 20, 110, 0.1);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-map-card__head h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: #17102f;
  margin-bottom: 0.35rem;
}

.contact-map-card__head p {
  color: #5f4b3a;
  font-size: 0.98rem;
  margin: 0;
}

.contact-map-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(35, 20, 110, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  min-height: 280px;
  flex: 1;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: min(420px, 52vh);
  min-height: 280px;
  border: 0;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  align-self: flex-start;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: #23146e;
  background: rgba(255, 212, 71, 0.45);
  border: 1px solid rgba(35, 20, 110, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-map-link:hover {
  background: rgba(255, 212, 71, 0.65);
  transform: translateY(-1px);
}

.contact-map-meta {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(35, 20, 110, 0.08);
  font-size: 0.92rem;
  color: #5f4b3a;
  line-height: 1.55;
}

.contact-map-meta li {
  margin-bottom: 0.35rem;
}

.contact-map-meta strong {
  color: #23146e;
  font-weight: 700;
  margin-right: 0.35rem;
}

.contact-form-premium {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.35rem, 2.8vw, 1.85rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 150px at 92% 0%, rgba(255, 212, 71, 0.18), transparent 68%),
    linear-gradient(165deg, #ffffff 0%, #fffdf8 55%, #fff8f0 100%);
  border: 1px solid rgba(35, 20, 110, 0.1);
  box-shadow: var(--shadow-xl);
}

.contact-form-lead {
  margin: 0 0 0.25rem;
  color: #5f4b3a;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #23146e;
}

.contact-field__label abbr {
  text-decoration: none;
  color: #df3e1e;
  font-weight: 800;
}

.optional-tag {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.78rem;
  color: #8a6a52;
}

.contact-form-premium input,
.contact-form-premium textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(35, 20, 110, 0.14);
  padding: 0.78rem 0.95rem;
  background: rgba(255, 255, 255, 0.98);
  color: #1a1428;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-premium input::placeholder,
.contact-form-premium textarea::placeholder {
  color: rgba(90, 74, 57, 0.45);
}

.contact-form-premium input:hover,
.contact-form-premium textarea:hover {
  border-color: rgba(255, 159, 28, 0.45);
}

.contact-form-premium input:focus,
.contact-form-premium textarea:focus {
  outline: none;
  border-color: rgba(35, 20, 110, 0.45);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 212, 71, 0.35);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.contact-submit {
  margin-top: 0.35rem;
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  font-size: 1.02rem;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, filter 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 28px rgba(255, 101, 0, 0.35);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-form-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #8a6a52;
}

.contact-form-note strong {
  color: #23146e;
}

.chat-widget {
  position: fixed;
  right: max(1.15rem, env(safe-area-inset-right, 0px));
  bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 0.8rem;
  pointer-events: none;
}

.chat-panel {
  width: min(350px, calc(100vw - 2rem));
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(260px 110px at 100% 0%, rgba(255, 212, 71, 0.18), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(255, 248, 232, 0.95));
  border: 1px solid rgba(35, 20, 110, 0.12);
  box-shadow: 0 30px 76px rgba(35, 20, 110, 0.24);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transform-origin: right bottom;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-widget.is-open .chat-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem;
  color: #fff;
  background:
    radial-gradient(160px 90px at 85% 0%, rgba(255, 212, 71, 0.4), transparent 70%),
    linear-gradient(135deg, #23146e, #352184);
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #23146e;
  font-weight: 900;
  box-shadow: inset 0 -8px 16px rgba(255, 101, 0, 0.22);
}

.chat-panel-head p {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
}

.chat-panel-head span {
  display: inline-flex;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.chat-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.chat-body {
  display: grid;
  gap: 0.65rem;
  min-height: 178px;
  max-height: 270px;
  overflow-y: auto;
  padding: 0.95rem;
}

.chat-message {
  width: fit-content;
  max-width: 86%;
  padding: 0.68rem 0.78rem;
  border-radius: 16px 16px 16px 5px;
  color: #3e2717;
  background: #fff;
  border: 1px solid rgba(35, 20, 110, 0.08);
  box-shadow: 0 8px 18px rgba(35, 20, 110, 0.06);
  font-size: 0.92rem;
  line-height: 1.42;
  animation: chat-message-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.chat-message strong {
  color: #23146e;
}

.chat-message.is-user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, #23146e, #4d35b0);
  border-color: rgba(35, 20, 110, 0.18);
  border-radius: 16px 16px 5px 16px;
}

.chat-typing {
  width: fit-content;
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 16px 16px 16px 5px;
  background: #fff;
  border: 1px solid rgba(35, 20, 110, 0.08);
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff9f1c;
  animation: chat-dot 1s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.14s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.28s;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 0.95rem 0.85rem;
}

.chat-suggestions a {
  text-decoration: none;
  color: #23146e;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 212, 71, 0.36);
  border: 1px solid rgba(35, 20, 110, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.chat-suggestions a:hover {
  background: rgba(255, 212, 71, 0.55);
  transform: translateY(-1px);
}

.chat-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem 0.95rem;
  border-top: 1px solid rgba(35, 20, 110, 0.08);
}

.chat-input-row input {
  min-width: 0;
  border: 1px solid rgba(35, 20, 110, 0.12);
  border-radius: 12px;
  padding: 0.68rem 0.75rem;
  font: inherit;
  color: #796450;
  background: rgba(255, 255, 255, 0.8);
}

.chat-input-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.68rem 0.85rem;
  color: #20105e;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 8px 18px rgba(255, 101, 0, 0.24);
}

.chat-launcher {
  position: relative;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #23146e;
  background:
    radial-gradient(circle at 28% 22%, #fff9d8 0 16%, transparent 17%),
    linear-gradient(135deg, var(--yellow), var(--orange), var(--red));
  box-shadow:
    0 18px 38px rgba(255, 101, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  pointer-events: auto;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.chat-launcher:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 48px rgba(255, 101, 0, 0.42);
}

.chat-launcher:active {
  transform: translateY(-1px) scale(0.98);
}

.chat-bubble-icon svg {
  width: 31px;
  height: 31px;
}

.chat-bubble-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-pulse {
  position: absolute;
  inset: -7px;
  border-radius: 26px;
  border: 1px solid rgba(255, 159, 28, 0.55);
  animation: chat-pulse 2.4s ease-out infinite;
}

@keyframes chat-message-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chat-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes chat-pulse {
  from {
    transform: scale(0.9);
    opacity: 0.7;
  }

  to {
    transform: scale(1.28);
    opacity: 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1.8rem 0;
}

.site-footer {
  margin-top: 1.5rem;
  border-top: 0;
  background:
    radial-gradient(540px 180px at 20% 0%, rgba(255, 212, 71, 0.12), transparent 72%),
    radial-gradient(520px 160px at 92% 18%, rgba(255, 101, 0, 0.1), transparent 70%),
    linear-gradient(135deg, #080711, #100b25 55%, #070613);
  color: #fff;
  border-radius: 52px 52px 0 0;
  box-shadow: 0 -18px 50px rgba(35, 20, 110, 0.12);
}

.site-footer a,
.site-footer p {
  display: block;
  color: #cfc9df;
  text-decoration: none;
  margin-bottom: 0.3rem;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease,
    box-shadow 0.22s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--yellow), var(--orange), var(--red));
  box-shadow: 0 12px 24px rgba(255, 101, 0, 0.25);
}

.social-links svg {
  width: 21px;
  height: 21px;
}

.social-links rect,
.social-links circle,
.social-links path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:nth-child(2) path,
.social-links a:nth-child(3) path {
  fill: currentColor;
  stroke: none;
}

.copyright {
  text-align: center;
  color: #a9a2bf;
  padding-bottom: max(1.2rem, env(safe-area-inset-bottom, 0px));
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    filter 0.55s ease var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  will-change: auto;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes laptopFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.5deg);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes graphMove {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(18%);
  }
}

@keyframes slideLeftCard {
  0%,
  100% {
    transform: translateX(0) rotate(-3deg);
  }
  50% {
    transform: translateX(20px) translateY(-8px) rotate(1deg);
  }
}

@keyframes slideRightCard {
  0%,
  100% {
    transform: translateX(0) rotate(3deg);
  }
  50% {
    transform: translateX(-22px) translateY(8px) rotate(-1deg);
  }
}

@keyframes botBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes personFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dataFlow {
  0%,
  100% {
    opacity: 0.18;
    clip-path: inset(0 100% 0 0);
  }
  50% {
    opacity: 0.9;
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-track {
    grid-template-columns: 1fr;
  }

  .hero-animation {
    min-height: clamp(340px, 62vw, 500px);
    gap: 0;
    overflow: visible;
  }

  .hero-animation::before {
    width: min(700px, 96vw);
    height: clamp(190px, 36vw, 330px);
  }

  .hero-animation::after {
    width: min(700px, 94vw);
    height: min(700px, 94vw);
  }

  .laptop {
    width: clamp(250px, 58vw, 560px);
  }

  .laptop-screen {
    height: clamp(138px, 32vw, 310px);
    border-width: clamp(7px, 1.6vw, 13px);
    border-radius: clamp(12px, 2vw, 18px) clamp(12px, 2vw, 18px) 9px 9px;
  }

  .laptop-base {
    height: clamp(13px, 2.4vw, 22px);
  }

  .floating-card {
    position: absolute;
    width: clamp(112px, 25vw, 250px);
    min-height: clamp(74px, 14vw, 144px);
    padding: clamp(0.48rem, 1.5vw, 1rem);
    border-radius: clamp(12px, 2vw, 18px);
    animation-duration: 6s;
  }

  .floating-card span {
    padding: 0.2rem 0.42rem;
    font-size: clamp(0.48rem, 1.35vw, 0.72rem);
    margin-bottom: clamp(0.25rem, 0.8vw, 0.55rem);
  }

  .floating-card strong {
    font-size: clamp(0.62rem, 1.8vw, 1rem);
    line-height: 1.15;
  }

  .floating-card small {
    margin-top: 0.2rem;
    font-size: clamp(0.48rem, 1.35vw, 0.78rem);
    line-height: 1.2;
  }

  .card-left {
    left: 0.75%;
    top: 18%;
  }

  .card-right {
    right: 0.75%;
    top: 20%;
  }

  .side-tab {
    display: block;
    top: 52%;
    padding: clamp(0.42rem, 1.2vw, 0.7rem) clamp(0.25rem, 0.8vw, 0.45rem);
    border-radius: clamp(7px, 1.4vw, 10px);
    font-size: clamp(0.48rem, 1.35vw, 0.78rem);
  }

  .scene-person {
    display: block;
    bottom: clamp(36px, 8vw, 70px);
    transform-origin: bottom center;
  }

  .teacher-person {
    left: clamp(7%, 10vw, 10%);
    transform: rotate(4deg) scale(0.72);
  }

  .student-person {
    right: clamp(7%, 10vw, 10%);
    transform: scaleX(-1) rotate(4deg) scale(0.72);
  }

  .mascot-bot {
    bottom: clamp(18px, 4vw, 38px);
    width: clamp(36px, 6vw, 54px);
    height: clamp(36px, 6vw, 54px);
  }

  .orbit {
    inset: clamp(34px, 7vw, 52px) 4%;
  }

  .orbit-two {
    inset: clamp(58px, 10vw, 88px) 12%;
  }

  .orbit span {
    padding: 0.25rem 0.46rem;
    font-size: clamp(0.48rem, 1.35vw, 0.75rem);
  }

  .data-lane {
    width: 76%;
  }

  .blog-grid,
  .preview-grid,
  .footer-grid,
  .vector-grid,
  .team-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 740px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 60px 0 0;
    z-index: 90;
    background:
      radial-gradient(320px 160px at 90% 0%, rgba(255, 212, 71, 0.18), transparent 72%),
      rgba(13, 8, 32, 0.34);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .site-header {
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 12px 36px rgba(35, 20, 110, 0.1);
  }

  .nav-wrap {
    position: relative;
    min-height: 62px;
    padding-left: max(0.75rem, calc(env(safe-area-inset-left, 0px) + 0.5rem));
    padding-right: calc(max(0.75rem, env(safe-area-inset-right, 0px)) + 58px);
  }

  .brand {
    width: 100px;
    height: 36px;
  }

  .menu-btn {
    display: inline-flex;
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 6px);
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin: 0;
    transform: none;
    background: linear-gradient(160deg, rgba(255, 246, 218, 0.98), rgba(255, 236, 175, 0.96));
    border: 1px solid rgba(35, 20, 110, 0.16);
    box-shadow:
      0 14px 24px rgba(35, 20, 110, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
    z-index: 100;
  }

  .menu-btn:hover {
    background: linear-gradient(160deg, rgba(255, 247, 218, 1), rgba(255, 226, 136, 0.98));
  }

  .menu-btn:focus-visible {
    outline: 2px solid rgba(35, 20, 110, 0.3);
    outline-offset: 2px;
  }

  .menu-btn span {
    width: 17px;
    height: 2px;
    margin: 3px auto;
    background: #5c5130;
  }

  .menu-btn.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-btn.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-btn.is-open span {
    background: #766a42;
  }

  nav {
    position: fixed;
    top: calc(60px + env(safe-area-inset-top, 0px) + 0.55rem);
    left: 50%;
    right: auto;
    width: min(320px, calc(100vw - 1.4rem));
    background:
      radial-gradient(180px 90px at 100% 0%, rgba(255, 212, 71, 0.34), transparent 70%),
      linear-gradient(170deg, rgba(255, 255, 255, 0.99), rgba(255, 251, 241, 0.98));
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border: 1px solid rgba(35, 20, 110, 0.12);
    border-radius: 18px;
    padding: 0.7rem;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-items: stretch;
    gap: 0.24rem;
    z-index: 35;
    box-shadow:
      0 28px 72px rgba(13, 8, 32, 0.28),
      0 2px 0 rgba(255, 255, 255, 0.8) inset;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-12px) scale(0.96);
    transform-origin: top center;
    transition:
      opacity 0.2s ease,
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 42px;
    padding: 0.54rem 0.72rem;
    border-radius: 12px;
    text-align: center;
    text-shadow: none;
    font-size: 0.98rem;
    font-weight: 700;
    color: #2a2074;
    letter-spacing: 0.01em;
    line-height: 1;
    width: 100%;
    box-sizing: border-box;
  }

  nav a:hover,
  nav a:focus-visible {
    background: rgba(255, 212, 71, 0.26);
    color: #1e145d;
  }

  nav .nav-cta {
    justify-content: center;
    min-height: 46px;
    margin-top: 0.5rem;
    padding-inline: 0.8rem;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(255, 101, 0, 0.32);
  }

  nav a:not(.nav-cta)::after {
    display: none;
  }

  .hero {
    padding-top: 1.35rem;
  }

  .hero-grid {
    gap: 0.8rem;
  }

  .hero-animation {
    min-height: clamp(245px, 72vw, 340px);
    max-width: 100%;
  }

  .hero-animation::before {
    width: 94vw;
    height: 44vw;
    filter: blur(7px);
  }

  .hero-animation::after {
    width: 92vw;
    height: 92vw;
  }

  .laptop {
    width: min(60vw, 290px);
  }

  .laptop-screen {
    height: clamp(112px, 32vw, 168px);
    border-width: clamp(6px, 1.7vw, 9px);
  }

  .laptop-base {
    height: clamp(10px, 2.5vw, 15px);
  }

  .floating-card {
    width: clamp(86px, 27vw, 126px);
    min-height: clamp(58px, 17vw, 82px);
    padding: 0.42rem;
  }

  .floating-card span {
    font-size: clamp(0.42rem, 1.8vw, 0.55rem);
    padding: 0.16rem 0.34rem;
  }

  .floating-card strong {
    font-size: clamp(0.52rem, 2.35vw, 0.72rem);
  }

  .floating-card small {
    font-size: clamp(0.42rem, 1.8vw, 0.58rem);
  }

  .card-left {
    left: 0;
    top: 17%;
  }

  .card-right {
    right: 0;
    top: 18%;
  }

  .scene-person {
    width: 98px;
    height: 215px;
    bottom: clamp(26px, 9vw, 42px);
  }

  .teacher-person {
    left: 11%;
    transform: rotate(4deg) scale(0.44);
  }

  .student-person {
    right: 11%;
    transform: scaleX(-1) rotate(4deg) scale(0.44);
  }

  .side-tab {
    top: 54%;
    font-size: clamp(0.42rem, 1.8vw, 0.55rem);
    padding: 0.36rem 0.22rem;
  }

  .mascot-bot {
    width: clamp(30px, 8vw, 38px);
    height: clamp(30px, 8vw, 38px);
    bottom: clamp(12px, 4vw, 20px);
  }

  .mascot-bot::before,
  .mascot-bot::after {
    top: 45%;
    width: 5px;
    height: 5px;
  }

  .mascot-bot::before {
    left: 28%;
  }

  .mascot-bot::after {
    right: 28%;
  }

  .mascot-bot span {
    width: 42px;
    height: 18px;
    top: -10px;
  }

  .orbit {
    inset: 34px 1%;
  }

  .orbit-two {
    inset: 54px 10%;
  }

  .orbit span {
    font-size: clamp(0.42rem, 1.8vw, 0.55rem);
    padding: 0.22rem 0.38rem;
  }

  .hero-copy {
    max-width: 94vw;
  }

  .hero-logo-pill {
    font-size: 0.72rem;
    gap: 0.45rem;
  }

  .hero-logo-pill img {
    width: 48px;
    height: 22px;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-stats,
  .products-grid,
  .preview-grid,
  .blog-grid,
  .footer-grid,
  .vector-grid,
  .team-showcase {
    grid-template-columns: 1fr;
  }

  .app-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .chat-widget {
    right: 0.9rem;
    bottom: 0.9rem;
  }

  .chat-panel {
    width: calc(100vw - 1.8rem);
    border-radius: 20px;
  }

  .chat-body {
    min-height: 150px;
    max-height: 230px;
  }

  .chat-launcher {
    width: 58px;
    height: 58px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    filter: none !important;
    transform: translate3d(0, 12px, 0) !important;
    transition-duration: 0.35s !important;
  }

  .reveal.show {
    filter: none !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }

  .site-bg-waves,
  .site-bg-icon svg,
  .orbit,
  .orbit-one,
  .orbit-two,
  .floating-card,
  .laptop,
  .hero-animation::before,
  .hero-animation::after,
  .mascot-bot span,
  .data-lane,
  .lane-one,
  .lane-two,
  .scene-person,
  .person-head,
  .person-body,
  .person-arm,
  .person-leg,
  .chat-pulse,
  .chat-typing span,
  .chat-message {
    animation: none !important;
  }

  .preview-card:hover,
  .blog-card:hover,
  .team-card:hover,
  .product-card:hover,
  .hero-stats article:hover,
  .brand:hover,
  .btn-primary:hover,
  .btn-light:hover,
  .nav-cta:hover,
  .chat-launcher:hover,
  .chat-close:hover,
  .chat-suggestions a:hover,
  .chat-widget.is-open .chat-panel {
    transform: none;
  }
}
