@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #0b0e1a;
  --muted: #778099;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #0b0e1a;
  --surface: #ffffff;
  --primary: #ff2d7a;
  --primary-soft: #ff77a8;
  --cta: #ff2d7a;
  --cta-dark: #c91558;
  --orange: #ff5a3d;
  --sun: #ffffff;
  --sky: #8f46ff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  --clay-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.24);
  --press: 0 8px 0 rgba(201, 21, 88, 0.38), 0 22px 42px rgba(255, 45, 122, 0.28);
}

/* Compact contact form redesign */
.contact {
  position: relative;
  overflow: hidden;
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(58px, 8vw, 104px);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 45, 122, 0.13), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(47, 112, 244, 0.12), transparent 30%),
    linear-gradient(180deg, #f8f8fc 0%, #ffffff 100%);
}

.contact-card {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(11, 14, 26, 0.1);
  border-radius: 34px;
  color: #ffffff;
  background: #0b0e1a;
  box-shadow:
    0 34px 95px rgba(11, 14, 26, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 45, 122, 0.24), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(143, 70, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

.contact-card > div:first-child {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card .eyebrow {
  width: fit-content;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(255, 45, 122, 0.32);
  border-radius: 999px;
  color: #ff4c91;
  background: rgba(255, 45, 122, 0.12);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.contact h2 {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.contact-card p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.45;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 3.6vw, 46px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.lead-form label[data-content-field="parentLabel"],
.lead-form label[data-content-field="phoneLabel"],
.lead-note,
.lead-form .wide {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 0 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 14px 36px rgba(0, 0, 0, 0.12);
  font-weight: 850;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.lead-form select {
  appearance: auto;
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 0;
  border-color: rgba(255, 45, 122, 0.78);
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 0 0 4px rgba(255, 45, 122, 0.14),
    0 18px 42px rgba(255, 45, 122, 0.12);
  transform: translateY(-1px);
}

.lead-note {
  position: relative;
  min-height: 0;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(46, 230, 200, 0.22);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(46, 230, 200, 0.08);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.lead-note::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2ee6c8;
  box-shadow: 0 0 18px rgba(46, 230, 200, 0.8);
}

.lead-form .button.primary {
  min-height: 60px;
  margin-top: 2px;
  border: 0;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff2d7a 0%, #b743f4 100%);
  box-shadow:
    0 16px 0 rgba(127, 31, 86, 0.7),
    0 24px 60px rgba(255, 45, 122, 0.28);
  font-size: 18px;
}

.lead-form .button.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 0 rgba(127, 31, 86, 0.68),
    0 30px 70px rgba(255, 45, 122, 0.34);
}

@media (max-width: 860px) {
  .contact-card {
    width: min(640px, calc(100% - 28px));
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .contact-card > div:first-child {
    gap: 12px;
    padding: 24px 22px 12px;
    border-right: 0;
  }

  .contact h2 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .contact-card p:not(.eyebrow) {
    font-size: 15px;
  }

  .lead-form {
    padding: 18px 18px 24px;
  }
}

/* Contact footer */
.footer {
  display: block;
  padding: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 45, 122, 0.18), transparent 32%),
    linear-gradient(180deg, #090d1a 0%, #050713 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(210px, 0.8fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand .brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.footer-brand strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.footer-brand p {
  max-width: 520px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

.footer-contacts {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.footer-contacts a,
.footer-contacts span,
.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.footer-contacts a:hover,
.footer-links a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff2d7a, #8f46ff);
  box-shadow: 0 16px 34px rgba(255, 45, 122, 0.24);
  font-weight: 900;
  white-space: nowrap;
}

.footer-bottom {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-main {
    width: min(100% - 24px, 430px);
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0 22px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand .brand-mark {
    width: 48px;
    height: 48px;
  }

  .footer-cta {
    width: 100%;
  }

  .footer-bottom {
    width: min(100% - 24px, 430px);
    display: grid;
    gap: 8px;
    padding-bottom: 22px;
  }
}

/* SEO FAQ block */
.faq {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 45, 122, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f8fc 100%);
}

.faq .section-head {
  max-width: 1120px;
}

.faq h2 {
  font-size: clamp(36px, 4.8vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.faq-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid details {
  border: 1px solid rgba(11, 14, 26, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 52px rgba(11, 14, 26, 0.08);
  overflow: hidden;
}

.faq-grid summary {
  cursor: pointer;
  padding: 20px 22px;
  color: #0b0e1a;
  font-weight: 900;
  list-style: none;
}

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

.faq-grid summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin: 0;
  padding: 0 22px 20px;
  color: #5f687d;
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .faq-grid {
    width: min(100% - 24px, 560px);
    grid-template-columns: 1fr;
  }

  .faq-grid summary {
    padding: 16px 18px;
  }

  .faq-grid p {
    padding: 0 18px 16px;
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .contact {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .contact-card {
    width: min(100% - 22px, 430px);
    border-radius: 24px;
  }

  .lead-form {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .lead-form label[data-content-field="parentLabel"],
  .lead-form label[data-content-field="phoneLabel"],
  .lead-note,
  .lead-form .wide {
    grid-column: auto;
  }

  .lead-form input,
  .lead-form select {
    min-height: 50px;
    border-radius: 15px;
    padding: 0 14px;
  }

  .lead-note {
    padding: 10px 12px 10px 34px;
    border-radius: 15px;
    font-size: 12px;
  }

  .lead-note::before {
    left: 13px;
    top: 14px;
    width: 8px;
    height: 8px;
  }

  .lead-form .button.primary {
    min-height: 54px;
    border-radius: 17px;
    font-size: 16px;
    box-shadow:
      0 10px 0 rgba(127, 31, 86, 0.7),
      0 20px 46px rgba(255, 45, 122, 0.26);
  }
}

/* Deploy fixes: editable hero logo and per-city footer contacts */
.brand-signature:has([data-media-hero-logo]:not([hidden])) {
  width: min(560px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-signature [data-media-hero-logo] {
  display: block;
  width: min(100%, 560px);
  height: auto;
  max-height: clamp(110px, 16vw, 230px);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.32));
}

.brand-signature:has([data-media-hero-logo]:not([hidden])) .signature-word,
.brand-signature:has([data-media-hero-logo]:not([hidden])) .signature-sub {
  display: none;
}

.footer-city-contacts {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.footer-city-contacts div {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-city-contacts strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.1;
}

.footer-city-contacts a,
.footer-city-contacts span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .brand-signature [data-media-hero-logo] {
    width: min(100%, 360px);
    max-height: 150px;
  }
}

/* Subtle IT atmosphere */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 45, 122, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 24%, rgba(47, 112, 244, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 82%, rgba(46, 230, 200, 0.14) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.035) 89px 90px, transparent 91px),
    linear-gradient(0deg, transparent 0 88px, rgba(255, 45, 122, 0.028) 89px 90px, transparent 91px);
  background-size: 360px 360px, 420px 420px, 520px 520px, 90px 90px, 90px 90px;
  animation: techAtmosphere 28s linear infinite;
}

.section {
  position: relative;
  isolation: isolate;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(90deg, transparent 0 30px, rgba(255, 45, 122, 0.08) 31px, transparent 32px),
    linear-gradient(0deg, transparent 0 30px, rgba(47, 112, 244, 0.06) 31px, transparent 32px),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 2px);
  background-size: 128px 128px, 128px 128px, 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
}

.tech-showcase::after,
.ekit::after,
.pain::after,
.tracks::after,
.program::after,
.project-showcase::after,
.trial::after,
.parents::after,
.faq::after,
.contact::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: rgba(255, 45, 122, 0.18);
  font: 900 clamp(42px, 8vw, 118px) / 1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.tech-showcase::after {
  content: "</>";
  right: 5vw;
  top: 8%;
}

.ekit::after {
  content: "XP";
  left: 5vw;
  bottom: 6%;
  color: rgba(47, 112, 244, 0.2);
}

.pain::after {
  content: "{ }";
  right: 8vw;
  top: 10%;
}

.tracks::after {
  content: "8-13";
  left: 4vw;
  bottom: 9%;
  color: rgba(47, 112, 244, 0.16);
}

.program::after {
  content: "0101";
  right: 5vw;
  bottom: 8%;
}

.project-showcase::after {
  content: "build();";
  left: 4vw;
  top: 8%;
  color: rgba(255, 45, 122, 0.16);
}

.trial::after {
  content: "run";
  right: 8vw;
  bottom: 10%;
  color: rgba(255, 255, 255, 0.1);
}

.parents::after {
  content: "safe";
  right: 5vw;
  top: 10%;
}

.faq::after {
  content: "AI";
  right: 8vw;
  bottom: 6%;
  color: rgba(47, 112, 244, 0.14);
}

.contact::after {
  content: "send";
  left: 5vw;
  bottom: 8%;
  color: rgba(255, 45, 122, 0.16);
}

.section > *,
.tech-showcase > *,
.ekit > *,
.pain > *,
.tracks > *,
.program > *,
.project-showcase > *,
.trial > *,
.parents > *,
.faq > *,
.contact > * {
  position: relative;
  z-index: 1;
}

@keyframes techAtmosphere {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 360px 360px, -420px 420px, 520px -520px, 90px 90px, -90px 90px;
  }
}

@media (max-width: 720px) {
  body::after {
    opacity: 0.24;
    background-size: 260px 260px, 320px 320px, 400px 400px, 72px 72px, 72px 72px;
  }

  .tech-showcase::after,
  .ekit::after,
  .pain::after,
  .tracks::after,
  .program::after,
  .project-showcase::after,
  .trial::after,
  .parents::after,
  .faq::after,
  .contact::after {
    opacity: 0.45;
    font-size: clamp(34px, 18vw, 72px);
  }
}

/* Make IT details visible above section backgrounds */
body::after {
  z-index: 0;
  opacity: 0.62;
  mix-blend-mode: screen;
}

.section::after {
  z-index: 0;
  opacity: 0.72;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0, 0, 0, 0.45) 52%, transparent 78%);
}

.tech-showcase::after,
.ekit::after,
.pain::after,
.tracks::after,
.program::after,
.project-showcase::after,
.trial::after,
.parents::after,
.faq::after,
.contact::after {
  z-index: 0;
  opacity: 1;
  text-shadow: 0 0 34px currentColor;
}

.hero,
.proof-strip,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.section > *,
.footer > * {
  position: relative;
  z-index: 2;
}

.pain::after,
.parents::after,
.faq::after,
.contact::after {
  color: rgba(255, 45, 122, 0.24);
}

.tracks::after,
.program::after {
  color: rgba(47, 112, 244, 0.22);
}

@media (max-width: 720px) {
  body::after {
    opacity: 0.34;
  }

  .section::after {
    opacity: 0.48;
  }
}

/* Native tech ornaments */
.tech-showcase,
.ekit,
.program,
.project-showcase,
.faq,
.contact {
  --ornament-color: rgba(255, 45, 122, 0.22);
  --ornament-blue: rgba(47, 112, 244, 0.2);
}

.tech-showcase .section-head::after,
.program .section-head::after,
.project-showcase .section-head::after,
.faq .section-head::after,
.contact-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(90px, 11vw, 160px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 45, 122, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 45, 122, 0.22) 0 10%, transparent 11%),
    linear-gradient(90deg, transparent 0 16%, rgba(255, 45, 122, 0.22) 17% 20%, transparent 21% 79%, rgba(255, 45, 122, 0.22) 80% 83%, transparent 84%),
    linear-gradient(0deg, transparent 0 16%, rgba(47, 112, 244, 0.18) 17% 20%, transparent 21% 79%, rgba(47, 112, 244, 0.18) 80% 83%, transparent 84%),
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.28), transparent 18%),
    rgba(11, 14, 26, 0.035);
  background-size: auto, 24px 24px, 24px 24px, auto, auto;
  box-shadow:
    0 0 0 8px rgba(255, 45, 122, 0.035),
    0 26px 60px rgba(11, 14, 26, 0.12),
    inset 0 0 0 10px rgba(255, 255, 255, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: rotate(10deg);
  animation: ornamentFloat 9s ease-in-out infinite;
}

.tech-showcase .section-head::after {
  right: 3vw;
  top: -34px;
}

.program .section-head::after {
  right: 8vw;
  bottom: -70px;
  border-radius: 50%;
  border-color: var(--ornament-blue);
  background:
    radial-gradient(circle at 50% 50%, rgba(47, 112, 244, 0.22) 0 13%, transparent 14%),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(47, 112, 244, 0.22) 43% 45%, transparent 46%),
    conic-gradient(from 90deg, transparent 0 14%, rgba(47, 112, 244, 0.24) 15% 16%, transparent 17% 31%, rgba(255, 45, 122, 0.18) 32% 33%, transparent 34% 100%);
  box-shadow:
    0 0 0 18px rgba(47, 112, 244, 0.05),
    0 26px 58px rgba(47, 112, 244, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.project-showcase .section-head::after {
  left: 42%;
  top: -26px;
  width: clamp(70px, 8vw, 118px);
  border-radius: 18px;
}

.faq .section-head::after {
  right: 4vw;
  top: 20px;
  width: clamp(74px, 8vw, 120px);
  border-color: rgba(47, 112, 244, 0.18);
}

.contact-card::after {
  right: -34px;
  bottom: -34px;
  z-index: 0;
  width: clamp(86px, 10vw, 150px);
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.24) 0 10%, transparent 11%),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.18) 19% 21%, transparent 22% 78%, rgba(255, 255, 255, 0.18) 79% 81%, transparent 82%),
    linear-gradient(0deg, transparent 0 18%, rgba(255, 45, 122, 0.2) 19% 21%, transparent 22% 78%, rgba(255, 45, 122, 0.2) 79% 81%, transparent 82%),
    linear-gradient(135deg, rgba(255, 45, 122, 0.22), rgba(47, 112, 244, 0.08));
}

.module-grid,
.trust-grid,
.faq-grid,
.project-drum {
  position: relative;
}

.module-grid::before,
.trust-grid::before,
.faq-grid::before,
.project-drum::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 45, 122, 0.18) 0 3px, transparent 4px),
    radial-gradient(circle, rgba(47, 112, 244, 0.12) 0 2px, transparent 3px);
  background-size: 26px 26px, 38px 38px;
  filter: blur(0.1px);
  opacity: 0.7;
  animation: pixelDrift 12s ease-in-out infinite;
}

.module-grid::before {
  left: -34px;
  top: -46px;
}

.trust-grid::before {
  right: -44px;
  top: -28px;
}

.faq-grid::before {
  left: -34px;
  bottom: -50px;
}

.project-drum::before {
  right: -38px;
  bottom: -48px;
}

@keyframes ornamentFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(10deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(15deg);
  }
}

@keyframes pixelDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(12px, -18px, 0) rotate(8deg);
  }
}

@media (max-width: 760px) {
  .tech-showcase .section-head::after,
  .program .section-head::after,
  .project-showcase .section-head::after,
  .faq .section-head::after,
  .contact-card::after {
    opacity: 0.45;
    width: 82px;
  }

  .module-grid::before,
  .trust-grid::before,
  .faq-grid::before,
  .project-drum::before {
    width: 96px;
    height: 96px;
    opacity: 0.42;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 45, 122, 0.2), transparent 28%),
    radial-gradient(circle at 86% 2%, rgba(143, 70, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #060915 0%, #0b0e1a 58%, #101427 100%);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 45, 122, 0.12), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(143, 70, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(11, 14, 26, 0.72));
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 222, 248, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 5px 5px 0 rgba(46, 230, 200, 0.3);
  font-weight: 900;
  font-size: 24px;
}

.brand-mark img,
.demo-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark:has(img:not([hidden])) .nova-orbit,
.brand-mark:has(img:not([hidden])) .nova-pixels {
  display: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #39464b;
  font-size: 14px;
}

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

.top-cta,
.button {
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.top-cta {
  padding: 11px 16px;
  background: var(--cta);
  color: #071f35;
  white-space: nowrap;
  box-shadow: 0 8px 0 rgba(7, 155, 134, 0.22);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
}

.button:hover,
.top-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--cta);
  color: #071f35;
  box-shadow: var(--press);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 0 rgba(255, 255, 255, 0.2);
}

.wide {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 20%, rgba(46, 230, 200, 0.34), transparent 25%),
    radial-gradient(circle at 58% 72%, rgba(255, 139, 61, 0.22), transparent 27%),
    linear-gradient(135deg, #07134b 0%, #1021a8 43%, #0797e8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -44% 38%;
  z-index: -1;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 200, 0.34), transparent 62%);
  filter: blur(18px);
  animation: pulseGlow 4.6s ease-in-out infinite;
}

.hero-image,
.hero-shade,
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: -1;
  opacity: 0.95;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
  z-index: -3;
  opacity: 0.98;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 10, 40, 0.96) 0%, rgba(8, 26, 96, 0.82) 38%, rgba(17, 115, 199, 0.12) 78%),
    linear-gradient(0deg, rgba(8, 16, 58, 0.42), rgba(8, 16, 58, 0.02) 48%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(46, 230, 200, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 200, 0.13) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 72%);
  animation: gridDrift 18s linear infinite;
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0 47%, rgba(46, 230, 200, 0.24) 50%, transparent 53%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: scanMove 6s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.17);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(4, 18, 58, 0.18);
  backdrop-filter: blur(18px);
  animation: floatCard 5.5s ease-in-out infinite;
  transform-style: preserve-3d;
}

.floating-card strong {
  font-size: 15px;
}

.mini-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 7px rgba(46, 230, 200, 0.16);
}

.card-code {
  right: 31%;
  top: 18%;
}

.card-logic {
  right: 7%;
  top: 47%;
  animation-delay: -1.4s;
}

.card-badge {
  right: 24%;
  bottom: 12%;
  grid-template-columns: auto 1fr;
  align-items: center;
  animation-delay: -2.8s;
}

.code-console {
  position: absolute;
  right: 6%;
  bottom: 9%;
  z-index: 1;
  width: min(290px, 26vw);
  padding: 14px;
  border: 1px solid rgba(46, 230, 200, 0.34);
  border-radius: 18px;
  background: rgba(3, 12, 42, 0.54);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 24px 52px rgba(2, 10, 34, 0.28),
    0 0 48px rgba(46, 230, 200, 0.12);
  backdrop-filter: blur(18px);
  animation: consoleIn 0.85s ease-out 0.25s both;
}

.console-top {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.console-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta);
  opacity: 0.9;
}

.console-top span:nth-child(2) {
  background: var(--sun);
}

.console-top span:nth-child(3) {
  background: var(--orange);
}

.console-lines {
  display: grid;
  gap: 10px;
}

.console-lines i {
  position: relative;
  width: var(--w);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.console-lines i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 200, 0.95), transparent);
  animation: codeSweep 2.4s ease-in-out infinite;
  animation-delay: calc(var(--w) * -0.018s);
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  margin: 0 0 clamp(42px, 8vw, 90px) clamp(18px, 7vw, 92px);
  color: white;
  animation: heroTextIn 0.8s ease-out both;
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-family: "Baloo 2", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: "Baloo 2", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: "Baloo 2", "Plus Jakarta Sans", sans-serif;
  font-size: 23px;
  line-height: 1.16;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-actions,
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  margin-top: 24px;
}

.hero-facts span {
  padding: 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(68px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.tech-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(46, 230, 200, 0.18), transparent 28%),
    linear-gradient(180deg, #050a24 0%, #10164a 100%);
  color: #ffffff;
}

.tech-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 230, 200, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 200, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  animation: gridDrift 22s linear infinite;
}

.tech-showcase > * {
  position: relative;
  z-index: 1;
}

.tech-showcase .eyebrow {
  color: var(--cta);
}

.tech-showcase .head-note,
.tech-showcase .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.lab-stage {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
}

.lab-panel {
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(122, 217, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.command-panel {
  animation: labFloat 6s ease-in-out infinite;
}

.progress-panel {
  animation: labFloat 6s ease-in-out -2.2s infinite;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 22px rgba(46, 230, 200, 0.85);
}

.lab-panel pre {
  margin: 0;
  color: #c7fff7;
  font: 700 18px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.lab-core {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.core-ring {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(46, 230, 200, 0.42);
  border-radius: 50%;
  box-shadow:
    0 0 26px rgba(46, 230, 200, 0.26),
    inset 0 0 30px rgba(46, 230, 200, 0.1);
}

.ring-a {
  animation: rotateRing 12s linear infinite;
}

.ring-b {
  inset: 28%;
  border-color: rgba(122, 217, 255, 0.46);
  animation: rotateRing 8s linear reverse infinite;
}

.core-ring::before,
.core-ring::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 24px rgba(46, 230, 200, 0.9);
}

.core-ring::before {
  left: 8%;
  top: 18%;
}

.core-ring::after {
  right: 10%;
  bottom: 20%;
}

.core-chip {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(46, 230, 200, 0.95), rgba(122, 217, 255, 0.86));
  color: #061235;
  font: 900 25px/1 "Plus Jakarta Sans", sans-serif;
  box-shadow:
    0 18px 60px rgba(46, 230, 200, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.signal-row {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.signal-row b {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.signal-row b::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cta), var(--sky));
  box-shadow: 0 0 24px rgba(46, 230, 200, 0.38);
  transform-origin: left;
  animation: signalLoad 1.6s ease-out both;
}

.section-head {
  position: relative;
  width: min(900px, 100%);
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.head-note {
  color: var(--muted);
  font-size: 18px;
}

.split {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.split > * {
  max-width: 760px;
}

.pain-grid,
.module-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pain-grid article,
.module-grid article,
.trust-grid article {
  min-height: 230px;
  padding: 26px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--clay-shadow);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    border-color 0.2s ease-out;
}

.pain-grid article:hover,
.module-grid article:hover,
.trust-grid article:hover {
  transform: translateY(-6px);
  border-color: #c7cef6;
  box-shadow: 12px 12px 0 rgba(46, 230, 200, 0.13), 0 26px 48px rgba(30, 27, 75, 0.16);
}

.pain-grid p,
.module-grid p,
.trust-grid p,
.track-copy p,
.trial-layout p,
.contact-card p {
  color: var(--muted);
}

.card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: #eef2ff;
  color: var(--primary);
  font-weight: 900;
  box-shadow: inset 4px 4px 0 rgba(79, 70, 229, 0.08);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tracks {
  background: #eef2ff;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 2px solid #cad1f4;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 6px 6px 0 rgba(79, 70, 229, 0.1);
}

.segment {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.segment.active {
  background: var(--primary);
  color: white;
}

.track-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.track-panel.active {
  display: grid;
}

.track-copy,
.outcome-list {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
}

.track-copy {
  background:
    linear-gradient(135deg, #203eff 0%, #0aa7ff 100%);
  color: white;
  box-shadow: 12px 12px 0 rgba(46, 230, 200, 0.18);
}

.track-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
}

.label {
  color: var(--sun) !important;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.outcome-list {
  display: grid;
  gap: 12px;
  background: white;
  border: 2px solid #d9def8;
  box-shadow: var(--clay-shadow);
}

.outcome-list span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #f8faff;
  font-weight: 800;
  border: 1px solid #e1e6fb;
}

.program {
  background: var(--paper);
}

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

.module-number {
  color: var(--orange) !important;
  font-size: 14px;
  font-weight: 950;
}

.trial {
  background:
    linear-gradient(90deg, rgba(46, 230, 200, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(46, 230, 200, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 25% 10%, rgba(46, 230, 200, 0.18), transparent 28%),
    var(--ink);
  background-size: 64px 64px, 64px 64px, auto, auto;
  color: white;
}

.trial .eyebrow {
  color: var(--sun);
}

.trial-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.trial-layout p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.trial-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.trial-steps li {
  position: relative;
  min-height: 100px;
  padding: 22px 22px 22px 76px;
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.trial-steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--cta);
  color: #071f35;
  font-weight: 950;
}

.trial-steps strong,
.trial-steps span {
  display: block;
}

.trial-steps span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
}

.parents {
  background: #fff;
}

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

.trust-grid article {
  min-height: 210px;
}

.contact {
  padding-top: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0fbff 100%);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(26px, 5vw, 56px);
  border-radius: var(--radius);
  background: white;
  border: 2px solid #caedff;
  box-shadow: 14px 14px 0 rgba(46, 230, 200, 0.15), var(--shadow);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #405057;
  font-size: 14px;
  font-weight: 850;
}

.lead-note,
.lead-form .wide {
  grid-column: 1 / -1;
}

.lead-note {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #effaff;
  border: 1px solid #b9efff;
  color: #1d5f76;
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 2px solid #d9def8;
  border-radius: var(--radius);
  padding: 0 13px;
  background: #fbfcff;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(46, 230, 200, 0.26);
  border-color: var(--primary);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .floating-card {
    display: none;
  }

  .code-console {
    display: none;
  }

  .lab-stage {
    grid-template-columns: 1fr;
  }

  .lab-core {
    width: min(320px, 84vw);
    margin: 0 auto;
  }

  .pain-grid,
  .module-grid,
  .trust-grid,
  .track-panel,
  .trial-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .split {
    display: block;
  }

  .segmented {
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .top-cta {
    padding-inline: 12px;
  }

  .hero {
    min-height: 700px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 16, 58, 0.92) 0%, rgba(13, 47, 134, 0.58) 58%, rgba(13, 47, 134, 0.05) 100%),
      linear-gradient(90deg, rgba(8, 16, 58, 0.55), rgba(8, 16, 58, 0.04));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 34px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .pain-grid article,
  .module-grid article,
  .trust-grid article {
    min-height: auto;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(-1deg);
  }
}

@keyframes consoleIn {
  from {
    opacity: 0;
    transform: translateY(20px) rotateX(12deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes codeSweep {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(110%);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 58px 58px, 58px 58px;
  }
}

@keyframes scanMove {
  0%,
  100% {
    background-position: 0 -40vh, 0 0;
  }
  50% {
    background-position: 0 40vh, 0 0;
  }
}

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

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes signalLoad {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Nova identity system */
.topbar {
  background: rgba(7, 10, 24, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.brand {
  color: #ffffff;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 58% 38%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #0b0e1a 0%, #11172d 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 34px rgba(255, 45, 122, 0.2);
}

.nova-orbit {
  position: absolute;
  width: 28px;
  height: 18px;
  border: 4px solid var(--primary);
  border-top-color: transparent;
  border-left-color: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  transform: rotate(-18deg);
  filter: drop-shadow(0 0 10px rgba(255, 45, 122, 0.5));
}

.nova-orbit::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.nova-pixels,
.nova-pixels::before,
.nova-pixels::after {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary);
}

.nova-pixels {
  right: 9px;
  top: 8px;
}

.nova-pixels::before,
.nova-pixels::after {
  content: "";
}

.nova-pixels::before {
  right: 7px;
  top: 7px;
}

.nova-pixels::after {
  right: -1px;
  top: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.brand small,
.nav {
  color: rgba(255, 255, 255, 0.68);
}

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

.top-cta,
.button.primary {
  color: #ffffff;
  background:
    linear-gradient(135deg, #ff2d7a 0%, #ff477f 52%, #8f46ff 100%);
  box-shadow:
    0 8px 0 rgba(201, 21, 88, 0.42),
    0 20px 44px rgba(255, 45, 122, 0.28);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.hero {
  background:
    radial-gradient(circle at 76% 19%, rgba(255, 45, 122, 0.36), transparent 25%),
    radial-gradient(circle at 58% 72%, rgba(143, 70, 255, 0.22), transparent 27%),
    linear-gradient(135deg, #050815 0%, #0b0e1a 45%, #151a32 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 45, 122, 0.8) 1px, transparent 1.6px);
  background-position:
    7% 18%,
    88% 13%;
  background-size:
    180px 150px,
    210px 170px;
  opacity: 0.55;
  animation: starDrift 16s linear infinite;
}

.hero::after {
  background: radial-gradient(circle, rgba(255, 45, 122, 0.34), transparent 62%);
}

.hero-image {
  opacity: 0.42;
  filter: saturate(0.65) hue-rotate(96deg) contrast(1.08) brightness(0.82);
  mix-blend-mode: screen;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 8, 21, 0.98) 0%, rgba(11, 14, 26, 0.9) 42%, rgba(11, 14, 26, 0.2) 78%),
    linear-gradient(0deg, rgba(5, 8, 21, 0.62), rgba(5, 8, 21, 0.04) 48%);
}

.hero-grid,
.tech-showcase::before {
  background-image:
    linear-gradient(rgba(255, 45, 122, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.scanline {
  background:
    linear-gradient(180deg, transparent 0 47%, rgba(255, 45, 122, 0.22) 50%, transparent 53%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px);
}

.brand-signature {
  display: inline-grid;
  gap: 2px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 22px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.signature-word {
  position: relative;
  color: #ffffff;
  font: 900 clamp(34px, 5vw, 68px) / 0.86 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.signature-word::after {
  content: "";
  position: absolute;
  left: 24%;
  top: 43%;
  width: 32%;
  height: 18%;
  border: 7px solid var(--primary);
  border-left-width: 11px;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-14deg);
  filter: drop-shadow(0 0 16px rgba(255, 45, 122, 0.62));
}

.signature-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.5vw, 23px);
  letter-spacing: 0.22em;
}

.brand-motto {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 600;
}

.brand-motto b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(255, 45, 122, 0.75);
}

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.eyebrow,
.hero .eyebrow,
.label,
.module-number,
.tech-showcase .eyebrow {
  color: var(--primary);
}

.floating-card,
.code-console,
.lab-panel,
.contact-card {
  border-color: rgba(255, 45, 122, 0.28);
  background: rgba(11, 14, 26, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 48px rgba(255, 45, 122, 0.12);
}

.mini-dot,
.console-top span,
.panel-dot,
.core-ring::before,
.core-ring::after {
  background: var(--primary);
  box-shadow: 0 0 24px rgba(255, 45, 122, 0.8);
}

.console-lines i::after {
  background: linear-gradient(90deg, transparent, rgba(255, 45, 122, 0.95), transparent);
}

.tech-showcase,
.ekit,
.trial,
.footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 45, 122, 0.18), transparent 28%),
    linear-gradient(180deg, #050815 0%, #0b0e1a 100%);
}

.core-ring {
  border-color: rgba(255, 45, 122, 0.48);
  box-shadow:
    0 0 26px rgba(255, 45, 122, 0.26),
    inset 0 0 30px rgba(255, 45, 122, 0.1);
}

.ring-b {
  border-color: rgba(255, 255, 255, 0.42);
}

.core-chip {
  color: #ffffff;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #ff2d7a 0%, #8f46ff 100%);
  box-shadow:
    0 18px 60px rgba(255, 45, 122, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.signal-row b::before {
  background: linear-gradient(90deg, var(--primary), #ffffff);
  box-shadow: 0 0 24px rgba(255, 45, 122, 0.38);
}

.pain,
.tracks,
.program,
.project-showcase,
.parents,
.contact {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 45, 122, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f7fb 0%, #ffffff 100%);
  color: var(--ink);
}

.ekit {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ekit::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 45, 122, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 88%, transparent);
  animation: gridDrift 22s linear infinite;
}

.ekit > * {
  position: relative;
  z-index: 1;
}

.ekit h2 {
  max-width: 940px;
  font-size: clamp(42px, 6vw, 90px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.ekit .head-note {
  color: rgba(255, 255, 255, 0.68);
}

.ekit-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
}

.ekit-device,
.ekit-demo {
  position: relative;
  min-height: 560px;
  padding: 22px;
  border: 1px solid rgba(255, 45, 122, 0.32);
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 0%, rgba(255, 45, 122, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 42px 120px rgba(0, 0, 0, 0.38),
    0 0 70px rgba(255, 45, 122, 0.13);
  backdrop-filter: blur(18px);
}

.ekit-device::after,
.ekit-demo::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ekit-demo {
  display: grid;
  gap: 18px;
  min-height: 720px;
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 42px 120px rgba(0, 0, 0, 0.44),
    0 0 70px rgba(47, 105, 255, 0.14);
}

.demo-header,
.demo-menu,
.demo-actions,
.progress-demo,
.achievement-demo,
.academic-stats {
  display: flex;
}

.demo-header {
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-logo {
  color: #0b0e1a;
  font: 900 12px/1 "Plus Jakarta Sans", sans-serif;
}

.demo-logo span {
  color: #111827;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 3px;
}

.demo-header strong {
  color: #ffffff;
  font: 800 28px/1 "Plus Jakarta Sans", sans-serif;
}

.demo-actions {
  margin-left: auto;
  gap: 10px;
}

.sun-icon,
.avatar-icon {
  width: 54px;
  height: 54px;
  display: block;
  border-radius: 50%;
  background: #121d31;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sun-icon {
  position: relative;
}

.sun-icon::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 3px dotted #ffffff;
}

.avatar-icon {
  background:
    radial-gradient(circle at 50% 38%, #d21a72 0 26%, transparent 27%),
    radial-gradient(ellipse at 50% 74%, #74d4df 0 28%, transparent 29%),
    #ffffff;
}

.demo-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.demo-tile {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  background: #0f172a;
  color: #9ca7bb;
  font: 800 14px/1.2 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.demo-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 105, 255, 0.38);
}

.demo-tile.active {
  color: #06112a;
  background: linear-gradient(135deg, #2574ff 0%, #2d54ed 100%);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.38),
    0 20px 44px rgba(37, 116, 255, 0.28);
}

.tile-icon {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.demo-tile.active .tile-icon {
  background: rgba(255, 255, 255, 0.2);
}

.tile-icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.bars-icon::after {
  border: 0;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
  box-shadow: 8px 0 0 currentColor;
}

.demo-screen {
  display: none;
  min-height: 420px;
}

.demo-screen.active {
  display: grid;
  gap: 16px;
  animation: heroTextIn 0.35s ease-out both;
}

.student-card-demo {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 250px;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 36%, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(135deg, #6a24d5 0%, #7b22dd 45%, #171d38 100%);
  overflow: hidden;
}

.pet-frame {
  position: relative;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  border: 6px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.pet-face {
  font-size: 56px;
}

.crown {
  position: absolute;
  top: -44px;
  width: 80px;
  height: 58px;
  background:
    radial-gradient(circle at 18% 18%, #ffd845 0 7px, transparent 8px),
    radial-gradient(circle at 50% 0%, #ffd845 0 8px, transparent 9px),
    radial-gradient(circle at 82% 18%, #ffd845 0 7px, transparent 8px),
    linear-gradient(135deg, #ffc400, #ff8c00);
  clip-path: polygon(0 100%, 10% 34%, 34% 72%, 50% 18%, 66% 72%, 90% 34%, 100% 100%);
  filter: drop-shadow(0 0 20px rgba(255, 196, 0, 0.68));
}

.student-card-copy h3,
.student-card-copy p,
.student-card-copy strong {
  margin: 0;
}

.student-card-copy h3 {
  color: #ffffff;
  font-size: 30px;
}

.student-card-copy p {
  color: rgba(255, 255, 255, 0.66);
}

.student-card-copy p b {
  display: inline-block;
  margin-right: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #552500;
  background: #ffbd14;
}

.student-card-copy strong {
  display: block;
  margin-top: 18px;
  color: #ffffff;
  font-size: 30px;
}

.xp-track {
  position: relative;
  height: 24px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.xp-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe138, #ff8c00);
  box-shadow: 0 0 24px rgba(255, 196, 0, 0.62);
}

.coin-line {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.progress-demo {
  align-items: center;
  gap: 12px;
  padding: 22px;
  border-radius: 28px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ring-progress {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0f172a 0 48%, transparent 49%),
    conic-gradient(#16c994 0 92%, rgba(255, 255, 255, 0.1) 92% 100%);
}

.ring-progress strong,
.ring-progress span {
  grid-area: 1 / 1;
}

.ring-progress strong {
  color: #ffffff;
  font-size: 24px;
}

.ring-progress span {
  margin-top: 46px;
  color: #9ca7bb;
  font-size: 12px;
}

.mini-stat {
  min-width: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-stat span {
  color: #9ca7bb;
  font-weight: 800;
}

.mini-stat strong {
  color: #ffffff;
  font-size: 28px;
}

.mini-stat.good {
  background: rgba(22, 201, 148, 0.16);
}

.mini-stat.good strong {
  color: #16c994;
}

.mini-stat.bad {
  background: rgba(255, 84, 95, 0.16);
}

.mini-stat.bad strong {
  color: #ff545f;
}

.achievement-demo {
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.achievement-demo strong {
  width: 100%;
  color: #ffffff;
  font-size: 22px;
}

.achievement-demo span {
  padding: 14px 18px;
  border-radius: 18px;
  color: #ff9d00;
  background: #fff8db;
  border: 3px solid #ffc400;
  font-weight: 800;
}

.next-lesson-card {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #247cff, #472bd8);
}

.next-lesson-card span,
.next-lesson-card p,
.next-lesson-card small {
  color: rgba(255, 255, 255, 0.72);
}

.next-lesson-card h3 {
  color: #ffffff;
  font-size: 36px;
}

.next-lesson-card strong {
  display: block;
  margin: 22px 0;
  padding: 22px;
  border-radius: 26px;
  text-align: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font: 900 42px/1 "Plus Jakarta Sans", sans-serif;
}

.calendar-demo {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
}

.calendar-head {
  margin-bottom: 14px;
  color: #ffffff;
  font-weight: 900;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-grid span {
  padding: 14px;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.lesson-day b {
  display: block;
  margin-top: 24px;
  padding: 12px;
  border-radius: 18px;
  color: #18b6ff;
  background: rgba(24, 182, 255, 0.14);
  border: 1px solid rgba(24, 182, 255, 0.48);
}

.task-tabs {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.task-tabs b,
.task-tabs span {
  padding: 14px 18px;
  border-radius: 999px;
}

.task-tabs b {
  color: #ffffff;
  background: #0b1223;
}

.homework-card,
.lesson-record {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
}

.homework-card h3,
.lesson-record h3 {
  color: #ffffff;
}

.homework-card p,
.lesson-record p {
  color: #9ca7bb;
}

.review-status {
  display: inline-block;
  margin: 10px 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffc400;
  background: rgba(255, 140, 0, 0.18);
}

.homework-card button {
  padding: 12px 18px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.academic-pill {
  width: fit-content;
  padding: 16px 22px;
  border-radius: 999px;
  color: #ffffff;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.academic-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.academic-stats article {
  padding: 16px;
  border-radius: 22px;
  background: #0f172a;
}

.academic-stats span {
  color: #9ca7bb;
}

.academic-stats strong {
  display: block;
  color: #2672ff;
  font-size: 28px;
}

.lesson-record {
  border-left: 6px solid #16c994;
}

.lesson-record h3 span {
  color: #9ca7bb;
  font-size: 16px;
}

.lesson-record b {
  display: block;
  margin-top: 16px;
  padding: 12px;
  border-radius: 999px;
  color: #35f0bc;
  background: rgba(22, 201, 148, 0.14);
}

.bad-record {
  border-left-color: #ff545f;
}

.device-top,
.student-panel,
.leaderboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.device-top {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.device-top b {
  color: var(--primary);
}

.student-panel {
  justify-content: flex-start;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-construct {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.36), transparent 20%),
    linear-gradient(135deg, #ff2d7a, #8f46ff);
  box-shadow: 0 0 34px rgba(255, 45, 122, 0.3);
}

.avatar-head,
.avatar-body {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
}

.avatar-head {
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.avatar-body {
  bottom: 13px;
  width: 32px;
  height: 18px;
  border-radius: 14px 14px 8px 8px;
}

.student-name,
.student-meta {
  margin: 0;
}

.student-name {
  color: #ffffff;
  font-weight: 900;
}

.student-meta {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.level-badge {
  margin-left: auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 45, 122, 0.18);
  border: 1px solid rgba(255, 45, 122, 0.34);
  font-size: 12px;
  font-weight: 900;
}

.xp-row {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.xp-row b {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.xp-row i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #ffffff);
  box-shadow: 0 0 26px rgba(255, 45, 122, 0.34);
  animation: signalLoad 1.8s ease-out both;
}

.diary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.diary-grid article {
  min-height: 128px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.diary-grid strong,
.diary-grid p {
  display: block;
  margin: 0;
}

.diary-grid strong {
  margin-top: 18px;
  color: #ffffff;
}

.diary-grid p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.status-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
}

.status-dot.hot {
  background: var(--primary);
  box-shadow: 0 0 18px rgba(255, 45, 122, 0.8);
}

.status-dot.ok {
  background: #63ffbf;
  box-shadow: 0 0 18px rgba(99, 255, 191, 0.7);
}

.status-dot.pay {
  background: #8f46ff;
  box-shadow: 0 0 18px rgba(143, 70, 255, 0.7);
}

.leaderboard {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255, 45, 122, 0.24), rgba(143, 70, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.leaderboard span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.leaderboard b {
  color: #ffffff;
  font: 900 34px / 1 "Plus Jakarta Sans", sans-serif;
}

.ekit-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ekit-features article {
  min-height: 210px;
  padding: 24px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.ekit-features h3 {
  color: #ffffff;
}

.ekit-features p {
  color: rgba(255, 255, 255, 0.64);
}

.gamification-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 46px);
}

.gamification-row article {
  min-height: 250px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 45, 122, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.gamification-row b {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--primary);
  font: 900 15px/1 "Plus Jakarta Sans", sans-serif;
}

.gamification-row h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.gamification-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.45;
}

.pain-grid article,
.module-grid article,
.trust-grid article,
.track-copy,
.outcome-list {
  border-color: rgba(11, 14, 26, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 22px 52px rgba(11, 14, 26, 0.08);
}

.pain-grid article:hover,
.module-grid article:hover,
.trust-grid article:hover {
  border-color: rgba(255, 45, 122, 0.24);
  box-shadow:
    12px 12px 0 rgba(255, 45, 122, 0.08),
    0 26px 52px rgba(11, 14, 26, 0.12);
}

.card-icon {
  color: var(--primary);
  background: rgba(255, 45, 122, 0.08);
  box-shadow: inset 4px 4px 0 rgba(255, 45, 122, 0.08);
}

.track-copy {
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #0b0e1a 0%, #2a1232 55%, #ff2d7a 140%);
  box-shadow: 12px 12px 0 rgba(255, 45, 122, 0.12);
}

.segment.active {
  background: var(--primary);
  color: #ffffff;
}

.segmented {
  border-color: rgba(11, 14, 26, 0.12);
  box-shadow: 6px 6px 0 rgba(255, 45, 122, 0.08);
}

.lead-note {
  color: #6f1436;
  border-color: rgba(255, 45, 122, 0.22);
  background: rgba(255, 45, 122, 0.08);
}

input:focus,
select:focus {
  outline-color: rgba(255, 45, 122, 0.22);
  border-color: var(--primary);
}

@keyframes starDrift {
  from {
    background-position:
      7% 18%,
      88% 13%;
  }
  to {
    background-position:
      9% 20%,
      86% 15%;
  }
}

/* Nod-inspired editorial tech direction */
.topbar,
.proof-strip,
.hero,
.tech-showcase,
.trial,
.footer {
  color: #ffffff;
}

.hero {
  min-height: 780px;
  align-items: center;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 45, 122, 0.24), transparent 24%),
    radial-gradient(circle at 18% 70%, rgba(143, 70, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #050815 0%, #090d1c 46%, #0b0e1a 100%);
}

.hero-image {
  opacity: 0.2;
  filter: saturate(0.55) hue-rotate(96deg) contrast(1.1) brightness(0.78);
}

.hero-content {
  width: min(1120px, calc(100% - 36px));
  margin: clamp(52px, 8vw, 86px) auto clamp(42px, 8vw, 90px);
}

.brand-signature {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.signature-word {
  font: 900 clamp(42px, 7vw, 108px) / 0.82 "Plus Jakarta Sans", sans-serif;
}

.signature-sub {
  font-size: clamp(13px, 1.2vw, 18px);
  letter-spacing: 0.28em;
}

h1 {
  max-width: 1100px;
  font-size: clamp(54px, 8.8vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

h1 span {
  color: var(--primary);
  text-shadow: 0 0 36px rgba(255, 45, 122, 0.38);
}

.hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 24px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background: #080b17;
}

.proof-strip a {
  display: grid;
  gap: 4px;
  min-height: 128px;
  align-content: center;
  padding: 22px clamp(18px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.22s ease,
    color 0.22s ease;
}

.proof-strip a:hover {
  background: rgba(255, 45, 122, 0.12);
}

.proof-strip strong {
  font: 900 clamp(30px, 5vw, 64px) / 0.9 "Plus Jakarta Sans", sans-serif;
  color: #ffffff;
}

.proof-strip span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.tech-showcase {
  padding-top: clamp(88px, 11vw, 150px);
}

.tech-showcase h2 {
  max-width: 940px;
  font-size: clamp(42px, 6.2vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.lab-stage {
  grid-template-columns: 0.72fr 1.45fr 0.83fr;
  margin-top: 26px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 50%, rgba(255, 45, 122, 0.2), transparent 56%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.36);
}

.student-photo-card,
.game-project-card,
.project-pipeline {
  position: relative;
  z-index: 1;
}

.student-photo-card {
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 45, 122, 0.28);
  background: #0f1728;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.student-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.student-photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(5, 8, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.student-photo-caption span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.student-photo-caption strong {
  color: #ffffff;
}

.game-project-card {
  min-height: 520px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 45, 122, 0.28);
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 45, 122, 0.18), transparent 34%),
    #0f1728;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.game-top,
.game-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-top span,
.game-stats span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-top b {
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 45, 122, 0.22);
}

.game-screen {
  position: relative;
  height: 390px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 22px;
  touch-action: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 45, 122, 0.22), transparent 30%),
    linear-gradient(180deg, #131b35 0%, #070c1b 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-pipeline {
  display: grid;
  gap: 12px;
  align-content: center;
}

.project-pipeline article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-pipeline span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 900;
}

.project-pipeline strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
}

.project-pipeline p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.pain,
.tracks,
.program,
.parents,
.contact {
  background: #f7f7fb;
}

.pain .section-head,
.tracks .section-head,
.program .section-head,
.project-showcase .section-head,
.parents .section-head {
  max-width: 1120px;
}

.pain h2,
.tracks h2,
.program h2,
.project-showcase h2,
.parents h2,
.contact h2 {
  font-size: clamp(38px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.project-showcase {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 45, 122, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f7fb 100%);
}

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

.project-drum {
  position: relative;
}

.project-drum-btn,
.project-drum-status {
  display: none;
}

.project-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  border-radius: 2px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 45, 122, 0.22), transparent 32%),
    linear-gradient(180deg, #111827 0%, #0b0e1a 100%);
  border: 1px solid rgba(11, 14, 26, 0.18);
  box-shadow: 0 28px 70px rgba(11, 14, 26, 0.12);
}

.project-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.project-card span {
  display: inline-flex;
  margin-bottom: 54px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 45, 122, 0.22);
  border: 1px solid rgba(255, 45, 122, 0.32);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
}

.pain-grid article,
.module-grid article,
.trust-grid article {
  border-radius: 2px;
  border: 1px solid rgba(11, 14, 26, 0.12);
  box-shadow: none;
}

.track-copy,
.outcome-list,
.contact-card {
  border-radius: 2px;
}

.button,
.top-cta,
input,
select,
.segmented,
.segment {
  border-radius: 999px;
}

@media (max-width: 980px) {
  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .ekit-layout,
  .ekit-features {
    grid-template-columns: 1fr;
  }

  .ekit-device {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 50px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip a {
    min-height: 98px;
  }

  .diary-grid {
    grid-template-columns: 1fr;
  }
}

/* eKit screenshot-inspired demo refinement */
.ekit-layout {
  grid-template-columns: minmax(420px, 0.92fr) minmax(320px, 1fr);
  align-items: start;
}

.ekit-demo {
  width: min(100%, 900px);
  justify-self: center;
  gap: 34px;
  height: 860px;
  min-height: 860px;
  padding: 34px;
  border-radius: 42px;
  background: #0f1728;
  border: 2px solid #202a3c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 0 28px rgba(15, 23, 40, 0.58),
    0 34px 120px rgba(0, 0, 0, 0.46);
}

.ekit-demo::after {
  inset: 20px;
  border-radius: 34px;
  border-color: #263145;
}

.demo-header {
  padding: 0 20px 30px;
  border-bottom-color: #273248;
}

.demo-logo {
  width: 74px;
  height: 10px;
  background: var(--primary);
  overflow: hidden;
}

.demo-logo:has(img:not([hidden])) {
  width: 74px;
  height: 42px;
  background: transparent;
}

.demo-logo span {
  opacity: 0;
}

.demo-header strong {
  font-size: 38px;
  letter-spacing: -0.03em;
}

.demo-actions {
  gap: 18px;
}

.sun-icon,
.avatar-icon {
  width: 78px;
  height: 78px;
  border: 2px solid #243048;
  background: #111b2d;
}

.sun-icon::before {
  inset: 26px;
  border-width: 4px;
}

.avatar-icon {
  background:
    radial-gradient(circle at 50% 35%, #d61c76 0 24%, transparent 25%),
    radial-gradient(ellipse at 50% 74%, #71d4df 0 26%, transparent 27%),
    #ffffff;
}

.demo-menu {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.demo-tile {
  min-height: 166px;
  padding: 18px 12px;
  border-radius: 34px;
  border: 2px solid #1e293d;
  background: #0f1728;
  color: #a7b0c2;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.demo-tile.active {
  color: #050815;
  background: #2f70f4;
  border-color: #78a6ff;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.2),
    0 28px 54px rgba(47, 112, 244, 0.28);
}

.tile-icon {
  width: 74px;
  height: 74px;
  background: #202b3e;
}

.demo-tile.active .tile-icon {
  background: rgba(255, 255, 255, 0.2);
}

.tile-icon::after {
  inset: 24px;
  border-width: 5px;
  border-radius: 5px;
}

.demo-screen {
  min-height: 420px;
  width: 100%;
  overflow: hidden;
}

.demo-screen[data-demo-screen="tasks"].active {
  display: grid;
  align-content: start;
  gap: 34px;
}

.task-tabs {
  width: 420px;
  height: 154px;
  padding: 14px;
  border-radius: 999px;
  background: #1c2638;
}

.task-tabs b,
.task-tabs span {
  min-width: 190px;
  display: grid;
  place-items: center;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.task-tabs b {
  color: #ffffff;
  background: #0b1223;
}

.task-tabs span {
  color: #ffffff;
  opacity: 0.95;
}

.homework-card {
  min-height: 390px;
  padding: 58px 54px;
  border-radius: 34px;
  border: 2px solid #263145;
  background: #0f1728;
  box-shadow: none;
}

.homework-card h3 {
  margin-bottom: 22px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.homework-card p {
  margin-bottom: 48px;
  color: #a8b2c5;
  font-size: 29px;
}

.homework-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.review-status {
  margin: 0;
  padding: 17px 29px;
  border-radius: 999px;
  color: #ffcf19;
  background: #493027;
  font-size: 29px;
}

.homework-card button {
  padding: 20px 34px;
  border: 4px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: transparent;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

  .ekit-demo {
    max-width: 860px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  .gamification-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ekit-demo {
    width: 100%;
    height: 1068px;
    min-height: 1068px;
    padding: 22px;
    border-radius: 30px;
    box-shadow:
      0 0 0 12px rgba(15, 23, 40, 0.58),
      0 24px 70px rgba(0, 0, 0, 0.4);
  }

  .demo-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .demo-tile {
    min-height: 128px;
    font-size: 20px;
  }

  .task-tabs {
    width: 100%;
    height: 112px;
  }

  .task-tabs b,
  .task-tabs span {
    min-width: 0;
    font-size: 25px;
  }

  .homework-card {
    min-height: 300px;
    padding: 34px 28px;
  }

  .homework-card h3 {
    font-size: 34px;
  }

  .homework-card p,
  .review-status,
  .homework-card button {
    font-size: 20px;
  }
}

/* eKit icon polish and tab transitions */
.demo-tile {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.28), transparent 46%);
  transition: opacity 0.28s ease;
}

.demo-tile.active {
  transform: translateY(-2px);
}

.demo-tile.active::after {
  opacity: 1;
}

.tile-icon {
  display: grid;
  place-items: center;
  color: #aab5c8;
  transition:
    background 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease;
}

.demo-tile.active .tile-icon {
  color: #071124;
  transform: scale(1.04);
}

.tile-icon::after {
  display: none;
}

.tile-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-screen {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.demo-screen.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.demo-screen.is-leaving {
  display: grid;
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
}

.notice-card,
.payment-card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
}

.notice-card span,
.payment-card span {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
}

.notice-card h3,
.payment-card h3 {
  color: #ffffff;
  font-size: 30px;
}

.notice-card p {
  color: #a8b2c5;
}

.pinned {
  border-color: rgba(255, 45, 122, 0.34);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 45, 122, 0.18), transparent 34%),
    #0f172a;
}

.payment-card strong {
  display: block;
  color: #16c994;
  font-size: 38px;
}

.payment-card button {
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #2f70f4;
  font: inherit;
  font-weight: 900;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.shop-grid article {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
}

.shop-grid span {
  font-size: 48px;
}

.shop-grid b {
  color: #ffffff;
}

.shop-grid em {
  color: #ffcf19;
  font-style: normal;
  font-weight: 900;
}

.chat-demo {
  min-height: 420px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
}

.chat-head {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-head b,
.chat-head span {
  display: block;
}

.chat-head b {
  color: #ffffff;
  font-size: 28px;
}

.chat-head span,
.empty-chat,
.chat-input span {
  color: #9ca7bb;
}

.empty-chat {
  display: grid;
  place-items: center;
  margin: 0;
  font-size: 24px;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-input span {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 16px;
  background: #121d31;
}

.chat-input button {
  border: 0;
  border-radius: 50%;
  color: #071124;
  background: #2f70f4;
  font-size: 20px;
}

/* eKit responsive scaling */
.ekit-layout {
  grid-template-columns: minmax(340px, min(58vw, 900px)) minmax(300px, 1fr);
}

.ekit-demo {
  --demo-pad: clamp(18px, 3.1vw, 34px);
  --demo-gap: clamp(14px, 2.2vw, 34px);
  --demo-radius: clamp(26px, 4vw, 42px);
  width: min(100%, 900px);
  height: auto;
  min-height: 0;
  aspect-ratio: 0.82;
  max-height: min(1120px, calc(100vh - 92px));
  padding: var(--demo-pad);
  gap: var(--demo-gap);
  border-radius: var(--demo-radius);
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
}

.ekit-demo::after {
  inset: clamp(10px, 2vw, 20px);
  border-radius: calc(var(--demo-radius) - 8px);
}

.demo-header {
  padding: 0 clamp(8px, 2vw, 20px) clamp(16px, 2.6vw, 30px);
}

.demo-header strong {
  font-size: clamp(24px, 4vw, 38px);
}

.sun-icon,
.avatar-icon {
  width: clamp(48px, 7vw, 78px);
  height: clamp(48px, 7vw, 78px);
}

.sun-icon::before {
  inset: 34%;
}

.demo-menu {
  gap: clamp(10px, 2vw, 26px);
}

.demo-tile {
  min-height: clamp(104px, 13.5vw, 166px);
  border-radius: clamp(22px, 3.5vw, 34px);
  font-size: clamp(15px, 2.2vw, 24px);
}

.tile-icon {
  width: clamp(48px, 7vw, 74px);
  height: clamp(48px, 7vw, 74px);
}

.tile-icon svg {
  width: clamp(22px, 3vw, 30px);
  height: clamp(22px, 3vw, 30px);
}

.demo-screen {
  min-height: 0;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.demo-screen::-webkit-scrollbar {
  width: 8px;
}

.demo-screen::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.demo-screen[data-demo-screen="tasks"].active {
  gap: clamp(18px, 2.5vw, 34px);
}

.task-tabs {
  width: min(420px, 100%);
  height: clamp(96px, 12vw, 154px);
}

.task-tabs b,
.task-tabs span {
  min-width: 0;
  flex: 1;
  font-size: clamp(22px, 3.1vw, 34px);
}

.homework-card {
  min-height: clamp(260px, 33vw, 390px);
  padding: clamp(26px, 5vw, 58px) clamp(22px, 4.6vw, 54px);
}

.homework-card h3 {
  font-size: clamp(30px, 4vw, 44px);
}

.homework-card p {
  margin-bottom: clamp(28px, 4vw, 48px);
  font-size: clamp(19px, 2.6vw, 29px);
}

.review-status,
.homework-card button {
  font-size: clamp(18px, 2.5vw, 29px);
}

.student-card-demo {
  grid-template-columns: minmax(112px, 170px) 1fr;
  min-height: auto;
  padding: clamp(18px, 3vw, 24px);
}

.pet-frame {
  width: clamp(112px, 16vw, 150px);
  height: clamp(112px, 16vw, 150px);
}

.student-card-copy h3 {
  font-size: clamp(24px, 3vw, 30px);
}

.student-card-copy strong {
  font-size: clamp(23px, 3vw, 30px);
}

.progress-demo {
  flex-wrap: wrap;
}

.academic-stats,
.shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

@media (min-width: 1380px) {
  .ekit-layout {
    grid-template-columns: 900px minmax(360px, 1fr);
  }
}

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

  .ekit-demo {
    width: min(100%, 860px);
    aspect-ratio: 0.86;
    max-height: none;
  }
}

@media (max-width: 760px) {
  .ekit-demo {
    aspect-ratio: auto;
    height: clamp(760px, 178vw, 1068px);
  }

  .demo-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .student-card-demo {
    grid-template-columns: 1fr;
  }

  .pet-frame {
    width: 116px;
    height: 116px;
  }
}

@media (max-width: 620px) {
  .gamification-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .gamification-row article {
    min-height: 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 16px;
    border-radius: 16px;
    background:
      linear-gradient(90deg, rgba(255, 45, 122, 0.14), transparent 42%),
      rgba(255, 255, 255, 0.06);
  }

  .gamification-row b {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 45, 122, 0.24);
  }

  .gamification-row h3 {
    margin: 0 0 5px;
    font-size: 19px;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .gamification-row p {
    font-size: 13px;
    line-height: 1.35;
  }

  .ekit-features {
    gap: 10px;
  }

  .ekit-features article {
    min-height: 0;
    padding: 15px 16px;
    border-radius: 16px;
  }

  .ekit-features h3 {
    margin: 0 0 5px;
    font-size: 18px;
    line-height: 1.1;
  }

  .ekit-features p {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (max-width: 430px) {
  .ekit-demo {
    height: 940px;
    padding: 16px;
  }

  .demo-tile {
    min-height: 96px;
  }

  .task-tabs {
    height: 86px;
  }

  .homework-actions {
    display: grid;
  }
}

/* Interactive mini-game */
.game-screen {
  cursor: pointer;
}

.block-game {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.game-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff2d7a, #8f46ff);
  box-shadow: 0 18px 44px rgba(255, 45, 122, 0.32);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.game-screen.is-playing .game-start,
.game-screen.is-won .game-start {
  display: none;
}

.game-message {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(5, 8, 21, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.game-controls {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.game-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font: 900 17px/1 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(12px);
}

.game-controls button:active {
  background: rgba(255, 45, 122, 0.34);
}

.game-screen.is-won .game-message {
  color: #071124;
  background: #ffcf19;
}

.game-screen.is-hit {
  animation: gameShake 0.28s ease;
}

@keyframes gameShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}

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

  .game-project-card {
    order: 1;
  }

  .student-photo-card {
    order: 2;
  }

  .project-pipeline {
    order: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .student-photo-card,
  .game-project-card {
    min-height: 340px;
  }

  .student-photo-card img {
    min-height: 340px;
  }

  .game-screen {
    height: 320px;
  }
}

@media (max-width: 620px) {
  .tech-showcase {
    padding-inline: 14px;
  }

  .tech-showcase h2 {
    font-size: clamp(34px, 11vw, 54px);
    line-height: 0.96;
  }

  .lab-stage {
    margin-inline: -2px;
    padding: 12px;
    border-radius: 22px;
  }

  .game-project-card {
    min-height: auto;
    padding: 14px;
    border-radius: 20px;
  }

  .game-screen {
    height: clamp(240px, 68vw, 310px);
    margin: 14px 0;
    border-radius: 16px;
  }

  .game-top,
  .game-stats {
    align-items: flex-start;
  }

  .game-stats {
    flex-wrap: wrap;
  }

  .student-photo-card {
    height: clamp(260px, 62vw, 340px);
    min-height: 0;
    border-radius: 20px;
  }

  .student-photo-card img {
    height: 100%;
    min-height: 0;
  }

  .student-photo-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .project-pipeline {
    grid-template-columns: 1fr;
  }

  .project-pipeline article {
    padding: 15px;
    border-radius: 16px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .student-photo-card,
  .game-project-card {
    min-height: 280px;
  }

  .student-photo-card img {
    min-height: 280px;
  }

  .game-screen {
    height: 300px;
  }

  .game-message {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 190px);
    white-space: normal;
  }

  .game-controls {
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }

  .game-controls button {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 15px;
  }
}

/* Mobile compact pass */
@media (max-width: 620px) {
  body {
    line-height: 1.38;
  }

  .topbar {
    min-height: 58px;
    padding: 10px 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 19px;
  }

  .brand strong {
    font-size: 17px;
  }

  .top-cta {
    padding: 9px 12px;
    font-size: 13px;
    box-shadow: 0 5px 0 rgba(201, 21, 88, 0.32);
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px 24px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 48px);
    line-height: 0.95;
  }

  h2,
  .pain h2,
  .tracks h2,
  .program h2,
  .project-showcase h2,
  .parents h2,
  .contact h2,
  .tech-showcase h2 {
    font-size: clamp(30px, 9.5vw, 42px);
    line-height: 0.98;
    letter-spacing: -0.03em;
  }

  h3 {
    line-height: 1.08;
  }

  .hero-copy,
  .head-note,
  .section-head p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.45;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .section,
  .tech-showcase,
  .ekit,
  .tracks,
  .program,
  .project-showcase,
  .parents,
  .contact {
    padding: 42px 14px;
  }

  .contact {
    padding-top: 24px;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 22px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
  }

  .proof-strip a {
    min-height: 76px;
    padding: 13px 12px;
  }

  .proof-strip strong {
    font-size: 24px;
  }

  .proof-strip span {
    font-size: 11px;
    line-height: 1.25;
  }

  .lab-stage {
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
  }

  .game-project-card {
    padding: 12px;
    border-radius: 18px;
  }

  .game-top span,
  .game-stats span {
    font-size: 10px;
  }

  .game-screen {
    height: clamp(210px, 56vw, 250px);
    margin: 10px 0;
  }

  .student-photo-card {
    height: 190px;
    min-height: 0;
  }

  .student-photo-card img {
    min-height: 0;
  }

  .student-photo-caption {
    padding: 9px 10px;
  }

  .project-pipeline {
    gap: 8px;
  }

  .project-pipeline article {
    padding: 12px;
  }

  .project-pipeline span {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .project-pipeline strong {
    font-size: 16px;
  }

  .project-pipeline p {
    font-size: 12px;
    line-height: 1.35;
  }

  .ekit-layout {
    gap: 18px;
  }

  .ekit-demo {
    height: 720px;
    padding: 14px;
    border-radius: 24px;
    box-shadow:
      0 0 0 8px rgba(15, 23, 40, 0.48),
      0 20px 54px rgba(0, 0, 0, 0.34);
  }

  .demo-header {
    padding-bottom: 14px;
  }

  .demo-header strong {
    font-size: 24px;
  }

  .demo-logo {
    width: 46px;
  }

  .sun-icon,
  .avatar-icon {
    width: 46px;
    height: 46px;
  }

  .demo-menu {
    gap: 8px;
  }

  .demo-tile {
    min-height: 78px;
    padding: 10px 6px;
    border-radius: 18px;
    font-size: 14px;
  }

  .tile-icon {
    width: 38px;
    height: 38px;
  }

  .tile-icon svg {
    width: 19px;
    height: 19px;
  }

  .task-tabs {
    height: 72px;
    padding: 8px;
  }

  .task-tabs b,
  .task-tabs span {
    font-size: 18px;
  }

  .homework-card,
  .notice-card,
  .payment-card,
  .chat-demo {
    min-height: 0;
    padding: 18px;
    border-radius: 20px;
  }

  .homework-card h3,
  .notice-card h3,
  .payment-card h3 {
    font-size: 24px;
  }

  .homework-card p,
  .review-status,
  .homework-card button {
    font-size: 16px;
  }

  .student-card-demo,
  .progress-card {
    padding: 16px;
  }

  .pain-grid,
  .module-grid,
  .trust-grid,
  .project-grid {
    gap: 10px;
  }

  .pain-grid article,
  .module-grid article,
  .trust-grid article,
  .project-card {
    min-height: 0;
    padding: 18px;
  }

  .pain-grid h3,
  .module-grid h3,
  .trust-grid h3,
  .project-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
  }

  .pain-grid p,
  .module-grid p,
  .trust-grid p,
  .project-card p {
    font-size: 14px;
    line-height: 1.38;
  }

  .project-card span {
    margin-bottom: 24px;
  }

  .segmented {
    margin-top: 14px;
    gap: 6px;
  }

  .segment {
    padding: 10px 12px;
    font-size: 13px;
  }

  .track-panel {
    gap: 12px;
  }

  .track-copy,
  .outcome-list {
    padding: 18px;
  }

  .track-copy p {
    font-size: 14px;
  }

  .outcome-list li {
    padding: 14px 14px 14px 50px;
  }

  .trial-layout {
    gap: 14px;
  }

  .trial-card,
  .trial-steps {
    padding: 18px;
  }

  .contact-card {
    gap: 18px;
    padding: 20px;
  }

  .lead-form {
    gap: 10px;
  }

  input,
  select,
  .button {
    min-height: 44px;
  }

  .lead-note {
    padding: 11px 12px;
    font-size: 12px;
  }

  .footer {
    display: grid;
    gap: 6px;
    padding: 18px 14px;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .section,
  .tech-showcase,
  .ekit,
  .tracks,
  .program,
  .project-showcase,
  .parents,
  .contact {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .hero {
    min-height: 490px;
  }

  .ekit-demo {
    height: 660px;
  }

  .project-grid,
  .pain-grid,
  .module-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .ekit-demo {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }

  .demo-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .demo-tile {
    min-height: 72px;
    padding: 9px 8px;
    border-radius: 18px;
    border-width: 1px;
    gap: 6px;
    font-size: 14px;
    line-height: 1;
  }

  .demo-tile.active {
    box-shadow:
      inset 0 0 0 3px rgba(255, 255, 255, 0.18),
      0 12px 28px rgba(47, 112, 244, 0.2);
  }

  .tile-icon {
    width: 36px;
    height: 36px;
  }

  .tile-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.1;
  }
}

@media (max-width: 480px) {
  .demo-menu {
    gap: 7px;
  }

  .demo-tile {
    min-height: 64px;
    padding: 8px 6px;
    border-radius: 16px;
    font-size: 13px;
  }

  .tile-icon {
    width: 32px;
    height: 32px;
  }

  .tile-icon svg {
    width: 16px;
    height: 16px;
  }
}

.ekit-layout {
  grid-template-columns: minmax(320px, 900px);
  justify-content: center;
}

.ekit-demo {
  justify-self: center;
}

.diary-benefits {
  max-width: 1180px;
  margin-inline: auto;
}

@media (max-width: 820px) {
  .project-drum {
    overflow: hidden;
    margin-inline: -14px;
    padding: 20px 54px 48px 14px;
    overflow-anchor: none;
  }

  .project-drum::before,
  .project-drum::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    height: 76px;
    pointer-events: none;
  }

  .project-drum::before {
    top: 0;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0));
  }

  .project-drum::after {
    bottom: 34px;
    background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0));
  }

  .project-grid {
    position: relative;
    display: block;
    height: 340px;
    overflow: hidden;
    border-radius: 24px;
    touch-action: pan-y;
    overflow-anchor: none;
  }

  .project-card {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    min-height: 230px;
    display: grid;
    align-content: center;
    padding: 22px;
    border-radius: 20px;
    transform-origin: center;
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.32s ease,
      opacity 0.32s ease,
      box-shadow 0.32s ease;
  }

  .project-card.is-near {
    opacity: 0.36;
    transform: translateY(calc(-50% + (var(--drum-offset) * 126px))) scale(0.9);
    filter: saturate(0.82);
  }

  .project-card.is-current {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
    filter: none;
    box-shadow: 0 26px 70px rgba(255, 45, 122, 0.2);
  }

  .project-card.is-far {
    opacity: 0;
    transform: translateY(calc(-50% + (var(--drum-offset) * 126px))) scale(0.84);
    filter: saturate(0.7);
  }

  .project-card span {
    width: fit-content;
    margin-bottom: 28px;
    padding: 9px 16px;
    font-size: 11px;
    background: rgba(255, 45, 122, 0.18);
  }

  .project-card h3 {
    max-width: 92%;
    font-size: clamp(27px, 8vw, 38px);
    line-height: 0.95;
  }

  .project-card p {
    max-width: 92%;
    font-size: 16px;
    line-height: 1.4;
  }

  .project-drum-btn {
    position: absolute;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(11, 14, 26, 0.12);
    border-radius: 999px;
    color: #ffffff;
    background: #0b0e1a;
    font: 900 28px/1 "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
  }

  .project-drum-btn.prev {
    top: 104px;
  }

  .project-drum-btn.next {
    top: 154px;
  }

  .project-drum-status {
    position: absolute;
    left: 14px;
    right: 54px;
    bottom: 8px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    color: #0b0e1a;
    font: 900 12px/1 "Plus Jakarta Sans", sans-serif;
  }

  .project-drum-status i {
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(11, 14, 26, 0.12);
  }

  .project-drum-status i::after {
    content: "";
    display: block;
    width: var(--project-progress, 16.66%);
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
    transition: width 0.28s ease;
  }
}

/* Final contact form override */
.contact {
  position: relative;
  overflow: hidden;
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(58px, 8vw, 104px);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 45, 122, 0.13), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(47, 112, 244, 0.12), transparent 30%),
    linear-gradient(180deg, #f8f8fc 0%, #ffffff 100%);
}

.contact-card {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(11, 14, 26, 0.1);
  border-radius: 34px;
  color: #ffffff;
  background: #0b0e1a;
  box-shadow:
    0 34px 95px rgba(11, 14, 26, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 45, 122, 0.24), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(143, 70, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

.contact-card > div:first-child {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card .eyebrow {
  width: fit-content;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(255, 45, 122, 0.32);
  border-radius: 999px;
  color: #ff4c91;
  background: rgba(255, 45, 122, 0.12);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.contact h2 {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.contact-card p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.45;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 3.6vw, 46px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.lead-form label[data-content-field="parentLabel"],
.lead-form label[data-content-field="phoneLabel"],
.lead-note,
.lead-form .wide {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 0 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 14px 36px rgba(0, 0, 0, 0.12);
  font-weight: 850;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.lead-form select {
  appearance: auto;
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 0;
  border-color: rgba(255, 45, 122, 0.78);
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 0 0 4px rgba(255, 45, 122, 0.14),
    0 18px 42px rgba(255, 45, 122, 0.12);
  transform: translateY(-1px);
}

.lead-note {
  position: relative;
  min-height: 0;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(46, 230, 200, 0.22);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(46, 230, 200, 0.08);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.lead-note::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2ee6c8;
  box-shadow: 0 0 18px rgba(46, 230, 200, 0.8);
}

.lead-form .button.primary {
  min-height: 60px;
  margin-top: 2px;
  border: 0;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff2d7a 0%, #b743f4 100%);
  box-shadow:
    0 16px 0 rgba(127, 31, 86, 0.7),
    0 24px 60px rgba(255, 45, 122, 0.28);
  font-size: 18px;
}

.lead-form .button.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 0 rgba(127, 31, 86, 0.68),
    0 30px 70px rgba(255, 45, 122, 0.34);
}

@media (max-width: 860px) {
  .contact-card {
    width: min(640px, calc(100% - 28px));
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .contact-card > div:first-child {
    gap: 12px;
    padding: 24px 22px 12px;
    border-right: 0;
  }

  .contact h2 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .contact-card p:not(.eyebrow) {
    font-size: 15px;
  }

  .lead-form {
    padding: 18px 18px 24px;
  }
}

@media (max-width: 560px) {
  .contact {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .contact-card {
    width: min(100% - 22px, 430px);
    border-radius: 24px;
  }

  .lead-form {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .lead-form label[data-content-field="parentLabel"],
  .lead-form label[data-content-field="phoneLabel"],
  .lead-note,
  .lead-form .wide {
    grid-column: auto;
  }

  .lead-form input,
  .lead-form select {
    min-height: 50px;
    border-radius: 15px;
    padding: 0 14px;
  }

  .lead-note {
    padding: 10px 12px 10px 34px;
    border-radius: 15px;
    font-size: 12px;
  }

  .lead-note::before {
    left: 13px;
    top: 14px;
    width: 8px;
    height: 8px;
  }

  .lead-form .button.primary {
    min-height: 54px;
    border-radius: 17px;
    font-size: 16px;
    box-shadow:
      0 10px 0 rgba(127, 31, 86, 0.7),
      0 20px 46px rgba(255, 45, 122, 0.26);
  }
}
