:root {
  --bg: #0d1024;
  --panel: rgba(19, 24, 55, 0.86);
  --ink: #f9fbff;
  --muted: rgba(239, 244, 255, 0.72);
  --soft: rgba(239, 244, 255, 0.5);
  --line: rgba(130, 166, 255, 0.18);
  --indigo: #191f54;
  --cyan: #40dff2;
  --blue: #3e7bff;
  --yellow: #ffd05c;
  --coral: #ff6f75;
  --violet: #8f73ff;
  --card-light: #fff7dc;
  --shadow: 0 34px 100px rgba(4, 7, 22, 0.46);
  --radius-xl: 34px;
  --radius-lg: 24px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(64, 223, 242, 0.24), transparent 32rem),
    radial-gradient(circle at 86% 12%, rgba(255, 208, 92, 0.18), transparent 30rem),
    linear-gradient(135deg, #0d1024 0%, #161a45 50%, #0b1024 100%);
  overflow-x: hidden;
}

section[id],
article[id] {
  scroll-margin-top: 118px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.star-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.45) 1px, transparent 1px),
    linear-gradient(rgba(130, 166, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 166, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px, 62px 62px, 62px 62px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 74%);
}
.aura {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(34px);
  pointer-events: none;
}
.aura-a { width: 430px; height: 430px; top: 150px; left: -150px; background: rgba(64, 223, 242, 0.2); }
.aura-b { width: 500px; height: 500px; top: 470px; right: -190px; background: rgba(143, 115, 255, 0.22); }

.site-header,
.section,
.site-footer,
.toast,
.mobile-sticky-cta { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1220px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(130, 166, 255, 0.18);
  border-radius: 999px;
  background: rgba(13, 16, 36, 0.72);
  box-shadow: 0 24px 80px rgba(4, 7, 22, 0.32);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.brand-mark,
.app-brand span,
.mascot {
  display: grid;
  place-items: center;
  color: #10142e;
  font-weight: 950;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.65), transparent 30%),
    linear-gradient(135deg, var(--cyan), var(--yellow));
  box-shadow: 0 18px 50px rgba(64, 223, 242, 0.28);
}
.brand-mark { width: 44px; height: 44px; border-radius: 17px; }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand small { margin-top: 4px; color: var(--soft); font-size: 0.76rem; }

.nav-links { display: flex; gap: 4px; }
.nav-links button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: color 180ms ease, background 180ms ease;
}
.nav-links button:hover { color: var(--ink); background: rgba(130, 166, 255, 0.1); }

.btn,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.btn { min-height: 48px; padding: 0 20px; }
.btn:hover,
.small-btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #10142e;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.65), transparent 32%),
    linear-gradient(135deg, #40dff2 0%, #ffd05c 52%, #ff6f75 100%);
  box-shadow: 0 20px 60px rgba(64, 223, 242, 0.28), inset 0 1px 0 rgba(255,255,255,0.42);
}
.btn-primary:hover { box-shadow: 0 26px 74px rgba(64, 223, 242, 0.4), inset 0 1px 0 rgba(255,255,255,0.55); }
.btn-ghost,
.small-btn {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
}
.btn-xl { min-height: 58px; padding-inline: 26px; }
.small-btn { min-height: 38px; padding: 0 14px; }

.section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  scroll-margin-top: 112px;
}
.eyebrow,
.section-kicker,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8af2ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 950;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 8px rgba(255, 208, 92, 0.13);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 840px;
  margin: 18px 0 20px;
  font-size: clamp(3.15rem, 7vw, 6.35rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
h3 { margin-bottom: 10px; font-size: 1.46rem; letter-spacing: -0.035em; }
.hero-subhead,
.engine-copy p,
.report-copy p,
.package-copy p,
.request-copy p,
.pain-grid p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 58px 0 54px;
}
.hero-actions,
.proof-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 30px; }
.proof-strip { margin-top: 34px; }
.proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(249,251,255,0.86);
  background: rgba(255,255,255,0.06);
}

.hero-visual { position: relative; min-height: 640px; }
.hero-image,
.engine-image,
.report-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(130, 166, 255, 0.2);
  background: rgba(255,255,255,0.055);
  box-shadow: var(--shadow);
}
.hero-image { height: 640px; border-radius: 42px; }
.engine-image,
.report-image { height: 560px; border-radius: var(--radius-xl); }
.hero-image::after,
.engine-image::after,
.report-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,16,36,0.2), transparent 44%),
    linear-gradient(0deg, rgba(13,16,36,0.36), transparent 54%);
}
.hero-image img,
.engine-image img,
.report-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 680ms ease;
}
.hero-image img { object-position: 54% center; }
.engine-image img { object-position: center center; }
.report-image img { object-position: center center; }
.hero-visual:hover img,
.engine-image:hover img,
.report-image:hover img { transform: scale(1.035); }

.hero-card {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: min(380px, calc(100% - 44px));
  padding: 22px;
  border: 1px solid rgba(130, 166, 255, 0.22);
  border-radius: 28px;
  background: rgba(13, 16, 36, 0.76);
  box-shadow: 0 26px 80px rgba(4,7,22,0.4);
  backdrop-filter: blur(20px);
}
.hero-card strong { display: block; margin: 10px 0; color: var(--yellow); font-size: 1.5rem; }
.hero-card p { color: var(--muted); line-height: 1.55; }
.hero-card .btn { width: 100%; }

.problem-section,
.demo-section,
.package-section,
.request-section { margin-top: 88px; }
.problem-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(130, 166, 255, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.055);
  box-shadow: 0 28px 90px rgba(4,7,22,0.2);
}
.problem-section h2 { margin-bottom: 0; font-size: clamp(1.85rem, 3.6vw, 3.1rem); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pain-grid article,
.panel-card,
.package-grid article,
.request-form {
  border: 1px solid rgba(130, 166, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
}
.pain-grid article { padding: 20px; }

.engine-shot,
.report-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  margin-top: 110px;
}
.report-section { grid-template-columns: 1.08fr 0.92fr; }

.demo-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(64, 223, 242, 0.26);
  color: #8af2ff;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 950;
  background:
    linear-gradient(90deg, transparent, rgba(64, 223, 242, 0.1), transparent),
    rgba(255,255,255,0.045);
}
.learning-console {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 330px;
  min-height: 860px;
  border-left: 1px solid rgba(64,223,242,0.2);
  border-right: 1px solid rgba(64,223,242,0.2);
  background:
    radial-gradient(circle at 50% 4%, rgba(143,115,255,0.18), transparent 28rem),
    linear-gradient(140deg, rgba(12, 15, 35, 0.96), rgba(23, 28, 70, 0.94));
}
.pack-panel,
.learning-stage,
.insight-panel { min-width: 0; padding: 22px; }
.pack-panel,
.learning-stage { border-right: 1px solid rgba(130,166,255,0.13); }

.app-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.app-brand span { width: 44px; height: 44px; border-radius: 17px; }
.app-brand strong,
.app-brand small { display: block; }
.app-brand small { margin-top: 4px; color: var(--soft); }

.pack-stack { display: grid; gap: 10px; margin-bottom: 16px; }
.pack-card {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(130,166,255,0.15);
  border-radius: 19px;
  color: var(--ink);
  background: rgba(255,255,255,0.055);
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.pack-card:hover,
.pack-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(64,223,242,0.46);
  background: rgba(64,223,242,0.1);
}
.pack-card.locked-pack:not(.is-unlocked) { opacity: 0.76; }
.pack-card span,
.pack-card strong,
.pack-card small { display: block; }
.pack-card span { color: #8af2ff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 950; }
.pack-card strong { margin: 7px 0; }
.pack-card small { color: var(--muted); }
.pack-panel > .btn { width: 100%; }

.metric-grid { display: grid; gap: 10px; margin-top: 18px; }
.metric-grid article {
  padding: 15px;
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
}
.metric-grid span,
.metric-grid strong { display: block; }
.metric-grid span { color: var(--soft); font-size: 0.82rem; }
.metric-grid strong { margin-top: 5px; color: var(--yellow); font-size: 1.16rem; }

.stage-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.stage-tabs button {
  min-height: 42px;
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.055);
  font-weight: 900;
}
.stage-tabs button.is-active {
  color: #10142e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
}
.learning-screen {
  min-height: 730px;
  padding: 22px;
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 8%, rgba(255,208,92,0.12), transparent 18rem),
    rgba(255,255,255,0.045);
}
.screen-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.screen-head p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.screen-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #10142e;
  font-weight: 950;
  background: linear-gradient(135deg, var(--yellow), #fff2a8);
}
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.road-node,
.task-card,
.feedback-card,
.report-card,
.exam-card {
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 24px;
  background: rgba(255,255,255,0.065);
}
.road-node { min-height: 160px; padding: 18px; }
.road-node strong,
.road-node span { display: block; }
.road-node span { margin-top: 8px; color: var(--soft); }
.road-node.is-active { border-color: rgba(64,223,242,0.44); background: rgba(64,223,242,0.1); }
.road-node.is-locked { opacity: 0.58; }
.lesson-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 14px; }
.task-card,
.feedback-card,
.report-card,
.exam-card { padding: 20px; }
.question {
  margin: 16px 0;
  padding: 18px;
  border-radius: 20px;
  color: #10142e;
  background: var(--card-light);
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}
.answer-grid { display: grid; gap: 10px; }
.answer-grid button,
.screen-action {
  min-height: 48px;
  border: 1px solid rgba(130,166,255,0.18);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255,255,255,0.06);
  font-weight: 900;
  text-align: left;
  padding: 0 16px;
}
.answer-grid button.is-correct { color: #10142e; background: linear-gradient(135deg, var(--cyan), #a5f8e8); }
.answer-grid button.is-wrong { color: #10142e; background: linear-gradient(135deg, var(--coral), #ffc0b0); }
.screen-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--violet), var(--blue));
}
.feedback-card p,
.report-card p,
.exam-card p { color: var(--muted); line-height: 1.55; }
.repair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.repair-card {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255,255,255,0.06);
  text-align: left;
}
.repair-card:hover { border-color: rgba(64,223,242,0.4); transform: translateY(-2px); }
.exam-timer {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 20px auto;
  border-radius: 50%;
  color: #10142e;
  font-size: 2rem;
  font-weight: 950;
  background:
    radial-gradient(circle closest-side, var(--card-light) 70%, transparent 72%),
    conic-gradient(var(--yellow) 62%, rgba(255,255,255,0.12) 0);
}
.bar-list { display: grid; gap: 12px; margin-top: 16px; }
.bar-row span { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.86rem; }
.bar-track { height: 9px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.12); }
.bar-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--yellow)); }

.diagnostic-chart-card {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 0%, rgba(255,208,92,0.13), transparent 12rem),
    rgba(255,255,255,0.055);
}

.chart-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.chart-title span {
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chart-title strong {
  color: var(--yellow);
  font-size: 1.24rem;
}

.skill-diagnostic-chart {
  width: 100%;
  min-height: 220px;
  overflow: visible;
}

.skill-grid line {
  stroke: rgba(130,166,255,0.15);
  stroke-width: 1;
}

.mastery-line {
  stroke: rgba(255,208,92,0.7);
  stroke-width: 2;
  stroke-dasharray: 7 7;
}

.mastery-label {
  fill: rgba(239,244,255,0.64);
  font-size: 12px;
  font-weight: 850;
}

.skill-area {
  fill: url("#skillArea");
}

.skill-line {
  fill: none;
  stroke: url("#skillLine");
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 16px rgba(64,223,242,0.28));
}

.skill-point circle {
  fill: #10142e;
  stroke: var(--cyan);
  stroke-width: 4;
}

.skill-point.weak circle {
  stroke: var(--coral);
}

.skill-point text {
  fill: rgba(239,244,255,0.68);
  font-size: 12px;
  font-weight: 950;
  text-anchor: middle;
}

.diagnostic-legend {
  display: grid;
  gap: 8px;
}

.diagnostic-legend button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 9px;
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255,255,255,0.055);
  text-align: left;
}

.diagnostic-legend button:hover {
  border-color: rgba(64,223,242,0.42);
  background: rgba(64,223,242,0.1);
}

.diagnostic-legend span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #10142e;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
  font-weight: 950;
}

.diagnostic-legend strong {
  overflow: hidden;
  color: rgba(249,251,255,0.86);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diagnostic-legend em {
  color: var(--yellow);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
}

.insight-panel { display: grid; gap: 14px; align-content: start; }
.panel-card { padding: 20px; }
.mascot-card { display: flex; gap: 14px; align-items: center; }
.mascot { width: 58px; height: 58px; border-radius: 22px 22px 28px 28px; }
.mascot-card strong { display: block; margin-top: 7px; line-height: 1.35; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.action-stack { display: grid; gap: 10px; }
.action-stack button {
  min-height: 48px;
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255,255,255,0.06);
  font-weight: 900;
}
.action-stack button:hover { border-color: rgba(255,208,92,0.42); background: rgba(255,208,92,0.1); }
.skill-list { display: grid; gap: 12px; }
.skill-row span { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.84rem; }
.skill-row .bar-track { height: 8px; }
.event-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.event-list li {
  padding: 12px;
  border: 1px solid rgba(130,166,255,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
}
.event-list strong,
.event-list span { display: block; }
.event-list span { margin-top: 5px; color: var(--soft); font-size: 0.8rem; line-height: 1.4; }

.package-section {
  display: grid;
  gap: 30px;
  padding: 30px;
  border: 1px solid rgba(130,166,255,0.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 84% 12%, rgba(255,208,92,0.14), transparent 24rem),
    rgba(255,255,255,0.055);
  box-shadow: 0 28px 90px rgba(4,7,22,0.2);
}
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.package-grid article { padding: 22px; }
.package-grid article.featured {
  border-color: rgba(64,223,242,0.34);
  background: linear-gradient(180deg, rgba(64,223,242,0.1), rgba(255,255,255,0.055));
}
.package-grid span { color: var(--soft); }
.package-grid strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 2rem;
  letter-spacing: -0.045em;
}
.package-grid p { color: var(--muted); line-height: 1.6; }

.request-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 72px;
}
.request-form {
  display: grid;
  gap: 13px;
  padding: 28px;
  box-shadow: var(--shadow);
}
label {
  display: grid;
  gap: 8px;
  color: rgba(249,251,255,0.84);
  font-size: 0.9rem;
  font-weight: 850;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(130,166,255,0.17);
  border-radius: 15px;
  color: var(--ink);
  background: rgba(9, 12, 30, 0.62);
  padding: 13px 14px;
  outline: none;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(64,223,242,0.68);
  box-shadow: 0 0 0 5px rgba(64,223,242,0.11);
}
.form-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,111,117,0.34);
  border-radius: 16px;
  color: #ffd4d6;
  background: rgba(255,111,117,0.11);
}
.btn-submit { width: 100%; min-height: 58px; }
.success-state {
  margin-top: 4px;
  padding: 15px;
  border: 1px solid rgba(64,223,242,0.3);
  border-radius: 18px;
  color: #c9faff;
  background: rgba(64,223,242,0.1);
}
.success-state strong,
.success-state span { display: block; }
.success-state span { margin-top: 6px; color: rgba(239,244,255,0.76); line-height: 1.55; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: min(440px, calc(100% - 40px));
  padding: 16px 18px;
  border: 1px solid rgba(64,223,242,0.26);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(13,16,36,0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.88rem;
}
.site-footer strong { color: var(--ink); }
.mobile-sticky-cta { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .hero,
  .problem-section,
  .engine-shot,
  .report-section,
  .request-section { grid-template-columns: 1fr; }
  .learning-console { grid-template-columns: 1fr; }
  .pack-panel,
  .learning-stage { border-right: 0; border-bottom: 1px solid rgba(130,166,255,0.13); }
  .hero { min-height: auto; padding-top: 46px; }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    border-radius: 24px;
  }
  .brand { min-width: 0; }
  .brand small,
  .site-header > .btn { display: none; }
  .section,
  .site-footer { width: calc(100% - 24px); }
  h1 { font-size: clamp(3rem, 15vw, 4.65rem); }
  .hero-actions,
  .hero-actions .btn,
  .pain-grid,
  .package-grid,
  .request-section,
  .roadmap,
  .lesson-grid,
  .repair-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-visual,
  .hero-image { min-height: 540px; height: 540px; }
  .hero-image img { object-position: 60% center; }
  .hero-card {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
  }
  .problem-section,
  .pack-panel,
  .learning-stage,
  .insight-panel,
  .learning-screen,
  .panel-card,
  .package-section,
  .request-form {
    padding: 20px;
    border-radius: 24px;
  }
  .engine-shot,
  .report-section { margin-top: 76px; }
  .engine-image,
  .report-image { height: 430px; min-height: 430px; }
  .stage-tabs { grid-template-columns: 1fr 1fr; }
  .screen-head { flex-direction: column; }
  .site-footer { display: grid; padding-bottom: 78px; }
  .mobile-sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    color: #10142e;
    font-weight: 950;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.65), transparent 32%),
      linear-gradient(135deg, #40dff2 0%, #ffd05c 52%, #ff6f75 100%);
    box-shadow: 0 20px 60px rgba(64,223,242,0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
