/* ============================================
   中科国数 - 全局样式
   ============================================ */

:root {
  --primary: #1a3a6b;
  --primary-light: #2a5298;
  --primary-dark: #0f2447;
  --accent: #0066cc;
  --accent-light: #3399ff;
  --gold: #c9a84c;
  --gold-light: #e0c878;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --bg-gray: #eef1f5;
  --text-dark: #1a1a2e;
  --text-body: #333333;
  --text-muted: #6b7280;
  --text-light: #999999;
  --border: #e0e5ec;
  --border-light: #eef1f6;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "微软雅黑", sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

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

/* ============================================
   顶部导航栏
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.logo-icon {
  height: 26px;
  width: auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--text-dark);
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--accent);
  background: rgba(0, 102, 204, 0.06);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--primary);
}

/* ============================================
   首页 Hero
   ============================================ */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 40%,
    var(--primary-light) 100%
  );
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 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.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.hero .subtitle {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.hero .tagline {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

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

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   数据栏
   ============================================ */
.stats-bar {
  padding: 50px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   通用版块
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-line {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================
   核心能力卡片
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.feature-card:nth-child(1) .icon-wrap {
  background: #e8f0fe;
  color: #1a73e8;
}
.feature-card:nth-child(2) .icon-wrap {
  background: #e6f4ea;
  color: #137333;
}
.feature-card:nth-child(3) .icon-wrap {
  background: #fce8e6;
  color: #c5221f;
}
.feature-card:nth-child(4) .icon-wrap {
  background: #fef7e0;
  color: #e37400;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   公司概况时间线
   ============================================ */
.company-timeline {
  position: relative;
  padding-left: 80px;
}

.company-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--gold) 100%);
  border-radius: 3px;
}

.company-timeline-item {
  position: relative;
  padding-bottom: 32px;
}

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

.timeline-year {
  position: absolute;
  left: -80px;
  top: 4px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
  transition: var(--transition);
}

.company-timeline-item:hover .timeline-year {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.company-timeline-item.last .timeline-year {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-dark);
}

.company-timeline-item.last:hover .timeline-year {
  background: var(--gold-light);
}

.timeline-line {
  display: none;
}

.timeline-content {
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.company-timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.timeline-content h4 {
  margin-bottom: 8px;
}

.timeline-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--primary-light) 100%
  );
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.timeline-badge.highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--primary-dark);
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   关于简介
   ============================================ */
.about-brief {
  background: var(--primary-dark);
  color: #fff;
  padding: 80px 0;
}

.about-brief-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-brief h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-brief p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  margin-bottom: 32px;
}

/* ============================================
   发展历程
   ============================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary-light));
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

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

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

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

.timeline-content h4 {
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   页面Hero次级
   ============================================ */
.page-hero {
  padding: 120px 0 50px;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   关于我们页面
   ============================================ */
.about-content {
  padding: 60px 0;
}

.about-block {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.about-block h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.about-block p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 12px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.business-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  transition: var(--transition);
}

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

.business-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.business-card ul {
  list-style: none;
}

.business-card ul li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.business-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cert-item {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-body);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   行业资讯页面
   ============================================ */
.news-layout {
  padding: 60px 0;
}

.news-category-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cat-tag {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-body);
  transition: var(--transition);
  font-weight: 500;
}

.cat-tag:hover,
.cat-tag.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
  display: flex;
  gap: 24px;
  align-items: center;
}

.news-item:first-child {
  border-color: #dc2626;
}

.news-item:hover {
  box-shadow: var(--shadow-md);
}

.news-item-date-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  flex-shrink: 0;
}

.news-item-day {
  font-size: 36px;
  font-weight: 800;
  color: #dc2626;
  line-height: 1;
}

.news-item-month {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.news-item-body {
  flex: 1;
  min-width: 0;
}

.pay-btn {
  padding: 10px 20px;
  border: 1px solid #dc2626;
  background: transparent;
  color: #dc2626;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.pay-btn:hover {
  background: #dc2626;
  color: #fff;
}

.news-item-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.news-item-cat {
  font-size: 12px;
  color: var(--accent);
  background: rgba(0, 102, 204, 0.08);
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.news-item-date {
  font-size: 13px;
  color: var(--text-light);
}

.news-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.news-item .pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 4px;
  margin-top: 8px;
}

/* 付费弹窗 */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.modal h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modal .modal-article-title {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding: 10px 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--border);
  color: var(--text-dark);
}

.article-modal {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  text-align: left;
  position: relative;
}

.article-modal h3 {
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.article-meta span {
  font-size: 14px;
  color: var(--text-muted);
}

.article-content {
  font-size: 15px;
  color: var(--text-body);
  line-height: 2;
}

.modal .pay-qr {
  width: 240px;
  height: 240px;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
}

.modal .pay-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.modal .pay-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.modal .pay-tip {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

.btn-sm-primary {
  background: var(--accent);
  color: #fff;
}

.btn-sm-primary:hover {
  background: var(--primary-light);
}

.btn-sm-outline {
  background: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-sm-outline:hover {
  border-color: var(--text-muted);
  color: var(--text-body);
}

/* ============================================
   登录/注册页面
   ============================================ */
.auth-section {
  padding: 60px 0;
}

.auth-form-wrap {
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.auth-form-wrap h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 8px;
}

.auth-form-wrap .auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

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

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

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.form-actions {
  margin-top: 24px;
}

.form-actions .btn {
  width: 100%;
  justify-content: center;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--accent);
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* ============================================
   联系我们页面
   ============================================ */
.contact-layout {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-card .cc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: rgba(0, 102, 204, 0.08);
  color: var(--accent);
}

.contact-card .cc-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-card .cc-body p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.contact-form-wrap textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  outline: none;
  transition: var(--transition);
}

.contact-form-wrap textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ============================================
   底栏
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.footer-col p,
.footer-col li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .business-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero .subtitle {
    font-size: 16px;
  }
  .section-header h2 {
    font-size: 26px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number {
    font-size: 32px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-list.show {
    display: flex;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .news-item {
    flex-direction: column;
  }
  .news-item-thumb {
    width: 100%;
    height: 160px;
  }

  .timeline {
    padding-left: 32px;
  }
  .timeline-dot {
    left: -32px;
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .about-block {
    padding: 24px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .auth-form-wrap {
    padding: 24px 20px;
  }
}
