/* ============================================
   育财会计品牌官网 - 全站样式表
   主色调：信赖蓝 #1565FF + 活力橙 #FF6B35
   ============================================ */

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

:root {
  /* Brand Colors */
  --primary: #1565FF;
  --primary-dark: #0944B5;
  --primary-light: #E8F1FF;
  --primary-lighter: #F0F6FF;
  --accent: #FF6B35;
  --accent-dark: #E55525;
  --accent-light: #FFF3ED;
  --success: #00B894;
  --warning: #FFB800;

  /* Neutral Colors */
  --dark: #1A2332;
  --dark-2: #2D3A4F;
  --text-dark: #1A2332;
  --text-medium: #556677;
  --text-light: #8A99A8;
  --bg: #F7F9FC;
  --bg-alt: #EEF2F8;
  --white: #FFFFFF;
  --border: #E4EAF1;
  --border-light: #F0F3F7;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(26, 35, 50, 0.06);
  --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.08);
  --shadow-md: 0 6px 24px rgba(26, 35, 50, 0.10);
  --shadow-lg: 0 12px 48px rgba(26, 35, 50, 0.14);
  --shadow-primary: 0 8px 24px rgba(21, 101, 255, 0.25);
  --shadow-accent: 0 8px 24px rgba(255, 107, 53, 0.25);

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1200px;
  --header-h: 72px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

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

ul, ol {
  list-style: none;
}

/* ===== Chinese Typography Optimization ===== */
/* Prevent single-character orphan lines (孤字问题) */
p, h1, h2, h3, h4, h5, h6, li, span, a, td, th, div,
.section-subtitle, .hero-desc, .page-hero-desc, .feature-block-desc,
.cta-desc, .advantage-desc, .product-card-desc, .news-card-desc,
.news-list-item-desc, .faq-answer-inner, .news-detail-content,
.legal-content, .footer-brand-desc, .timeline-desc,
.feature-list-item .text, .contact-info-value, .contact-method-desc,
.sidebar-news-item .text, .stat-label, .hero-stat-label,
.product-card-feature, .footer-contact-item, .footer-links a,
.news-detail-tags a, .news-detail-nav a, .breadcrumb a,
.testimonial-text, .service-flow-desc, .advantage-stat-label,
.hero-img-overlay-text, .footer-qr-label, .contact-method-title,
.contact-method-link, .tag-label, .hero-badge,
.product-detail-desc, .product-detail-feature,
.product-detail-meta-label, .product-detail-meta-value,
.product-detail-title, .audience-name, .product-detail-tag,
.benefit-title, .benefit-desc, .audience-title, .audience-desc,
.audience-tag, .service-flow-title, .sidebar-contact-item .label,
.sidebar-contact-item .value, .testimonial-name, .testimonial-course {
  word-break: normal;
  overflow-wrap: break-word;
}

/* Balance heading lines for better visual rhythm */
h1, h2, h3, h4, h5, h6,
.section-title, .page-hero-title, .hero-title,
.feature-block-title, .cta-title,
.news-detail-title, .news-card-title, .news-list-item-title,
.product-card-title, .product-detail-title, .advantage-title, .faq-question,
.timeline-year, .timeline-title, .sidebar-title,
.footer-col-title, .contact-info-value, .legal-content h2,
.news-detail-content h2, .news-detail-content h3,
.contact-method-title, .service-flow-step-title,
.benefit-title, .audience-title, .service-flow-title {
  text-wrap: balance;
}

/* Optimize paragraph line breaking (modern browsers) */
p, .news-detail-content, .legal-content, .faq-answer-inner,
.feature-block-desc, .hero-desc, .page-hero-desc, .section-subtitle,
.cta-desc, .footer-brand-desc, .advantage-desc, .product-card-desc,
.product-detail-desc, .news-card-desc, .news-list-item-desc,
.timeline-desc, .testimonial-text, .service-flow-desc,
.contact-method-desc, .benefit-desc, .audience-desc {
  text-wrap: pretty;
}

/* ===== Layout Utilities ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-bg {
  background: var(--bg);
}

.section-bg-alt {
  background: var(--bg-alt);
}

.section-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-medium { color: var(--text-medium); }
.text-light { color: var(--text-light); }
.font-bold { font-weight: 700; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-tag.accent {
  background: var(--accent-light);
  color: var(--accent);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 2px;
  line-height: 1.4;
}

.section-title.white {
  color: var(--white);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-medium);
  margin-top: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.section-divider {
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 20px auto 0;
}

.section-divider.accent {
  background: var(--accent);
}

.section-divider.white {
  background: var(--white);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-light);
}

.header-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.logo-text .logo-accent {
  color: var(--primary);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-lighter);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero (Homepage) ===== */
.hero {
  position: relative;
  min-height: 600px;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0944B5 0%, #1565FF 50%, #2877FF 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num .unit {
  font-size: 18px;
  font-weight: 600;
}

.hero-stat-label {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.hero-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: center;
}

.hero-card-form .form-group {
  margin-bottom: 16px;
}

.hero-card-form .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--transition-fast);
}

.hero-card-form .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.hero-card-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-light);
}

.hero-card-trust .check {
  color: var(--success);
}

/* ===== Page Hero (Secondary Pages) ===== */
.page-hero {
  position: relative;
  padding: 120px 0 64px;
  background: linear-gradient(135deg, #0944B5 0%, #1565FF 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.page-hero-content {
  color: var(--white);
}

.page-hero-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.page-hero-desc {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.88;
  max-width: 480px;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 24px;
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero-breadcrumb a:hover {
  color: var(--white);
}

.page-hero-visual {
  position: relative;
}

.page-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== Stats Section ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: -48px;
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--border);
}

.stat-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-num .unit {
  font-size: 20px;
  font-weight: 600;
}

.stat-label {
  font-size: 14px;
  color: var(--text-medium);
  margin-top: 8px;
}

/* ===== Product Cards ===== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}

.product-card-body {
  padding: 24px;
}

.product-card-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.product-card-tag.exam {
  background: var(--primary-light);
  color: var(--primary);
}

.product-card-tag.practice {
  background: var(--accent-light);
  color: var(--accent);
}

.product-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-card-feature {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-medium);
}

.product-card-feature svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-card-price .currency {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.product-card-price .amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.product-card-price .period {
  font-size: 13px;
  color: var(--text-light);
}

/* ===== Advantage Cards ===== */
.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  height: 100%;
}

.advantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--primary-light);
}

.advantage-icon.accent {
  background: var(--accent-light);
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
}

.advantage-icon.primary svg {
  color: var(--primary);
}

.advantage-icon.accent svg {
  color: var(--accent);
}

.advantage-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ===== Feature Block (Image + Text) ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-block-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.feature-block-content .section-tag {
  margin-bottom: 16px;
}

.feature-block-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.feature-block-desc {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.9;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list-item .check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 2px;
}

.feature-list-item .check-icon svg {
  width: 14px;
  height: 14px;
}

.feature-list-item .text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.7;
}

.feature-list-item .text strong {
  font-weight: 600;
}

/* ===== News Cards ===== */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}

.news-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-light);
}

/* ===== News List Page ===== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-list-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.news-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.news-list-item-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.news-list-item-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}

.news-list-item-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}

.news-list-item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-list-item-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.8;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-medium);
  transition: var(--transition-fast);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===== News Detail ===== */
.news-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.news-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.news-detail-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.news-detail-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.news-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 16px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-light);
}

.news-detail-content {
  font-size: 15px;
  line-height: 2;
  color: var(--text-dark);
}

.news-detail-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--text-dark);
}

.news-detail-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text-dark);
}

.news-detail-content p {
  margin-bottom: 18px;
}

.news-detail-content ul,
.news-detail-content ol {
  margin: 16px 0 16px 20px;
}

.news-detail-content ul li,
.news-detail-content ol li {
  margin-bottom: 8px;
  list-style: disc;
}

.news-detail-content ol li {
  list-style: decimal;
}

.news-detail-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}

.news-detail-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  background: var(--primary-lighter);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-medium);
}

.news-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.news-detail-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.news-detail-nav a {
  color: var(--text-medium);
}

.news-detail-nav a:hover {
  color: var(--primary);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}

.sidebar-news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.sidebar-news-item .num {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  flex-shrink: 0;
  width: 24px;
}

.sidebar-news-item .text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-news-item:hover .text {
  color: var(--primary);
}

/* ===== FAQ ===== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-category {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.faq-category-btn {
  padding: 8px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--white);
}

.faq-category-btn:hover,
.faq-category-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-question .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question .icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-question .icon svg {
  width: 16px;
  height: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.9;
}

/* ===== Pricing Table ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.pricing-table th {
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.pricing-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

.pricing-table tbody tr:hover {
  background: var(--primary-lighter);
}

.pricing-table .price-cell {
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
}

.pricing-table .tag-cell {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 48px 0;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 48px 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  right: -8px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(even)::before {
  right: auto;
  left: -8px;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.timeline-year {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius);
  color: var(--primary);
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-label {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--accent);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition-fast);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Legal Page ===== */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 0 12px;
}

.legal-content p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-medium);
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 20px;
}

.legal-content ul li {
  list-style: disc;
  font-size: 15px;
  line-height: 2;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.legal-content ol li {
  list-style: decimal;
  font-size: 15px;
  line-height: 2;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.legal-update-date {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.8;
  margin: 20px 0;
  opacity: 0.7;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-qr {
  display: flex;
  gap: 20px;
}

.footer-qr-item {
  text-align: center;
}

.footer-qr-img {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.footer-qr-img svg {
  width: 80px;
  height: 80px;
}

.footer-qr-img img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.footer-qr-label {
  font-size: 12px;
  opacity: 0.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
}

.footer-bottom-left {
  opacity: 0.5;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-right a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-bottom-right a:hover {
  color: var(--white);
}

.footer-bottom-right .divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .page-hero-visual {
    display: none;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .news-detail-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav.mobile-open {
    display: flex;
    /* header 带 backdrop-filter，会成为 fixed 的包含块，导致菜单被夹在 72px 的
       header 内、高度塌为 0 而不可见。改用 absolute 相对 header 定位，top:100%
       即紧贴 header 下方，left/right 撑满视口宽度。 */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    max-height: calc(100vh - var(--header-h));
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .nav.mobile-open .nav-link {
    padding: 16px;
    font-size: 18px;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }

  .header-actions {
    gap: 8px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 30px;
    letter-spacing: 1px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-num {
    font-size: 28px;
  }

  .page-hero {
    padding: 100px 0 48px;
  }

  .page-hero-title {
    font-size: 26px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding: 28px 20px;
    margin-top: -32px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-num {
    font-size: 32px;
  }

  .news-list-item {
    grid-template-columns: 1fr;
  }

  .news-list-item-img {
    height: 200px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-table {
    display: block;
    overflow-x: auto;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 32px 48px;
  }

  .timeline-item::before,
  .timeline-item:nth-child(even)::before {
    left: 12px;
    right: auto;
  }

  .legal-content,
  .news-detail,
  .contact-form {
    padding: 24px;
  }

  .cta-title {
    font-size: 22px;
  }

  .container {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .consult-modal {
    width: calc(100% - 24px);
    max-width: none;
  }

  .advantage-card {
    padding: 24px 20px;
  }

  .footer-brand-desc {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none !important;
  }

  .section-title {
    font-size: 20px;
  }

  .page-hero-title {
    font-size: 22px;
  }

  .hero-stat-num {
    font-size: 22px;
  }

  .hero-stat-label {
    font-size: 12px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .advantage-card {
    padding: 20px 16px;
  }

  .product-card-body {
    padding: 20px;
  }

  .news-card-body {
    padding: 20px;
  }
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--bg2);
    color: var(--ink);
    font-size: 14px;
    border: 1px solid var(--rule);
    transition: .2s;
    cursor: pointer;
}
.page-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.page-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    font-weight: 600;
}
.page-btn.disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}
.page-prev,
.page-next {
    font-size: 16px;
}


/* ============================================
   上线问题修复 20260920
   ============================================ */

/* ===== 全站咨询二维码弹窗 ===== */
.consult-overlay{
  position:fixed;
  inset:0;
  background:rgba(26,35,50,0.6);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2000;
  opacity:0;
  visibility:hidden;
  transition:var(--transition);
  padding:24px;
}
.consult-overlay.active{
  opacity:1;
  visibility:visible;
}
.consult-modal{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:40px 32px 32px;
  max-width:360px;
  width:100%;
  text-align:center;
  position:relative;
  box-shadow:var(--shadow-lg);
  transform:translateY(24px);
  transition:var(--transition);
}
.consult-overlay.active .consult-modal{
  transform:translateY(0);
}
.consult-close{
  position:absolute;
  top:12px;
  right:14px;
  width:32px;
  height:32px;
  border:none;
  background:var(--bg);
  border-radius:50%;
  font-size:22px;
  color:var(--text-medium);
  cursor:pointer;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:var(--transition-fast);
}
.consult-close:hover{
  background:var(--bg-alt);
  color:var(--text-dark);
}
.consult-modal-title{
  font-size:20px;
  font-weight:700;
  color:var(--text-dark);
  margin-bottom:8px;
}
.consult-modal-desc{
  font-size:14px;
  color:var(--text-medium);
  margin-bottom:20px;
}
.consult-modal-qr{
  width:200px;
  height:200px;
  margin:0 auto 20px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
.consult-modal-qr img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:var(--radius-sm);
  image-rendering:-webkit-optimize-contrast;
}
.consult-modal-phone{
  font-size:14px;
  color:var(--text-medium);
}
.consult-modal-phone strong{
  color:var(--primary);
  font-size:20px;
  font-weight:700;
}

/* ===== FAQ 手风琴兜底 ===== */
.faq-item.active .faq-answer{
  max-height:800px;
}

/* ===== 行业资讯详情页：侧栏地址不出框 ===== */
.sidebar{
  min-width:0;
}
.sidebar-contact-item > div:last-child{
  min-width:0;
  flex:1;
}
.sidebar-contact-item .value{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* ===== 移动端防出画面 ===== */
html,
body{
  overflow-x:hidden;
  max-width:100vw;
}
img,
svg,
video,
iframe{
  max-width:100%;
}
.news-detail-content,
.legal-content,
.faq-answer-inner,
.feature-block-desc,
.timeline-desc{
  overflow-wrap:break-word;
  word-break:break-word;
}

/* ===== 关于我们「四大核心理念」模块样式见 about 页 .values-grid ===== */


/* ============================================================
   移动端 / 平板 溢出综合修复 20260920c
   ============================================================ */

/* ----- 1. 网格项允许收缩，杜绝内容撑破列宽 ----- */
.grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.grid-5 > *{
  min-width: 0;
}

/* ----- 2. 平板区间（769-1024px）多列网格降为两列 ----- */
@media (min-width: 769px) and (max-width: 1024px){
  .grid-4,
  .grid-5,
  .stats-bar{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----- 3. 窄屏（<=640px）全部网格单列 ----- */
@media (max-width: 640px){
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5{
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ----- 4. 按钮窄屏允许换行，操作区自动折行 ----- */
@media (max-width: 640px){
  .btn{
    white-space: normal;
    line-height: 1.35;
  }
  .btn-lg{
    padding: 14px 28px;
  }
  .hero-actions,
  .cta-actions{
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ----- 5. flex 子项可收缩（图文并排布局） ----- */
.feature-block-content,
.feature-block-img,
.news-list-item-img,
.news-list-item-body,
.news-detail-wrap > *,
.footer-contact-item,
.contact-info-item,
.product-detail-card > *{
  min-width: 0;
}

/* ----- 6. 长文本/长链接一律可断行 ----- */
.section-subtitle,
.feature-list-item .text,
.news-card-title,
.news-list-item-title,
.product-card-title,
.timeline-title,
.contact-info-value,
.contact-method-desc,
.case-tag{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ----- 7. 宽表格在窄屏横向滚动，不再撑破页面 ----- */
@media (max-width: 768px){
  .pricing-table,
  .table-wrap{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
}
th,td {
    border: 1px solid #0c4a6e;
    padding: 10px 14px;
}
