:root {
  --bg: #0B0B0C;
  --bg-elev: #141416;
  --text: #F4F1EC;
  --muted: #A8A29A;
  --gold: #C4A574;
  --gold-soft: rgba(196, 165, 116, 0.18);
  --chart: #7D8F7A;
  --line: rgba(196, 165, 116, 0.18);
  --max: 1120px;
  --header-h: 72px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(196, 165, 116, 0.12), transparent 55%),
    linear-gradient(180deg, #0B0B0C 0%, #141416 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: #d4b98a;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(12px);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--text);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand span {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 4px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #0B0B0C;
  font-family: var(--sans);
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: #d4b98a;
  color: #0B0B0C;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--gold-soft);
  color: var(--text);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  padding: 4rem 0 5rem;
  position: relative;
}

.hero-visual {
  position: absolute;
  inset: 8% 0 auto;
  height: 55%;
  background:
    linear-gradient(120deg, transparent 40%, rgba(196, 165, 116, 0.08) 50%, transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(125, 143, 122, 0.15), transparent 45%);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1,
.page-hero h1,
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s ease forwards 0.15s;
}

.gold-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0 1.5rem;
  animation: grow 1s ease forwards 0.45s;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
  margin: 0 0 2rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.35s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grow {
  to {
    width: 120px;
  }
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.track {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.track h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.track p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.feature-list li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.feature-list h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 4rem 0 2.5rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 36em;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.price-grid {
  display: grid;
  gap: 1.5rem;
}

.price-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.price-item h3 {
  font-family: var(--serif);
  margin: 0 0 0.35rem;
  font-weight: 500;
}

.price-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-tag {
  color: var(--gold);
  font-family: var(--serif);
  white-space: nowrap;
}

.team {
  display: grid;
  gap: 1.5rem;
}

.team-member {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.team-member h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
}

.team-member p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.qr-panel {
  text-align: center;
}

.qr-panel img {
  width: min(100%, 280px);
  margin: 0 auto 1rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem;
}

.qr-panel h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.qr-panel p {
  color: var(--muted);
  margin: 0;
}

.contact-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.contact-list strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  font: inherit;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.demo-shell {
  border: 1px solid var(--line);
  background: rgba(20, 20, 22, 0.7);
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.demo-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.demo-tabs button {
  flex: 1;
  padding: 0.95rem 0.5rem;
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.demo-tabs button:last-child {
  border-right: none;
}

.demo-tabs button.active {
  color: var(--gold);
  background: var(--gold-soft);
}

.demo-pane {
  display: none;
  padding: 1.25rem;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

.demo-pane.active {
  display: grid;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.chip:hover,
.chip.active {
  border-color: var(--gold);
  color: var(--text);
}

.demo-stream {
  overflow: auto;
  min-height: 220px;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.msg {
  margin-bottom: 1rem;
}

.msg.user {
  color: var(--gold);
}

.msg.bot {
  color: var(--text);
}

.msg .meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.demo-chart {
  width: 100%;
  height: 160px;
  margin-top: 0.75rem;
}

.demo-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.agent-cards {
  display: grid;
  gap: 0.75rem;
}

.agent-card {
  text-align: left;
  padding: 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

.agent-card:hover {
  border-color: var(--gold);
}

.agent-card h4 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 500;
}

.agent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.decide-options {
  display: grid;
  gap: 0.75rem;
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  z-index: 40;
}

.sticky-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sticky-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.ops-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ops-timeline li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.ops-timeline strong {
  color: var(--gold);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(11, 11, 12, 0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .split-2,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-item {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }
}
