/* ═══════════════════════════════════════════════
   网岑视讯 企业站 — 共用样式
   修改提示：顶部 :root 是颜色变量，想换色改这里
   ═══════════════════════════════════════════════ */

:root {
  --c-bg: #ffffff;
  --c-surface: #f7f7f5;
  --c-surface2: #f0f0ee;
  --c-border: #e2e2e0;
  --c-text: #111111;
  --c-text-secondary: #6b6b6b;
  --c-accent: #1a1a1a;
  --c-highlight: #2563eb;
  --c-dark: #0a0a0a;
  --font-display: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --max-w: 1200px;
  --section-py: 100px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--c-text); color: var(--c-bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-color: var(--c-border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--c-text);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .05em;
  font-weight: 700;
}
.nav-logo span { color: var(--c-highlight); font-weight: 300; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--c-text-secondary);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .04em;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--c-text); }
.nav-cta {
  padding: 8px 22px;
  background: var(--c-highlight);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .08em;
  border-radius: var(--radius);
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }

/* ── Footer ── */
.footer {
  background: var(--c-dark);
  color: #ccc;
  padding: 80px 48px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: .85rem; }
.footer-col a { color: #999; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-brand-text { color: #888; font-size: .85rem; line-height: 1.8; max-width: 280px; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 60px auto 0;
  padding-top: 32px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: #666;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .9rem;
  letter-spacing: .06em;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
}
.btn-primary { background: var(--c-highlight); color: #fff; }
.btn-primary:hover { background: #1d52d4; }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: var(--c-text); color: #fff; border-color: var(--c-text); }

/* ── Section base ── */
.section { padding: var(--section-py) 48px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  color: var(--c-text-secondary);
  font-size: .8rem;
  letter-spacing: .2em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-desc {
  color: var(--c-text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 64px;
}
.section-header-center {
  text-align: center;
}
.section-header-center .section-desc { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(37,99,235,.07), transparent 60%),
    var(--c-bg);
  position: relative;
}
.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  color: var(--c-highlight);
  font-size: .8rem;
  letter-spacing: .25em;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-text {
  color: var(--c-text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--c-highlight);
}
.hero-card-eyebrow {
  color: var(--c-text-secondary);
  font-size: .75rem;
  letter-spacing: .25em;
  margin-bottom: 8px;
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-card-img {
  height: 320px;
  background: linear-gradient(135deg, #1a1a1a, #444);
  border-radius: 10px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  overflow: hidden;
}
.hero-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-card-spec strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 600;
}
.hero-card-spec span { font-size: .8rem; color: var(--c-text-secondary); }

/* ── Series cards (index page) ── */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.series-card {
  padding: 40px 28px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: #fff;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.series-card:hover {
  border-color: var(--c-text);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}
.series-card-num {
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--c-text-secondary);
  letter-spacing: .15em;
  margin-bottom: 16px;
}
.series-card-emoji { font-size: 3.5rem; margin-bottom: 16px; line-height: 1; }
.series-card-img {
  aspect-ratio: 16/9;
  background: #f5f5f4;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.series-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
}
.series-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.series-card-subtitle {
  color: var(--c-text-secondary);
  font-size: .85rem;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.series-card-desc {
  color: var(--c-text-secondary);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}
.series-card-link {
  color: var(--c-highlight);
  font-size: .85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.series-card-link:hover { gap: 10px; }

/* ── Products list page ── */
.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--c-text); }
.filter-btn.active {
  background: var(--c-text);
  color: #fff;
  border-color: var(--c-text);
}

.series-section {
  padding-top: 64px;
  padding-bottom: 32px;
  border-top: 1px solid var(--c-border);
}
.series-section:first-of-type { border-top: none; padding-top: 0; }
.series-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.series-section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}
.series-section-subtitle {
  color: var(--c-text-secondary);
  font-size: .9rem;
  margin-top: 4px;
}
.series-section-count {
  background: var(--c-surface);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--c-text-secondary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-item {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  transition: all .3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-item:hover {
  border-color: var(--c-text);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.product-item-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f5f5f4, #e8e8e6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin-bottom: 20px;
}
.product-item-model {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--c-highlight);
  margin-bottom: 4px;
}
.product-item-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}
.product-item-desc {
  color: var(--c-text-secondary);
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
}
.product-item-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.product-item-tag {
  font-size: .72rem;
  padding: 3px 10px;
  background: var(--c-surface);
  border-radius: 999px;
  color: var(--c-text-secondary);
}

/* ── Product Detail ── */
.detail-breadcrumb {
  padding: 100px 48px 24px;
  background: var(--c-surface);
  font-size: .85rem;
  color: var(--c-text-secondary);
}
.detail-breadcrumb a:hover { color: var(--c-text); }
.detail-breadcrumb span { margin: 0 10px; color: var(--c-border); }

.detail {
  padding: 60px 48px 80px;
  background: var(--c-surface);
}
.detail-inner { max-width: var(--max-w); margin: 0 auto; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.detail-img {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f5f5f4, #e8e8e6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}
.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* ── Detail Gallery (多图) ── */
.detail-gallery { display: flex; flex-direction: column; gap: 16px; }
.detail-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-thumb {
  width: 84px;
  height: 84px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--c-surface);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s ease, transform .15s ease;
}
.detail-thumb:hover { border-color: var(--c-border); transform: translateY(-1px); }
.detail-thumb.active { border-color: var(--c-text); }
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Product Card Image ── */
.product-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
}
.detail-info-tag {
  color: var(--c-highlight);
  font-size: .8rem;
  letter-spacing: .2em;
  margin-bottom: 12px;
}
.detail-info-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.detail-info-model {
  color: var(--c-text-secondary);
  font-size: .95rem;
  letter-spacing: .12em;
  margin-bottom: 20px;
}
.detail-info-desc {
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-border);
}
.detail-info-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.detail-specs {
  padding: 60px 48px;
}
.detail-specs-inner { max-width: var(--max-w); margin: 0 auto; }
.detail-specs-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-text);
}
.detail-specs-table {
  display: grid;
  grid-template-columns: 200px 1fr;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
}
.detail-specs-row {
  display: contents;
}
.detail-specs-row > * {
  padding: 16px 24px;
  border-bottom: 1px solid var(--c-border);
}
.detail-specs-row:last-child > * { border-bottom: none; }
.detail-specs-key {
  background: var(--c-surface);
  font-weight: 600;
  font-size: .9rem;
  color: var(--c-text-secondary);
  border-right: 1px solid var(--c-border);
}
.detail-specs-value {
  font-size: .95rem;
}

/* 产品简介版块 */
.detail-intro {
  padding: 60px 48px;
  background: #fff;
  border-top: 1px solid var(--c-border);
}
.detail-intro-inner { max-width: var(--max-w); margin: 0 auto; }
.detail-intro-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--c-text);
  max-width: 900px;
  margin-top: 8px;
}
.detail-intro-lead {
  font-size: 1.1rem;
  color: var(--c-text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}
.detail-intro-block { margin-top: 36px; }
.detail-intro-subtitle {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--c-highlight);
}

.detail-related {
  padding: 80px 48px;
  background: var(--c-surface);
}
.detail-related-inner { max-width: var(--max-w); margin: 0 auto; }
.detail-related-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
}

/* ── Contact page ── */
.contact-page {
  padding: 140px 48px 80px;
}
.contact-page-inner { max-width: var(--max-w); margin: 0 auto; }
.contact-page-header { margin-bottom: 60px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-card {
  padding: 36px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.contact-info-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  background: var(--c-surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: .8rem;
  color: var(--c-text-secondary);
  letter-spacing: .15em;
  margin-bottom: 8px;
}
.contact-info-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
}
.contact-info-value.small {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
}

.contact-form {
  background: var(--c-surface);
  border-radius: 16px;
  padding: 40px;
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.contact-form p {
  color: var(--c-text-secondary);
  font-size: .9rem;
  margin-bottom: 28px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--c-text);
}
.form-row textarea { resize: vertical; min-height: 120px; }

/* ── Page hero (sub-pages) ── */
.page-hero {
  padding: 140px 48px 60px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(37,99,235,.05), transparent 70%),
    var(--c-bg);
  text-align: center;
}
.page-hero-eyebrow {
  color: var(--c-highlight);
  font-size: .8rem;
  letter-spacing: .25em;
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero-desc {
  color: var(--c-text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Case / Stats ── */
.stats {
  padding: 80px 48px;
  background: var(--c-dark);
  color: #fff;
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stats-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.stats-label {
  color: #999;
  font-size: .85rem;
  letter-spacing: .12em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .section, .hero, .page-hero, .footer, .contact-page,
  .detail, .detail-specs, .detail-related, .detail-breadcrumb, .stats {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .series-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .series-grid, .stats-grid, .footer-inner { grid-template-columns: 1fr; }
  .detail-grid { padding: 24px; }
}
