/* ============================================
   无锡云箭空间技术有限公司 - 官网样式
   配色：蓝色系（科技蓝）
   ============================================ */

/* ---------- CSS 变量定义 ---------- */
:root {
  --primary: #061829;        /* 深蓝 - 主色 */
  --secondary: #0D2847;       /* 中蓝 - 次色 */
  --accent: #2E86DE;         /* 亮蓝 - 点缀 */
  --accent-light: #54A0FF;   /* 浅蓝 - 辅助 */
  --light: #74B9FF;          /* 淡蓝 - 辅助 */
  --white: #FFFFFF;
  --bg-dark: #020D17;        /* 深色背景 */
  --bg-light: #E8F4FC;      /* 浅色背景 */
  --text-dark: #1A1A2E;
  --text-light: #5D6D7E;
  --gradient-start: #061829;
  --gradient-end: #0D2847;
  --orange-accent: #E67E22;  /* 橙色点缀（保留作为次要强调） */
}

/* ---------- 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 20px;
}

/* ---------- 导航栏 ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 61, 98, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 61, 98, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* 下拉菜单 */
.nav-item {
  position: relative;
}

/* 产品服务文字链接 */
.highlight-nav .nav-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.highlight-nav .nav-title:hover {
  color: var(--white);
}

/* 产品服务向下箭头 */
.highlight-nav .nav-arrow,
.highlight-nav .nav-toggle img {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  vertical-align: middle;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.highlight-nav:hover .nav-arrow,
.highlight-nav:hover .nav-toggle img {
  transform: rotate(0deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 220%;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-item:hover .dropdown,
.nav-item.active .dropdown {
  opacity: 1;
  visibility: visible;
}

/* 点击展开下拉菜单 */
.dropdown-main {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 150px;
  padding: 10px 0;
  flex-direction: column;
  gap: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  opacity: 0;
  visibility: hidden;
}

.nav-item:hover .dropdown-main,
.dropdown-main.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 14px;
  transition: all 0.2s ease;
  text-align: center;
}

.dropdown-category {
  position: relative;
}

.category-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary) !important;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s;
  gap: 8px;
}

.category-toggle:hover {
  background: var(--bg-light);
}

.category-toggle .nav-arrow {
  display: inline-flex;
  align-items: flex-start;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.category-toggle .nav-arrow img {
  vertical-align: top;
  width: 12px;
  height: 12px;
}

.category-toggle.active .nav-arrow {
  transform: rotate(0deg);
}

.dropdown-sub {
  display: none;
  flex-direction: column;
  padding-left: 20px;
  background: rgba(255, 255, 255, 0.98);
}

.dropdown-sub.active {
  display: flex;
}

.dropdown-sub a {
  display: block;
  padding: 10px 15px;
  color: var(--text-dark);
  font-size: 14px;
  text-align: left;
  border-left: 2px solid var(--bg-light);
  white-space: nowrap;
}

.dropdown-sub a:hover {
  background: var(--bg-light);
  color: var(--primary);
  border-left-color: var(--accent);
}

.dropdown a:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.dropdown a::after {
  display: none;
}

.nav-phone {
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 移动端菜单 ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ---------- Hero 区域 ---------- */
.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('背景.png') center center / cover no-repeat;
  opacity: 0.6;
}

.hero-stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-stars::before,
.hero-stars::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow:
    100px 50px 0 0 rgba(255,255,255,0.8),
    200px 150px 0 0 rgba(255,255,255,0.6),
    300px 80px 0 0 rgba(255,255,255,0.9),
    400px 200px 0 0 rgba(255,255,255,0.5),
    500px 100px 0 0 rgba(255,255,255,0.7),
    600px 250px 0 0 rgba(255,255,255,0.6),
    700px 50px 0 0 rgba(255,255,255,0.8),
    800px 180px 0 0 rgba(255,255,255,0.5),
    150px 300px 0 0 rgba(255,255,255,0.7),
    350px 350px 0 0 rgba(255,255,255,0.6),
    550px 320px 0 0 rgba(255,255,255,0.8),
    750px 380px 0 0 rgba(255,255,255,0.5),
    50px 400px 0 0 rgba(255,255,255,0.7),
    250px 450px 0 0 rgba(255,255,255,0.6),
    450px 420px 0 0 rgba(255,255,255,0.8),
    650px 480px 0 0 rgba(255,255,255,0.5);
  animation: twinkle 4s ease-in-out infinite;
}

.hero-stars::after {
  left: 50px;
  top: 30px;
  box-shadow:
    80px 120px 0 0 rgba(255,255,255,0.6),
    180px 60px 0 0 rgba(255,255,255,0.8),
    280px 180px 0 0 rgba(255,255,255,0.5),
    380px 100px 0 0 rgba(255,255,255,0.7),
    480px 220px 0 0 rgba(255,255,255,0.6),
    580px 140px 0 0 rgba(255,255,255,0.8),
    680px 280px 0 0 rgba(255,255,255,0.5),
    120px 250px 0 0 rgba(255,255,255,0.7),
    320px 320px 0 0 rgba(255,255,255,0.6),
    520px 380px 0 0 rgba(255,255,255,0.8);
  animation-delay: 2s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-center {
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 40px;
}

.hero-logo-img {
  max-width: 320px;
  width: 100%;
  height: auto;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: 2px;
  text-shadow: 0 0 40px rgba(52, 152, 219, 0.3);
}

.hero-title span {
  background: linear-gradient(90deg, #54A0FF, #74B9FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  margin: 0 auto 30px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 50px;
  text-align: center;
  max-width: 600px;
}

.hero-desc strong {
  color: var(--accent-light);
}

.hero-company {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 4px;
  margin-bottom: 30px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  margin: 10px auto 0;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 0.8; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(52, 152, 219, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rocket-container {
  position: relative;
  width: 300px;
  height: 400px;
}

.rocket {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 180px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(52, 152, 219, 0.5));
}

.orbit {
  position: absolute;
  border: 2px solid rgba(52, 152, 219, 0.2);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.orbit-1 {
  width: 280px;
  height: 280px;
  top: 60px;
  left: 10px;
}

.orbit-2 {
  width: 380px;
  height: 380px;
  top: 10px;
  left: -40px;
  animation-duration: 30s;
  animation-direction: reverse;
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-light);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--accent-light);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-20px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- 数据统计 ---------- */
.stats {
  background: var(--primary);
  padding: 60px 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.5), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

/* ---------- 关于我们预览 ---------- */
.about-preview {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder {
  font-size: 120px;
  opacity: 0.3;
}

.about-image-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 2px;
}

.about-text h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.feature-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/* ---------- 服务预览 ---------- */
.services-preview {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(10, 61, 98, 0.1);
  border-color: rgba(52, 152, 219, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.service-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.service-card strong {
  color: var(--accent);
}

/* ---------- 新闻预览 ---------- */
.news-preview {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(10, 61, 98, 0.1);
}

.news-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  opacity: 0.5;
}

.news-content {
  padding: 24px;
}

.news-date {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 500;
}

.news-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-card h3 a:hover {
  color: var(--accent);
}

.news-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

.news-more:hover {
  gap: 10px;
}

/* ---------- 联系我们 CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta h2 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  padding: 16px 48px;
  font-size: 16px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid > .footer-brand {
  flex: 2;
}

.footer-right-columns {
  flex: 3;
  display: flex;
  justify-content: space-evenly;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  font-size: 18px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
}

.footer h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-contact span {
  color: var(--accent-light);
}

/* 关注我们 - 二维码 */
.footer-qrcode-section {
  text-align: center;
}

.footer-qrcode-section h4 {
  margin-bottom: 15px;
}

.footer-qrcode {
  text-align: center;
}

.footer-qrcode img {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
}

/* ---------- 页面标题区 ---------- */
.page-header {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary));
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('背景.png') center 25% / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.page-header h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

/* ---------- 面包屑链接 ---------- */
.breadcrumb a {
  color: rgba(255, 255, 255, 0.8) !important;
  cursor: pointer !important;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--white) !important;
  text-decoration: underline;
}

/* ---------- 关于页面 ---------- */
.about-section {
  background: var(--white);
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-intro h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-intro p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 2;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-content {
  background: var(--bg-light);
  padding: 24px 30px;
  border-radius: 12px;
  max-width: 350px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -38px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -38px;
}

.timeline-year {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- 团队成员 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  border: 4px solid var(--white);
  box-shadow: 0 10px 30px rgba(10, 61, 98, 0.15);
}

.team-card h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 6px;
}

.team-card p {
  font-size: 14px;
  color: var(--accent);
}

/* ---------- 新闻列表 ---------- */
.news-list {
  background: var(--bg-light);
}

.news-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.news-featured {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(10, 61, 98, 0.1);
}

.news-featured .news-image {
  height: 300px;
}

.news-featured .news-content {
  padding: 30px;
}

.news-featured h2 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-sidebar h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.news-item {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateX(5px);
  border-left: 3px solid var(--accent);
}

.news-sidebar a.news-item {
  display: block;
  color: inherit;
}

.news-item h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-item .news-date {
  margin-bottom: 0;
}

/* ---------- 服务详情 ---------- */
.services-section {
  background: var(--white);
}

.services-showcase {
  margin-bottom: 80px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  background: var(--bg-light);
  border-radius: 20px;
  margin-bottom: 40px;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.service-detail h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-detail p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  padding: 8px 16px;
  background: var(--white);
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary);
  border: 1px solid rgba(10, 61, 98, 0.1);
}

/* ---------- 联系页面 ---------- */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  color: var(--white);
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 30px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-list {
  margin-bottom: 30px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 16px;
}

.contact-list .icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
}

.contact-form h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(10, 61, 98, 0.1);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
  }

  .services-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    gap: 30px;
  }

  .news-main {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .footer-grid > .footer-brand,
  .footer-grid > .footer-right-columns {
    flex: 1 1 45%;
    min-width: 200px;
  }
  
  .footer-right-columns {
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 36px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .stat-number {
    font-size: 36px;
  }

  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-brand,
  .footer-qrcode-section,
  .footer-links,
  .footer-contact,
  .footer-right-columns {
    text-align: center;
  }

  .footer-right-columns {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links li {
    display: inline-block;
    margin: 0 10px;
  }

  .footer-links {
    padding-left: 0;
  }

  .service-detail {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-content::before,
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -38px !important;
    right: auto !important;
  }
}

/* ---------- 动画 ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
