:root {
  --bg-primary: #f4f3f0;
  --bg-elevated: #ffffff;
  --bg-muted: #eceae6;
  --bg-inverse: #4d5158;
  --bg-inverse-soft: #62666f;
  --text-primary: #111111;
  --text-secondary: #5e5e63;
  --text-muted: #828289;
  --text-inverse: #f4f3f0;
  --border-subtle: rgba(17, 17, 17, 0.12);
  --border-strong: rgba(17, 17, 17, 0.2);
  --border-inverse: rgba(255, 255, 255, 0.16);
  --text-on-dark-muted: rgba(244, 243, 240, 0.8);
  --surface-dark: linear-gradient(180deg, #686c75 0%, #575b63 100%);
  --surface-dark-soft: rgba(255, 255, 255, 0.075);
  --btn-dark-border: rgba(244, 243, 240, 0.46);
  --btn-dark-text: rgba(244, 243, 240, 0.92);
  --btn-dark-bg-hover: rgba(244, 243, 240, 0.96);
  --btn-dark-text-hover: #191b1f;
  --label-dark-text: rgba(244, 243, 240, 0.88);
  --chip-dark-bg: rgba(255, 255, 255, 0.08);
  --chip-dark-border: rgba(255, 255, 255, 0.12);
  --panel-light-bg: rgba(255, 255, 255, 0.82);
  --panel-light-border: rgba(17, 17, 17, 0.1);
  --panel-dark-border: rgba(255, 255, 255, 0.14);
  --accent-soft: #b8bec7;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.07);
  --shadow-strong: 0 40px 120px rgba(0, 0, 0, 0.18);
  --container-width: 1240px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --transition-base: 240ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

main {
  min-height: 100vh;
}

.container {
  width: min(100% - 48px, var(--container-width));
  margin: 0 auto;
}

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(243, 243, 241, 0.84);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header-shell.is-scrolled {
  background: rgba(247, 247, 245, 0.92);
  border-color: var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.site-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  flex-shrink: 0;
}

.brand-mark img {
  width: 184px;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-base);
}

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

.btn-primary {
  color: var(--text-inverse);
  background: #1f2125;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: #2a2d33;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.btn-secondary {
  color: var(--text-primary);
  background: transparent;
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2,
h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

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

h1 {
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.35rem, 1.9vw, 1.95rem);
  line-height: 1.24;
  letter-spacing: -0.016em;
  font-weight: 600;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-copy,
.hero-copy,
.page-summary,
.card-copy,
.metric-copy,
.demo-copy,
.job-copy,
.breadcrumb {
  color: var(--text-secondary);
}

.hero-copy,
.page-summary {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 640px;
}

.section-copy {
  font-size: 0.98rem;
  line-height: 1.8;
}

.card-copy,
.metric-copy,
.demo-copy,
.job-copy,
.breadcrumb {
  font-size: 0.96rem;
  line-height: 1.78;
}

.hero-actions,
.page-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.page-shell {
  padding: 0 0 96px;
}

.section-block {
  padding: 96px 0;
}

.section-block.section-dark {
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.section-dark .section-copy,
.section-dark .card-copy,
.section-dark .metric-copy,
.section-dark .demo-copy,
.section-dark .page-summary,
.section-dark .breadcrumb,
.section-dark .eyebrow {
  color: var(--text-on-dark-muted);
}

.card-grid,
.metric-grid,
.detail-grid,
.compare-grid,
.story-grid,
.job-list {
  display: grid;
  gap: 24px;
}

.card-grid,
.metric-grid,
.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid,
.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scene-card,
.metric-card,
.story-card,
.job-card,
.demo-panel,
.tab-panel,
.quote-panel,
.path-card,
.contact-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--panel-light-bg);
  border: 1px solid var(--panel-light-border);
  box-shadow: var(--shadow-soft);
}

.section-dark .scene-card,
.section-dark .metric-card,
.section-dark .story-card,
.section-dark .job-card,
.section-dark .demo-panel,
.section-dark .tab-panel,
.section-dark .quote-panel,
.section-dark .path-card,
.section-dark .contact-panel {
  background: var(--surface-dark-soft);
  border-color: var(--panel-dark-border);
  box-shadow: none;
}

.section-dark .btn-primary,
.section-dark .btn-secondary {
  color: var(--btn-dark-text);
  background: transparent;
  border-color: var(--btn-dark-border);
  box-shadow: none;
}

.section-dark .btn-primary:hover,
.section-dark .btn-secondary:hover {
  color: var(--btn-dark-text-hover);
  background: var(--btn-dark-bg-hover);
  border-color: var(--btn-dark-bg-hover);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.card-kicker,
.metric-value {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.section-dark .card-kicker {
  color: var(--label-dark-text);
}

.metric-value {
  font-size: 1.72rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-dark .metric-value {
  color: var(--text-inverse);
}

.tabs-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  margin-bottom: 30px;
}

.tab-trigger {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.tab-trigger.is-active {
  color: var(--text-inverse);
  background: var(--bg-inverse);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.tab-panel {
  display: none;
}

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

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

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.92rem;
}

.breadcrumb span {
  opacity: 0.48;
}

.site-footer-shell {
  padding: 56px 0 24px;
  background: #ecece9;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 30px;
}

.footer-brand-name {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.footer-brand-copy {
  max-width: 440px;
  color: var(--text-secondary);
}

.footer-contact-list,
.footer-links {
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
}

.footer-group h3 {
  margin-bottom: 14px;
}

.site-footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .site-header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

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

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, var(--container-width));
  }

  .card-grid,
  .metric-grid,
  .detail-grid,
  .compare-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-meta {
    flex-direction: column;
  }
}
