/* ===== 全局重置 & 基础 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0f0f1a;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

a {
  color: #f0c040;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: #ffd700; }

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

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

/* ===== 头部 ===== */
header {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(240, 192, 64, 0.1);
  transition: background 0.3s;
}
.dark-mode header {
  background: rgba(245, 245, 250, 0.95);
  border-bottom-color: rgba(26, 26, 46, 0.1);
}

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

/* ===== Logo ===== */
.logo {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #f0c040, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

/* ===== 导航 ===== */
nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
nav a {
  color: #ccc;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f0c040, #ff8c00);
  transition: width 0.3s;
}
nav a:hover::after,
nav a.active::after { width: 100%; }
nav a.active { color: #f0c040; }

.dark-mode nav a { color: #333; }
.dark-mode nav a.active { color: #1a1a2e; }

/* ===== 菜单切换按钮 ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #f0c040;
  border-radius: 2px;
  transition: all 0.3s;
}
.dark-mode .menu-toggle span { background: #1a1a2e; }

/* ===== 主题切换按钮 ===== */
.theme-toggle {
  background: none;
  border: 1px solid rgba(240, 192, 64, 0.3);
  color: #f0c040;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}
.theme-toggle:hover {
  background: rgba(240, 192, 64, 0.1);
  border-color: #f0c040;
}
.dark-mode .theme-toggle {
  color: #1a1a2e;
  border-color: rgba(26, 26, 46, 0.3);
}
.dark-mode .theme-toggle:hover {
  background: rgba(26, 26, 46, 0.05);
}

/* ===== Hero 区域 ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}
.dark-mode .hero {
  background: linear-gradient(135deg, #f5f5fa 0%, #e8e8f0 50%, #f5f5fa 100%);
}

/* 渐变光晕背景动画 */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(240, 192, 64, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 140, 0, 0.03) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2%, -2%); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 800px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, #f0c040, #ff8c00, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}
.dark-mode .hero h1 {
  background: linear-gradient(135deg, #1a1a2e, #f0c040, #1a1a2e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: #aaa;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s both;
}
.dark-mode .hero p { color: #555; }

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #f0c040, #ff8c00);
  color: #0f0f1a;
  box-shadow: 0 4px 20px rgba(240, 192, 64, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(240, 192, 64, 0.4);
}
.btn-secondary {
  background: transparent;
  border: 2px solid rgba(240, 192, 64, 0.4);
  color: #f0c040;
}
.btn-secondary:hover {
  background: rgba(240, 192, 64, 0.1);
  border-color: #f0c040;
}
.dark-mode .btn-secondary {
  color: #1a1a2e;
  border-color: rgba(26, 26, 46, 0.3);
}
.dark-mode .btn-secondary:hover {
  background: rgba(26, 26, 46, 0.05);
}

/* ===== 动画关键帧 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 通用章节 ===== */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #f0c040, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dark-mode .section-title {
  background: linear-gradient(135deg, #1a1a2e, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: #888;
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.dark-mode .section-subtitle { color: #555; }

/* ===== 卡片网格 ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* 毛玻璃卡片 */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(240, 192, 64, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.dark-mode .card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}
.dark-mode .card:hover {
  border-color: rgba(240, 192, 64, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.1), rgba(255, 140, 0, 0.1));
}
.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #f0c040;
}
.dark-mode .card h3 { color: #1a1a2e; }
.card p {
  color: #aaa;
  font-size: 15px;
  line-height: 1.7;
}
.dark-mode .card p { color: #555; }

/* ===== 关于区域 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.about-text p {
  color: #aaa;
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.8;
}
.dark-mode .about-text p { color: #555; }

.about-image {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.05), rgba(255, 140, 0, 0.05));
  padding: 40px;
  text-align: center;
}

/* ===== 统计数字 ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.stat-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-mode .stat-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}
.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #f0c040, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  color: #888;
  margin-top: 10px;
  font-size: 16px;
}
.dark-mode .stat-label { color: #555; }

/* ===== 时间线 ===== */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(240, 192, 64, 0.3), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
  position: relative;
  width: 50%;
}
.timeline-item:nth-child(odd) {
  align-self: flex-start;
  justify-content: flex-start;
  left: 50%;
}
.timeline-item:nth-child(even) { left: 0; }

.timeline-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 15px;
  padding: 20px;
  width: 80%;
  position: relative;
}
.dark-mode .timeline-content {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}
.timeline-year {
  color: #f0c040;
  font-weight: 700;
  font-size: 18px;
}
.dark-mode .timeline-year { color: #1a1a2e; }

/* ===== 团队卡片 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.team-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 192, 64, 0.2);
}
.dark-mode .team-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.2), rgba(255, 140, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #f0c040;
}
.team-card h4 {
  font-size: 18px;
  color: #f0c040;
  margin-bottom: 5px;
}
.dark-mode .team-card h4 { color: #1a1a2e; }
.team-card p {
  color: #888;
  font-size: 14px;
}
.dark-mode .team-card p { color: #555; }

/* ===== 产品展示卡片 ===== */
.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(240, 192, 64, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.dark-mode .product-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}
.dark-mode .product-card:hover {
  border-color: rgba(240, 192, 64, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.product-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #f0c040;
}
.dark-mode .product-card h3 { color: #1a1a2e; }
.product-card p {
  color: #aaa;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}
.dark-mode .product-card p { color: #555; }
.product-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  background: rgba(240, 192, 64, 0.1);
  color: #f0c040;
  margin-right: 5px;
  margin-bottom: 5px;
}
.dark-mode .product-tag {
  background: rgba(26, 26, 46, 0.1);
  color: #1a1a2e;
}

/* ===== 产品优势 ===== */
.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.advantage-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}
.dark-mode .advantage-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}
.advantage-item:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 192, 64, 0.2);
}
.advantage-icon {
  font-size: 40px;
  margin-bottom: 15px;
}
.advantage-item h4 {
  color: #f0c040;
  margin-bottom: 8px;
  font-size: 18px;
}
.dark-mode .advantage-item h4 { color: #1a1a2e; }
.advantage-item p {
  color: #888;
  font-size: 14px;
}
.dark-mode .advantage-item p { color: #555; }

/* ===== 解决方案卡片 ===== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.solution-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.solution-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 192, 64, 0.2);
}
.dark-mode .solution-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}
.solution-card h3 {
  color: #f0c040;
  margin-bottom: 10px;
}
.dark-mode .solution-card h3 { color: #1a1a2e; }
.solution-card p {
  color: #aaa;
  font-size: 15px;
}
.dark-mode .solution-card p { color: #555; }

/* ===== 案例卡片 ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.case-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 192, 64, 0.2);
}
.dark-mode .case-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}
.case-body {
  padding: 25px;
}
.case-body h4 {
  color: #f0c040;
  margin-bottom: 8px;
}
.dark-mode .case-body h4 { color: #1a1a2e; }
.case-body p {
  color: #aaa;
  font-size: 14px;
}
.dark-mode .case-body p { color: #555; }

/* ===== 合作伙伴 ===== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
  padding: 20px 0;
}
.partner-logo {
  width: 120px;
  height: 60px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #888;
  transition: all 0.3s;
  padding: 10px;
}
.dark-mode .partner-logo {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}
.partner-logo:hover {
  border-color: rgba(240, 192, 64, 0.2);
  color: #f0c040;
}

/* ===== 客户评价 ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 192, 64, 0.15);
}
.dark-mode .testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}
.testimonial-text {
  color: #ccc;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.7;
}
.dark-mode .testimonial-text { color: #555; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.2), rgba(255, 140, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #f0c040;
}
.testimonial-name {
  font-weight: 600;
  color: #f0c040;
}
.dark-mode .testimonial-name { color: #1a1a2e; }
.testimonial-role {
  color: #888;
  font-size: 13px;
}

/* ===== 新闻卡片 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.news-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  opacity: 0;
  transform: translateY(30px);
}
.news-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 192, 64, 0.2);
}
.dark-mode .news-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.06);
}
.news-body {
  padding: 25px;
}
.news-date {
  color: #888;
  font-size: 13px;
  margin-bottom: 8px;
}
.news-body h4 {
  color: #f0c040;
  margin-bottom: 8px;
  font-size: 18px;
}
.dark-mode .news-body h4 { color: #1a1a2e; }
.news-body p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
}
.dark-mode .news-body p { color: #555; }

/* ===== 相关链接 ===== */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}
.related-link {
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #aaa;
  font-size: 14px;
  transition: all 0.3s;
}
.dark-mode .related-link {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
  color: #555;
}
.related-link:hover {
  background: rgba(240, 192, 64, 0.1);
  border-color: rgba(240, 192, 64, 0.3);
  color: #f0c040;
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.pagination a {
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #aaa;
  transition: all 0.3s;
}
.dark-mode .pagination a {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}
.pagination a:hover,
.pagination a.active {
  background: rgba(240, 192, 64, 0.1);
  border-color: #f0c040;
  color: #f0c040;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  cursor: pointer;
}
.dark-mode .faq-item {
  border-color: rgba(0, 0, 0, 0.06);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #e0e0e0;
}
.dark-mode .faq-question { color: #1a1a2e; }
.faq-question .icon {
  font-size: 22px;
  transition: transform 0.3s;
  color: #f0c040;
}
.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #aaa;
  font-size: 15px;
  line-height: 1.7;
}
.dark-mode .faq-answer { color: #555; }
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 15px;
}

/* ===== 使用步骤 ===== */
.howto-steps {
  max-width: 700px;
  margin: 0 auto;
  counter-reset: step;
}
.howto-step {
  padding: 20px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
}
.howto-step.visible {
  opacity: 1;
  transform: translateX(0);
}
.howto-step::before {
  counter-increment: step;
  content: counter(step);
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c040, #ff8c00);
  color: #0f0f1a;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.howto-step h4 {
  color: #f0c040;
  margin-bottom: 5px;
  font-size: 18px;
}
.dark-mode .howto-step h4 { color: #1a1a2e; }
.howto-step p {
  color: #aaa;
  font-size: 15px;
}
.dark-mode .howto-step p { color: #555; }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info h3 {
  color: #f0c040;
  margin-bottom: 20px;
  font-size: 24px;
}
.dark-mode .contact-info h3 { color: #1a1a2e; }
.contact-info p {
  color: #aaa;
  margin-bottom: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dark-mode .contact-info p { color: #555; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #e0e0e0;
  font-size: 15px;
  transition: border-color 0.3s;
}
.dark-mode .contact-form input,
.dark-mode .contact-form textarea {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a2e;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f0c040;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form button {
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f0c040, #ff8c00);
  color: #0f0f1a;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 192, 64, 0.3);
}

/* ===== 友情链接 ===== */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.friend-link {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #888;
  font-size: 13px;
  transition: all 0.3s;
}
.dark-mode .friend-link {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}
.friend-link:hover {
  color: #f0c040;
  border-color: rgba(240, 192, 64, 0.3);
}

/* ===== 网站地图 ===== */
.sitemap-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}
.sitemap-links a {
  color: #888;
  font-size: 14px;
  padding: 5px 0;
  display: block;
}
.sitemap-links a:hover { color: #f0c040; }

/* ===== 页脚 ===== */
footer {
  background: rgba(15, 15, 26, 0.95);
  border-top: 1px solid rgba(240, 192, 64, 0.1);
  padding: 60px 0 30px;
}
.dark-mode footer {
  background: rgba(245, 245, 250, 0.95);
  border-top-color: rgba(26, 26, 46, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #f0c040;
  margin-bottom: 20px;
  font-size: 18px;
}
.dark-mode .footer-col h4 { color: #1a1a2e; }
.footer-col a {
  display: block;
  color: #888;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: #f0c040; }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #666;
  font-size: 14px;
}
.dark-mode .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.05);
}
.footer-bottom p { margin: 5px 0; }

/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c040, #ff8c00);
  color: #0f0f1a;
  border: none;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(240, 192, 64, 0.3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 192, 64, 0.4);
}

/* ===== Banner 轮播 ===== */
.banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 40px 0;
  height: 400px;
}
.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 40px;
  text-align: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #f0c040;
}
.banner-slide p {
  color: #aaa;
  max-width: 500px;
  font-size: 16px;
}
.dark-mode .banner-slide p { color: #555; }

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.banner-dot.active {
  background: #f0c040;
  transform: scale(1.2);
}

/* ===== 搜索框 ===== */
.search-box {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 0;
}
.search-box input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 30px 0 0 30px;
  border: 1px solid rgba(240, 192, 64, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #e0e0e0;
  font-size: 15px;
}
.dark-mode .search-box input {
  background: rgba(255, 255, 255, 0.8);
  color: #1a1a2e;
  border-color: rgba(26, 26, 46, 0.2);
}
.search-box input:focus {
  outline: none;
  border-color: #f0c040;
}
.search-box button {
  padding: 12px 25px;
  border-radius: 0 30px 30px 0;
  border: none;
  background: linear-gradient(135deg, #f0c040, #ff8c00);
  color: #0f0f1a;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.search-box button:hover { background: #ff8c00; }

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 0;
  color: #888;
  font-size: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #f0c040; }
.breadcrumb span { color: #f0c040; }

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }

  /* 时间线移动端 */
  .timeline::before { left: 20px; }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
  }
  .timeline-item:nth-child(odd) { left: 0 !important; }
  .timeline-content { width: 100%; }

  .banner-slider { height: 300px; }
  .banner-slide h2 { font-size: 24px; }

  /* 导航移动端折叠 */
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid rgba(240, 192, 64, 0.1);
  }
  .dark-mode nav {
    background: rgba(245, 245, 250, 0.98);
    border-bottom-color: rgba(26, 26, 46, 0.1);
  }
  nav.open { display: flex; }
  .menu-toggle { display: flex; }

  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 28px; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sitemap-links { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}