/* ============================================================
   seo-shared.css - SEO产品页面共享样式（全15页兼容版）
   武汉寒玉科技有限公司
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333; background: #fff; line-height: 1.8; -webkit-font-smoothing: antialiased;
}
a { color: #2e7d32; text-decoration: none; transition: color .2s; }
a:hover { color: #1b5e20; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; color: #1b5e20; }
/* Hero headings must be white */
.hero-banner h1, .hero h1 { color: #fff !important; }
.hero-banner h2, .hero h2 { color: #fff; }

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

/* --- Breadcrumb --- */
.breadcrumb { background: #f1f8e9; padding: 12px 0; font-size: 14px; border-bottom: 1px solid #e0e0e0; }
.breadcrumb .container,
.breadcrumb > div { max-width: 1200px; margin: 0 auto; }
.breadcrumb a { color: #558b2f; }
.breadcrumb span { color: #888; margin: 0 8px; }
.breadcrumb .current { color: #2e7d32; font-weight: 600; }
/* Group C uses <ol><li> breadcrumb */
.breadcrumb ol { display: flex; align-items: center; gap: 0; max-width: 1200px; margin: 0 auto; padding: 0; }
.breadcrumb ol li { list-style: none; }
.breadcrumb ol li::after { content: ' > '; color: #888; margin: 0 6px; }
.breadcrumb ol li:last-child::after { content: ''; }
.breadcrumb ol li a { color: #558b2f; }
.breadcrumb ol li[aria-current="page"] { color: #2e7d32; font-weight: 600; }

/* --- Header / Navigation --- */
.site-header {
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1400px; margin: 0 auto; }

/* Logo - Group A & C */
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #2e7d32; white-space: nowrap; text-decoration: none; }
.logo:hover { color: #1b5e20; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #2e7d32, #66bb6a); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; flex-shrink: 0; }
/* Logo - Group B */
.header-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #2e7d32; white-space: nowrap; text-decoration: none; }
.header-logo:hover { color: #1b5e20; }
.header-logo span { color: #66bb6a; font-size: 14px; letter-spacing: 1px; }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: #2e7d32; cursor: pointer; }

/* Navigation - Group A & C */
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
/* Navigation - Group B */
.header-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }

.main-nav a, .header-nav a {
  font-size: 13px; padding: 6px 10px; border-radius: 4px; color: #555;
  white-space: nowrap; transition: all .2s; text-decoration: none;
}
.main-nav a:hover, .header-nav a:hover { background: #e8f5e9; color: #2e7d32; }
.main-nav a.active, .header-nav a.active { background: #2e7d32; color: #fff; font-weight: 600; }

/* --- Hero Banner --- */
/* Group A & C: .hero-banner */
.hero-banner {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 40%, #43a047 100%);
  color: #fff; padding: 60px 20px; text-align: center; position: relative; overflow: hidden;
}
.hero-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-banner h1, .hero h1 { font-size: 36px; margin-bottom: 16px; position: relative; z-index: 1; text-shadow: 0 2px 4px rgba(0,0,0,.2); }
.hero-banner .hero-subtitle { font-size: 18px; margin-bottom: 24px; opacity: .95; position: relative; z-index: 1; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.hero-badge, .company-badge {
  display: inline-block; background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3); padding: 8px 24px; border-radius: 50px;
  font-size: 14px; position: relative; z-index: 1; color: #a5d6a7;
}
.hero-badge strong, .company-badge strong { color: #fff; font-weight: 700; }

/* Group B: .hero (alias) */
.hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 40%, #43a047 100%);
  color: #fff; padding: 60px 20px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
}
.hero .subtitle { font-size: 18px; margin-bottom: 24px; opacity: .95; position: relative; z-index: 1; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* --- Section Common --- */
.section { padding: 60px 20px; }
.section-alt { background: #f9fbe7; }
.section-title { text-align: center; font-size: 30px; margin-bottom: 12px; }
.section-subtitle, .section-desc { text-align: center; font-size: 16px; color: #666; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Group C: section wrappers without .section */
.features-section, .advantages-section, .scenarios-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.advantages-section { background: #f9fbe7; max-width: 100%; padding-left: 20px; padding-right: 20px; }
.scenarios-section { background: #fff; }
.features-section h2, .advantages-section h2, .scenarios-section h2 { text-align: center; font-size: 30px; margin-bottom: 12px; }
/* Group C: company-section without container */
.company-section > h2, .company-section > p { max-width: 900px; margin-left: auto; margin-right: auto; display: block; }
.company-section > h2 { text-align: center; font-size: 28px; margin-bottom: 20px; color: #1b5e20; }
.company-section > p { text-align: center; font-size: 15px; color: #555; line-height: 2; margin-bottom: 16px; }
.company-section .company-tags, .company-section .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; max-width: 900px; margin-left: auto; margin-right: auto; }
.company-section .company-tags span, .company-section .tag, .company-section .tags span {
  display: inline-block; background: #fff; border: 1px solid #c8e6c9; color: #2e7d32;
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 500;
}
/* Group C: .cta-button alias */
.cta-button {
  display: inline-block; background: linear-gradient(135deg, #2e7d32, #43a047); color: #fff;
  padding: 14px 48px; border-radius: 50px; font-size: 16px; font-weight: 600;
  box-shadow: 0 4px 15px rgba(46,125,50,.3); transition: all .3s; border: none; cursor: pointer; text-decoration: none;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,125,50,.4); color: #fff; }
/* Group C: .footer-company */
.footer-company { }
.footer-company h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.footer-company p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }

/* --- Feature Cards --- */
/* Groups A & C */
.features-grid, .feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Group B */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card {
  background: #fff; border-radius: 12px; padding: 32px 24px; box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 1px solid #e8f5e9; transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(46,125,50,.12); }

/* Group A & C: .feature-icon as emoji span */
.feature-icon { font-size: 36px; margin-bottom: 16px; display: block; }
/* Group B: .card-icon as div */
.card-icon {
  width: 52px; height: 52px; background: #e8f5e9; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 26px; flex-shrink: 0;
}

.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: #2e7d32; }
.feature-card p { font-size: 14px; color: #666; line-height: 1.8; }

/* --- Product Full-width Image --- */
.product-banner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.product-banner img {
  width: 100%; height: auto; display: block;
}

/* --- Advantages --- */
/* Groups A & C */
.advantages-list, .advantage-items { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
/* Group B */
.advantage-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

.advantage-item { display: flex; align-items: flex-start; gap: 20px; padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
/* Group B wraps text in .advantage-text */
.advantage-text { flex: 1; }
/* Group A & C: text is in bare div */
.advantage-item > div { flex: 1; }

/* Number circles */
/* Number circles (fallback when no img inside) */
.advantage-num, .advantage-number {
  flex-shrink: 0; width: 140px; height: 100px; border-radius: 10px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  overflow: hidden;
}
.advantage-num img, .advantage-number img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block;
}
/* If advantage-num contains text (no img), show as circle */
.advantage-num:has(> img), .advantage-number:has(> img) {
  width: 140px; height: 100px; border-radius: 10px;
  background: none;
}
.advantage-num:not(:has(> img)), .advantage-number:not(:has(> img)) {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
  color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.advantage-item h4 { font-size: 18px; margin-bottom: 8px; color: #1b5e20; }
.advantage-item p { font-size: 14px; color: #666; line-height: 1.8; }

/* --- Scenarios --- */
.scenarios-grid, .scenario-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.scenario-card {
  padding: 24px; background: #fff; border-left: 4px solid #43a047; border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: transform .2s;
}
.scenario-card:hover { transform: translateX(4px); }
.scenario-card h3, .scenario-card h4 { font-size: 18px; margin-bottom: 10px; color: #2e7d32; }
.scenario-card p { font-size: 14px; color: #666; line-height: 1.8; }

/* --- Stats Bar --- */
.stats-bar { background: linear-gradient(135deg, #1b5e20, #2e7d32); color: #fff; padding: 50px 20px; }

/* Groups A & C */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; max-width: 1000px; margin: 0 auto; }
.stat-item { padding: 16px; }
.stat-number { font-size: 42px; font-weight: 700; display: block; margin-bottom: 8px; color: #a5d6a7; }
.stat-label { font-size: 14px; opacity: .85; }

/* Group C: stat-item directly in stats-bar (no grid wrapper) */
.stats-bar:has(> .stat-item) {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; max-width: 1000px; margin: 0 auto; padding: 50px 20px; background: linear-gradient(135deg, #1b5e20, #2e7d32); color: #fff;
}
.stats-bar:has(> .stat-item) > .stat-item { padding: 16px; }

/* Group B */
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; max-width: 1000px; margin: 0 auto; }
.stat-num { font-size: 42px; font-weight: 700; display: block; margin-bottom: 8px; color: #a5d6a7; }

/* --- Company Section --- */
.company-section { background: #f1f8e9; padding: 60px 20px; }

/* Groups A & C: .company-content */
.company-content { max-width: 900px; margin: 0 auto; text-align: center; }
.company-content h2 { font-size: 28px; margin-bottom: 20px; color: #1b5e20; }
.company-content p { font-size: 15px; color: #555; line-height: 2; margin-bottom: 16px; }
.company-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.company-tag {
  display: inline-block; background: #fff; border: 1px solid #c8e6c9; color: #2e7d32;
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 500;
}

/* Group B: .company-card */
.company-card {
  max-width: 900px; margin: 0 auto; background: #fff; border-radius: 16px;
  padding: 48px 40px; box-shadow: 0 8px 40px rgba(0,0,0,.08); text-align: center; border: 1px solid #c8e6c9;
}
.company-card h2 { font-size: 28px; margin-bottom: 20px; color: #1b5e20; }
.company-card p { font-size: 15px; color: #555; line-height: 2; margin-bottom: 16px; }
.company-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.company-features span {
  display: inline-block; background: #e8f5e9; border: 1px solid #c8e6c9; color: #2e7d32;
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 500;
}

/* --- FAQ Section --- */
.faq-section { background: #fff; padding: 60px 20px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e8f5e9; padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-size: 17px; font-weight: 600; color: #1b5e20; margin-bottom: 10px; cursor: default; }
.faq-question::before { content: 'Q'; display: inline-block; background: #2e7d32; color: #fff; width: 24px; height: 24px; border-radius: 50%; text-align: center; font-size: 13px; margin-right: 10px; line-height: 24px; }
.faq-answer { font-size: 15px; color: #555; line-height: 1.9; padding-left: 34px; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9); padding: 60px 20px; text-align: center;
}
.cta-section h2 { font-size: 28px; margin-bottom: 16px; color: #1b5e20; }
.cta-section p { font-size: 16px; color: #555; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btn {
  display: inline-block; background: linear-gradient(135deg, #2e7d32, #43a047); color: #fff;
  padding: 14px 48px; border-radius: 50px; font-size: 16px; font-weight: 600;
  box-shadow: 0 4px 15px rgba(46,125,50,.3); transition: all .3s; border: none; cursor: pointer; text-decoration: none;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,125,50,.4); color: #fff; }
.cta-phone { display: block; margin-top: 16px; font-size: 20px; color: #2e7d32; font-weight: 700; }

/* --- Internal Links --- */
.internal-links { background: #f5f5f5; padding: 40px 20px; border-top: 1px solid #e0e0e0; }
.internal-links h3 { text-align: center; font-size: 20px; margin-bottom: 24px; color: #1b5e20; }
.links-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.links-grid a {
  display: inline-block; padding: 8px 18px; background: #fff; border: 1px solid #c8e6c9;
  border-radius: 6px; font-size: 13px; color: #2e7d32; transition: all .2s;
}
.links-grid a:hover { background: #e8f5e9; border-color: #2e7d32; }

/* --- Footer --- */
.site-footer { background: #1b3a1b; color: #c8e6c9; padding: 48px 20px 24px; }

/* Groups A & C: .footer-grid */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-about h4, .footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-about p { font-size: 14px; line-height: 1.8; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: #a5d6a7; font-size: 13px; transition: color .2s; }
.footer-links ul li a:hover { color: #fff; }

/* Group B: .footer-inner */
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #a5d6a7; font-size: 13px; transition: color .2s; text-decoration: none; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 13px; color: #81c784; }

/* --- Scenario grid in company section for some pages --- */
.company-section .scenario-grid { margin-top: 24px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid, .feature-cards, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scenarios-grid, .scenario-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-banner h1, .hero h1 { font-size: 24px; }
  .hero-banner .hero-subtitle, .hero .subtitle { font-size: 16px; }
  .section-title { font-size: 24px; }
  .features-grid, .feature-cards, .feature-grid { grid-template-columns: 1fr; }
  .scenarios-grid, .scenario-cards { grid-template-columns: 1fr; }
  .stats-grid, .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar:has(> .stat-item) { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .footer-inner { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .main-nav, .header-nav { display: none; flex-direction: column; width: 100%; padding: 12px 0; }
  .main-nav.open, .header-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .company-card { padding: 32px 20px; }
  .advantage-item { flex-direction: column; gap: 12px; }
}