:root {
  --primary: #ffffff;
  --primary-pressed: #e8e8e8;
  --on-primary: #07080a;
  --ink: #f4f4f6;
  --body: #cdcdcd;
  --mute: #9c9c9d;
  --ash: #6a6b6c;
  --stone: #434345;
  --on-dark: #ffffff;
  --on-dark-mute: rgba(255, 255, 255, 0.72);
  --canvas: #07080a;
  --surface: #0d0d0d;
  --surface-elevated: #101111;
  --surface-card: #121212;
  --button-fg: #18191a;
  --hairline: #242728;
  --hairline-soft: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --accent: #00d4c2;
  --accent-brand: #00bebd;
  --accent-soft: rgba(0, 212, 194, 0.14);
  --band-pulse: rgba(0, 212, 194, 0.1);
  --band-pulse-alt: rgba(0, 212, 194, 0.16);
  --accent-blue: #57c1ff;
  --accent-blue-soft: rgba(87, 193, 255, 0.15);
  --accent-red: #ff6161;
  --accent-red-soft: rgba(255, 97, 97, 0.15);
  --accent-green: #59d499;
  --accent-green-soft: rgba(89, 212, 153, 0.15);
  --accent-amber: #ffc533;
  --accent-amber-soft: rgba(255, 197, 51, 0.15);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "calt", "kern", "liga", "ss03";
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
}

code {
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 2px 7px;
  font-size: 0.92em;
  color: var(--ink);
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 8, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-md);
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--body);
}

.nav-links a {
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--ink);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--on-dark);
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--body);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--hairline-strong);
}

.theme-toggle .icon-moon {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 18px;
  min-height: 38px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-sm {
  min-height: 34px;
  padding: 5px 14px;
  font-size: 13px;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--primary-pressed);
}

.btn-secondary {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--hairline-strong);
}

.btn-secondary:hover {
  border-color: var(--body);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.icon-btn:hover {
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.icon-btn:disabled {
  color: var(--stone);
  cursor: default;
  border-color: var(--hairline);
}

.hero {
  position: relative;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-stripe {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 260px;
  background:
    linear-gradient(135deg, rgba(0, 212, 194, 0.16), rgba(0, 109, 130, 0.04) 55%),
    repeating-linear-gradient(-35deg, rgba(0, 212, 194, 0.22) 0 56px, transparent 56px 140px),
    repeating-linear-gradient(-35deg, rgba(255, 255, 255, 0.04) 0 56px, transparent 56px 140px);
  transform: skewY(-5deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 24px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: 52px;
  line-height: 1.16;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
  overflow-wrap: break-word;
}

.grad-text {
  background: linear-gradient(100deg, #aef6ee 0%, #00d4c2 45%, #4fb7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: var(--body);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  max-width: 560px;
}

.hero-stats > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 18px;
  border-left: 1px solid var(--hairline);
}

.hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats strong {
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
}

.hero-stats span {
  font-size: 12px;
  color: var(--mute);
}

.hero-visual {
  position: relative;
}

.palette-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.palette-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
}

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

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
}

.dots i:first-child {
  background: rgba(255, 97, 97, 0.7);
  border-color: transparent;
}

.dots i:nth-child(2) {
  background: rgba(255, 197, 51, 0.7);
  border-color: transparent;
}

.dots i:last-child {
  background: rgba(89, 212, 153, 0.7);
  border-color: transparent;
}

.palette-title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.palette-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px;
  padding: 10px 12px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  color: var(--body);
  font-size: 13px;
}

.palette-search svg {
  flex-shrink: 0;
  color: var(--mute);
}

.palette-search span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 1px 6px;
  background: linear-gradient(180deg, var(--surface-card), var(--surface));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  font-size: 12px;
  color: var(--body);
  white-space: nowrap;
}

.job-row {
  margin: 0 14px 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
}

.job-row-active {
  background: var(--surface-card);
  border-color: var(--hairline);
  box-shadow: inset 0 0 0 1px rgba(0, 212, 194, 0.22);
}

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

.job-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.score {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.score-mid {
  color: var(--accent-amber);
}

.score-low {
  color: var(--ash);
}

.job-company {
  font-size: 12px;
  color: var(--mute);
  margin-top: 3px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.job-tags span {
  font-size: 11px;
  color: var(--body);
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  padding: 2px 7px;
}

.job-greet {
  font-size: 12px;
  color: var(--body);
  margin-top: 10px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.palette-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--hairline);
  background: var(--surface-elevated);
}

.footer-hint {
  flex: 1;
  font-size: 12px;
  color: var(--mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  white-space: nowrap;
}

.band {
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.band-alt {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.band-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.band::before {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -40%;
  width: 46%;
  background: linear-gradient(90deg, transparent, var(--accent-soft), rgba(0, 212, 194, 0.22), var(--accent-soft), transparent);
  opacity: 0;
  transform: translateX(-320%) skewX(-14deg);
  transition: transform 2.3s ease, opacity 1s ease;
  pointer-events: none;
}

.band::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 25%, var(--accent) 75%, transparent);
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 1.2s ease, transform 1.8s ease;
  pointer-events: none;
}

.band.in-view::before {
  opacity: 1;
  transform: translateX(560%) skewX(-14deg);
}

.band.in-view::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.band.in-view {
  animation: bandBgPulse 3s ease;
}

.band-alt.in-view {
  animation: bandAltBgPulse 3s ease;
}

@keyframes bandBgPulse {
  0%,
  100% {
    background-color: transparent;
  }
  40% {
    background-color: var(--band-pulse);
  }
}

@keyframes bandAltBgPulse {
  0%,
  100% {
    background-color: var(--surface);
  }
  40% {
    background-color: var(--band-pulse-alt);
  }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.section-head h2 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0;
}

.section-head.center h2 {
  max-width: 720px;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-sub {
  font-size: 15px;
  color: var(--mute);
  max-width: 640px;
}

.section-note {
  font-size: 12px;
  color: var(--mute);
  margin-top: 6px;
  text-align: center;
  max-width: 640px;
}

.scroll-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.voices-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 14px;
  scrollbar-width: none;
}

.voices-track::-webkit-scrollbar {
  display: none;
}

.voice-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}

.voice-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 212, 194, 0.35);
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}

.voice-top h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.voice-top p {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.45;
}

.stars {
  margin-left: auto;
  color: var(--accent-amber);
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
}

.voice-text {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
  flex: 1;
}

.voice-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--mute);
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--on-dark-mute);
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  padding: 2px 8px;
  white-space: nowrap;
}

.badge-soft {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}

.badge-blue {
  color: var(--accent-blue);
  background: var(--accent-blue-soft);
  border-color: transparent;
}

.badge-green {
  color: var(--accent-green);
  background: var(--accent-green-soft);
  border-color: transparent;
}

.badge-amber {
  color: var(--accent-amber);
  background: var(--accent-amber-soft);
  border-color: transparent;
}

.badge-hot {
  color: var(--on-primary);
  background: var(--primary);
  border-color: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.band-alt .feature-card {
  background: var(--canvas);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 212, 194, 0.3);
  color: var(--accent);
  margin-bottom: 18px;
  animation: featureIconBounce 2.6s ease-in-out infinite;
}

.feature-card:nth-child(1) .feature-icon {
  animation-delay: 0s;
}

.feature-card:nth-child(2) .feature-icon {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) .feature-icon {
  animation-delay: 0.4s;
}

.feature-card:nth-child(4) .feature-icon {
  animation-delay: 0.6s;
}

.feature-card:nth-child(5) .feature-icon {
  animation-delay: 0.8s;
}

.feature-card:nth-child(6) .feature-icon {
  animation-delay: 1s;
}

@keyframes featureIconBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
  55% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-3px);
  }
  85% {
    transform: translateY(0);
  }
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.workflow-step {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.workflow-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.scenario-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.scenario-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 212, 194, 0.3);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  margin-bottom: 18px;
}

.scenario-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.scenario-card > p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
}

.scenario-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.scenario-metrics div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scenario-metrics strong {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}

.scenario-metrics span {
  font-size: 11px;
  color: var(--mute);
}

.scenario-quote {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
}

.scenario-quote p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.8;
}

.scenario-quote span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--mute);
}

.scenario-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}

.scenario-strip strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.scenario-strip p {
  flex: 1;
  font-size: 13px;
  color: var(--body);
  line-height: 1.7;
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.flip-card {
  perspective: 1200px;
  height: 100%;
}

.flip-inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-front {
  position: relative;
  min-height: 100%;
}

.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
}

.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 212, 194, 0.3);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease 0.32s, transform 0.4s ease 0.32s;
}

.install-video {
  width: 100%;
  max-height: 260px;
  border-radius: var(--radius-md);
  background: #000;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease 0.38s;
}

.flip-hint {
  font-size: 12px;
  color: var(--mute);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s ease 0.52s, transform 0.55s ease 0.52s;
}

.flip-card:hover .flip-badge,
.flip-card.flipped .flip-badge,
.flip-card:hover .install-video,
.flip-card.flipped .install-video,
.flip-card:hover .flip-hint,
.flip-card.flipped .flip-hint {
  opacity: 1;
  transform: translateY(0);
}

.hover-prompt {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  transition: transform 1.4s cubic-bezier(0.25, 0.8, 0.35, 1);
}

.cursor-icon {
  animation: cursorHint 1.8s ease-in-out infinite;
}

@keyframes cursorHint {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(3px, 3px);
  }
  50% {
    transform: translate(0, 0);
  }
  75% {
    transform: translate(-2px, -2px);
  }
}

.steps-card,
.download-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.steps-card h3,
.download-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
}

.steps {
  counter-reset: step;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 16px 42px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  color: var(--ink);
  font-weight: 600;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  margin-bottom: 18px;
}

.download-icon img {
  width: 44px;
  height: 44px;
}

.download-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 20px;
}

.promo-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.promo-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.promo-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--on-primary);
  background: var(--primary);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  white-space: nowrap;
}

.promo-banner p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  margin: 0;
}

.promo-banner p span {
  font-weight: 600;
  animation: promoFlash 2.8s ease-in-out infinite;
}

.promo-banner p span:nth-child(1) {
  animation-delay: 0s;
}

.promo-banner p span:nth-child(2) {
  animation-delay: 0.35s;
}

.promo-banner p span:nth-child(3) {
  animation-delay: 0.7s;
}

.promo-banner p span:nth-child(4) {
  animation-delay: 1.05s;
}

@keyframes promoFlash {
  0%,
  100% {
    color: #0e9a8c;
  }
  25% {
    color: #1f7fc4;
  }
  50% {
    color: #c9820f;
  }
  75% {
    color: #d64545;
  }
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  background: var(--surface-elevated);
  border-color: rgba(0, 212, 194, 0.4);
}

.price-card .badge {
  align-self: flex-start;
  margin-bottom: 16px;
}

.price-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.price {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.price span {
  font-size: 20px;
  vertical-align: top;
  margin-right: 2px;
  color: var(--mute);
}

.price-note {
  font-size: 13px;
  color: var(--mute);
  margin-top: 8px;
  margin-bottom: 18px;
}

.price-list {
  list-style: none;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 212, 194, 0.35);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq-list summary {
  display: block;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 28px;
  overflow-x: clip;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  color: var(--accent);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.8;
}

.footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 24px 36px;
  background: var(--canvas);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--mute);
  margin-top: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 4px;
}

.footer-col a,
.footer-col p {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.7;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-friend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--hairline);
}

.footer-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--hairline);
}

.stats-label {
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
}

.stat-item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.stat-item strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.stat-item span {
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
}

.friend-label {
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
}

.friend-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--body);
}

.friend-link:hover {
  color: var(--ink);
}

.friend-name {
  font-weight: 600;
  color: var(--ink);
}

.friend-slogan {
  color: var(--mute);
}

.friend-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 5;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--body);
  font-size: 12px;
  line-height: 1.6;
  padding: 7px 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.friend-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 16px;
  border: 6px solid transparent;
  border-top-color: var(--surface-card);
}

.friend-link:hover .friend-tip {
  opacity: 1;
  transform: translateY(0);
}

.footer-friend + .footer-bottom {
  border-top: 0;
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ash);
}

/* ---------- 帮助与条款页 ---------- */

.legal-main {
  padding: 64px 24px 96px;
}

.legal-head {
  max-width: 860px;
  margin: 0 auto 40px;
}

.legal-head h1 {
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.legal-head > p {
  font-size: 14px;
  color: var(--mute);
  margin-bottom: 22px;
}

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--hairline);
}

.tab {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
}

.tab:hover {
  color: var(--ink);
}

.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.panel h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}

.panel .updated {
  font-size: 12px;
  color: var(--mute);
  margin: 0 0 10px;
}

.panel h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 26px 0 8px;
}

.panel h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 18px 0 4px;
}

.panel p {
  margin: 7px 0;
  font-size: 14px;
  line-height: 1.85;
}

.panel blockquote {
  margin: 10px 0;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--body);
  font-size: 13px;
}

.panel ul {
  margin: 8px 0;
  padding-left: 22px;
}

.panel li {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--body);
}

.panel hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 24px 0;
}

.panel strong {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .hero h1 {
    font-size: 44px;
  }

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

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

  .price-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 8px 24px 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline-soft);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 76px 24px 72px;
    gap: 56px;
  }

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

  .palette-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .band {
    padding: 72px 20px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .scroll-controls {
    align-self: flex-end;
    margin-top: -40px;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .scenario-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stats > div {
    border-left: 0;
    padding: 0;
  }

  .section-head h2 {
    font-size: 27px;
  }

  .voice-card {
    flex-basis: min(86vw, 340px);
  }

  .feature-grid,
  .workflow-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-card:last-child {
    grid-column: auto;
  }

  .palette-search span {
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .footer-friend {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-stats {
    gap: 10px 18px;
  }

  .friend-tip {
    white-space: normal;
    max-width: 260px;
  }

  .legal-main {
    padding: 48px 20px 72px;
  }

  .legal-head h1 {
    font-size: 26px;
  }

  .tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    white-space: nowrap;
  }

  .scenario-metrics {
    grid-template-columns: 1fr;
  }

  .promo-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------- 浅色主题 ---------- */

html[data-theme="light"] {
  --primary: #14181c;
  --primary-pressed: #2c333a;
  --on-primary: #ffffff;
  --ink: #14181c;
  --body: #47525e;
  --mute: #69727d;
  --ash: #98a2ab;
  --stone: #c4cbd1;
  --on-dark: #14181c;
  --on-dark-mute: rgba(20, 24, 28, 0.72);
  --canvas: #f7f8fa;
  --surface: #ffffff;
  --surface-elevated: #eef1f4;
  --surface-card: #e6ebef;
  --button-fg: #d9dee3;
  --hairline: #e2e7eb;
  --hairline-soft: rgba(20, 24, 28, 0.08);
  --hairline-strong: rgba(20, 24, 28, 0.18);
  --accent: #0e9a8c;
  --accent-brand: #00a6a7;
  --accent-soft: rgba(14, 154, 140, 0.13);
  --band-pulse: rgba(14, 154, 140, 0.12);
  --band-pulse-alt: rgba(14, 154, 140, 0.18);
  --accent-blue: #1f7fc4;
  --accent-blue-soft: rgba(31, 127, 196, 0.12);
  --accent-red: #d64545;
  --accent-red-soft: rgba(214, 69, 69, 0.12);
  --accent-green: #1c9e5c;
  --accent-green-soft: rgba(28, 158, 92, 0.13);
  --accent-amber: #c9820f;
  --accent-amber-soft: rgba(201, 130, 15, 0.15);
}

html[data-theme="light"] .nav {
  background: rgba(247, 248, 250, 0.9);
}

html[data-theme="light"] .hero-stripe {
  background:
    linear-gradient(135deg, rgba(14, 154, 140, 0.14), rgba(31, 127, 196, 0.05) 55%),
    repeating-linear-gradient(-35deg, rgba(14, 154, 140, 0.18) 0 56px, transparent 56px 140px),
    repeating-linear-gradient(-35deg, rgba(20, 24, 28, 0.04) 0 56px, transparent 56px 140px);
}

html[data-theme="light"] .band::before {
  background: linear-gradient(90deg, transparent, var(--accent-soft), rgba(14, 154, 140, 0.26), var(--accent-soft), transparent);
}

html[data-theme="light"] .grad-text {
  background: linear-gradient(100deg, #0e857a 0%, #0e9a8c 45%, #1f7fc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

html[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

html[data-theme="light"] .job-row-active {
  box-shadow: inset 0 0 0 1px rgba(14, 154, 140, 0.35);
}

html[data-theme="light"] .feature-icon {
  border-color: rgba(14, 154, 140, 0.35);
}

html[data-theme="light"] .avatar {
  border-color: rgba(14, 154, 140, 0.35);
}

html[data-theme="light"] .price-card-featured {
  border-color: rgba(14, 154, 140, 0.45);
}

html[data-theme="light"] .price-list li::before {
  border-color: rgba(14, 154, 140, 0.35);
}

html[data-theme="light"] .scenario-step {
  border-color: rgba(14, 154, 140, 0.35);
}

html[data-theme="light"] .flip-badge {
  border-color: rgba(14, 154, 140, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .band::before,
  .band::after {
    transition: none;
  }

  .band.in-view,
  .band-alt.in-view {
    animation: none;
  }

  .flip-inner {
    transition: none;
  }

  .cursor-icon {
    animation: none;
  }

  .promo-banner p span {
    animation: none;
    color: var(--accent);
  }

  .feature-icon {
    animation: none;
  }
}
