:root {
  --bg: #f4f7f6;
  --bg-alt: #eaf2f0;
  --surface: #ffffff;
  --surface-soft: #f8fbfa;
  --surface-dark: #111816;
  --text: #17201e;
  --muted: #61716d;
  --muted-strong: #42514d;
  --brand: #007f78;
  --brand-strong: #005f58;
  --brand-soft: #dff4ee;
  --signal: #c3e85c;
  --line: rgba(23, 32, 30, 0.14);
  --line-strong: rgba(23, 32, 30, 0.24);
  --shadow: 0 20px 46px rgba(17, 24, 22, 0.12);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --max-width: 1220px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

body::selection {
  color: #ffffff;
  background: var(--brand);
}

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

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

:focus-visible {
  outline: 3px solid rgba(0, 127, 120, 0.34);
  outline-offset: 3px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #ffffff;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled,
.site-header.nav-open {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(23, 32, 30, 0.1);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo {
  width: 132px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  padding: 5px 8px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(17, 24, 22, 0.12);
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.site-header.scrolled .brand-text span,
.site-header.nav-open .brand-text span {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

.site-header.scrolled .nav-toggle,
.site-header.nav-open .nav-toggle {
  border-color: var(--line);
  background: var(--surface-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > a,
.nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.main-nav > a:hover,
.nav-item > button:hover,
.main-nav > a.is-active,
.nav-item > button.is-active {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.scrolled .main-nav > a:hover,
.site-header.scrolled .nav-item > button:hover,
.site-header.scrolled .main-nav > a.is-active,
.site-header.scrolled .nav-item > button.is-active,
.site-header.nav-open .main-nav > a:hover,
.site-header.nav-open .nav-item > button:hover,
.site-header.nav-open .main-nav > a.is-active,
.site-header.nav-open .nav-item > button.is-active {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.nav-item {
  position: relative;
}

.nav-item button::after {
  content: "▾";
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.9;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.submenu a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted-strong);
}

.submenu a:hover,
.submenu a.is-active {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.nav-item:hover .submenu,
.nav-item.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.hero {
  min-height: 88svh;
  padding: 140px 0 112px;
  display: flex;
  align-items: flex-end;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 23, 20, 0.9) 0%, rgba(13, 23, 20, 0.66) 48%, rgba(13, 23, 20, 0.28) 100%),
    var(--hero-image, linear-gradient(135deg, #17201e, #2a403b));
  background-size: cover;
  background-position: center;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  z-index: -1;
  height: 140px;
  background: linear-gradient(180deg, rgba(244, 247, 246, 0), var(--bg));
}

.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
}

.hero .eyebrow,
.hero h1,
.hero p,
.hero-tags,
.hero-actions {
  animation: heroRise 0.72s ease both;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero p {
  animation-delay: 0.16s;
}

.hero-tags {
  animation-delay: 0.24s;
}

.hero-actions {
  animation-delay: 0.32s;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-left: 3px solid currentColor;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0;
}

.section .eyebrow,
.panel .eyebrow {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.hero h1,
.page-hero h1 {
  max-width: 920px;
  margin: 18px 0 20px;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 4.7rem;
}

.page-hero h1 {
  max-width: 820px;
  font-size: 3.7rem;
}

.hero p,
.page-hero p,
.section-copy,
.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button {
  background: var(--brand);
  color: #ffffff;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.section .ghost-button,
.panel .ghost-button,
.detail-card .ghost-button {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.button:hover {
  background: var(--brand-strong);
}

.section .ghost-button:hover,
.panel .ghost-button:hover,
.detail-card .ghost-button:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.35;
}

.home-entry {
  position: relative;
  z-index: 3;
  margin-top: -64px;
  padding-bottom: 88px;
}

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

.entry-card,
.info-card,
.metric-card,
.detail-card,
.catalog-card,
.page-anchor,
.panel,
.page-sidebar,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.entry-card {
  padding: 22px;
  box-shadow: var(--shadow);
}

.entry-card,
.catalog-card,
.info-card,
.metric-card,
.page-sidebar a,
.summary-item,
.timeline-item,
.spec-row,
.product-specs div {
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.entry-card:hover,
.catalog-card:hover,
.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 127, 120, 0.42);
  box-shadow: 0 16px 38px rgba(17, 24, 22, 0.12);
}

.entry-card strong,
.info-card strong,
.metric-card strong,
.catalog-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.45;
}

.entry-card p,
.info-card p,
.metric-card p,
.detail-card p,
.catalog-card p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.section {
  padding: 92px 0;
}

main > .section:nth-of-type(odd) {
  background: var(--surface);
}

main > .section:nth-of-type(even) {
  background: var(--bg);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 34px;
}

.section-head h2,
.panel h2 {
  margin: 12px 0 0;
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: 0;
}

.section-head h2 {
  max-width: 760px;
  font-size: 2.65rem;
}

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

.info-card,
.catalog-card,
.metric-card,
.detail-card {
  padding: 24px;
}

.catalog-card {
  box-shadow: none;
}

.catalog-card ul,
.detail-card ul,
.feature-list,
.bullet-list,
.spec-table ul,
.summary-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.catalog-card li,
.detail-card li,
.feature-list li,
.bullet-list li,
.summary-list li {
  margin: 4px 0;
}

.stats-grid,
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.metric-card .value {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 850;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 24px;
  align-items: stretch;
}

.detail-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.24rem;
  line-height: 1.4;
}

.media-frame {
  min-height: 320px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.page-hero {
  min-height: 480px;
  padding: 154px 0 88px;
  display: flex;
  align-items: flex-end;
}

.page-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.page-sidebar {
  position: sticky;
  top: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.page-sidebar h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.page-sidebar a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted-strong);
  line-height: 1.45;
}

.page-sidebar a:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.page-main {
  display: grid;
  gap: 24px;
}

.panel {
  padding: 30px;
  box-shadow: none;
}

.panel h2 {
  font-size: 2.15rem;
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.4;
}

.panel-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.summary-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.summary-item b {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-strong);
  font-size: 1.2rem;
  line-height: 1.35;
}

.summary-item span {
  color: var(--muted);
  line-height: 1.75;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  position: relative;
  padding: 20px 20px 20px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.35;
}

.spec-table {
  display: grid;
  gap: 12px;
}

.spec-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.spec-row strong {
  color: var(--text);
  line-height: 1.55;
}

.spec-row span {
  color: var(--muted);
  line-height: 1.75;
}

.product-card {
  padding: 20px;
}

.product-card .media-frame {
  min-height: 240px;
  margin-bottom: 18px;
}

.product-card h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  line-height: 1.4;
}

.product-specs {
  margin: 0;
  display: grid;
  gap: 10px;
}

.product-specs div {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.product-specs dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-specs dd {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.footer {
  padding: 54px 0 66px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--surface-dark);
}

.footer .container {
  display: grid;
  gap: 22px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-meta span:first-child {
  color: #ffffff;
  font-weight: 800;
}

.footer-contact {
  display: grid;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-contact h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-contact p {
  margin: 0;
  line-height: 1.72;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--signal);
}

.reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .section-head,
  .panel-header,
  .page-shell {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    position: static;
  }

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

  .stats-grid,
  .kpi-grid,
  .summary-strip,
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .nav-shell {
    gap: 14px;
  }

  .brand-logo {
    width: 106px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    color: var(--text);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a,
  .nav-item > button {
    width: 100%;
    justify-content: space-between;
    padding: 0 12px;
  }

  .main-nav > a:hover,
  .nav-item > button:hover,
  .main-nav > a.is-active,
  .nav-item > button.is-active {
    color: var(--brand-strong);
    background: var(--brand-soft);
  }

  .submenu {
    position: static;
    min-width: 0;
    display: none;
    margin-top: 6px;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--surface-soft);
  }

  .nav-item.is-open .submenu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 126px 0 92px;
  }

  .page-hero {
    min-height: 420px;
    padding: 126px 0 72px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .page-hero h1,
  .section-head h2 {
    font-size: 2.55rem;
  }

  .panel h2 {
    font-size: 2rem;
  }

  .home-entry {
    margin-top: -42px;
    padding-bottom: 70px;
  }

  .entry-grid,
  .card-grid,
  .stats-grid,
  .kpi-grid,
  .summary-strip,
  .two-col {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .panel {
    padding: 24px;
  }

  .spec-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-shell {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 88px;
    height: 34px;
    padding: 4px 6px;
  }

  .brand-text strong {
    max-width: 142px;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .hero {
    padding: 116px 0 84px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .page-hero h1,
  .section-head h2 {
    font-size: 2.05rem;
  }

  .panel h2 {
    font-size: 1.72rem;
  }

  .hero p,
  .page-hero p,
  .section-copy,
  .lead {
    font-size: 1rem;
    line-height: 1.78;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
  }

  .button,
  .ghost-button {
    width: 100%;
  }

  .entry-card,
  .info-card,
  .catalog-card,
  .metric-card,
  .detail-card,
  .panel {
    padding: 20px;
  }

  .media-frame {
    min-height: 240px;
    padding: 10px;
  }
}
