:/* 完美体育中国官网 style.css */
/* 全局变量与基础样式 */
:root {
  --primary: #1a237e;
  --primary-light: #283593;
  --primary-dark: #0d1b6e;
  --accent: #ff6f00;
  --accent-light: #ffa040;
  --bg: #f5f7fa;
  --card-bg: rgba(255, 255, 255, 0.85);
  --text: #1a1a2e;
  --text-light: #555;
  --shadow: 0 8px 32px rgba(26, 35, 126, 0.12);
  --radius: 20px;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.3);
  --gradient: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
  --gradient-accent: linear-gradient(135deg, #ff6f00, #ffa040);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
  --bg: #0a0a1a;
  --card-bg: rgba(30, 30, 60, 0.85);
  --text: #e8e8f0;
  --text-light: #aaa;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(20, 20, 50, 0.6);
  --glass-border: rgba(100, 100, 150, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

/* 容器 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 111, 0, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 111, 0, 0.45);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 35, 126, 0.3);
}

/* 通用节 */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* 毛玻璃卡片 */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: all var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(26, 35, 126, 0.2);
}

/* 网格布局 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

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

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* 响应式基础 */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 50px 0;
  }
  .section-title h2 {
    font-size: 30px;
  }
  .container {
    padding: 0 16px;
  }
}

/* ===== Header & 导航 ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s;
  padding: 0 24px;
}

[data-theme="dark"] header {
  background: rgba(10, 10, 26, 0.8);
  border-bottom-color: rgba(100, 100, 150, 0.15);
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

.logo svg {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  transition: all 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(26, 35, 126, 0.08);
  color: var(--primary);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: 0.3s;
  color: var(--text);
}

.theme-toggle:hover {
  background: rgba(128, 128, 128, 0.15);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  [data-theme="dark"] .nav-links {
    background: rgba(10, 10, 26, 0.95);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* ===== Banner ===== */
.banner {
  position: relative;
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-content {
  text-align: center;
  color: #fff;
  padding: 40px 24px;
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.banner-content h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.banner-content p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 111, 0, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(57, 73, 171, 0.2) 0%, transparent 60%);
}

.banner-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.banner-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dots span.active {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 34px;
  }
  .banner-content p {
    font-size: 16px;
  }
}

/* ===== 数字增长统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
}

.stat-card .number {
  font-size: 44px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-card .label {
  color: var(--text-light);
  font-size: 15px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: -40px;
  }
}

/* ===== 品牌故事 ===== */
.brand-story .glass-card {
  padding: 40px;
}

.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 3px solid var(--primary);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item h4 {
  font-size: 18px;
  color: var(--primary);
}

.timeline-item p {
  color: var(--text-light);
  margin-top: 6px;
}

/* ===== 团队卡片 ===== */
.team-card {
  text-align: center;
  padding: 24px;
}

.team-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
  font-weight: 700;
}

.team-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* ===== 产品卡片 ===== */
.product-card {
  padding: 24px;
  text-align: center;
}

.product-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
}

.product-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
  padding: 16px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  padding: 8px 0;
  transition: 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s;
  color: var(--text-light);
  padding: 0 16px;
}

.faq-answer.open {
  max-height: 600px;
  padding: 16px;
}

.faq-toggle {
  font-size: 22px;
  transition: transform 0.3s;
}

.faq-toggle.open {
  transform: rotate(45deg);
}

/* ===== HowTo ===== */
.howto-steps {
  counter-reset: step;
}

.howto-step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.howto-step .step-num {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.howto-step .step-content h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.howto-step .step-content p {
  color: var(--text-light);
  font-size: 15px;
}

/* ===== 文章卡片 ===== */
.article-card {
  padding: 20px;
}

.article-card .date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.article-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
}

.article-card .read-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s;
}

.article-card .read-more:hover {
  transform: translateX(4px);
}

/* ===== Footer ===== */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 30px;
  margin-top: 80px;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 4px;
}

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

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

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

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26, 35, 126, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 35, 126, 0.4);
}

/* ===== 搜索弹窗 ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.search-overlay.open {
  display: flex;
}

.search-modal {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-modal input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(128, 128, 128, 0.2);
  border-radius: 12px;
  font-size: 18px;
  background: transparent;
  color: var(--text);
  outline: none;
  transition: 0.3s;
}

.search-modal input:focus {
  border-color: var(--primary);
}

.search-modal .close-search {
  float: right;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
  padding: 0 0 12px 12px;
}

.search-results {
  margin-top: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.search-results div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
  cursor: pointer;
  transition: 0.3s;
}

.search-results div:hover {
  color: var(--primary);
}

/* ===== 地图占位 ===== */
.map-placeholder {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-light);
  border: 1px dashed rgba(128, 128, 128, 0.3);
}

/* ===== 额外响应式微调 ===== */
@media (max-width: 480px) {
  .stat-card .number {
    font-size: 32px;
  }
  .banner-content h1 {
    font-size: 28px;
  }
  .banner-content p {
    font-size: 14px;
  }
  .section-title h2 {
    font-size: 24px;
  }
  .glass-card {
    padding: 20px;
  }
  .team-card .avatar {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }
  .product-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}