:root {
  color-scheme: light;
  --ink: #101525;
  --muted: #667085;
  --line: #e4e8f1;
  --paper: #fbfcff;
  --soft: #f3f6fb;
  --brand: #4f46e5;
  --brand-deep: #312e81;
  --accent: #e04f9f;
  --gold: #f5b93f;
  --cyan: #00b8d9;
  --shadow: 0 26px 70px rgba(30, 41, 59, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(220, 229, 225, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-mark,
.brand-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  background: transparent;
  border-radius: 0;
}

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

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

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--brand-deep);
}

.main-nav a.active {
  color: var(--brand);
  font-weight: 800;
}

.header-action,
.primary-button,
.secondary-button,
.choose-package,
.demo-controls button,
.courseware-card button,
.order-table button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.header-action,
.primary-button,
.choose-package {
  color: #fff;
  background: var(--brand);
}

.header-action:hover,
.primary-button:hover,
.choose-package:hover {
  background: var(--brand-deep);
}

.secondary-button,
.demo-controls button,
.courseware-card button,
.order-table button {
  color: var(--brand-deep);
  background: #fff;
  border-color: var(--line);
}

.section,
.section-band {
  padding: 86px clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 75px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.package-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  padding: 8px 12px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.hero-stage {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.stage-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.stage-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.stage-toolbar strong {
  margin-left: 8px;
  font-size: 14px;
}

.lesson-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  place-items: center;
  min-height: 430px;
  padding: 36px;
  background:
    linear-gradient(90deg, rgba(15, 139, 108, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(15, 139, 108, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.studio-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
  gap: 22px;
  align-items: center;
  min-height: 520px;
  padding: 30px;
  color: #e8edff;
  background:
    linear-gradient(120deg, rgba(79, 70, 229, 0.22), rgba(0, 184, 217, 0.12)),
    radial-gradient(circle at 18% 18%, rgba(224, 79, 159, 0.32), transparent 28%),
    #0c1022;
}

.signal-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(90deg, rgba(129, 140, 248, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(129, 140, 248, 0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.signal-grid span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 26px var(--cyan);
  animation: pulseNode 2.4s ease-in-out infinite;
}

.signal-grid span:nth-child(1) {
  top: 18%;
  left: 16%;
}

.signal-grid span:nth-child(2) {
  top: 28%;
  right: 14%;
  animation-delay: 0.4s;
}

.signal-grid span:nth-child(3) {
  bottom: 25%;
  left: 28%;
  animation-delay: 0.8s;
}

.signal-grid span:nth-child(4) {
  right: 24%;
  bottom: 18%;
  animation-delay: 1.2s;
}

.ai-console,
.holo-preview,
.tech-card {
  position: relative;
  z-index: 1;
}

.ai-console {
  display: grid;
  gap: 12px;
}

.console-line {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(199, 210, 254, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.console-line span {
  display: block;
  margin-bottom: 6px;
  color: #8be9ff;
  font-size: 11px;
  font-weight: 900;
}

.console-line strong {
  font-size: 14px;
}

.console-line.active {
  border-color: rgba(0, 184, 217, 0.58);
  box-shadow: 0 0 30px rgba(0, 184, 217, 0.16);
}

.holo-preview {
  min-height: 300px;
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 45%, rgba(79, 70, 229, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 45px rgba(79, 70, 229, 0.18);
  overflow: hidden;
}

.axis-line {
  position: absolute;
  background: rgba(232, 237, 255, 0.22);
}

.axis-line.x {
  left: 12%;
  right: 10%;
  top: 62%;
  height: 1px;
}

.axis-line.y {
  top: 12%;
  bottom: 12%;
  left: 48%;
  width: 1px;
}

.curve {
  position: absolute;
  left: 18%;
  top: 24%;
  width: 64%;
  height: 54%;
  border-bottom: 5px solid var(--cyan);
  border-radius: 0 0 50% 50%;
  filter: drop-shadow(0 0 14px rgba(0, 184, 217, 0.8));
  animation: curveBreath 3s ease-in-out infinite;
}

.node-point {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 4px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(224, 79, 159, 0.85);
  cursor: pointer;
}

.node-a {
  left: 47%;
  top: 58%;
}

.node-b {
  right: 23%;
  top: 38%;
}

.formula-chip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  color: #dff8ff;
  background: rgba(12, 16, 34, 0.74);
  border: 1px solid rgba(0, 184, 217, 0.3);
  border-radius: 8px;
  font-weight: 900;
}

.tech-card {
  grid-column: 1 / -1;
  width: 100%;
  color: var(--ink);
}

.circle-model {
  position: relative;
  width: min(290px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 50%, #eef5ef 50% 75%, #cfe9df 75% 100%);
  border: 10px solid #fff;
  box-shadow: 0 18px 40px rgba(16, 34, 30, 0.18);
  animation: floatModel 4s ease-in-out infinite;
}

.slice {
  position: absolute;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slice:nth-child(1) {
  inset: 0 50% 0 0;
}

.slice:nth-child(2) {
  inset: 0 0 50% 50%;
}

.slice:nth-child(3) {
  inset: 50% 0 0 50%;
}

.center-label {
  position: absolute;
  inset: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: var(--brand-deep);
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: 25px;
  font-weight: 900;
}

.lesson-card {
  width: min(100%, 380px);
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

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

.lesson-card strong {
  display: block;
  margin: 8px 0 18px;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
}

.progress-track i {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  color: var(--muted);
}

.muted-section {
  background: var(--soft);
}

.workflow,
.pricing-grid,
.panel-grid,
.admin-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow article,
.price-card,
.status-card,
.courseware-card,
.admin-board article,
.demo-player,
.demo-notes,
.order-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.workflow article,
.price-card,
.status-card,
.courseware-card,
.admin-board article,
.demo-notes {
  padding: 24px;
}

.workflow span {
  color: var(--brand);
  font-weight: 900;
}

.workflow p,
.price-card p,
.demo-notes li,
.status-card p,
.courseware-card p,
.admin-board p,
.form-actions p {
  color: var(--muted);
}

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

.price-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border-color: rgba(15, 139, 108, 0.55);
  box-shadow: var(--shadow);
}

.price {
  display: block;
  margin: 14px 0;
  color: var(--brand-deep);
  font-size: 32px;
}

.price small {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 15px;
}

.price-card ul,
.demo-notes ul {
  padding-left: 18px;
}

.demo-layout,
.demo-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
}

.demo-lab {
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  align-items: stretch;
}

.demo-player,
.demo-command,
.demo-hologram {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.demo-command {
  color: #e8edff;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 184, 217, 0.22), transparent 24%),
    linear-gradient(140deg, #101525, #151a33 58%, #251047);
  border-color: rgba(129, 140, 248, 0.24);
}

.command-header,
.hologram-top,
.hologram-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.command-header,
.hologram-top {
  border-bottom: 1px solid rgba(129, 140, 248, 0.18);
}

.command-header span,
.hologram-top span {
  color: #8be9ff;
  font-size: 12px;
  font-weight: 900;
}

.command-header strong {
  display: inline-flex;
  padding: 5px 9px;
  color: #0c1022;
  background: #8be9ff;
  border-radius: 999px;
  font-size: 12px;
}

.command-body {
  min-height: 380px;
  padding: 28px;
}

.demo-screen {
  min-height: 430px;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
}

.demo-step {
  color: #9da8c7;
  font-size: 14px;
}

.command-body h3 {
  color: #fff;
  font-size: 28px;
}

.pipeline {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.pipeline-step {
  min-height: 48px;
  padding: 0 14px;
  color: #c7d2fe;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(199, 210, 254, 0.16);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.pipeline-step.active {
  color: #fff;
  border-color: rgba(0, 184, 217, 0.75);
  background: rgba(0, 184, 217, 0.16);
  box-shadow: 0 0 26px rgba(0, 184, 217, 0.15);
}

#demoFeedback {
  color: #cdd6f6;
}

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

.tech-metrics span {
  min-height: 70px;
  padding: 12px;
  color: #aab5d8;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(199, 210, 254, 0.14);
  border-radius: 8px;
  font-size: 12px;
}

.tech-metrics strong {
  display: block;
  color: #fff;
  font-size: 24px;
}

.demo-hologram {
  color: #e8edff;
  background:
    linear-gradient(120deg, rgba(79, 70, 229, 0.18), rgba(224, 79, 159, 0.12)),
    #0c1022;
  border-color: rgba(129, 140, 248, 0.24);
}

.graph-stage {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(129, 140, 248, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(129, 140, 248, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
}

.scan-line {
  position: absolute;
  inset: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0, 184, 217, 0.18), transparent);
  animation: scanDown 4s linear infinite;
}

.graph-axis {
  position: absolute;
  background: rgba(232, 237, 255, 0.24);
}

.graph-axis.gx {
  left: 10%;
  right: 8%;
  top: 62%;
  height: 1px;
}

.graph-axis.gy {
  top: 10%;
  bottom: 12%;
  left: 46%;
  width: 1px;
}

.graph-curve {
  position: absolute;
  left: 14%;
  top: 18%;
  width: 70%;
  height: 58%;
  border-bottom: 7px solid var(--cyan);
  border-radius: 0 0 50% 50%;
  filter: drop-shadow(0 0 20px rgba(0, 184, 217, 0.9));
  animation: curveBreath 3.4s ease-in-out infinite;
}

.control-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  border: 5px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(224, 79, 159, 0.85);
  cursor: pointer;
  animation: pulseNode 2s ease-in-out infinite;
}

.dot-one {
  left: 45%;
  top: 58%;
}

.dot-two {
  right: 22%;
  top: 34%;
  animation-delay: 0.5s;
}

.floating-panel {
  position: absolute;
  padding: 10px 12px;
  color: #e8edff;
  background: rgba(16, 21, 37, 0.78);
  border: 1px solid rgba(139, 233, 255, 0.28);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.panel-one {
  top: 18%;
  left: 10%;
}

.panel-two {
  right: 10%;
  bottom: 16%;
}

.hologram-footer {
  border-top: 1px solid rgba(129, 140, 248, 0.18);
}

.hologram-footer span {
  padding: 7px 10px;
  color: #c7d2fe;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 12px;
}

.tech-notes {
  grid-column: 1 / -1;
}

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

.fraction-piece {
  min-height: 120px;
  color: var(--brand-deep);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
}

.fraction-piece.selected {
  color: #fff;
  background: var(--brand);
}

.demo-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
  background: #f6faf7;
  border-top: 1px solid var(--line);
}

.order-section {
  background: #fff;
}

.order-form {
  padding: clamp(20px, 4vw, 34px);
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label span {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 139, 108, 0.12);
}

.workspace-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.tab-button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.tab-button.active {
  color: #fff;
  background: var(--brand);
}

.workspace-panel {
  display: none;
}

.workspace-panel.active {
  display: block;
}

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

.status-pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.paid {
  color: #8b3d14;
  background: #fff0d3;
}

.status-pill.delivered {
  color: var(--brand-deep);
  background: #dff5ec;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.timeline span {
  min-height: 52px;
  padding: 8px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}

.timeline .done {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

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

.admin-board strong {
  display: block;
  margin: 10px 0;
  color: var(--brand-deep);
  font-size: 38px;
}

.order-table {
  margin-top: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--muted);
  background: #f6faf7;
  font-weight: 900;
}

.lesson-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  padding: 28px;
  background: rgba(9, 20, 18, 0.62);
}

.lesson-modal.open {
  display: grid;
  place-items: center;
}

.lesson-shell {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  width: min(1040px, 100%);
  min-height: 620px;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
}

.lesson-shell aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 18px;
  background: var(--soft);
  border-right: 1px solid var(--line);
}

.lesson-shell aside strong {
  margin-bottom: 16px;
}

.lesson-nav {
  min-height: 42px;
  padding: 0 12px;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.lesson-nav.active {
  color: #fff;
  background: var(--brand);
}

.lesson-content {
  display: grid;
  align-content: center;
  padding: clamp(30px, 6vw, 76px);
}

.lesson-content p {
  max-width: 720px;
  font-size: 28px;
}

.inline-choice {
  display: inline-flex;
  min-width: 76px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--brand-deep);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

#lessonResult {
  min-height: 56px;
  max-width: 620px;
  padding: 16px;
  color: var(--muted);
  background: #f6faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

.page-hero {
  padding: 86px clamp(18px, 5vw, 72px) 36px;
  background:
    radial-gradient(circle at 14% 20%, rgba(79, 70, 229, 0.14), transparent 30%),
    linear-gradient(180deg, #fff, var(--soft));
}

.page-hero h1 {
  max-width: 940px;
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.compact-section {
  padding-top: 42px;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 36px;
  align-items: center;
}

.live-studio {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 28px;
  color: #eef4ff;
  background:
    radial-gradient(circle at 20% 14%, rgba(224, 79, 159, 0.24), transparent 30%),
    radial-gradient(circle at 78% 70%, rgba(0, 184, 217, 0.18), transparent 34%),
    linear-gradient(140deg, #0c1022, #141a34 58%, #251047);
}

.studio-orbit {
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(139, 233, 255, 0.16);
  border-radius: 16px;
}

.studio-orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 26px var(--cyan);
  animation: orbitPulse 2.6s ease-in-out infinite;
}

.studio-orbit i:nth-child(1) {
  top: 12%;
  left: 18%;
}

.studio-orbit i:nth-child(2) {
  top: 28%;
  right: 15%;
  animation-delay: 0.5s;
}

.studio-orbit i:nth-child(3) {
  bottom: 18%;
  left: 45%;
  animation-delay: 1s;
}

.studio-panel,
.studio-preview,
.studio-pipeline {
  position: relative;
  z-index: 1;
}

.studio-panel {
  max-width: 430px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(199, 210, 254, 0.18);
  border-radius: 10px;
  backdrop-filter: blur(14px);
}

.studio-panel p {
  margin-bottom: 8px;
  color: #8be9ff;
  font-size: 12px;
  font-weight: 900;
}

.studio-panel strong,
.studio-panel span {
  display: block;
}

.studio-panel span {
  margin-top: 6px;
  color: #b8c1e5;
  font-size: 13px;
}

.studio-preview {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(139, 233, 255, 0.2);
  border-radius: 12px;
}

.studio-preview canvas {
  display: block;
  width: 100%;
  height: auto;
}

.studio-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.studio-pipeline span {
  padding: 10px;
  color: #b8c1e5;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(199, 210, 254, 0.14);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.studio-pipeline .active {
  color: #fff;
  border-color: rgba(0, 184, 217, 0.65);
  box-shadow: 0 0 26px rgba(0, 184, 217, 0.16);
}

.mini-courseware {
  overflow: hidden;
  color: #eef4ff;
  background: #0c1022;
  border: 1px solid rgba(139, 233, 255, 0.2);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.mini-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(139, 233, 255, 0.16);
}

.mini-top span {
  color: #8be9ff;
  font-size: 12px;
  font-weight: 900;
}

.mini-graph {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(129, 140, 248, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(129, 140, 248, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
}

.payment-panel,
.account-panel,
.empty-state,
.order-card {
  margin-top: 22px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

#qrBox {
  margin: 18px 0;
}

#qrBox img {
  width: 220px;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-code-text {
  max-width: 520px;
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}

.orders-list {
  display: grid;
  gap: 16px;
}

.order-card strong {
  display: block;
  margin: 10px 0 16px;
  color: var(--brand);
  font-size: 24px;
}

.lesson-header {
  position: sticky;
}

.lesson-page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 75px);
}

.lesson-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 18px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.lesson-sidebar strong {
  margin-bottom: 12px;
}

.lesson-tab {
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  text-align: left;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.lesson-tab.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.lesson-main {
  padding: clamp(22px, 4vw, 56px);
}

.lesson-panel {
  display: none;
}

.lesson-panel.active {
  display: block;
}

.lesson-panel h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.interactive-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.interactive-board canvas {
  width: 100%;
  height: auto;
  background: #0c1022;
  border-radius: 12px;
}

.control-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.control-panel label {
  margin-bottom: 0;
}

.formula-card,
.feedback-box {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

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

.quiz-choice,
.summary-grid article {
  min-height: 110px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
}

.summary-grid article {
  cursor: default;
}

.summary-grid strong,
.summary-grid span {
  display: block;
}

.summary-grid strong {
  color: var(--brand);
  font-size: 34px;
}

@keyframes orbitPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

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

@keyframes pulseNode {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.32);
    opacity: 1;
  }
}

@keyframes curveBreath {
  0%,
  100% {
    transform: scaleX(1) translateY(0);
  }
  50% {
    transform: scaleX(0.86) translateY(8px);
  }
}

@keyframes scanDown {
  from {
    transform: translateY(-120px);
  }
  to {
    transform: translateY(450px);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .demo-layout,
  .demo-lab,
  .lesson-shell,
  .split-showcase,
  .lesson-page,
  .interactive-board {
    grid-template-columns: 1fr;
  }

  .workflow,
  .pricing-grid,
  .admin-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-shell aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lesson-sidebar {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-action {
    display: none;
  }

  .section,
  .section-band {
    padding: 58px 16px;
  }

  .hero {
    min-height: auto;
  }

  .workflow,
  .pricing-grid,
  .panel-grid,
  .admin-board,
  .form-grid,
  .fraction-board,
  .studio-visual,
  .tech-metrics {
    grid-template-columns: 1fr;
  }

  .timeline,
  .table-row,
  .studio-pipeline,
  .choice-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .lesson-modal {
    padding: 10px;
  }

  .lesson-shell {
    min-height: 88vh;
  }

  .lesson-content p {
    font-size: 21px;
  }
}
