/* —— 设计变量：清新浅色 —— */
:root {
  --bg-page: #f4f8fb;
  --bg-section: #ffffff;
  --bg-muted: #eef6f4;
  --text: #1c2938;
  --text-muted: #5c6f7f;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1040px;
  --product: #16a34a;
  --product-soft: rgba(22, 163, 74, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
  min-height: 100vh;
}

/* 顶部柔和装饰（不抢内容） */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(13, 148, 136, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(56, 189, 248, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(13, 148, 136, 0.05), transparent 55%);
}

a {
  color: var(--accent);
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

/* —— 主内容区 —— */
.main {
  position: relative;
  z-index: 1;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1.5rem;
}

.section--alt {
  background: var(--bg-muted);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.section__head {
  margin-bottom: 1.5rem;
}

.section__title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section__title::before {
  content: "";
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), #2dd4bf);
}

.section__title--product::before {
  background: linear-gradient(180deg, var(--product), #4ade80);
}

.section__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— 首屏 —— */
.hero {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.hero__tag {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.hero__title {
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 0.85rem;
  color: var(--text);
  letter-spacing: 0.03em;
}

.hero__lead {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.32);
}

.btn--outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* —— 卡片 —— */
.card {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.prose {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: justify;
}

.prose p + p {
  margin-top: 0.95rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.meta {
  padding: 0.85rem 1rem;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.meta dt {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.meta dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  word-break: break-all;
}

.scope-block {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin: 0;
}

/* —— 产品 —— */
.products-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

    @media (min-width: 880px) {
      .product-layout {
        grid-template-columns: 1fr minmax(240px, 300px);
        align-items: center;
      }
    }

.product-body {
  padding: 0.15rem 0;
}

.product-badge {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--product-soft);
  color: #166534;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.product-name {
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  text-align: justify;
}

.product-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border);
  margin: 0;
}

.product-meta strong {
  color: var(--text);
  font-weight: 600;
}

.product-figure {
  text-align: center;
  padding: 0.5rem;
}

.product-figure img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.product-hint {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* —— 联系 —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-value {
  color: var(--text);
  font-size: 0.94rem;
}

.contact-value a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* —— 页脚 —— */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg-section);
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.45rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

/* —— 首屏配图 —— */
.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
  }

  .hero__content {
    text-align: left;
  }

  .hero__actions {
    justify-content: flex-start;
  }
}

.hero__media {
  margin: 0;
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero__media:hover {
  transform: translateY(-2px);
}

.hero__media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero__img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .hero__img {
    margin-right: 0;
    margin-left: auto;
  }
}

/* —— 影像展示 —— */
.showcase {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase__item {
  margin: 0;
}

.showcase__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-muted);
}

.showcase__cap {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

.nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
