:root {
  --primary-teal: #22596d;
  --deep-teal: #21586c;
  --slate-blue-gray: #4a6774;
  --muted-teal-gray: #617882;
  --dark-bg: #1e1e1e;
  --card-bg: rgba(47, 61, 67, 0.3);
  --light-text: #eaf2f6;
  --secondary-text: #b9c7cf;
  --accent-coral: #ed8771;
  --accent-coral-light: #f09a82;
  --radius: 18px;
  --glass-border: 1px solid rgba(234, 242, 246, 0.12);
  --card-theme-border: 1px solid rgba(84, 129, 155, 0.42);
  --card-theme-bg: radial-gradient(circle at 50% 100%, rgba(29, 77, 101, 0.24), transparent 48%),
    linear-gradient(165deg, rgba(35, 47, 55, 0.92), rgba(28, 38, 45, 0.86));
  --main-gradient: linear-gradient(180deg, #22596d 0%, #4a6774 55%, #ed8771 100%);
  --dark-gradient: linear-gradient(180deg, #1e1e1e 0%, #21586c 60%, #1e1e1e 100%);
  --depth-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.34);
  --depth-shadow-hard: 0 32px 70px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--light-text);
  background: var(--dark-bg);
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
}

main,
.section {
  overflow-x: clip;
}

main {
  transform-style: preserve-3d;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--dark-gradient);
}

.page-bg::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle at center, rgba(237, 135, 113, 0.22), transparent 70%);
  filter: blur(40px);
  animation: bg-pulse 10s infinite alternate ease-in-out;
}

.page-bg::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle at center, rgba(34, 89, 109, 0.22), transparent 70%);
  filter: blur(50px);
  animation: bg-pulse-alt 12s infinite alternate ease-in-out;
}

@keyframes bg-pulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.1) translate(-30px, 30px); opacity: 1; }
}

@keyframes bg-pulse-alt {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(30px, -30px); opacity: 1; }
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}

p {
  margin: 0;
  color: var(--secondary-text);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: var(--glass-border);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--light-text);
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--secondary-text);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--light-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.28s ease;
  transform: translateZ(0);
}

.btn-coral {
  background: var(--accent-coral);
  color: #1f2022;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(237, 135, 113, 0.25);
}

.btn-coral:hover {
  background: var(--accent-coral-light);
  transform: translateY(-2px) translateZ(10px);
  box-shadow: 0 14px 32px rgba(237, 135, 113, 0.35);
}

.btn-outline {
  color: var(--light-text);
  border: var(--glass-border);
  background: rgba(234, 242, 246, 0.03);
}

.btn-outline:hover {
  border-color: rgba(240, 154, 130, 0.6);
  color: var(--accent-coral-light);
  transform: translateY(-2px) translateZ(10px);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: var(--light-text);
  font-size: 1rem;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent-coral-light);
  margin-bottom: 16px;
}

.subhead {
  max-width: 54ch;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  perspective: 1400px;
  overflow: clip;
  transform-style: preserve-3d;
}

.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  top: 40px;
  background: radial-gradient(circle, rgba(237, 135, 113, 0.38), transparent 65%);
  filter: blur(14px);
  z-index: 0;
}

.phone-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
  max-width: 100%;
}

.phone-frame {
  width: 270px;
  height: 560px;
  background: #0f1618;
  border-radius: 36px;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(237, 135, 113, 0.15);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(0) rotateX(0) translateZ(0);
}

@keyframes floatPhone {
  0% { transform: rotateY(0) rotateX(0) translateY(0); }
  50% { transform: rotateY(0) rotateX(0) translateY(-20px); }
  100% { transform: rotateY(0) rotateX(0) translateY(0); }
}

.phone-notch {
  width: 110px;
  height: 24px;
  border-radius: 0 0 12px 12px;
  background: #0b0f11;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: var(--main-gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 22px;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: rgba(47, 61, 67, 0.28);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: 18px;
}

.screen-tag {
  position: relative;
  z-index: 1;
  background: rgba(30, 30, 30, 0.58);
  border: var(--glass-border);
  color: var(--light-text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: var(--glass-border);
  background: rgba(234, 242, 246, 0.06);
  color: var(--light-text);
  font-size: 1.4rem;
  cursor: pointer;
}

.screen-dots {
  display: flex;
  gap: 9px;
}

.screen-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(185, 199, 207, 0.4);
  cursor: pointer;
}

.screen-dots button.active {
  width: 28px;
  border-radius: 999px;
  background: var(--accent-coral);
}

.glass-card {
  background: var(--card-theme-bg);
  border: var(--card-theme-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow: var(--depth-shadow-soft), inset 0 1px 0 rgba(212, 230, 239, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
  transform: translateZ(0) rotateX(0) rotateY(0);
  position: relative;
  overflow: hidden;
}

.glass-card > * {
  position: relative;
  z-index: 2;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 12%, rgba(245, 250, 252, 0.18), transparent 35%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.06), transparent 36%);
  opacity: 0.62;
  z-index: 1;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-7px) translateZ(18px) rotateX(4deg) rotateY(-4deg);
  box-shadow: var(--depth-shadow-hard), 0 0 25px rgba(237, 135, 113, 0.12), inset 0 1px 0 rgba(212, 230, 239, 0.2);
  border-color: rgba(240, 154, 130, 0.5);
}

.problem {
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.3), rgba(30, 30, 30, 0.55));
}

.problem-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.issue {
  padding: 18px;
  min-height: 128px;
}

.issue span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-coral);
  background: rgba(237, 135, 113, 0.14);
  margin-bottom: 14px;
}

.big-stat {
  margin-top: 26px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-coral);
}

.section-intro {
  max-width: 70ch;
  transform: translateZ(10px);
}

.solution-cards,
.feature-grid,
.badge-grid,
.pricing-grid,
.timeline {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.solution-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-cards .glass-card,
.feature-card,
.badge,
.price-card,
.milestone {
  padding: 24px;
}

.feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.about-copy {
  padding: 28px;
}

.about-copy p {
  margin-bottom: 14px;
}

.about-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--light-text);
  line-height: 1.75;
}

.dashboard-preview {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.dashboard-preview h3 {
  margin-bottom: 0;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dash-stats div {
  background: var(--card-theme-bg);
  border: var(--card-theme-border);
  border-radius: 14px;
  padding: 10px;
}

.dash-stats strong {
  display: block;
  color: var(--accent-coral-light);
  font-size: 1.05rem;
}

.dash-stats span {
  color: var(--secondary-text);
  font-size: 0.74rem;
}

.dash-chart {
  min-height: 190px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: var(--glass-border);
  background:
    radial-gradient(circle at 28% 38%, rgba(240, 154, 130, 0.8), transparent 34%),
    radial-gradient(circle at 72% 58%, rgba(34, 89, 109, 0.9), transparent 40%),
    linear-gradient(145deg, rgba(32, 72, 86, 0.6), rgba(74, 103, 116, 0.22));
}

.dash-chart-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(234, 242, 246, 0.2);
  background: rgba(27, 44, 53, 0.48);
  color: var(--secondary-text);
  font-size: 0.73rem;
}

.dash-pill-active {
  border-color: rgba(240, 154, 130, 0.55);
  color: var(--light-text);
}

.dash-chart-svg {
  width: 100%;
  display: block;
  overflow: visible;
}

.dash-grid-lines line {
  stroke: rgba(227, 237, 243, 0.18);
  stroke-width: 1;
}

.dash-line-track {
  fill: none;
  stroke: rgba(226, 236, 242, 0.25);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dash-line-main {
  fill: none;
  stroke: var(--accent-coral);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(237, 135, 113, 0.45));
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.in-view .dash-line-main {
  stroke-dashoffset: 0;
}

.dash-chart-svg circle {
  fill: var(--accent-coral-light);
}

.dash-axis {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  color: rgba(225, 236, 242, 0.72);
  font-size: 0.68rem;
  text-align: center;
}

.dash-chart-note {
  margin: 8px 0 0;
  font-size: 0.74rem;
  color: rgba(238, 245, 248, 0.88);
  line-height: 1.4;
}

.dash-bars {
  display: grid;
  gap: 10px;
}

.dash-bars span {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-coral), rgba(234, 242, 246, 0.35));
}

.dash-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dash-media-card {
  margin: 0;
  border-radius: 14px;
  border: var(--card-theme-border);
  background: var(--card-theme-bg);
  overflow: hidden;
}

.dash-media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.dash-media-card p {
  padding: 10px 12px 12px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.dash-insights {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: var(--card-theme-border);
  background: var(--card-theme-bg);
}

.dash-insights p {
  font-size: 0.8rem;
  line-height: 1.5;
}

.dash-insights strong {
  color: var(--light-text);
}

.vision {
  text-align: center;
}

.vision-text {
  max-width: 80ch;
  margin: 0 auto;
  font-size: 1.08rem;
}

.vision-highlight {
  display: block;
  width: min(420px, 80%);
  height: 6px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(237, 135, 113, 0.92), rgba(237, 135, 113, 0.2));
}

.features .feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 20px 24px;
  border-radius: 18px;
  border: var(--card-theme-border);
  background: var(--card-theme-bg);
}

.features .feature-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 84px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(234, 242, 246, 0.14);
  font-size: 1.03rem;
  line-height: 1.06;
  letter-spacing: -0.005em;
}

.feature-ico {
  color: var(--accent-coral);
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 0.84rem;
  text-shadow: 0 0 10px rgba(237, 135, 113, 0.42);
}

.features .feature-card ul {
  margin: 14px 0 0;
  padding: 0 0 0 20px;
  list-style: disc;
  color: var(--secondary-text);
  line-height: 1.52;
}

.features .feature-card li {
  padding-left: 0;
  font-size: 0.92rem;
}

.features .feature-card li + li {
  margin-top: 8px;
}

.features .feature-card li::marker {
  color: rgba(226, 237, 243, 0.86);
}

.minimal-grid .issue span {
  color: #1f2022;
  background: var(--accent-coral);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Delay Utils */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

.how-it-works .stepper {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.step {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(47, 61, 67, 0.2);
  border: var(--glass-border);
  text-align: center;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-coral);
  color: #1e1e1e;
  font-weight: 700;
}

.step h3 {
  margin-top: 10px;
  margin-bottom: 0;
}

.step-link {
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-coral), rgba(185, 199, 207, 0.25));
}

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

.badge {
  text-align: center;
  font-weight: 600;
}

.trust-grid {
  margin-top: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid p {
  padding: 14px;
  border-radius: 14px;
  background: var(--card-theme-bg);
  border: var(--card-theme-border);
}

.trust-badge {
  margin-top: 18px;
  color: var(--accent-coral-light);
  font-weight: 600;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.price {
  color: var(--secondary-text);
  min-height: 48px;
}

.recommended {
  border-color: rgba(240, 154, 130, 0.58);
}

.school-sales-card {
  margin-top: 18px;
  padding: 24px;
  display: grid;
  gap: 16px;
  background: var(--card-theme-bg);
}

.school-sales-head h3 {
  margin-bottom: 8px;
}

.school-sales-head p {
  max-width: 70ch;
}

.school-sales-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.school-sales-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(240, 154, 130, 0.36);
  background: rgba(237, 135, 113, 0.12);
  color: var(--light-text);
  font-size: 0.8rem;
}

.school-sales-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.school-sales-points p {
  padding: 12px 14px;
  border-radius: 12px;
  border: var(--card-theme-border);
  background: var(--card-theme-bg);
  color: var(--light-text);
  line-height: 1.45;
}

.school-sales-points strong {
  color: var(--accent-coral-light);
}

.school-sales-cta {
  justify-self: start;
}

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

.final-cta .cta-wrap {
  padding: 38px;
  text-align: center;
}

.site-footer {
  width: 100%;
  padding: 56px 0 34px;
  border-top: 1px solid rgba(234, 242, 246, 0.08);
  background:
    radial-gradient(circle at 14% 0%, rgba(237, 135, 113, 0.16), transparent 28%),
    radial-gradient(circle at 86% 100%, rgba(34, 89, 109, 0.28), transparent 34%),
    rgba(17, 21, 24, 0.96);
}

.site-footer .container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.footer-shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 34px 34px 22px;
  border-radius: 22px;
  border: 1px solid rgba(86, 126, 149, 0.38);
  background:
    linear-gradient(155deg, rgba(32, 42, 49, 0.94), rgba(24, 33, 39, 0.9)),
    radial-gradient(circle at 70% 100%, rgba(32, 83, 108, 0.24), transparent 42%);
  box-shadow: var(--depth-shadow-hard), inset 0 1px 0 rgba(220, 236, 245, 0.05);
  transform: translateZ(10px);
  transform-style: preserve-3d;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.75fr 1.1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(234, 242, 246, 0.12);
}

.footer-brand .logo {
  font-size: 2rem;
  margin: 0 0 10px;
}

.footer-blurb {
  margin-bottom: 12px;
  max-width: 32ch;
  font-size: 1.08rem;
  line-height: 1.5;
}

.footer-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(240, 154, 130, 0.4);
  background: rgba(237, 135, 113, 0.12);
  color: var(--light-text);
  font-size: 0.8rem;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(234, 242, 246, 0.78);
}

.footer-col a:not(.btn) {
  display: block;
  color: rgba(234, 242, 246, 0.86);
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:not(.btn):hover {
  color: var(--accent-coral-light);
  transform: translateX(2px);
}

.footer-contact p {
  margin-bottom: 14px;
}

.footer-meta {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.footer-meta a {
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-meta a:hover {
  color: var(--light-text);
}

.footer-demo-btn {
  min-height: 46px;
  width: 214px;
  padding: 0 18px;
  border-radius: 11px;
  justify-content: center;
  color: #162028;
  background: linear-gradient(135deg, var(--accent-coral-light), var(--accent-coral));
  border: 1px solid rgba(240, 154, 130, 0.6);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(237, 135, 113, 0.22);
}

.footer-demo-btn::after {
  content: "↗";
  margin-left: 8px;
  font-size: 0.88rem;
  opacity: 0.9;
}

.footer-demo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(237, 135, 113, 0.32);
}

.footer-bottom {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-copy {
  font-size: 0.86rem;
}

.footer-links,
.socials {
  display: flex;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
  color: var(--secondary-text);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--light-text);
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(234, 242, 246, 0.18);
  background: rgba(74, 103, 116, 0.16);
  display: inline-grid;
  place-items: center;
  font-size: 0.84rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--light-text);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  border-color: rgba(240, 154, 130, 0.55);
  color: var(--accent-coral-light);
  transform: translateY(-1px);
}

@media (max-width: 1080px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .dash-media {
    grid-template-columns: 1fr;
  }

  .features .feature-card h3 {
    min-height: auto;
    font-size: 1.25rem;
  }

  .problem-grid,
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .solution-cards,
  .pricing-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-sales-points {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 800px) {
  .main-nav,
  .site-header .btn-coral {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .main-nav.open {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(30, 30, 30, 0.96);
    border-bottom: var(--glass-border);
  }

  .main-nav.open a {
    padding: 14px 4vw;
    border-top: var(--glass-border);
  }

  .hero-grid,
  .solution-cards,
  .problem-grid,
  .feature-grid,
  .pricing-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 22px;
  }

  .phone-frame {
    width: 250px;
    height: 520px;
  }

  .how-it-works .stepper {
    grid-template-columns: 1fr;
  }

  .step-link {
    width: 2px;
    height: 20px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--accent-coral), rgba(185, 199, 207, 0.25));
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .school-sales-cta {
    justify-self: stretch;
  }

  .footer-demo-btn {
    width: 214px;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(32px);
  }

  .reveal-left.in-view,
  .reveal-right.in-view {
    transform: translateY(0);
  }

  .glass-card:hover {
    transform: translateY(-4px) translateZ(0) rotateX(0) rotateY(0);
  }
}

@media (hover: none) {
  .glass-card:hover {
    transform: translateY(-3px) translateZ(0) rotateX(0) rotateY(0);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1120px, calc(100vw - 24px));
  }

  .hero-visual {
    width: 100%;
  }

  .phone-carousel {
    position: relative;
    width: 100%;
    justify-content: center;
    gap: 0;
  }

  .phone-frame {
    width: min(250px, calc(100vw - 72px));
    height: min(520px, calc((100vw - 72px) * 2.08));
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    z-index: 2;
  }

  .carousel-btn.prev {
    left: 0;
  }

  .carousel-btn.next {
    right: 0;
  }
}
/* App interface screens inside phone */
.screen.app-screen {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 10px;
  gap: 10px;
  border-radius: 24px;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screen.app-screen::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.screen.app-screen::before {
  display: none;
}

.screen-tag {
  align-self: flex-start;
  z-index: 3;
}

.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 2px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #f3f7fa;
}

.status-icons {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.app-screen-welcome {
  background: linear-gradient(180deg, #1f667f 0%, #205f76 62%, #ed9e93 100%);
}

.app-screen-auth,
.app-screen-home {
  background: linear-gradient(180deg, #235f76 0%, #2a6882 56%, #9f8e95 100%);
}

.app-screen-success {
  background: linear-gradient(180deg, #235f76 0%, #3e7387 58%, #c69598 100%);
}

.app-screen-chat {
  background: linear-gradient(180deg, #8dc6d8 0%, #2b6780 56%, #20596f 100%);
}

.app-center-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.app-logo {
  font-size: 2.1rem;
  font-weight: 800;
  color: #f2f6f8;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.app-auth-actions {
  width: 100%;
  display: grid;
  gap: 12px;
}

.app-pill {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(240, 248, 252, 0.55);
  background: rgba(255, 255, 255, 0.2);
  color: #f3f8fa;
  font-weight: 700;
}

.app-pill-light {
  background: #ecf1f5;
  color: #1e556b;
}

.app-pill-outline {
  background: transparent;
}

.app-shell-card,
.app-success-card,
.profile-card {
  margin-top: 2px;
  border: 1px solid rgba(236, 244, 248, 0.25);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(146, 189, 207, 0.4), rgba(136, 154, 172, 0.2));
  padding: 14px;
}

.app-shell-card h3,
.app-success-card h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
  text-align: center;
}

.app-shell-card p,
.app-success-card p,
.profile-card p {
  margin: 0 0 10px;
  font-size: 0.75rem;
  text-align: center;
  color: rgba(237, 244, 247, 0.85);
  line-height: 1.45;
}

.app-shell-card label {
  display: block;
  margin: 0 0 4px;
  font-size: 0.72rem;
  color: #e6f0f4;
}

.app-input,
.app-search,
.setting-item,
.topic-card,
.media-card,
.quiz-option,
.grade-card {
  border-radius: 999px;
  border: 1px solid rgba(233, 242, 246, 0.3);
  background: linear-gradient(120deg, rgba(157, 199, 215, 0.45), rgba(133, 151, 174, 0.28));
  color: #eef5f8;
  padding: 9px 12px;
  margin-bottom: 9px;
  font-size: 0.78rem;
}

.app-link-row,
.app-muted {
  text-align: right;
  font-size: 0.73rem;
  color: #eaf4f7;
  margin: 4px 0 10px;
}

.app-muted {
  text-align: center;
}

.app-main-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  border: 0;
  background: #1d6582;
  color: #f5f9fb;
  font-weight: 700;
  margin: 6px 0 8px;
}

.app-row-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.app-chip {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(243, 248, 250, 0.3);
  background: rgba(232, 240, 246, 0.15);
  color: #f4f8fa;
}

.app-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.app-progress span {
  height: 4px;
  border-radius: 999px;
  background: rgba(240, 247, 250, 0.3);
}

.app-progress .active {
  background: #ffd1b8;
}

.otp-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.otp-box {
  height: 37px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 248, 252, 0.35);
  background: rgba(236, 244, 248, 0.18);
  font-weight: 700;
}

.app-success-card {
  margin-top: 84px;
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: center;
}

.check-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 3rem;
  color: #fff;
  background: #ed8771;
  margin-bottom: 10px;
}

.app-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-top-row small {
  display: block;
  color: #d8e5eb;
  font-size: 0.68rem;
}

.app-top-row strong {
  font-size: 1rem;
}

.app-mini-icons span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(239, 245, 248, 0.88);
  color: #1f556d;
  margin-left: 5px;
}

.promo-card {
  border-radius: 16px;
  padding: 12px;
  background: #ef8c78;
  color: #fff8f3;
  display: grid;
  gap: 5px;
}

.promo-card span {
  font-size: 0.73rem;
}

.promo-card button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  background: #ffefe5;
  color: #cf624e;
  padding: 4px 10px;
  font-size: 0.68rem;
}
\n.screen.app-screen h4 {
  margin: 2px 0 8px;
  font-size: 0.8rem;
}

.subject-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.subject-item {
  min-height: 86px;
  border-radius: 12px;
  border: 1px solid rgba(237, 243, 248, 0.2);
  background: linear-gradient(140deg, rgba(122, 177, 168, 0.8), rgba(15, 90, 114, 0.9));
  display: flex;
  align-items: end;
  padding: 8px;
  font-weight: 600;
}

.subject-item:last-child {
  background: linear-gradient(140deg, rgba(186, 65, 196, 0.82), rgba(32, 91, 127, 0.92));
}

.app-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.app-title span {
  display: block;
  font-size: 0.68rem;
  color: #daeaef;
  margin-top: 2px;
}

.topic-card,
.media-card,
.quiz-card,
.lesson-text {
  border-radius: 16px;
  border: 1px solid rgba(237, 243, 248, 0.2);
  background: rgba(99, 143, 166, 0.34);
  padding: 10px;
  margin-bottom: 8px;
}

.topic-card p,
.lesson-text p,
.quiz-card p {
  margin: 4px 0 0;
  text-align: left;
  font-size: 0.72rem;
}

.lesson-hero {
  border-radius: 14px;
  min-height: 84px;
  background: linear-gradient(140deg, rgba(57, 81, 95, 0.95), rgba(75, 143, 148, 0.75));
  border: 1px solid rgba(236, 244, 249, 0.2);
  padding: 10px;
}

.lesson-bar {
  margin-top: 18px;
  height: 4px;
  border-radius: 999px;
  background: rgba(241, 247, 250, 0.3);
}

.lesson-bar span {
  display: block;
  width: 56%;
  height: 100%;
  border-radius: inherit;
  background: #ff947a;
}

.tab-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.tab-row span {
  border: 1px solid rgba(237, 243, 248, 0.2);
  border-radius: 999px;
  text-align: center;
  padding: 6px 4px;
  font-size: 0.68rem;
}

.tab-row .active {
  background: #f1f5f7;
  color: #1d5d79;
  font-weight: 700;
}

.media-card {
  min-height: 80px;
  display: grid;
  align-content: end;
  background: linear-gradient(145deg, rgba(37, 104, 95, 0.9), rgba(11, 42, 53, 0.8));
}

.quiz-option.correct {
  background: rgba(61, 201, 138, 0.9);
}

.quiz-option.wrong {
  background: rgba(255, 93, 129, 0.9);
}

.chat-avatar {
  width: 100%;
  height: 170px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(146, 205, 224, 0.9), rgba(125, 184, 205, 0.85));
  border: 1px solid rgba(234, 242, 246, 0.26);
  overflow: hidden;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.chat-header {
  font-weight: 700;
  line-height: 1.4;
}

.chat-bubble {
  border-radius: 12px;
  border: 1px solid rgba(232, 241, 246, 0.22);
  padding: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.chat-bubble.bot {
  background: rgba(79, 132, 159, 0.5);
}

.chat-bubble.user {
  background: #f1ebde;
  color: #245d72;
  align-self: flex-end;
  width: 90%;
}

.profile-card {
  text-align: center;
}

.profile-pic {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 10px;
  padding: 4px;
  background: linear-gradient(145deg, #ff4f84, #ed8771);
  box-shadow: 0 8px 20px rgba(237, 135, 113, 0.28);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(34, 89, 109, 0.85);
  display: block;
}

.setting-item {
  border-radius: 16px;
}

.wa-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 250;
}

.wa-float-btn {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.wa-scroll-top {
  background: var(--primary-teal);
  color: #fff;
}

.wa-open {
  background: var(--accent-coral);
  color: #fff;
  position: relative;
  box-shadow: 0 0 0 0 rgba(237, 135, 113, 0.7);
  animation: waPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes waPulse {
  to {
    box-shadow: 0 0 0 20px rgba(237, 135, 113, 0);
  }
}

.wa-open .wa-icon {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.wa-panel {
  position: fixed;
  right: 90px;
  bottom: 20px;
  width: min(520px, calc(100vw - 36px));
  border-radius: 14px;
  overflow: hidden;
  z-index: 260;
  background: rgba(30, 30, 30, 0.96);
  color: var(--light-text);
  border: var(--glass-border);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.48);
}

.wa-panel[hidden] {
  display: none;
}

.wa-panel-head {
  background: linear-gradient(120deg, var(--primary-teal), var(--deep-teal));
  color: var(--light-text);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.wa-panel-head h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

/* ========================================= */
/* CINEMATIC INTRO & HERO ANIMATION Overrides */
/* ========================================= */

.cinematic-intro {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cinematicOut 1.5s cubic-bezier(0.8, 0, 0.2, 1) 2.5s forwards;
  pointer-events: none;
}

.intro-streak {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-coral), var(--deep-teal), transparent);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: streakSweep 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  box-shadow: 0 0 20px var(--accent-coral);
}

.intro-logo {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 4px;
  opacity: 0;
  filter: blur(10px);
  animation: logoEmerge 2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

@keyframes streakSweep {
  0% { transform: translateY(-50%) scaleX(0); transform-origin: left; opacity: 0; }
  50% { transform: translateY(-50%) scaleX(1); transform-origin: left; opacity: 1; }
  50.1% { transform-origin: right; }
  100% { transform: translateY(-50%) scaleX(0); transform-origin: right; opacity: 0; }
}

@keyframes logoEmerge {
  0% { opacity: 0; filter: blur(10px); transform: scale(1.1); letter-spacing: 12px; }
  40% { opacity: 1; filter: blur(0px); transform: scale(1); letter-spacing: 4px; }
  80% { opacity: 1; filter: blur(0px); transform: scale(1); letter-spacing: 4px; }
  100% { opacity: 0; filter: blur(10px); transform: scale(0.9); }
}

@keyframes cinematicOut {
  to { opacity: 0; visibility: hidden; }
}

/* Navbar drop in */
.cinematic-nav {
  opacity: 0;
  transform: translateY(-100%);
  animation: navDrop 1s cubic-bezier(0.16, 1, 0.3, 1) 3s forwards;
}

@keyframes navDrop {
  to { opacity: 1; transform: translateY(0); }
}

/* Staggered Cinematic Text Reveal */
.cinematic-item {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
}

.cinematic-item:nth-child(1) { animation: textEmerge 1.2s cubic-bezier(0.16, 1, 0.3, 1) 3.2s forwards; }
.cinematic-item:nth-child(2) { animation: textEmerge 1.2s cubic-bezier(0.16, 1, 0.3, 1) 3.4s forwards; }
.cinematic-item:nth-child(3) { animation: textEmerge 1.2s cubic-bezier(0.16, 1, 0.3, 1) 3.6s forwards; }
.cinematic-item:nth-child(4) { animation: textEmerge 1.2s cubic-bezier(0.16, 1, 0.3, 1) 3.8s forwards; }

@keyframes textEmerge {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Light sweep removed per user request */

/* Delay hero phone reveal specifically to sync with intro */
.cinematic-visual {
  opacity: 0;
  transform: scale(0.9) translateZ(-100px);
  animation: visualDollyIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) 3.5s forwards;
}

@keyframes visualDollyIn {
  to { opacity: 1; transform: scale(1) translateZ(0); }
}

/* Particles */
.particles {
  position: absolute;
  inset: -100px;
  pointer-events: none;
  z-index: 0;
}

.particles div {
  position: absolute;
  border-radius: 50%;
  background: rgba(185, 199, 207, 0.6);
  box-shadow: 0 0 10px rgba(185, 199, 207, 0.8);
  animation: floatParticle 8s infinite alternate ease-in-out;
}

.particles .p1 { width: 4px; height: 4px; top: 10%; left: 20%; animation-delay: 0s; }
.particles .p2 { width: 6px; height: 6px; top: 80%; left: 15%; animation-delay: 1s; background: rgba(237, 135, 113, 0.6); }
.particles .p3 { width: 3px; height: 3px; top: 40%; right: 10%; animation-delay: 2s; }
.particles .p4 { width: 5px; height: 5px; bottom: 10%; right: 25%; animation-delay: 0.5s; background: rgba(34, 89, 109, 0.6); }
.particles .p5 { width: 4px; height: 4px; top: -5%; left: 60%; animation-delay: 3s; }

@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.4; }
  100% { transform: translateY(-40px) translateX(20px) scale(1.5); opacity: 1; }
}

.wa-panel-head p {
  margin: 4px 0 0;
  color: var(--secondary-text);
  line-height: 1.3;
}

.wa-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  line-height: 1;
}

.wa-panel-body {
  padding: 24px 24px 24px;
}

.wa-intro {
  margin: 0 0 18px;
  color: var(--secondary-text);
}

.wa-options {
  display: grid;
  gap: 14px;
}

.wa-option {
  min-height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(234, 242, 246, 0.18);
  background: rgba(74, 103, 116, 0.26);
  text-align: left;
  padding: 0 16px;
  cursor: pointer;
  color: var(--light-text);
  font-size: 1rem;
}

.wa-option.active {
  border-color: rgba(240, 154, 130, 0.6);
  background: rgba(237, 135, 113, 0.2);
}

.wa-start-btn {
  margin-top: 20px;
  width: 100%;
  min-height: 56px;
  border-radius: 12px;
  background: var(--accent-coral);
  color: #1f2022;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wa-start-btn:hover {
  background: var(--accent-coral-light);
}

@media (max-width: 700px) {
  .wa-panel {
    right: 12px;
    bottom: 88px;
    width: calc(100vw - 24px);
  }

  .wa-panel-head h3 {
    font-size: 1.35rem;
  }
}

