/* ===== 买球站 - 完整样式文件 ===== */
/* 全局重置与基础 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: #f4f6fb;
  color: #1a1a2e;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  min-height: 100vh;
}

body.dark {
  background: #0b0b1a;
  color: #e0e0e0;
}

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

/* 毛玻璃通用类 */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
}

.dark .glass {
  background: rgba(20, 20, 45, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 14px 38px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
  box-shadow: 0 8px 28px rgba(102, 126, 234, 0.35);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(102, 126, 234, 0.45);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 区块通用 */
.section {
  padding: 90px 0;
  position: relative;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -0.5px;
  line-height: 1.2;
  background: linear-gradient(135deg, #1a1a2e, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .section-title {
  background: linear-gradient(135deg, #e0e0e0, #a0a0c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 18px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 55px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.dark .section-sub {
  color: #9ca3af;
}

/* 卡片 */
.card {
  border-radius: 20px;
  padding: 32px;
  background: #ffffff;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::after {
  opacity: 1;
}

.dark .card {
  background: #1a1a30;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.1);
}

.dark .card:hover {
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.45);
}

/* 网格系统 */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

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

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

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

/* ===== 头部导航 ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.dark header.scrolled {
  background: rgba(11, 11, 26, 0.92);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.5px;
  position: relative;
}

.logo::after {
  content: '⚽';
  font-size: 18px;
  margin-left: 6px;
  -webkit-text-fill-color: initial;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.dark nav a {
  color: #d1d5db;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

nav a:hover {
  color: #667eea;
}

nav a:hover::before {
  width: 100%;
  left: 0;
}

nav a.active {
  color: #667eea;
}

nav a.active::before {
  width: 100%;
  left: 0;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: #374151;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dark .hamburger span {
  background: #d1d5db;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px 28px;
  z-index: 999;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dark .mobile-menu {
  background: rgba(11, 11, 26, 0.97);
  border-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu a {
  text-decoration: none;
  color: #374151;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 6px 0;
}

.dark .mobile-menu a {
  color: #d1d5db;
}

.mobile-menu a:hover {
  color: #667eea;
}

/* ===== 英雄区 ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 25% 40%, rgba(102, 126, 234, 0.2), transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(118, 75, 162, 0.15), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(167, 139, 250, 0.1), transparent 40%);
  animation: heroGlow 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.dark .hero {
  background: linear-gradient(135deg, #050510 0%, #0c0c24 40%, #15152a 100%);
}

@keyframes heroGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3%, 4%) scale(1.02);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
  padding: 40px 0;
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #667eea, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 34px;
  opacity: 0.92;
  color: rgba(255, 255, 255, 0.85);
}

.hero .btn {
  margin-right: 18px;
  margin-bottom: 10px;
}

.hero .btn:last-child {
  margin-right: 0;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 55px;
}

.hero-stats div {
  text-align: center;
}

.hero-stats .num {
  font-size: 40px;
  font-weight: 700;
  color: #a78bfa;
  line-height: 1;
}

.hero-stats .label {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

.hero-visual {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

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

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

.banner-dots span.active {
  background: #667eea;
  width: 36px;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(102, 126, 234, 0.5);
}

/* ===== 品牌介绍 ===== */
.brand-intro .grid-2 {
  align-items: center;
}

.brand-intro img {
  width: 100%;
  border-radius: 20px;
}

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

.brand-values .item {
  text-align: center;
  padding: 28px 20px;
}

.brand-values .item svg {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}

.brand-values .item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.brand-values .item p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.dark .brand-values .item p {
  color: #9ca3af;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 44px;
  border-left: 2.5px solid #667eea;
}

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

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: #667eea;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.dark .timeline-item::before {
  border-color: #0b0b1a;
}

.timeline-item .year {
  font-weight: 700;
  color: #667eea;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.timeline-item p {
  margin-top: 6px;
  color: #6b7280;
  line-height: 1.7;
}

.dark .timeline-item p {
  color: #9ca3af;
}

/* 团队网格 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 28px 20px;
}

.team-card svg {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 14px;
  transition: transform 0.4s ease;
}

.team-card:hover svg {
  transform: scale(1.08);
}

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

.team-card p {
  font-size: 14px;
  color: #6b7280;
}

.dark .team-card p {
  color: #9ca3af;
}

/* ===== 产品中心 ===== */
.product-card {
  padding: 36px 28px;
  text-align: center;
}

.product-card svg {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

.product-card:hover svg {
  transform: scale(1.12) rotate(-5deg);
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}

.product-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.dark .product-card p {
  color: #9ca3af;
}

/* ===== 服务支持 ===== */
.advantage-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.advantage-item {
  padding: 32px 24px;
  text-align: center;
}

.advantage-item svg {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  transition: transform 0.4s ease;
}

.advantage-item:hover svg {
  transform: rotateY(180deg);
}

.advantage-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.advantage-item p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

.dark .advantage-item p {
  color: #9ca3af;
}

/* ===== 案例展示 ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  padding: 28px;
}

.case-card svg {
  width: 100%;
  height: 190px;
  border-radius: 14px;
  margin-bottom: 18px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover svg {
  transform: scale(1.02);
}

.case-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.case-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
  line-height: 1.7;
}

.dark .case-card p {
  color: #9ca3af;
}

/* ===== 客户评价 ===== */
.testimonial-card {
  padding: 34px 28px;
  text-align: center;
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 22px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #6b7280;
  margin-bottom: 18px;
  font-style: italic;
}

.dark .testimonial-card p {
  color: #9ca3af;
}

.testimonial-card .author {
  font-weight: 600;
  color: #667eea;
}

/* ===== 合作伙伴 ===== */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  align-items: center;
}

.partner-grid svg {
  width: 130px;
  height: 65px;
  opacity: 0.45;
  transition: opacity 0.4s ease, transform 0.4s ease;
  filter: grayscale(0.5);
}

.partner-grid svg:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(0);
}

/* ===== 新闻资讯 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  padding: 28px;
}

.news-card .date {
  font-size: 13px;
  color: #667eea;
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
}

.news-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.news-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 14px;
  line-height: 1.7;
}

.dark .news-card p {
  color: #9ca3af;
}

.news-card .read-more {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-card .read-more:hover {
  gap: 8px;
  color: #764ba2;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 22px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dark .faq-item {
  border-color: #2d2d4a;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  gap: 16px;
}

.faq-question span {
  font-size: 26px;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  color: #667eea;
  flex-shrink: 0;
  font-weight: 300;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease, padding-top 0.4s ease;
  opacity: 0;
  padding-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding-top: 18px;
}

.faq-answer p {
  color: #6b7280;
  line-height: 1.8;
}

.dark .faq-answer p {
  color: #9ca3af;
}

/* ===== 使用指南 ===== */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.howto-step {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.howto-step .num {
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 56px;
  font-weight: 800;
  color: rgba(102, 126, 234, 0.1);
  line-height: 1;
  pointer-events: none;
}

.dark .howto-step .num {
  color: rgba(102, 126, 234, 0.15);
}

.howto-step h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.howto-step p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

.dark .howto-step p {
  color: #9ca3af;
}

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-item {
  text-align: center;
  padding: 28px 20px;
}

.contact-item svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  transition: transform 0.4s ease;
}

.contact-item:hover svg {
  transform: scale(1.15);
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-item p {
  font-size: 14px;
  color: #6b7280;
  word-break: break-all;
}

.dark .contact-item p {
  color: #9ca3af;
}

/* ===== 页脚 ===== */
.footer {
  background: #1a1a2e;
  color: #cbd5e1;
  padding: 64px 0 36px;
}

.dark .footer {
  background: #080816;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 44px;
}

.footer h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.footer ul {
  list-style: none;
}

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

.footer ul li a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer ul li a:hover {
  color: #667eea;
  padding-left: 4px;
}

.footer .copyright {
  text-align: center;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.8;
}

.footer .copyright a {
  color: #667eea;
  text-decoration: none;
}

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

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 22px;
  font-weight: 700;
  border: none;
}

.back-top.show {
  display: flex;
}

.back-top:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.back-top:active {
  transform: scale(0.95);
}

/* ===== 搜索模态框 ===== */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.search-modal.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.search-modal .modal-content {
  background: #ffffff;
  padding: 44px 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dark .search-modal .modal-content {
  background: #1a1a30;
  color: #e0e0e0;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.search-modal input {
  width: 100%;
  padding: 16px 22px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
  background: transparent;
  color: inherit;
}

.dark .search-modal input {
  border-color: #3d3d5c;
}

.search-modal input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.search-modal .close {
  float: right;
  font-size: 30px;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.3s ease, transform 0.3s ease;
  line-height: 1;
}

.search-modal .close:hover {
  color: #667eea;
  transform: rotate(90deg);
}

.dark .search-modal .close {
  color: #9ca3af;
}

/* ===== 主题切换 ===== */
.theme-toggle {
  position: fixed;
  top: 82px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  font-size: 22px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
  user-select: none;
}

.dark .theme-toggle {
  background: rgba(30, 30, 60, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover {
  transform: scale(1.12) rotate(15deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.dark .theme-toggle:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== 滚动动画（初始隐藏，JS控制显示） ===== */
.card, .team-card, .product-card, .case-card, .news-card, 
.advantage-item, .howto-step, .contact-item, .brand-values .item {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.visible, .team-card.visible, .product-card.visible, .case-card.visible, 
.news-card.visible, .advantage-item.visible, .howto-step.visible, 
.contact-item.visible, .brand-values .item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 延迟动画 */
.brand-values .item:nth-child(1) { transition-delay: 0.05s; }
.brand-values .item:nth-child(2) { transition-delay: 0.1s; }
.brand-values .item:nth-child(3) { transition-delay: 0.15s; }
.brand-values .item:nth-child(4) { transition-delay: 0.2s; }

.team-card:nth-child(1) { transition-delay: 0.05s; }
.team-card:nth-child(2) { transition-delay: 0.1s; }
.team-card:nth-child(3) { transition-delay: 0.15s; }
.team-card:nth-child(4) { transition-delay: 0.2s; }

.product-card:nth-child(1) { transition-delay: 0.05s; }
.product-card:nth-child(2) { transition-delay: 0.1s; }
.product-card:nth-child(3) { transition-delay: 0.15s; }
.product-card:nth-child(4) { transition-delay: 0.2s; }
.product-card:nth-child(5) { transition-delay: 0.25s; }
.product-card:nth-child(6) { transition-delay: 0.3s; }

.advantage-item:nth-child(1) { transition-delay: 0.05s; }
.advantage-item:nth-child(2) { transition-delay: 0.1s; }
.advantage-item:nth-child(3) { transition-delay: 0.15s; }

.case-card:nth-child(1) { transition-delay: 0.05s; }
.case-card:nth-child(2) { transition-delay: 0.1s; }
.case-card:nth-child(3) { transition-delay: 0.15s; }

.news-card:nth-child(1) { transition-delay: 0.03s; }
.news-card:nth-child(2) { transition-delay: 0.06s; }
.news-card:nth-child(3) { transition-delay: 0.09s; }
.news-card:nth-child(4) { transition-delay: 0.12s; }
.news-card:nth-child(5) { transition-delay: 0.15s; }
.news-card:nth-child(6) { transition-delay: 0.18s; }
.news-card:nth-child(7) { transition-delay: 0.21s; }
.news-card:nth-child(8) { transition-delay: 0.24s; }

.howto-step:nth-child(1) { transition-delay: 0.05s; }
.howto-step:nth-child(2) { transition-delay: 0.1s; }
.howto-step:nth-child(3) { transition-delay: 0.15s; }

.contact-item:nth-child(1) { transition-delay: 0.05s; }
.contact-item:nth-child(2) { transition-delay: 0.1s; }
.contact-item:nth-child(3) { transition-delay: 0.15s; }
.contact-item:nth-child(4) { transition-delay: 0.2s; }

/* ===== 响应式设计 ===== */

/* 平板 */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .brand-values {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero h1 {
    font-size: 44px;
  }
  
  .section-title {
    font-size: 32px;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-sub {
    font-size: 16px;
    margin-bottom: 40px;
  }
  
  .hero {
    min-height: 90vh;
  }
  
  .hero h1 {
    font-size: 34px;
  }
  
  .hero p {
    font-size: 17px;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
  }
  
  .hero-stats .num {
    font-size: 32px;
  }
  
  .hamburger {
    display: flex;
  }
  
  nav ul {
    display: none;
  }
  
  .brand-values {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .advantage-list {
    grid-template-columns: 1fr;
  }
  
  .case-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .howto-steps {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .theme-toggle {
    top: auto;
    bottom: 90px;
    right: 20px;
  }
  
  .back-top {
    bottom: 24px;
    right: 20px;
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .header-inner {
    height: 64px;
  }
  
  .logo {
    font-size: 22px;
  }
  
  .mobile-menu {
    top: 64px;
  }
}

/* 小手机 */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .hero-stats .num {
    font-size: 28px;
  }
  
  .brand-values {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .btn {
    padding: 12px 28px;
    font-size: 15px;
  }
  
  .card {
    padding: 24px 20px;
  }
  
  .hero .btn {
    margin-right: 0;
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
  }
  
  .hero .btn:last-child {
    margin-bottom: 0;
  }
}

/* 打印样式 */
@media print {
  .back-top, .theme-toggle, .search-modal, .mobile-menu, .hamburger {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 60px 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .section {
    padding: 30px 0;
    page-break-inside: avoid;
  }
}

/* 辅助功能 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .card, .team-card, .product-card, .case-card, .news-card,
  .advantage-item, .howto-step, .contact-item, .brand-values .item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 选择器 */
::selection {
  background: rgba(102, 126, 234, 0.25);
  color: inherit;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.5);
}

.dark ::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.2);
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.35);
}