:root {
  --ink: #07103a;
  --navy: #08122f;
  --deep: #030915;
  --panel: #101d43;
  --line: #dfe7fb;
  --muted: #60709a;
  --cyan: #18d9ff;
  --blue: #3d7cff;
  --violet: #8b43ff;
  --magenta: #e032ff;
  --green: #31d68b;
  --soft: #f5f8ff;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(18, 32, 84, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 34px;
  color: var(--white);
  background: rgba(3, 9, 21, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 25px;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--magenta), var(--blue) 55%, var(--cyan));
  box-shadow: 0 0 22px rgba(24, 217, 255, 0.34);
  transform: rotate(45deg);
}

.brand-mark span {
  position: absolute;
  inset: 9px;
  border-radius: 5px;
  background: var(--deep);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.menu-toggle,
.hamburger,
.mobile-nav {
  display: none;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--cyan);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--blue) 50%, var(--violet));
  box-shadow: 0 14px 30px rgba(77, 91, 255, 0.3);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-secondary.light {
  color: var(--blue);
  background: var(--white);
  border-color: var(--line);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-large {
  min-height: 56px;
  padding: 0 30px;
  font-size: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: 26px;
  min-height: 780px;
  padding: 92px 34px 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 66% 34%, rgba(24, 217, 255, 0.22), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(139, 67, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #050a18 0%, #071337 62%, #07122c 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-copy,
.hero-visual,
.hero-strip {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
  padding: 32px 0 0 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #a8efff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

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

h1 {
  max-width: 710px;
  margin-bottom: 22px;
  font-size: clamp(43px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 800;
}

h1 span {
  display: block;
  color: #67dcff;
}

.hero-text {
  max-width: 565px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.55;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.trust-line span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  min-width: 0;
}

.mascot-wrap {
  position: relative;
  width: min(520px, 48vw);
  justify-self: center;
  transform-origin: 50% 58%;
  animation: mascotFloat 5.8s ease-in-out infinite;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 34px 58px rgba(24, 217, 255, 0.25));
}

.mascot-wrap:hover {
  transform: translateY(-16px) rotate(-2deg) scale(1.03);
  filter: drop-shadow(0 38px 66px rgba(24, 217, 255, 0.38));
}

.mascot {
  width: 100%;
}

.mascot-eye {
  position: absolute;
  top: 27.8%;
  width: 13.6%;
  height: 13%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 38%, rgba(12, 32, 88, 0.96), #02091f 70%);
  box-shadow:
    inset 0 0 12px rgba(24, 217, 255, 0.12),
    0 0 10px rgba(2, 9, 31, 0.42);
  transform-origin: 50% 0%;
  animation: mascotBlink 5.6s infinite;
  pointer-events: none;
}

.mascot-eye-left {
  left: 35%;
}

.mascot-eye-right {
  left: 56.7%;
  animation-delay: 0.03s;
}

@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-13px) rotate(1.4deg);
  }
}

@keyframes mascotBlink {
  0%,
  88%,
  94%,
  100% {
    transform: scaleY(0.02);
    opacity: 0;
  }

  90%,
  92% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-wrap,
  .mascot-eye {
    animation: none;
  }
}

.platform-panel {
  padding: 26px;
  border: 1px solid rgba(157, 187, 255, 0.32);
  border-radius: 18px;
  background: rgba(13, 28, 63, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.platform-panel h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

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

.platform-grid a {
  display: grid;
  min-height: 142px;
  place-items: center;
  gap: 10px;
  padding: 14px;
  text-align: center;
  font-weight: 800;
  border: 1px solid rgba(179, 200, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.platform-icon {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef6ff, #8ea6ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46), 0 12px 24px rgba(0, 0, 0, 0.18);
}

.roblox-icon {
  position: relative;
  transform: rotate(12deg);
}

.roblox-icon::after {
  content: "";
  position: absolute;
  inset: 23px;
  background: #10204b;
}

.minecraft-icon {
  border-radius: 8px;
  background:
    linear-gradient(#5caf4f 0 42%, #8a6234 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 8px, transparent 8px 16px);
}

.code-icon {
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 20px;
  background: linear-gradient(135deg, #1f2b55, #5f79ff);
}

.console-icon {
  background: linear-gradient(135deg, #f5c8ff, #7545ff 70%);
}

.story-icon {
  background: linear-gradient(135deg, #6a7dff, #a466ff);
}

.safety-icon {
  background: linear-gradient(135deg, #e9fff4, #31d68b);
}

.hero-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 20px;
  border: 1px solid rgba(157, 187, 255, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-strip span {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 800;
  background: rgba(7, 18, 44, 0.7);
}

.strip-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(24, 217, 255, 0.28));
}

.strip-icon-bg {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(168, 239, 255, 0.34);
  stroke-width: 1.2;
}

.strip-icon-main {
  fill: none;
  stroke: url("#stripGradientSafety");
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-strip span:nth-child(2) .strip-icon-main {
  stroke: url("#stripGradientBeginner");
}

.hero-strip span:nth-child(3) .strip-icon-main {
  stroke: url("#stripGradientProjects");
}

.hero-strip span:nth-child(4) .strip-icon-main {
  stroke: url("#stripGradientCertificates");
}

.strip-icon-line {
  fill: none;
  stroke: #dff9ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strip-icon-accent {
  fill: rgba(224, 50, 255, 0.18);
  stroke: #a8efff;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.section {
  padding: 76px 34px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 28px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
}

.path-grid,
.project-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.path-card,
.project-grid article,
.pricing-grid article,
.dashboard-card,
.chat-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(33, 50, 94, 0.08);
}

.path-card {
  padding: 16px;
  text-align: center;
}

.path-card h3 {
  margin: 14px 0 8px;
  font-size: 17px;
}

.path-card p,
.project-grid p,
.pricing-grid p,
.dashboard-copy li,
.coach-copy li {
  color: var(--muted);
  line-height: 1.55;
}

.path-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.path-media {
  height: 124px;
  border-radius: 8px;
}

.roblox-card { background: linear-gradient(135deg, #8edcff, #ddf6ff); }
.minecraft-card { background: linear-gradient(135deg, #a4e68f, #80613c); }
.web-card { background: linear-gradient(135deg, #15265b, #5e85ff); }
.two-d-card { background: linear-gradient(135deg, #e0c2ff, #6b4dff); }
.story-card { background: linear-gradient(135deg, #8378ff, #f0b6ff); }
.safety-card { background: linear-gradient(135deg, #e9fff4, #39d78b); }

.safety-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  background: linear-gradient(135deg, #f8fcff, #effff8);
}

.safety-band > div:first-child {
  max-width: 570px;
}

.safety-band p {
  color: var(--muted);
  line-height: 1.65;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.safety-grid article {
  min-height: 240px;
  padding: 24px 10px 10px;
  text-align: center;
}

.mini-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #13204e, #526dff);
  box-shadow: 0 18px 34px rgba(38, 68, 154, 0.2);
}

.chat { background: linear-gradient(135deg, #526dff, #e051ff); }
.habits { background: linear-gradient(135deg, #4c5bff, #ffcd68); }
.lock { background: linear-gradient(135deg, #c9fff2, #31d68b); }

.coach-section {
  display: grid;
  grid-template-columns: 280px 1fr 430px;
  align-items: center;
  gap: 38px;
  margin: 20px 34px;
  padding: 46px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3f7ff, #fbf5ff);
}

.coach-section img {
  filter: drop-shadow(0 24px 40px rgba(74, 118, 255, 0.24));
}

.coach-copy ul,
.dashboard-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0 0 24px;
}

.chat-card {
  padding: 20px;
}

.chat-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.chat-top span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  padding: 12px 14px;
  margin: 16px 0 0;
  border-radius: 10px;
  line-height: 1.4;
}

.coach-bubble {
  background: var(--soft);
  color: var(--ink);
}

.kid-bubble {
  margin-left: auto;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.projects-section {
  padding-top: 56px;
}

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

.project-grid article {
  overflow: hidden;
}

.project-grid h3,
.project-grid p {
  padding-inline: 16px;
}

.project-grid h3 {
  margin: 16px 0 6px;
}

.project-image {
  height: 150px;
}

.obby { background: linear-gradient(135deg, #5fc8ff, #ffd66f); }
.realm { background: linear-gradient(135deg, #6acf9e, #866142); }
.space { background: linear-gradient(135deg, #071337, #4e9dff); }
.pixel { background: linear-gradient(135deg, #9065ff, #ffc1f1); }

.dashboard-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: center;
  background: #f6faff;
}

.dashboard-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 310px;
  padding: 18px;
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #edf4ff;
}

.dashboard-sidebar span {
  height: 34px;
  border-radius: 7px;
  background: var(--white);
}

.dashboard-main {
  padding: 16px 0 16px 18px;
}

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

.dash-row article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dash-row strong {
  display: block;
  font-size: 28px;
}

.dash-row span,
.dash-list {
  color: var(--muted);
  font-size: 14px;
}

.dash-list {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dash-list p {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.dash-list span {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-grid article {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.pricing-grid strong {
  font-size: 22px;
}

.featured-price {
  border-color: rgba(61, 124, 255, 0.45);
  box-shadow: 0 22px 60px rgba(61, 124, 255, 0.18);
}

.final-cta {
  margin: 32px 34px 76px;
  padding: 70px 34px;
  text-align: center;
  color: var(--white);
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 20%, rgba(24, 217, 255, 0.32), transparent 30%),
    linear-gradient(135deg, #071337, #6028e8);
}

.final-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 56px);
}

.final-cta p {
  max-width: 710px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.signup-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 650px;
  margin: 0 auto;
}

.signup-form label {
  flex: 1;
  min-width: 0;
}

.signup-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 34px;
  color: var(--white);
  background: var(--deep);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer div {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.76);
}

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

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

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .platform-panel {
    max-width: 720px;
    margin-inline: auto;
  }

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

  .safety-band,
  .coach-section,
  .dashboard-section {
    grid-template-columns: 1fr;
  }

  .coach-section {
    margin-inline: 20px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr 48px;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
  }

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

  .site-header .brand {
    min-width: 0;
    font-size: 22px;
  }

  .header-actions {
    display: none;
  }

  .hamburger {
    display: grid;
    justify-self: end;
    place-items: center;
    gap: 5px;
    width: 46px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--white);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mobile-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(7, 18, 44, 0.94);
  }

  .mobile-nav a:not(.button) {
    display: block;
    padding: 14px 8px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav .button {
    width: 100%;
    margin-top: 14px;
  }

  .menu-toggle:checked ~ .mobile-nav {
    display: block;
  }

  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 54px 20px 20px;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    font-size: 45px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-strip,
  .platform-grid,
  .path-grid,
  .safety-grid,
  .project-grid,
  .pricing-grid,
  .dash-row,
  .dashboard-card,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .hero-strip,
  .signup-form {
    display: grid;
  }

  .mascot-wrap {
    width: 100%;
    max-width: 390px;
  }

  .section {
    padding: 56px 20px;
  }

  .coach-section,
  .final-cta {
    margin-inline: 20px;
    padding: 34px 20px;
  }
}
