:root {
  color-scheme: dark;
  --bg: #080a10;
  --bg-elev: #0f131d;
  --bg-card: #121725;
  --bg-card-hover: #171d2f;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5fb;
  --muted: #98a2ba;
  --subtle: #6e7891;
  --accent: #7a9bff;
  --accent-2: #b49bff;
  --green: #34d399;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, 'SF Pro Display', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background:
    radial-gradient(920px 520px at 50% -6%, rgba(111, 160, 255, 0.17), transparent 65%),
    radial-gradient(640px 420px at 82% 10%, rgba(184, 165, 255, 0.12), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img, video { display: block; max-width: 100%; }

.shell {
  width: min(calc(100% - 48px), 1140px);
  margin-inline: auto;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 10, 16, 0.74);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(111, 160, 255, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav a { transition: color 0.18s ease; }
.nav a:hover { color: var(--text); }

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.topbar-star {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(122, 155, 255, 0.08));
  transition: transform 0.16s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.topbar-star svg {
  width: 14px;
  height: 14px;
  color: #fbbf24;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.topbar-star:hover {
  border-color: rgba(251, 191, 36, 0.68);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.24), rgba(122, 155, 255, 0.14));
  box-shadow: 0 0 22px rgba(251, 191, 36, 0.28);
  transform: translateY(-1px);
}

.topbar-star:hover svg {
  transform: scale(1.22) rotate(12deg);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  font-size: 0.84rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  padding: 64px 0 56px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 155, 255, 0.28);
  background: rgba(122, 155, 255, 0.08);
  color: #c5d4ff;
  font-size: 0.82rem;
  font-weight: 500;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.75);
}

h1 {
  margin: 20px auto 0;
  max-width: 16ch;
  font-size: clamp(2.6rem, 5.8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

:lang(zh-CN) h1 {
  max-width: none;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 .grad {
  background: linear-gradient(115deg, #8bb0ff 0%, #b9a4ff 52%, #e2d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 18px auto 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.65;
}

:lang(zh-CN) .hero-lead { max-width: 39em; }

.hero-cta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, #6894ff, #9478f6);
  color: #fff;
  box-shadow: 0 8px 28px rgba(104, 148, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px rgba(104, 148, 255, 0.44);
  filter: brightness(1.06);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* Live 9-Harness Working Indicator Widget */
.work-widget {
  margin: 38px auto 0;
  max-width: 960px;
  padding: 18px 22px 16px;
  border-radius: 20px;
  background:
    radial-gradient(560px 180px at 50% 0%, var(--w-glow, rgba(110, 139, 255, 0.26)), transparent 75%),
    linear-gradient(180deg, #131826 0%, #0d111a 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.52);
  transition: background 0.45s ease;
}

.work-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.work-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b7c2da;
}

.work-motions {
  display: inline-flex;
  gap: 6px;
}

.motion-btn {
  appearance: none;
  font: inherit;
  font-size: 0.76rem;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #8892aa;
  cursor: pointer;
  transition: all 0.16s ease;
}

.motion-btn:hover { color: #e6ecff; border-color: rgba(255, 255, 255, 0.18); }
.motion-btn[aria-pressed="true"] {
  color: #fff;
  background: rgba(122, 155, 255, 0.2);
  border-color: rgba(122, 155, 255, 0.5);
}

.work-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 18px;
}

.work-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: min(440px, 100%);
  padding: 15px 24px;
  border-radius: 14px;
  background: #171c29;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 32px var(--w-glow, rgba(110, 139, 255, 0.2));
}

.work-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--w-accent, #6e8bff);
}

.work-mark svg {
  width: 26px;
  height: 26px;
  display: block;
  overflow: visible;
  transform-box: fill-box;
  transform-origin: center;
}

.work-mark[data-motion="bounce"] svg { animation: dsh-run-bounce 1.85s ease-in-out infinite; }
.work-mark[data-motion="spin"] svg { animation: dsh-run-spin 2.2s infinite; }
.work-mark[data-motion="breathe"] svg { animation: dsh-run-breathe 2.0s ease-in-out infinite; }

@keyframes dsh-run-bounce {
  0%, 36%, 78%, 100% { transform: translateY(0) scale(0.9); }
  50% { transform: translateY(-13%) scale(0.8, 0.98); }
  65% { transform: translateY(3%) scale(0.98, 0.82); }
}

@keyframes dsh-run-spin {
  0%, 30% { transform: rotate(0deg) scale(0.82); animation-timing-function: cubic-bezier(0.45, 0.06, 0.19, 1); }
  68%, 100% { transform: rotate(360deg) scale(0.82); }
}

@keyframes dsh-run-breathe {
  0%, 100% { opacity: 0.58; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(0.98); }
}

.work-shimmer {
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #7c8599 0%, #7c8599 35%, #ffffff 50%, #a5b4fc 56%, #7c8599 72%, #7c8599 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: dsh-shimmer 2.1s linear infinite;
  text-align: left;
  flex: 1;
  white-space: nowrap;
}

@keyframes dsh-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.work-timer {
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  color: #848ea6;
  min-width: 44px;
  text-align: right;
}

.work-dock {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 6px;
}

.dock-btn {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #79839b;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.16s ease;
}

.dock-btn:hover {
  color: #e4eafc;
  background: rgba(255, 255, 255, 0.06);
}

.dock-btn .di {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  opacity: 0.65;
}

.dock-btn .di svg { width: 14px; height: 14px; }

.dock-btn[aria-pressed="true"] {
  background: rgba(122, 155, 255, 0.15);
  border-color: rgba(122, 155, 255, 0.45);
  color: #f4f7ff;
}

.dock-btn[aria-pressed="true"] .di {
  opacity: 1;
  color: var(--w-accent, #fff);
}

.dock-btn[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #6fa0ff, #b8a5ff);
  transform-origin: left;
  animation: dsh-dock-fill 2.4s linear infinite;
}

.work-widget.is-paused .dock-btn[aria-pressed="true"]::after {
  animation: none;
  width: 100%;
}

@keyframes dsh-dock-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Showcase Stage */
.stage-wrap {
  margin: 34px auto 0;
  max-width: 1060px;
}

.stage-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.stage-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.stage-tab:hover { color: var(--text); }
.stage-tab[aria-selected="true"] {
  background: rgba(122, 155, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(122, 155, 255, 0.35);
}

.window-frame {
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65), 0 0 80px rgba(111, 160, 255, 0.12);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 10px;
  font-size: 0.78rem;
  color: var(--subtle);
  font-family: var(--mono);
}

.window-dots { display: inline-flex; gap: 7px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; }
.window-dots i:nth-child(1) { background: #ff5f57; }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }

.window-body {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1018;
  aspect-ratio: 1280 / 820;
}

.stage-panel {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-panel[hidden] { display: none; }
.stage-panel video { width: 100%; height: 100%; object-fit: cover; }
.stage-panel img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.video-ctrl {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 15, 24, 0.8);
  backdrop-filter: blur(10px);
  color: #e9eeff;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.stage-caption {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

:lang(zh-CN) h2 { letter-spacing: -0.02em; line-height: 1.24; }

.section-sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* 4 Flagship Pillars (2x2 bold grid) */
.pillar-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pillar {
  position: relative;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(122, 155, 255, 0.06), rgba(18, 23, 37, 0.96));
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar:hover {
  border-color: rgba(122, 155, 255, 0.38);
  transform: translateY(-2px);
}

.pillar-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.pillar-num {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #b4c8ff;
  background: rgba(122, 155, 255, 0.14);
  border: 1px solid rgba(122, 155, 255, 0.26);
  flex: none;
}

.pillar h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.pillar p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.pillar-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pillar-tags span {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #c8d2ec;
}

/* Focused Spotlight Rows */
.spotlights {
  margin-top: 42px;
  display: grid;
  gap: 30px;
}

.spotlight {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
}

.spotlight.reverse {
  grid-template-columns: 1.12fr 0.88fr;
}

.spotlight.reverse .spot-media { order: -1; }

.spot-copy h3 {
  margin: 10px 0 0;
  font-size: clamp(1.32rem, 2.2vw, 1.7rem);
  line-height: 1.28;
}

.spot-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.96rem;
}

.spot-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: #d2d9ee;
}

.spot-points li { display: flex; align-items: baseline; gap: 9px; }
.spot-points li::before { content: '✓'; color: var(--green); font-weight: 700; flex: none; }

.spot-media {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.spot-media img {
  width: 100%;
  border-radius: 16px;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.spot-media.spot-media-tall img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.spot-media img:hover { transform: scale(1.014); }

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

.spot-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.spot-duo-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
}

.spot-duo-card img {
  width: 100%;
  border-radius: 14px;
  cursor: zoom-in;
}

.spot-duo-card h3 {
  margin: 16px 0 0;
  font-size: 1.1rem;
}

.spot-duo-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.6;
}

/* Quick Start */
.setup-steps {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(122, 155, 255, 0.14);
  color: #a8bfff;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.step-card h3 { margin: 15px 0 0; font-size: 1.06rem; }
.step-card p { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.62; }
.step-card code {
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe5ff;
}

.cmd-box {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(5, 7, 12, 0.72);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #cddbff;
  overflow-x: auto;
  white-space: nowrap;
}

.paths {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.path-card {
  padding: 24px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, rgba(122, 155, 255, 0.07), rgba(18, 23, 37, 0.95));
}

.path-card.alt {
  background: linear-gradient(155deg, rgba(180, 155, 255, 0.08), rgba(18, 23, 37, 0.95));
}

.path-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #cfd8f5;
}

.path-card h3 { margin: 13px 0 0; font-size: 1.12rem; }
.path-card p { margin: 9px 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.65; }

.path-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9eb9ff;
}

.path-link:hover { color: #c7d6ff; text-decoration: underline; text-underline-offset: 4px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1320px, 95vw);
  max-height: 90vh;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

/* Native Interactive Click-Star CTA Section */
.star-cta-section {
  padding: 12px 0 64px;
}

.star-stage-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  padding: 34px 38px;
  border-radius: 24px;
  background:
    radial-gradient(520px 240px at 82% 50%, rgba(251, 191, 36, 0.14), transparent 72%),
    radial-gradient(480px 240px at 15% 20%, rgba(122, 155, 255, 0.14), transparent 70%),
    linear-gradient(160deg, #131929 0%, #0d111c 100%);
  border: 1px solid rgba(251, 191, 36, 0.26);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.star-copy-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #dbe4ff;
}

.star-copy-head img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.star-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  line-height: 1.22;
}

.star-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 52ch;
}

.star-anim-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(8, 11, 19, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.star-repo-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #9aa6c2;
}

.star-repo-bar svg {
  width: 15px;
  height: 15px;
  color: #cdd7f0;
}

.star-btn-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.star-btn-live {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, #21283b 0%, #171d2c 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f7ff;
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.star-btn-live:hover {
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow: 0 14px 36px rgba(251, 191, 36, 0.24);
}

.star-icon-svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.star-icon-outline {
  fill: none;
  stroke: #cbd5e1;
  stroke-width: 1.9;
  transition: opacity 0.2s ease;
}

.star-icon-solid {
  fill: #fbbf24;
  stroke: #fde68a;
  stroke-width: 0.8;
  opacity: 0;
  transform: scale(0.4);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.75));
}

.star-label-starred { display: none; color: #fef08a; }
.star-label-unstarred { display: inline; }

.star-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #cbd5e1;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Shockwave ring, 8-ray particle sparks & +1 badge */
.star-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  left: 34px;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  border-radius: 50%;
  border: 2px solid #fbbf24;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.star-sparks {
  position: absolute;
  left: 34px;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 3;
}

.star-sparks i {
  position: absolute;
  left: -3px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fde047;
  box-shadow: 0 0 8px #fbbf24;
  opacity: 0;
  transform: rotate(var(--ang)) translateX(6px) scale(0.4);
}

.star-plus-one {
  position: absolute;
  right: -12px;
  top: -16px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #111827;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(251, 191, 36, 0.45);
  opacity: 0;
  transform: translateY(8px) scale(0.75);
  pointer-events: none;
  z-index: 4;
}

.star-cursor {
  position: absolute;
  left: 36px;
  top: 36px;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.65));
  transform: translate(86px, 44px);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

/* Phase states driven by JS timeline (and instant click/hover) */
.star-anim-scene[data-phase="aim"] .star-cursor {
  transform: translate(-2px, -2px);
}

.star-anim-scene[data-phase="press"] .star-cursor {
  transform: translate(-4px, 1px) scale(0.86);
  transition-duration: 0.13s;
}

.star-anim-scene[data-phase="press"] .star-btn-live {
  transform: scale(0.94);
}

.star-anim-scene[data-phase="starred"] .star-cursor {
  transform: translate(74px, 38px);
  opacity: 0.55;
}

.star-anim-scene[data-phase="starred"] .star-btn-live {
  background: linear-gradient(180deg, #2b2618 0%, #1d1a14 100%);
  border-color: rgba(251, 191, 36, 0.72);
  box-shadow: 0 12px 36px rgba(251, 191, 36, 0.28), 0 0 0 1px rgba(251, 191, 36, 0.22);
}

.star-anim-scene[data-phase="starred"] .star-icon-outline { opacity: 0; }
.star-anim-scene[data-phase="starred"] .star-icon-solid {
  opacity: 1;
  transform: scale(1.14);
}
.star-anim-scene[data-phase="starred"] .star-label-unstarred { display: none; }
.star-anim-scene[data-phase="starred"] .star-label-starred { display: inline; }
.star-anim-scene[data-phase="starred"] .star-count-pill {
  background: rgba(251, 191, 36, 0.22);
  color: #fef08a;
}

.star-anim-scene.is-bursting .star-ring {
  animation: dsh-star-ring 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.star-anim-scene.is-bursting .star-sparks i {
  animation: dsh-star-spark 0.78s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.star-anim-scene.is-bursting .star-plus-one {
  animation: dsh-star-plus 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dsh-star-ring {
  0% { opacity: 0.95; transform: translate(-50%, -50%) scale(0.35); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.45); }
}

@keyframes dsh-star-spark {
  0% { opacity: 1; transform: rotate(var(--ang)) translateX(8px) scale(1); }
  100% { opacity: 0; transform: rotate(var(--ang)) translateX(46px) scale(0.2); }
}

@keyframes dsh-star-plus {
  0% { opacity: 0; transform: translateY(8px) scale(0.7); }
  22% { opacity: 1; transform: translateY(-10px) scale(1.06); }
  78% { opacity: 1; transform: translateY(-18px) scale(1); }
  100% { opacity: 0; transform: translateY(-28px) scale(0.92); }
}

.star-hint {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--subtle);
}

/* Notice Strip */
.notice {
  border-top: 1px solid var(--border);
  padding: 36px 0 32px;
}

.notice-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.84rem;
  line-height: 1.7;
}

.notice-box h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
}

.notice-box p {
  margin: 6px 0 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a { color: var(--muted); transition: color 0.16s ease; }
.footer-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 920px) {
  .work-dock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar-grid, .setup-steps, .spot-duo, .spot-trio, .star-stage-card { grid-template-columns: 1fr; }
  .spotlight, .spotlight.reverse { grid-template-columns: 1fr; }
  .spotlight.reverse .spot-media { order: 0; }
  .star-stage-card { padding: 24px 22px; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .nav { display: none; }
  .topbar-star span { display: none; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 54px 0; }
  .paths { grid-template-columns: 1fr; }
  .spotlight { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work-mark svg, .work-shimmer, .dock-btn::after,
  .star-ring, .star-sparks i, .star-plus-one { animation: none !important; }
  .star-cursor { display: none; }
}
