/* ============================================================
   智客星球 · AI健康生活平台 - 官网样式表
   设计理念：科技感 · 健康生活 · 简洁专业
   严格遵循 SEO/GEO 语义化标准
   ============================================================ */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #2c3e50;
  background: #ffffff;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: #004999; }

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

ul, ol { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #1a2a3a;
}

.section-subtitle {
  font-size: 1.05rem;
  text-align: center;
  color: #6b7a8a;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.site-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a2a3a;
  letter-spacing: 0.5px;
}

.site-logo .logo-text span {
  color: #00a87e;
}

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

.main-nav a {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a5a6a;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: #00a87e;
  background: rgba(0,168,126,0.06);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #00a87e;
  border-radius: 2px;
}

/* ---------- Admin Lock Icon ---------- */
.admin-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #b0c0d0;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-left: 4px;
}

.admin-lock:hover {
  color: #00a87e;
  background: rgba(0,168,126,0.08);
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, #f5f9fc 0%, #eaf4f0 100%);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid #e8ecf0;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: #6b7a8a;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1a2a3a;
  color: #c8d0d8;
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #a0b0c0;
}

.footer-brand .footer-qr {
  margin-top: 1rem;
  width: 110px;
  height: 110px;
  background: #2a3a4a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-brand .footer-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand .qr-label {
  font-size: 0.8rem;
  color: #a0b0c0;
  margin-top: 0.4rem;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: #a0b0c0;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-links a:hover { color: #ffffff; }

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #a0b0c0;
}

.footer-contact a {
  color: #a0b0c0;
}

.footer-contact a:hover { color: #ffffff; }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1.5rem 24px 0;
  border-top: 1px solid #2a3a4a;
  text-align: center;
  font-size: 0.85rem;
  color: #8a9aaa;
}

.footer-bottom a {
  color: #8a9aaa;
}

.footer-bottom a:hover { color: #ffffff; }

/* ---------- Home Page ---------- */
.home-hero {
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f5f0 50%, #f5f9fc 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}

.home-hero .hero-tag {
  display: inline-block;
  background: rgba(0,168,126,0.1);
  color: #00a87e;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.home-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a2a3a;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero h1 span {
  color: #00a87e;
}

.home-hero .hero-desc {
  font-size: 1.1rem;
  color: #5a6a7a;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
}

.home-hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto 0;
  max-width: 700px;
}

.home-hero .hero-meta .meta-item {
  background: #ffffff;
  border: 1px solid #e0e8ee;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: #4a5a6a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.home-hero .hero-statement {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(0,168,126,0.06);
  border-radius: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero .hero-statement p {
  font-size: 0.95rem;
  color: #3a5a4a;
  line-height: 1.7;
}

.home-hero .hero-statement .highlight {
  font-size: 1.05rem;
  font-weight: 600;
  color: #00a87e;
}

.home-hero .hero-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.home-hero .hero-keywords .kw {
  background: #ffffff;
  border: 1px solid #d0dce8;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: #4a6a5a;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 24px 0;
  font-size: 0.85rem;
  color: #8a9aaa;
}

.breadcrumb a {
  color: #6b7a8a;
}

.breadcrumb a:hover { color: #00a87e; }

.breadcrumb .sep {
  margin: 0 8px;
  color: #b0c0d0;
}

/* ---------- Page Content ---------- */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 24px 4rem;
}

.page-content.wide {
  max-width: 100%;
}

/* ---------- About Page ---------- */
.about-section {
  margin-bottom: 3rem;
}

.about-section:last-child { margin-bottom: 0; }

.about-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #00a87e;
  display: inline-block;
}

.about-section p {
  color: #4a5a6a;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.info-table th,
.info-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e8ee;
  text-align: left;
  font-size: 0.95rem;
}

.info-table th {
  background: #f5f9fc;
  font-weight: 600;
  color: #1a2a3a;
  width: 160px;
}

.info-table td {
  color: #4a5a6a;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 1.5rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d0dce8;
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00a87e;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #00a87e;
}

.timeline-item .year {
  font-weight: 700;
  color: #00a87e;
  font-size: 1rem;
}

.timeline-item .desc {
  color: #4a5a6a;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* ---------- Qualification Page ---------- */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.qual-item {
  border: 1px solid #e0e8ee;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.3s;
}

.qual-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.qual-item .qual-image {
  width: 100%;
  height: 200px;
  background: #f5f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0c0d0;
  font-size: 0.9rem;
}

.qual-item .qual-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.qual-item .qual-name {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2c3e50;
  text-align: center;
  border-top: 1px solid #f0f4f8;
}

.qual-placeholder {
  border: 2px dashed #d0dce8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #a0b0c0;
  font-size: 0.9rem;
  background: #fafcfd;
}

/* ---------- Products Page ---------- */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid #e0e8ee;
  margin-bottom: 2rem;
}

.product-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5a6a7a;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  white-space: nowrap;
}

.product-tab:hover {
  color: #00a87e;
  background: rgba(0,168,126,0.04);
}

.product-tab.active {
  color: #00a87e;
  border-bottom-color: #00a87e;
}

.product-panel {
  display: none;
}

.product-panel.active {
  display: block;
}

.product-panel .panel-intro {
  font-size: 1.05rem;
  color: #4a5a6a;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: #f5f9fc;
  border-radius: 8px;
  border-left: 4px solid #00a87e;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  border: 1px solid #e0e8ee;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-card .product-image {
  width: 100%;
  height: 200px;
  background: #f8fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0c0d0;
  font-size: 0.9rem;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-card .product-info {
  padding: 1rem 1.25rem;
}

.product-card .product-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2a3a;
  margin-bottom: 0.5rem;
}

.product-card .product-info .model {
  font-size: 0.8rem;
  color: #8a9aaa;
  margin-bottom: 0.4rem;
}

.product-card .product-info p {
  font-size: 0.9rem;
  color: #5a6a7a;
  line-height: 1.6;
}

.product-more {
  text-align: center;
  padding: 2rem 0 1rem;
  font-size: 1rem;
  color: #6b7a8a;
  border-top: 1px solid #e8ecf0;
  margin-top: 1.5rem;
}

.product-more .address {
  display: block;
  font-size: 0.9rem;
  color: #8a9aaa;
  margin-top: 0.3rem;
}

/* ---------- Solutions Page ---------- */
.solution-block {
  margin-bottom: 3rem;
}

.solution-block:last-child { margin-bottom: 0; }

.solution-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #00a87e;
  display: inline-block;
}

.scene-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.scene-card {
  border: 1px solid #e0e8ee;
  border-radius: 10px;
  padding: 1.5rem;
  background: #ffffff;
  transition: box-shadow 0.3s;
}

.scene-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.scene-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a2a3a;
  margin-bottom: 0.75rem;
}

.scene-card h3 .icon {
  margin-right: 0.5rem;
}

.scene-card p {
  font-size: 0.9rem;
  color: #5a6a7a;
  line-height: 1.7;
}

.process-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-item {
  counter-increment: step;
  border: 1px solid #e0e8ee;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  background: #ffffff;
}

.process-item::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00a87e;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.process-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2a3a;
  margin-bottom: 0.4rem;
}

.process-item p {
  font-size: 0.85rem;
  color: #6b7a8a;
  line-height: 1.5;
}

.guarantee-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.guarantee-item {
  border: 1px solid #e0e8ee;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  background: #f8fafb;
}

.guarantee-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a2a3a;
  margin-bottom: 0.4rem;
}

.guarantee-item p {
  font-size: 0.9rem;
  color: #5a6a7a;
  line-height: 1.6;
}

/* ---------- News / FAQ List ---------- */
.category-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e8ee;
  margin-bottom: 2rem;
}

.cat-tab {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5a6a7a;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.cat-tab:hover { color: #00a87e; }

.cat-tab.active {
  color: #00a87e;
  border-bottom-color: #00a87e;
}

/* ---------- Article List ---------- */
.article-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: none;
}

.article-link:hover {
  color: inherit;
}

.article-list { }

.article-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.2s;
  border-radius: 8px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin: 0 -0.75rem;
}

.article-item:last-child { border-bottom: none; }

.article-link:hover .article-item {
  background: #f0f7f4;
}

.article-item .article-thumb {
  width: 160px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f0f4f8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-item .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-item .article-body { flex: 1; }

.article-item .article-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2a3a;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.article-item .article-body .meta {
  font-size: 0.8rem;
  color: #8a9aaa;
  margin-bottom: 0.5rem;
}

.article-item .article-body .summary {
  font-size: 0.9rem;
  color: #5a6a7a;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Article Detail ---------- */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-detail .article-header {
  margin-bottom: 2rem;
  text-align: center;
}

.article-detail .article-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a2a3a;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.article-detail .article-header .meta {
  font-size: 0.85rem;
  color: #8a9aaa;
}

.article-detail .article-body-content {
  font-size: 1rem;
  color: #3a4a5a;
  line-height: 1.9;
}

.article-detail .article-body-content p {
  margin-bottom: 1.25rem;
}

.article-detail .article-body-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: #1a2a3a;
}

.article-detail .article-body-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #2c3e50;
}

/* ---------- FAQ Detail ---------- */
.faq-detail {
  max-width: 800px;
  margin: 0 auto;
}

.faq-detail .faq-q {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2a3a;
  padding: 1.5rem;
  background: #f5f9fc;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid #00a87e;
}

.faq-detail .faq-a {
  font-size: 1rem;
  color: #3a4a5a;
  line-height: 1.9;
}

.faq-detail .faq-a p {
  margin-bottom: 1rem;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-block {
  padding: 2rem;
  background: #f5f9fc;
  border-radius: 10px;
}

.contact-info-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 1.5rem;
}

.contact-info-block .info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-info-block .info-item .label {
  font-weight: 600;
  color: #1a2a3a;
  min-width: 70px;
  flex-shrink: 0;
}

.contact-info-block .info-item .value {
  color: #4a5a6a;
}

.contact-map-placeholder {
  background: #f0f4f8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #8a9aaa;
  font-size: 0.9rem;
  border: 1px solid #e0e8ee;
}

/* ---------- Contact Map Embed ---------- */
.contact-map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e8ee;
  background: #f8fafb;
}

.contact-map-wrap iframe {
  display: block;
}

.map-fallback {
  padding: 0.6rem 1rem;
  text-align: center;
  background: #f5f9fc;
  border-top: 1px solid #e0e8ee;
  font-size: 0.85rem;
}

.map-fallback a {
  color: #00a87e;
  font-weight: 500;
}

.map-fallback a:hover {
  color: #008c68;
}

/* ---------- Privacy Page ---------- */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2a3a;
  margin: 2rem 0 1rem;
}

.privacy-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 1.5rem 0 0.75rem;
}

.privacy-content p {
  margin-bottom: 1rem;
  color: #4a5a6a;
  line-height: 1.8;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content ul li {
  margin-bottom: 0.4rem;
  color: #4a5a6a;
  line-height: 1.7;
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #8a9aaa;
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-cards { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
  }
  
  .main-nav {
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }
  
  .main-nav a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  
  .home-hero { padding: 3rem 0 2.5rem; }
  .home-hero h1 { font-size: 1.8rem; }
  .home-hero .hero-meta { flex-direction: column; align-items: center; }
  
  .page-hero { padding: 2rem 0; }
  .page-hero h1 { font-size: 1.6rem; }
  
  .product-grid,
  .scene-cards { grid-template-columns: 1fr; }
  
  .process-list { grid-template-columns: 1fr 1fr; }
  
  .guarantee-list { grid-template-columns: 1fr; }
  
  .contact-grid { grid-template-columns: 1fr; }
  
  .footer-inner { grid-template-columns: 1fr; }
  
  .article-item { flex-direction: column; }
  .article-item .article-thumb { width: 100%; height: 180px; }
  
  .product-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .product-tab { white-space: nowrap; }
  
  .category-tabs { overflow-x: auto; flex-wrap: nowrap; }
}

/* ---------- Lightbox 图片放大预览 ---------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: fadeIn 0.25s ease;
}

.lightbox-img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.2rem;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 可点击预览的图片加光标提示 */
[data-lightbox] {
  cursor: zoom-in;
  transition: opacity 0.2s;
}

[data-lightbox]:hover {
  opacity: 0.85;
}
