:root {
  color-scheme: dark;
  --bg: #02030a;
  --panel: rgba(8, 14, 30, 0.66);
  --panel-strong: rgba(8, 14, 30, 0.86);
  --line: rgba(147, 205, 255, 0.16);
  --line-strong: rgba(105, 232, 255, 0.42);
  --text: #f5f9ff;
  --muted: #a8b8cb;
  --cyan: #69e8ff;
  --blue: #3b82ff;
  --violet: #7861ff;
  --gold: #d9b66f;
  --red: #dc3b45;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 42, 97, 0.36), transparent 38rem),
    radial-gradient(circle at 88% 22%, rgba(42, 111, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 12% 48%, rgba(104, 54, 190, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(2, 3, 10, 0.96) 0%, rgba(2, 3, 10, 0.72) 42%, rgba(2, 3, 10, 0.32) 100%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.06), rgba(2, 3, 10, 0.84) 92%),
    url("./assets/cosmic-ai-background.png") center center / cover no-repeat;
  opacity: 0.86;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 22%, transparent 0 18%, rgba(2, 3, 10, 0.32) 54%, rgba(2, 3, 10, 0.82) 100%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.02), rgba(2, 3, 10, 0.92) 86%);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

#starfield {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.cursor-aura {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 226, 255, 0.16), rgba(99, 75, 255, 0.08) 42%, transparent 70%);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  opacity: 0.65;
}

.space-decor,
.space-decor span {
  position: fixed;
  pointer-events: none;
}

.space-decor {
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.meteor {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.96), rgba(173, 231, 255, 0.82) 18%, transparent 32%),
    radial-gradient(circle at 65% 66%, rgba(217, 182, 111, 0.56), rgba(56, 75, 128, 0.26) 48%, rgba(8, 12, 25, 0.12) 72%);
  box-shadow: 0 0 18px rgba(105, 232, 255, 0.24);
  opacity: 0.72;
  animation: asteroidFloat 13s ease-in-out infinite;
}

.meteor::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 7px;
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105, 232, 255, 0.28), rgba(255, 255, 255, 0.08));
  filter: blur(0.5px);
  transform: translateY(-50%);
}

.meteor-one {
  top: 17%;
  left: 7%;
}

.meteor-two {
  top: 30%;
  right: 12%;
  scale: 1.18;
  animation-delay: -4s;
}

.meteor-three {
  right: 28%;
  bottom: 23%;
  scale: 0.72;
  opacity: 0.48;
  animation-delay: -8s;
}

.dust {
  width: 32vw;
  height: 22vw;
  min-width: 280px;
  min-height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, rgba(217, 182, 111, 0.1), transparent 24%),
    radial-gradient(circle at 60% 52%, rgba(105, 232, 255, 0.1), transparent 38%),
    radial-gradient(circle, rgba(120, 97, 255, 0.08), transparent 66%);
  filter: blur(18px);
  opacity: 0.54;
  animation: dustPulse 11s ease-in-out infinite;
}

.dust-one {
  top: 24%;
  right: -9%;
}

.dust-two {
  left: -12%;
  bottom: 5%;
  opacity: 0.36;
  animation-delay: -5s;
}

.site-shell {
  position: relative;
  width: min(100% - 56px, 1540px);
  margin: 0 auto;
  padding-bottom: 80px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  width: fit-content;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(105, 232, 255, 0.44);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 232, 255, 0.24), rgba(49, 70, 142, 0.12));
  box-shadow: 0 0 36px rgba(105, 232, 255, 0.2);
  color: var(--cyan);
  font-size: 14px;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.brand-logo {
  display: block;
  width: clamp(148px, 17vw, 188px);
  height: auto;
  filter: drop-shadow(0 0 16px rgba(105, 232, 255, 0.12));
}

.nav-links {
  gap: 24px;
  color: rgba(245, 249, 255, 0.78);
  font-size: 14px;
}

.nav-links a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(105, 232, 255, 0.54);
}

.nav-pill {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(105, 232, 255, 0.26);
  border-radius: 999px;
  background: rgba(105, 232, 255, 0.07);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(500px, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(56px, 6vw, 110px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 48px 0 92px;
}

.training-hero {
  grid-template-columns: minmax(520px, 1fr) minmax(420px, 0.8fr);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title,
.cosmic-title {
  position: relative;
  color: transparent;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #e8f8ff 36%, #a7d8e5 70%, #f8fdff 100%),
    linear-gradient(110deg, transparent 0%, rgba(105, 232, 255, 0.92) 44%, rgba(255, 255, 255, 0.98) 50%, rgba(105, 232, 255, 0.55) 56%, transparent 100%);
  background-size: 100% 100%, 220% 100%;
  background-position: center, -130% center;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.38),
    0 0 10px rgba(105, 232, 255, 0.16),
    0 12px 34px rgba(0, 0, 0, 0.72);
  filter: drop-shadow(0 0 12px rgba(105, 232, 255, 0.12));
  animation: titleScan 6.8s ease-in-out infinite;
}

.hero-title {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(42px, 5.2vw, 72px);
}

.cosmic-title {
  margin-bottom: 22px;
  font-size: clamp(31px, 3.4vw, 52px);
}

.hero-title::before,
.cosmic-title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: rgba(105, 232, 255, 0.18);
  -webkit-text-stroke: 1px rgba(105, 232, 255, 0.22);
  filter: blur(7px);
  transform: translate(2px, 2px);
}

.hero-text,
.section-head p,
.section-copy p,
.contact p,
.tab-content p,
.glass-card p,
.persona p,
.accordion p,
.script-card p,
.objection-answer p,
.redline p,
.practice-card p,
.cta-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

.hero-text {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 36px 0 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(105, 232, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at 18% 48%, rgba(255, 255, 255, 0.32), transparent 11%);
  opacity: 0.38;
}

.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(105, 232, 255, 0.72);
  box-shadow: 0 0 34px rgba(105, 232, 255, 0.22);
}

.btn.primary {
  background:
    linear-gradient(135deg, rgba(105, 232, 255, 0.96), rgba(58, 119, 255, 0.9)),
    radial-gradient(circle at 22% 52%, rgba(255, 255, 255, 0.48), transparent 18%);
  color: #020713;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(58, 119, 255, 0.2), inset 0 0 24px rgba(255, 255, 255, 0.14);
}

.btn.secondary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 18% 50%, rgba(105, 232, 255, 0.16), transparent 22%);
  color: rgba(245, 249, 255, 0.9);
  box-shadow: inset 0 0 22px rgba(105, 232, 255, 0.05);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.signal-row span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 18% 48%, rgba(105, 232, 255, 0.18), transparent 22%);
  color: rgba(245, 249, 255, 0.82);
  font-size: 13px;
  box-shadow: inset 0 0 22px rgba(105, 232, 255, 0.04), 0 0 24px rgba(5, 10, 25, 0.26);
}

.hero-orbit {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  border: 1px solid rgba(105, 232, 255, 0.12);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(105, 232, 255, 0.2), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow), inset 0 0 70px rgba(105, 232, 255, 0.05);
  backdrop-filter: blur(16px);
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(105, 232, 255, 0.17);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(-14deg);
  box-shadow: 0 0 60px rgba(105, 232, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.hero-orbit::after {
  inset: 28% 8%;
  border-color: rgba(217, 182, 111, 0.2);
  animation: orbitDrift 20s linear infinite;
}

.orbit-runner {
  position: absolute;
  --orbit-tilt: 64deg;
  inset: 16%;
  border-radius: 50%;
  transform: rotateX(var(--orbit-tilt)) rotateZ(0deg);
  transform-origin: center;
  animation: orbitRunner 11s linear infinite;
  filter: drop-shadow(0 0 18px rgba(105, 232, 255, 0.7));
  pointer-events: none;
  z-index: 1;
}

.orbit-runner::before,
.orbit-runner::after {
  content: "";
  position: absolute;
  top: 50%;
  border-radius: 999px;
  transform: translateY(-50%);
}

.orbit-runner::before {
  right: -9px;
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.98), transparent 18%),
    radial-gradient(circle, rgba(105, 232, 255, 0.95), rgba(58, 119, 255, 0.42) 54%, rgba(8, 15, 35, 0) 72%);
  box-shadow:
    0 0 18px rgba(105, 232, 255, 0.9),
    0 0 42px rgba(105, 232, 255, 0.46),
    inset -4px -5px 8px rgba(0, 0, 0, 0.38);
}

.orbit-runner::after {
  right: 0;
  width: 86px;
  height: 3px;
  background: linear-gradient(90deg, rgba(105, 232, 255, 0), rgba(105, 232, 255, 0.18), rgba(105, 232, 255, 0.82));
  opacity: 0.88;
}

.orbit-core {
  position: absolute;
  top: 44%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 210px;
  height: 210px;
  place-items: center;
  padding: 34px;
  border: 1px solid rgba(105, 232, 255, 0.35);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(58, 119, 255, 0.36), rgba(5, 10, 25, 0.92));
  box-shadow: 0 0 92px rgba(105, 232, 255, 0.28), inset -38px -32px 56px rgba(0, 0, 0, 0.62);
  text-align: center;
  transform: translate(-50%, -50%);
}

.orbit-core span,
.orbit-core small {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.orbit-core strong {
  font-size: 27px;
}

.orbit-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(105, 232, 255, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.28), transparent 18%),
    linear-gradient(135deg, rgba(17, 31, 58, 0.92), rgba(3, 7, 18, 0.92));
  box-shadow: 0 0 38px rgba(105, 232, 255, 0.18), inset -20px -18px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.orbit-node:hover,
.orbit-node.is-active {
  border-color: rgba(105, 232, 255, 0.76);
  box-shadow: 0 0 52px rgba(105, 232, 255, 0.36);
  transform: translateY(-4px);
}

.orbit-node:nth-of-type(1) {
  top: 14%;
  left: 16%;
}

.orbit-node:nth-of-type(2) {
  top: 14%;
  right: 16%;
}

.orbit-node:nth-of-type(3) {
  bottom: 26%;
  left: 14%;
}

.orbit-node:nth-of-type(4) {
  bottom: 26%;
  right: 14%;
}

.orbit-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  width: min(82%, 540px);
  padding: 22px;
  border: 1px solid rgba(105, 232, 255, 0.18);
  border-radius: 22px;
  background: rgba(5, 10, 25, 0.72);
  color: var(--muted);
  line-height: 1.72;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.section {
  padding: 108px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 62px;
}

.section-copy {
  max-width: 680px;
}

.value-grid,
.persona-grid,
.redline-grid,
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.glass-card,
.persona,
.tab-panel,
.training-console,
.script-builder,
.objection-board,
.redline,
.practice-card,
.cta-card,
.accordion details {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.glass-card {
  min-height: 248px;
  padding: 30px;
  border-radius: 22px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.glass-card:hover,
.persona:hover,
.practice-card:hover {
  transform: translateY(-10px);
  border-color: rgba(105, 232, 255, 0.45);
  box-shadow: 0 0 42px rgba(105, 232, 255, 0.13);
}

.card-index {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.glass-card h3 {
  margin: 44px 0 16px;
  font-size: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 74px;
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.tab-panel,
.script-builder,
.objection-board {
  padding: 28px;
  border-radius: 26px;
}

.tab-buttons,
.script-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.tab-btn,
.script-step,
.objection-chip,
.process-step {
  border: 1px solid rgba(105, 232, 255, 0.18);
  border-radius: 999px;
  background: rgba(105, 232, 255, 0.055);
  color: rgba(245, 249, 255, 0.82);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tab-btn,
.script-step,
.objection-chip {
  min-height: 42px;
  padding: 8px 15px;
}

.tab-btn:hover,
.tab-btn.is-active,
.script-step:hover,
.script-step.is-active,
.objection-chip:hover,
.objection-chip.is-active,
.process-step:hover,
.process-step.is-active {
  border-color: rgba(105, 232, 255, 0.62);
  background: rgba(105, 232, 255, 0.13);
  transform: translateY(-2px);
}

.tab-content,
.script-card,
.objection-answer {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(105, 232, 255, 0.14);
  border-radius: 22px;
  background: rgba(5, 10, 25, 0.56);
}

.tab-content span,
.script-card span,
.practice-card span {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.tab-content h3,
.script-card p,
.objection-answer strong {
  font-size: 28px;
  line-height: 1.35;
}

.persona {
  min-height: 180px;
  padding: 26px;
  border-radius: 22px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.persona strong,
.redline strong,
.cta-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  display: grid;
  min-height: 104px;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  text-align: left;
}

.process-step span {
  color: var(--gold);
  font-size: 13px;
}

.process-copy {
  max-width: 820px;
  min-height: 72px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion details {
  border-radius: 20px;
  padding: 18px 22px;
}

.accordion summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.accordion p {
  margin: 14px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: 50px;
  align-items: center;
  margin: 70px 0 0;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: 0 0 80px rgba(105, 232, 255, 0.08);
  backdrop-filter: blur(16px);
}

.mobile-sticky-cta {
  display: none;
}

.cta-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 24px;
}

.training-console {
  padding: 24px;
  border-radius: 28px;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(105, 232, 255, 0.64);
}

.console-top strong {
  margin-left: auto;
  color: rgba(245, 249, 255, 0.54);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid rgba(147, 205, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(245, 249, 255, 0.86);
}

.check-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
}

.score-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(105, 232, 255, 0.28);
  border-radius: 18px;
  background: rgba(105, 232, 255, 0.075);
}

.score-box span {
  color: var(--muted);
}

.score-box strong {
  color: var(--cyan);
  font-size: 34px;
}

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

.objection-answer {
  grid-column: 1 / -1;
}

.redline-grid,
.practice-grid {
  grid-template-columns: repeat(4, 1fr);
}

.redline {
  min-height: 210px;
  padding: 26px;
  border-radius: 22px;
  border-color: rgba(220, 59, 69, 0.22);
  background:
    radial-gradient(circle at 80% 12%, rgba(220, 59, 69, 0.12), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
}

.redline strong {
  color: #ffd4d6;
}

.practice-card {
  min-height: 250px;
  padding: 28px;
  border-radius: 22px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.practice-card h3 {
  margin: 18px 0 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@keyframes titleScan {
  0%,
  58%,
  100% {
    background-position: center, -130% center;
  }
  72% {
    background-position: center, 130% center;
  }
}

@keyframes orbitDrift {
  to {
    transform: rotateX(64deg) rotateZ(346deg);
  }
}

@keyframes orbitRunner {
  to {
    transform: rotateX(var(--orbit-tilt)) rotateZ(360deg);
  }
}

@keyframes mobileOrbitDrift {
  to {
    transform: rotateX(66deg) rotateZ(376deg);
  }
}

@keyframes asteroidFloat {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 16px -22px;
    rotate: 8deg;
  }
}

@keyframes dustPulse {
  0%,
  100% {
    opacity: 0.32;
    scale: 0.96;
  }
  50% {
    opacity: 0.58;
    scale: 1.04;
  }
}

@media (max-width: 1100px) {
  .hero,
  .training-hero,
  .split,
  .reverse,
  .contact {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .persona-grid,
  .redline-grid,
  .practice-grid,
  .process-line,
  .three-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body[data-page="client"] {
    padding-bottom: 84px;
  }

  body[data-page="client"]::before {
    opacity: 0.72;
    background:
      linear-gradient(180deg, rgba(2, 3, 10, 0.82), rgba(2, 3, 10, 0.96) 74%),
      url("./assets/cosmic-ai-background.png") center top / cover no-repeat;
  }

  .site-shell {
    width: min(100% - 32px, 430px);
  }

  .nav {
    min-height: 78px;
  }

  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .nav-links {
    position: absolute;
    top: 74px;
    right: 0;
    display: none;
    width: min(290px, 100%);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(5, 10, 25, 0.94);
  }

  .nav-links.is-open {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 70px;
  }

  body[data-page="client"] .hero {
    gap: 22px;
    padding-top: 18px;
    padding-bottom: 44px;
  }

  body[data-page="client"] .hero-copy {
    display: grid;
  }

  body[data-page="client"] .eyebrow {
    max-width: 280px;
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.12em;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 48px);
  }

  body[data-page="client"] .hero-title {
    max-width: 9em;
    margin-bottom: 20px;
    font-size: clamp(38px, 10.4vw, 45px);
    line-height: 1.08;
  }

  body[data-page="client"] .hero-text {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.66;
  }

  .cosmic-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  body[data-page="client"] .cosmic-title {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.2;
  }

  body[data-page="client"] .hero-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0 18px;
  }

  body[data-page="client"] .btn {
    width: 100%;
    min-height: 52px;
  }

  body[data-page="client"] .signal-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  body[data-page="client"] .signal-row span {
    min-height: 44px;
    justify-content: center;
    padding: 9px 10px;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-orbit {
    min-height: 560px;
  }

  body[data-page="client"] .hero-orbit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: auto;
    padding: 18px;
    border-radius: 24px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 38%, rgba(105, 232, 255, 0.26), transparent 30%),
      radial-gradient(circle at 18% 22%, rgba(217, 182, 111, 0.1), transparent 26%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  }

  body[data-page="client"] .hero-orbit::before,
  body[data-page="client"] .hero-orbit::after {
    display: block;
    pointer-events: none;
  }

  body[data-page="client"] .hero-orbit::before {
    inset: 24px 24px 108px;
    border-color: rgba(105, 232, 255, 0.34);
    transform: rotateX(66deg) rotateZ(-10deg);
    box-shadow:
      0 0 42px rgba(105, 232, 255, 0.14),
      inset 0 0 24px rgba(105, 232, 255, 0.08);
    opacity: 0.92;
  }

  body[data-page="client"] .hero-orbit::after {
    inset: 52px 48px 132px;
    border-color: rgba(217, 182, 111, 0.32);
    transform: rotateX(66deg) rotateZ(16deg);
    animation: mobileOrbitDrift 18s linear infinite reverse;
    box-shadow: 0 0 34px rgba(217, 182, 111, 0.12);
    opacity: 0.82;
  }

  body[data-page="client"] .orbit-runner {
    --orbit-tilt: 66deg;
    inset: 22px 26px 106px;
    animation-duration: 8s;
    transform: rotateX(var(--orbit-tilt)) rotateZ(0deg);
  }

  body[data-page="client"] .orbit-runner::before {
    right: -10px;
    width: 20px;
    height: 20px;
  }

  body[data-page="client"] .orbit-runner::after {
    width: 74px;
    height: 3px;
  }

  .orbit-core {
    width: 168px;
    height: 168px;
  }

  body[data-page="client"] .orbit-core {
    position: relative;
    top: auto;
    left: auto;
    z-index: 3;
    grid-column: 1 / -1;
    display: block;
    width: auto;
    height: auto;
    padding: 18px;
    border-radius: 20px;
    text-align: left;
    transform: none;
  }

  body[data-page="client"] .orbit-core span,
  body[data-page="client"] .orbit-core small {
    display: block;
    font-size: 11px;
  }

  body[data-page="client"] .orbit-core strong {
    display: block;
    margin: 8px 0;
    font-size: 24px;
  }

  .orbit-node {
    width: 76px;
    height: 76px;
  }

  body[data-page="client"] .orbit-node {
    position: relative;
    z-index: 3;
    width: auto;
    height: 46px;
    border-radius: 999px;
    transform: none;
  }

  body[data-page="client"] .orbit-node:hover,
  body[data-page="client"] .orbit-node.is-active {
    transform: translateY(-2px);
  }

  .orbit-node:nth-of-type(1) {
    top: 12%;
    left: 8%;
  }

  .orbit-node:nth-of-type(2) {
    top: 12%;
    right: 8%;
  }

  .orbit-node:nth-of-type(3) {
    bottom: 29%;
    left: 8%;
  }

  .orbit-node:nth-of-type(4) {
    bottom: 29%;
    right: 8%;
  }

  body[data-page="client"] .orbit-node:nth-of-type(1),
  body[data-page="client"] .orbit-node:nth-of-type(2),
  body[data-page="client"] .orbit-node:nth-of-type(3),
  body[data-page="client"] .orbit-node:nth-of-type(4) {
    inset: auto;
  }

  body[data-page="client"] .orbit-copy {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 3;
    grid-column: 1 / -1;
    width: auto;
    padding: 16px;
    font-size: 14px;
    line-height: 1.68;
    transform: none;
  }

  .section {
    padding: 74px 0;
  }

  body[data-page="client"] .section {
    padding: 54px 0;
  }

  body[data-page="client"] .section-head {
    margin-bottom: 26px;
  }

  body[data-page="client"] .section-head p,
  body[data-page="client"] .section-copy p,
  body[data-page="client"] .contact p,
  body[data-page="client"] .tab-content p,
  body[data-page="client"] .glass-card p,
  body[data-page="client"] .persona p,
  body[data-page="client"] .accordion p {
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-actions,
  .signal-row,
  .value-grid,
  .persona-grid,
  .redline-grid,
  .practice-grid,
  .process-line,
  .three-up {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-page="client"] .value-grid,
  body[data-page="client"] .persona-grid,
  body[data-page="client"] .process-line {
    gap: 14px;
  }

  body[data-page="client"] .glass-card,
  body[data-page="client"] .persona {
    min-height: auto;
    padding: 20px;
    border-radius: 18px;
  }

  body[data-page="client"] .glass-card h3 {
    margin: 18px 0 10px;
    font-size: 21px;
  }

  body[data-page="client"] .card-index {
    font-size: 12px;
  }

  body[data-page="client"] .split {
    gap: 24px;
  }

  body[data-page="client"] .tab-panel {
    padding: 18px;
    border-radius: 22px;
  }

  body[data-page="client"] .tab-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  body[data-page="client"] .tab-btn {
    min-height: 42px;
    padding: 8px 6px;
    font-size: 12px;
  }

  body[data-page="client"] .tab-content {
    min-height: auto;
    padding: 18px;
    border-radius: 18px;
  }

  body[data-page="client"] .tab-content h3 {
    font-size: 22px;
  }

  body[data-page="client"] .process-step {
    min-height: 78px;
    border-radius: 18px;
  }

  body[data-page="client"] .process-copy {
    min-height: auto;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.72;
  }

  body[data-page="client"] .accordion details {
    padding: 16px 18px;
    border-radius: 18px;
  }

  body[data-page="client"] .accordion summary {
    font-size: 16px;
    line-height: 1.5;
  }

  .contact {
    padding: 28px;
  }

  body[data-page="client"] .contact {
    gap: 20px;
    margin-top: 34px;
    padding: 24px;
    border-radius: 22px;
  }

  body[data-page="client"] .cta-card {
    padding: 20px;
    border-radius: 20px;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 10px 10px 10px 16px;
    border: 1px solid rgba(105, 232, 255, 0.32);
    border-radius: 18px;
    background: rgba(5, 10, 25, 0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), 0 0 34px rgba(105, 232, 255, 0.14);
    backdrop-filter: blur(18px);
  }

  body[data-page="training"] .mobile-sticky-cta {
    display: none;
  }

  .mobile-sticky-cta span {
    color: rgba(245, 249, 255, 0.86);
    font-size: 13px;
    line-height: 1.35;
  }

  .mobile-sticky-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(105, 232, 255, 0.96), rgba(58, 119, 255, 0.9));
    color: #020713;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
  }

  .objection-board {
    grid-template-columns: 1fr;
  }
}

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