/* ============================================
   运信信 - 中佑科技 全站样式文件
   区域AI货运生态平台
   ============================================ */

/* ---------- CSS 变量定义 ---------- */
:root {
  --primary: #0a8f6b;          /* 生态绿（货运生态） */
  --primary-dark: #066d4f;
  --primary-light: #e6f7f0;
  --accent: #0d6efd;           /* 科技蓝辅色（AI技术） */
  --accent-light: #e7f0ff;
  --bg-light: #f6f9f7;
  --white: #ffffff;
  --text-dark: #1a2e26;
  --text-gray: #5a6b65;
  --text-light: #9aa8a3;
  --border-color: #e3ebe7;
  --shadow: 0 2px 12px rgba(10, 70, 50, 0.06);
  --shadow-hover: 0 8px 28px rgba(10, 143, 107, 0.16);
  --radius: 10px;
  --transition: all 0.3s ease;
}

/* ---------- 全局重置 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

/* ---------- 通用容器 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: 32px; color: var(--text-dark); margin-bottom: 12px; font-weight: 700;
  position: relative; display: inline-block; padding-bottom: 14px;
}
.section-title h2::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px; background: var(--primary); border-radius: 2px;
}
.section-title p { font-size: 16px; color: var(--text-gray); }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.navbar .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; color: var(--primary); letter-spacing: 1px;
}
.navbar .logo img { height: 36px; width: auto; }
.navbar .logo .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.navbar .logo .logo-text strong { font-size: 18px; color: var(--text-dark); letter-spacing: 2px; }
.navbar .logo .logo-text small { font-size: 11px; color: var(--text-gray); font-weight: 400; letter-spacing: 1px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 15px; color: var(--text-dark); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.navbar.sticky {
  background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* 汉堡菜单 */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Banner ---------- */
.hero {
  position: relative; width: 100%; min-height: 620px;
  overflow: hidden;
}
.hero-slider { position: relative; width: 100%; min-height: 620px; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; min-height: 620px;
  opacity: 0; transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1; z-index: 2; pointer-events: auto;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 1;
}
.hero-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition);
}
.hero-dot.active { background: var(--white); transform: scale(1.3); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; }
.hero-tag {
  display: inline-block; padding: 6px 16px; margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px; font-size: 13px; letter-spacing: 1px;
  backdrop-filter: blur(4px);
}
.hero-content h1 {
  font-size: 48px; font-weight: 700; margin-bottom: 22px;
  line-height: 1.25; letter-spacing: 1px; max-width: 880px;
}
.hero-content h1 em { font-style: normal; color: #6ee7b7; }
.hero-content .subtitle {
  font-size: 19px; opacity: 0.92; margin-bottom: 36px; line-height: 1.7; max-width: 720px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 50px; margin-top: 56px; padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.18); flex-wrap: wrap;
}
.hero-stats div h4 { font-size: 30px; font-weight: 700; margin-bottom: 4px; color: #6ee7b7; }
.hero-stats div p { font-size: 13px; opacity: 0.85; letter-spacing: 1px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 14px 36px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; transition: var(--transition); text-align: center;
}
.btn-primary { background: var(--white); color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.btn-blue { background: var(--primary); color: var(--white); }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(10, 143, 107, 0.35); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px 28px;
  transition: var(--transition); border: 1px solid var(--border-color);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }

/* ---------- 三张票特色区 ---------- */
.tickets-section { background: var(--bg-light); }
.tickets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ticket-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-color); transition: var(--transition);
  position: relative;
}
.ticket-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.ticket-card-head {
  padding: 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}
.ticket-card-head::after {
  content: ""; position: absolute; top: -50%; right: -30%;
  width: 200px; height: 200px; background: rgba(255,255,255,0.08); border-radius: 50%;
}
.ticket-rate {
  display: inline-block; font-size: 32px; font-weight: 700;
  letter-spacing: -1px; margin-bottom: 4px;
  position: relative; z-index: 1;
}
.ticket-rate small { font-size: 14px; font-weight: 500; margin-left: 4px; opacity: 0.9; }
.ticket-card-head h3 { font-size: 18px; font-weight: 600; position: relative; z-index: 1; }
.ticket-card-body { padding: 24px 28px; }
.ticket-card-body .ticket-policy {
  font-size: 12px; color: var(--primary); background: var(--primary-light);
  padding: 6px 12px; border-radius: 4px; display: inline-block; margin-bottom: 12px;
}
.ticket-card-body p { font-size: 14px; color: var(--text-gray); line-height: 1.8; }
.ticket-card-body strong { color: var(--text-dark); }

/* ---------- 服务概览/产品功能 ---------- */
.services { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { text-align: center; }
.service-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  background: var(--primary-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--primary); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: var(--white); transform: scale(1.1) rotate(5deg); }
.service-card h3 { font-size: 19px; margin-bottom: 12px; color: var(--text-dark); }
.service-card p { font-size: 14px; color: var(--text-gray); line-height: 1.8; }

/* 六大功能网格 */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--border-color); transition: var(--transition); position: relative;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: var(--primary); border-radius: var(--radius) var(--radius) 0 0;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-card:hover::before { width: 100%; }
.feature-num {
  font-size: 14px; color: var(--primary); font-weight: 700;
  letter-spacing: 2px; margin-bottom: 12px; display: block;
}
.feature-card h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-gray); line-height: 1.8; }

/* ---------- 数据统计 ---------- */
.stats {
  background: linear-gradient(135deg, #053d2c 0%, #0a8f6b 100%);
  color: var(--white); padding: 64px 0; position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(110,231,183,0.2) 0%, transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; position: relative; }
.stat-item h3 { font-size: 48px; font-weight: 700; margin-bottom: 8px; color: #6ee7b7; }
.stat-item h3 span { font-size: 22px; margin-left: 4px; color: var(--white); }
.stat-item p { font-size: 15px; opacity: 0.85; }

/* ---------- 合作伙伴 ---------- */
.partners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center;
}
.partner-item {
  background: var(--white); border-radius: var(--radius); height: 100px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); border: 1px solid var(--border-color);
  padding: 20px;
}
.partner-item img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(35%); transition: var(--transition); }
.partner-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.partner-item:hover img { filter: grayscale(0); }
.partner-item.partner-text {
  font-size: 15px; font-weight: 600; color: var(--text-gray);
  letter-spacing: 0.5px; text-align: center;
}

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-light) 100%);
  text-align: center; padding: 80px 0; position: relative; overflow: hidden;
}
.cta-section h2 { font-size: 32px; margin-bottom: 16px; color: var(--text-dark); }
.cta-section p { font-size: 16px; color: var(--text-gray); margin-bottom: 36px; }
.cta-section .cta-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; color: var(--primary);
  margin-bottom: 24px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 90px 0 0; font-size: 14px; color: var(--text-gray); background: var(--bg-light); }
.breadcrumb .container { padding: 16px 20px; }
.breadcrumb a { color: var(--text-gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; color: var(--text-light); }

/* ---------- Footer ---------- */
.footer { background: #0d2520; color: rgba(255, 255, 255, 0.7); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col h4 { color: var(--white); font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-col p { font-size: 14px; line-height: 2; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 32px; }
.footer-logo strong { font-size: 18px; color: var(--white); letter-spacing: 2px; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ---------- 悬浮客服 ---------- */
.float-service { position: fixed; right: 24px; bottom: 100px; z-index: 999; }
.float-service-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: var(--white); font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(10, 143, 107, 0.4); transition: var(--transition);
}
.float-service-btn:hover { transform: scale(1.1); }
.float-service-panel {
  position: absolute; right: 0; bottom: 70px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15); padding: 16px;
  min-width: 220px; display: none;
}
.float-service-panel.active { display: block; }
.float-service-panel .service-item {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-radius: 6px; font-size: 14px; color: var(--text-dark);
  transition: var(--transition); cursor: pointer;
}
.float-service-panel .service-item:hover { background: var(--primary-light); color: var(--primary); }
.float-service-panel .service-item .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 40px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--primary); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); transition: var(--transition);
  opacity: 0; visibility: hidden; cursor: pointer;
  border: 1px solid var(--border-color); z-index: 998;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--text-dark); margin-bottom: 8px; font-weight: 500; }
.form-group label .required { color: #e74c3c; margin-left: 2px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border-color);
  border-radius: 6px; font-size: 14px; font-family: inherit;
  color: var(--text-dark); background: var(--white);
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10, 143, 107, 0.12); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5);
  z-index: 2000; display: none; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white); border-radius: 12px; padding: 40px;
  max-width: 460px; width: 90%; text-align: center; position: relative;
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.modal-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.modal h3 { font-size: 22px; margin-bottom: 12px; color: var(--text-dark); }
.modal p { font-size: 15px; color: var(--text-gray); margin-bottom: 28px; line-height: 1.6; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--bg-light); color: var(--text-gray);
  font-size: 18px; display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.modal-close:hover { background: var(--border-color); color: var(--text-dark); }

/* ---------- 资讯列表 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.news-cover { height: 220px; background-color: #e0e0e0; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .news-cover img { transform: scale(1.06); }
.news-body { padding: 24px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; color: var(--text-light); }
.news-tag { background: var(--primary-light); color: var(--primary); padding: 2px 10px; border-radius: 4px; font-size: 12px; }
.news-card h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.news-card h3 a { color: var(--text-dark); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p {
  font-size: 14px; color: var(--text-gray); line-height: 1.7; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-read-more { font-size: 14px; color: var(--primary); font-weight: 500; }
.news-read-more:hover { color: var(--primary-dark); }

/* ---------- 文章详情 ---------- */
.article-container { max-width: 860px; }
.article-header { margin-bottom: 36px; text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); }
.article-header h1 { font-size: 30px; color: var(--text-dark); line-height: 1.5; margin: 16px 0; }
.article-meta { display: flex; justify-content: center; gap: 24px; font-size: 14px; color: var(--text-light); flex-wrap: wrap; }
.article-cover-img { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.article-cover-img img { width: 100%; height: auto; display: block; }
.article-content { font-size: 16px; line-height: 1.9; color: var(--text-gray); }
.article-content p { margin-bottom: 20px; text-indent: 2em; }
.article-content h2 { font-size: 22px; color: var(--text-dark); margin: 40px 0 20px; padding-left: 14px; border-left: 4px solid var(--primary); }
.article-content h3 { font-size: 18px; color: var(--text-dark); margin: 28px 0 14px; }
.article-content ul, .article-content ol { margin: 16px 0 20px 2em; padding-left: 0; }
.article-content ul li { list-style: disc; margin-bottom: 8px; }
.article-content ol li { list-style: decimal; margin-bottom: 8px; }
.article-content strong { color: var(--text-dark); }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 16px 0; }
.article-content blockquote { margin: 20px 0; padding: 16px 20px; border-left: 4px solid var(--primary); background: var(--bg-light); color: var(--text-gray); font-style: italic; }
.article-content pre { background: #1a2e26; color: #e6f7f0; padding: 16px 20px; border-radius: 6px; overflow-x: auto; margin: 20px 0; font-size: 14px; line-height: 1.6; }
.article-content .ql-align-center { text-align: center; }
.article-content .ql-align-right { text-align: right; }
.article-content .ql-align-justify { text-align: justify; }

.article-tags { margin: 36px 0; padding: 20px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.article-tag-label { font-size: 14px; color: var(--text-gray); margin-right: 4px; }
.article-tag { display: inline-block; padding: 4px 14px; background: var(--bg-light); color: var(--text-gray); border-radius: 16px; font-size: 13px; transition: var(--transition); }
.article-tag:hover { background: var(--primary-light); color: var(--primary); }

.article-related { margin: 36px 0; }
.article-related h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--bg-light); border-radius: 6px; transition: var(--transition); }
.related-item:hover { background: var(--primary-light); }
.related-title { font-size: 14px; color: var(--text-dark); flex: 1; margin-right: 16px; }
.related-date { font-size: 13px; color: var(--text-light); white-space: nowrap; }

.article-cta { text-align: center; padding: 30px; background: var(--bg-light); border-radius: var(--radius); margin-top: 36px; }
.article-cta p { font-size: 16px; color: var(--text-dark); margin-bottom: 16px; }

/* 加载/空状态 */
.news-loading, .article-loading { text-align: center; padding: 60px 20px; color: var(--text-light); font-size: 16px; grid-column: 1 / -1; }
.article-not-found { text-align: center; padding: 80px 20px; }
.article-not-found h2 { font-size: 24px; color: var(--text-dark); margin-bottom: 12px; }
.article-not-found p { font-size: 16px; color: var(--text-gray); }
.news-empty { text-align: center; padding: 60px 20px; color: var(--text-light); font-size: 16px; }

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-link { display: inline-block; padding: 8px 16px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 14px; color: var(--text-gray); background: var(--white); transition: var(--transition); text-decoration: none; }
.page-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.page-link.active { background: var(--primary); color: var(--white); border-color: var(--primary); cursor: default; }

/* ---------- 关于我们 ---------- */
.about-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-text p { font-size: 15px; color: var(--text-gray); line-height: 1.95; margin-bottom: 16px; text-indent: 2em; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-mission {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px;
}
.mission-item {
  text-align: center; padding: 28px 24px; background: var(--bg-light);
  border-radius: var(--radius); border: 1px solid var(--border-color); transition: var(--transition);
}
.mission-item:hover { background: var(--white); border-color: var(--primary); box-shadow: var(--shadow); }
.mission-item .icon-wrap {
  width: 64px; height: 64px; margin: 0 auto 16px; background: var(--white);
  border: 2px solid var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary);
}
.mission-item h4 { font-size: 17px; color: var(--text-dark); margin-bottom: 10px; }
.mission-item p { font-size: 14px; color: var(--text-gray); line-height: 1.7; }

/* ---------- 时间线 ---------- */
.timeline-section { background: var(--bg-light); }
.timeline { position: relative; padding: 20px 0; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 3px; height: 100%; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}
.timeline-item { position: relative; width: 50%; padding: 20px 40px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-dot {
  position: absolute; top: 28px; width: 18px; height: 18px;
  background: var(--primary); border-radius: 50%; border: 3px solid var(--white);
  box-shadow: 0 0 0 4px var(--primary-light); z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -9px; }
.timeline-item:nth-child(even) .timeline-dot { left: -9px; }
.timeline-date { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.timeline-content { background: var(--white); padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline-content h3 { font-size: 17px; color: var(--text-dark); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-gray); line-height: 1.7; }

/* ---------- 优势/合作模式卡片 ---------- */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-card {
  background: var(--white); padding: 36px 28px; border-radius: var(--radius);
  border: 1px solid var(--border-color); transition: var(--transition); position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.advantage-card:hover::before { transform: scaleX(1); }
.advantage-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  margin-bottom: 20px; transition: var(--transition);
}
.advantage-card:hover .advantage-icon { background: var(--primary); color: var(--white); transform: rotate(-5deg); }
.advantage-card h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 12px; }
.advantage-card p { font-size: 14px; color: var(--text-gray); line-height: 1.85; }

/* 合作模式三大方案 */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-color); transition: var(--transition);
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.plan-card.featured { border-color: var(--primary); position: relative; }
.plan-card.featured::after {
  content: "推荐"; position: absolute; top: 16px; right: -28px; width: 100px;
  background: var(--primary); color: var(--white); font-size: 12px;
  text-align: center; padding: 4px 0; transform: rotate(45deg);
}
.plan-head {
  padding: 32px 28px 24px; background: var(--bg-light); border-bottom: 1px solid var(--border-color);
}
.plan-card.featured .plan-head { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); }
.plan-card.featured .plan-head .plan-period { color: rgba(255,255,255,0.85); }
.plan-card.featured .plan-head .plan-price { color: var(--white); }
.plan-card.featured .plan-head h3 { color: var(--white); }
.plan-head h3 { font-size: 22px; color: var(--text-dark); margin-bottom: 8px; }
.plan-head .plan-target { font-size: 13px; color: var(--text-gray); }
.plan-card.featured .plan-head .plan-target { color: rgba(255,255,255,0.8); }
.plan-period { font-size: 13px; color: var(--text-gray); margin-top: 12px; }
.plan-price { font-size: 16px; font-weight: 700; color: var(--primary); margin-top: 4px; }
.plan-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.plan-body h4 { font-size: 14px; color: var(--text-dark); margin: 16px 0 8px; font-weight: 600; }
.plan-body h4:first-child { margin-top: 0; }
.plan-body ul li {
  font-size: 13px; color: var(--text-gray); padding: 6px 0 6px 22px;
  line-height: 1.7; position: relative;
}
.plan-body ul li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: var(--primary); font-weight: 700;
}
.plan-foot { padding: 0 28px 28px; }
.plan-foot a { display: block; }

/* ---------- 案例 ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.4s ease; border: 1px solid transparent;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.case-cover { height: 220px; overflow: hidden; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.case-card:hover .case-cover img { transform: scale(1.05); }
.case-body { padding: 28px; }
.case-tag { display: inline-block; padding: 3px 12px; background: var(--primary-light); color: var(--primary); border-radius: 12px; font-size: 12px; margin-bottom: 12px; }
.case-body h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 12px; line-height: 1.5; }
.case-section { margin: 14px 0; }
.case-section strong { color: var(--text-dark); font-size: 14px; display: block; margin-bottom: 6px; }
.case-section ul li {
  font-size: 13px; color: var(--text-gray); padding: 4px 0 4px 18px;
  line-height: 1.7; position: relative;
}
.case-section ul li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; background: var(--primary); border-radius: 50%;
}
.case-data { display: flex; gap: 24px; padding-top: 16px; margin-top: 16px; border-top: 1px dashed var(--border-color); flex-wrap: wrap; }
.case-data div { font-size: 12px; color: var(--text-light); }
.case-data div strong { display: block; color: var(--primary); font-size: 18px; margin-bottom: 2px; }

/* ---------- 联系卡片 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { text-align: center; padding: 36px 24px; }
.contact-icon {
  width: 64px; height: 64px; background: var(--primary-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary); margin: 0 auto 16px;
}
.contact-card h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 10px; }
.contact-highlight { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.contact-desc { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ---------- 滚动渐显动画 ---------- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .services-grid, .features-grid, .advantages-grid, .plans-grid, .tickets-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar .container { height: 60px; }
  .navbar .logo { font-size: 18px; }
  .navbar .logo .logo-text strong { font-size: 16px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 60px; left: 0; width: 100%;
    background: var(--white); flex-direction: column; gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.active { max-height: 600px; }
  .nav-links a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--bg-light); }
  .nav-links a::after { display: none; }

  .hero { min-height: 520px; }
  .hero-slide { min-height: 520px; padding: 110px 20px 60px; text-align: center; }
  .hero-content h1 { font-size: 32px; }
  .hero-content .subtitle { font-size: 16px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; gap: 30px; }

  .section { padding: 60px 0; }
  .section-title h2 { font-size: 26px; }

  .services-grid, .features-grid, .advantages-grid, .plans-grid, .tickets-grid,
  .news-grid, .cases-grid, .contact-grid, .about-mission {
    grid-template-columns: 1fr;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item h3 { font-size: 36px; }

  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .about-content { grid-template-columns: 1fr; gap: 30px; }

  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; padding: 10px 10px 10px 50px; text-align: left !important; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { left: 12px; right: auto; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero { min-height: 440px; }
  .hero-slide { min-height: 440px; padding: 90px 16px 50px; }
  .hero-content h1 { font-size: 26px; letter-spacing: 0.5px; }
  .hero-content .subtitle { font-size: 14px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .hero-stats { gap: 20px; }
  .hero-stats div h4 { font-size: 24px; }

  .section { padding: 44px 0; }
  .section-title { margin-bottom: 30px; }
  .section-title h2 { font-size: 22px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-item h3 { font-size: 28px; }
  .stat-item h3 span { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  .float-service { right: 16px; bottom: 80px; }
  .back-to-top { right: 16px; bottom: 30px; width: 38px; height: 38px; }

  .modal { padding: 28px 20px; }
  .cta-section h2 { font-size: 22px; }
}
