:root {
  --bg: #061218;
  --bg-2: #081c24;
  --panel: rgba(8, 26, 34, 0.7);
  --panel-strong: rgba(7, 23, 30, 0.92);
  --line: rgba(128, 220, 227, 0.18);
  --text: #ecfbfa;
  --muted: rgba(236, 251, 250, 0.72);
  --accent: #69f6e7;
  --accent-2: #ff9c61;
  --accent-3: #9fd7ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --sidebar-width: 270px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "HarmonyOS Sans SC", "Segoe UI Variable", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(105, 246, 231, 0.14), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(255, 156, 97, 0.14), transparent 20%),
    radial-gradient(circle at 50% 82%, rgba(159, 215, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #040d12 0%, #07151b 48%, #071218 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  height: 100vh;
}

.sidebar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 26px 20px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 23, 30, 0.95), rgba(7, 23, 30, 0.6));
  backdrop-filter: blur(18px);
}

.sidebar__brand {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.sidebar__eyebrow,
.kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.sidebar__brand strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

.sidebar__brand p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sidebar__nav {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.sidebar__link,
.mode-toggle,
.arrow-btn,
.pager__dot {
  transition: all 220ms ease;
}

.sidebar__link {
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sidebar__link:hover,
.sidebar__link.is-active {
  color: var(--text);
  background: rgba(105, 246, 231, 0.1);
  border-color: rgba(105, 246, 231, 0.22);
}

.mode-toggle {
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 156, 97, 0.28);
  border-radius: 18px;
  background: rgba(255, 156, 97, 0.1);
  color: var(--text);
  cursor: pointer;
}

.deck {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.deck__viewport {
  height: 100%;
  overflow: hidden;
}

.deck__track {
  height: 100%;
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.slide {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 36%),
    radial-gradient(circle at 80% 50%, rgba(105, 246, 231, 0.06), transparent 24%);
  pointer-events: none;
}

.slide__inner {
  width: min(100%, 1440px);
  height: 100%;
  margin: 0 auto;
  padding: 50px 54px 90px;
  position: relative;
  z-index: 1;
}

.hero-layout,
.split-layout,
.system-layout,
.demo-layout,
.metrics-layout,
.value-layout,
.defense-layout {
  display: grid;
  gap: 30px;
  align-items: center;
}

.hero-layout,
.split-layout,
.system-layout,
.demo-layout,
.value-layout {
  grid-template-columns: 1.08fr 0.92fr;
}

.innovation-layout,
.metrics-layout,
.defense-layout,
.closing-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.innovation-grid,
.metrics-panels,
.defense-grid {
  display: grid;
  gap: 22px;
}

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

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

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

h1,
h2 {
  line-height: 1.03;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 14px;
  font-size: clamp(3.5rem, 6vw, 6.4rem);
}

h2 {
  margin-top: 14px;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
}

.lead {
  margin-top: 18px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

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

.hero-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.metric-chip,
.glass-card,
.innovation-card,
.metrics-card,
.value-stat,
.quote-card,
.demo-panel,
.demo-explain,
.opportunity-panel,
.closing-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.metric-chip::before,
.glass-card::before,
.innovation-card::before,
.metrics-card::before,
.value-stat::before,
.quote-card::before,
.demo-panel::before,
.demo-explain::before,
.opportunity-panel::before,
.closing-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.metric-chip {
  min-width: 180px;
  padding: 22px 22px 18px;
}

.metric-chip strong,
.metric-chip span {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
}

.metric-chip p {
  margin-top: 8px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-visual img,
.system-showcase img,
.dashboard-stage img,
.attention-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 246, 231, 0.16), transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 4.8s ease-in-out infinite;
}

.floating-note {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(7, 23, 30, 0.88);
  border: 1px solid var(--line);
  color: var(--accent-3);
  font-size: 13px;
  animation: bob 4s ease-in-out infinite;
}

.floating-note--a {
  top: 10%;
  right: 2%;
}

.floating-note--b {
  left: -2%;
  bottom: 24%;
  animation-delay: -1.5s;
}

.floating-note--c {
  right: 8%;
  bottom: 6%;
  animation-delay: -0.8s;
}

.cards-column,
.value-stats,
.stack-list,
.insight-list {
  display: grid;
  gap: 18px;
}

.glass-card,
.innovation-card,
.metrics-card,
.demo-panel,
.demo-explain,
.quote-card,
.closing-panel {
  padding: 24px;
}

.glass-card span,
.innovation-card__index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(105, 246, 231, 0.14);
  color: var(--accent);
  font-weight: 700;
}

.glass-card h3,
.innovation-card h3,
.metrics-card h3,
.quote-card h3,
.tab-panel h3 {
  margin-top: 14px;
  font-size: 1.36rem;
}

.glass-card p,
.innovation-card p,
.quote-card p,
.tab-panel p,
.insight-list span,
.dashboard-caption {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.8;
}

.tilt-card {
  transform: perspective(900px) rotateY(-8deg);
}

.opportunity-panel {
  margin-top: 26px;
  padding: 24px;
}

.orbital-stat {
  display: grid;
  place-items: center;
  width: 290px;
  aspect-ratio: 1;
  margin-bottom: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(7, 23, 30, 0.9) 38%, transparent 39%),
    conic-gradient(from 180deg, var(--accent) 0 62%, rgba(105, 246, 231, 0.14) 62% 100%);
  box-shadow: inset 0 0 0 1px rgba(105, 246, 231, 0.14);
}

.orbital-stat strong {
  font-size: 4rem;
  line-height: 1;
}

.orbital-stat span {
  color: var(--muted);
}

.stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stack-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.process-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.process-strip span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.system-showcase {
  position: relative;
}

.signal {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(105, 246, 231, 0.28);
  animation: ripple 3.4s ease-out infinite;
}

.signal--one {
  width: 120px;
  height: 120px;
  right: 10%;
  top: 18%;
}

.signal--two {
  width: 96px;
  height: 96px;
  left: 12%;
  bottom: 18%;
  animation-delay: -1.2s;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tabs__item {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
}

.tabs__item.is-active {
  color: #082028;
  background: linear-gradient(135deg, var(--accent), #8fd1ff);
}

.attention-stage {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(7, 20, 26, 0.9), rgba(6, 12, 17, 0.95));
}

.attention-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 78, 78, 0.5), transparent 14%),
    radial-gradient(circle at 44% 53%, rgba(255, 151, 88, 0.38), transparent 12%),
    radial-gradient(circle at 62% 68%, rgba(255, 196, 120, 0.3), transparent 20%);
  mix-blend-mode: screen;
  opacity: 0.72;
  transition: opacity 220ms ease;
}

.attention-sweep {
  position: absolute;
  inset: 0 auto 0 -24%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(105, 246, 231, 0.2), transparent);
  animation: sweep 5.4s linear infinite;
}

.range-wrap {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.range-wrap input {
  width: 100%;
}

.tab-content {
  margin-top: 18px;
  min-height: 160px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.insight-list article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-list strong,
.value-stat strong {
  display: block;
}

.bar-item {
  margin-top: 18px;
}

.bar-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.bar-item__track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-item__track span {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(105, 246, 231, 0.24);
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 20px;
}

.pill-card {
  padding: 18px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.pill-card strong {
  display: block;
  font-size: 1.4rem;
}

.pill-card span {
  color: var(--muted);
}

#trendChart {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: rgba(5, 17, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.value-stat {
  padding: 22px;
}

.value-stat strong {
  font-size: 2rem;
}

.value-stat p {
  margin-top: 10px;
  color: var(--muted);
}

.dashboard-stage {
  position: relative;
}

.dashboard-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(7, 23, 30, 0.8);
  border: 1px solid var(--line);
}

.closing-layout {
  display: grid;
  place-items: center;
  height: 100%;
}

.closing-panel {
  width: min(900px, 100%);
  padding: 36px;
  text-align: center;
}

.closing-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.closing-tags span {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.deck-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 8;
}

.arrow-btn {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 23, 30, 0.84);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.arrow-btn:hover,
.pager__dot:hover {
  transform: translateY(-2px);
}

.pager {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(7, 23, 30, 0.7);
  border: 1px solid var(--line);
}

.pager__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.pager__dot.is-active {
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.deck-progress {
  position: absolute;
  left: 24px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  z-index: 8;
}

.deck-progress i {
  display: block;
  width: 66px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal--delay {
  transition-delay: 150ms;
}

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

.pure-mode .app-shell {
  grid-template-columns: 1fr;
}

.pure-mode .sidebar {
  display: none;
}

.pure-mode .deck {
  width: 100vw;
}

.pure-mode .slide__inner {
  width: min(100%, 1560px);
  padding-left: 64px;
  padding-right: 64px;
}

.pure-mode .deck-progress {
  left: 32px;
}

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

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

@keyframes ripple {
  0% {
    transform: scale(0.82);
    opacity: 0.1;
  }
  70% {
    transform: scale(1.1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.24);
    opacity: 0;
  }
}

@keyframes sweep {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(520%);
  }
}

@media (max-width: 1280px) {
  .hero-layout,
  .split-layout,
  .system-layout,
  .demo-layout,
  .value-layout,
  .metrics-panels,
  .innovation-grid,
  .defense-grid,
  .value-stats {
    grid-template-columns: 1fr;
  }

  .slide__inner {
    padding: 38px 38px 90px;
  }
}

@media (max-width: 980px) {
  html,
  body {
    overflow: auto;
  }

  .app-shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .sidebar {
    position: sticky;
    top: 0;
    height: auto;
    z-index: 10;
  }

  .deck {
    height: auto;
  }

  .deck__viewport,
  .deck__track {
    height: auto;
  }

  .slide {
    height: auto;
    min-height: 100vh;
  }

  .deck-controls,
  .deck-progress {
    position: fixed;
  }
}

@media (max-width: 720px) {
  .pure-mode .slide__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
