/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 根变量定义 */
:root {
  --primary-blue: #2563EB;
  --accent-orange: #F59E0B;
  --white: #FFFFFF;
  --bg-light: #F9FAFB;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --border-light: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 基础样式 */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* LOGO容器样式 */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-blue), #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  position: relative;
}

/* WiFi信号图标样式 */
.wifi-signal {
  position: relative;
  width: 24px;
  height: 18px;
}

.wifi-bar {
  position: absolute;
  bottom: 0;
  background: var(--white);
  border-radius: 2px 2px 0 0;
  animation: wifiPulse 2s ease-in-out infinite;
}

.wifi-bar-1 {
  left: 0;
  width: 3px;
  height: 4px;
  animation-delay: 0s;
}

.wifi-bar-2 {
  left: 6px;
  width: 3px;
  height: 8px;
  animation-delay: 0.2s;
}

.wifi-bar-3 {
  left: 12px;
  width: 3px;
  height: 12px;
  animation-delay: 0.4s;
}

.wifi-bar-4 {
  left: 18px;
  width: 3px;
  height: 16px;
  animation-delay: 0.6s;
}

@keyframes wifiPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.logo-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue), #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-blue), #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link:hover::after {
  width: 100%;
}

/* 汉堡菜单 */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu span {
  width: 100%;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 主要内容区域 */
.main-content {
  margin-top: 70px;
}

/* Hero区域优化 */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.3), transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.3), transparent 50%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Hero内容优化 */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-title-main {
  display: block;
  font-size: 1.2em;
}

.hero-title-sub {
  display: block;
  font-size: 0.7em;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero特点相关样式已移除 */

/* Hero CTA按钮组 */
.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.hero-cta.primary {
  background: linear-gradient(135deg, var(--accent-orange), #F97316);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.hero-cta.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-cta:hover {
  transform: translateY(-3px);
}

.hero-cta.primary:hover {
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

.hero-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.hero-cta:hover .cta-arrow {
  transform: translateX(4px);
}

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

/* 章节样式 */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-blue), #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 产品展示区域 */
.products-section {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* 产品卡片优化 */
.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.product-header {
  position: relative;
  padding: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-badge {
  background: linear-gradient(135deg, var(--primary-blue), #3B82F6);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.mobile-badge {
  background: linear-gradient(135deg, #10B981, #059669);
}

.unicom-badge {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.product-icon {
  font-size: 24px;
  opacity: 0.7;
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 20px;
}

.product-info {
  padding: 30px;
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-blue), #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-desc {
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 20px;
}

/* 价格列表 */
.price-list {
  margin: 20px 0;
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.8), rgba(241, 245, 249, 0.8));
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.price-item:hover {
  transform: translateX(4px);
  border-left-color: var(--primary-blue);
}

.price-item.featured {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border: 2px solid rgba(245, 158, 11, 0.3);
  position: relative;
}

.price {
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 16px;
}

.data {
  color: var(--text-gray);
  font-size: 14px;
}

.original-price {
  text-decoration: line-through;
  color: var(--text-gray);
  margin-right: 8px;
  font-size: 14px;
}

.discounted-price {
  color: var(--accent-orange);
  font-weight: 700;
}

.featured-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-orange);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* 产品特点区域优化 */
.features-section {
  background: linear-gradient(135deg, var(--bg-light), var(--white));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.feature-icon-wrapper {
  padding: 30px 25px 0;
  text-align: center;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-blue), #3B82F6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--white);
  font-size: 32px;
  position: relative;
}

.gradient-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-content {
  padding: 20px 25px 30px;
  text-align: center;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-desc {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 16px;
}

/* 特点统计数据 */
.feature-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

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

.stat-item {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
}

/* 代理招募区域 */
.form-section {
  background: var(--white);
}

.rebate-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.rebate-card {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
}

.rebate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.rebate-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.rebate-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.rebate-desc {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 16px;
}

.rebate-highlight {
  background: linear-gradient(135deg, var(--accent-orange), #F97316);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  display: inline-block;
}

/* 联系我们区域 */
.contact-section {
  background: var(--bg-light);
}

.contact-container {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
  justify-content: center;
}

.wechat-card {
  background: linear-gradient(135deg, #4A90E2, #6BA6FF);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 300px;
  color: var(--white);
  transition: all 0.3s ease;
}

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

.wechat-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.wechat-qrcode {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: var(--white);
  padding: 10px;
}

.wechat-footer {
  font-size: 16px;
  font-weight: 500;
}

.faq-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.faq-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.faq-item {
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.faq-question {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
  color: var(--primary-blue);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  padding: 16px 20px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 14px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), #1D4ED8);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  width: 100%;
  padding: 14px 28px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}

.mobile-btn {
  background: linear-gradient(135deg, #10B981, #059669);
}

.unicom-btn {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.btn-icon {
  font-size: 18px;
}

/* 订单查询区域 */
.query-section {
  background: var(--white);
}

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

/* 响应式设计 - 移动端优化 */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: left 0.3s ease;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-link {
    display: block;
    padding: 20px;
    font-size: 16px;
  }

  .logo-container {
    gap: 8px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .logo-text {
    font-size: 20px;
  }
  
  .hero-section {
    padding: 80px 0 60px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  /* 移动端Hero特性样式已移除 */
  
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero-cta {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-image {
    height: 220px;
    padding: 15px;
  }
  
  .product-info {
    padding: 25px 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .feature-stats {
    flex-direction: column;
    gap: 10px;
  }
  
  .rebate-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .rebate-card {
    padding: 25px 20px;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
  }
  
  .wechat-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .wechat-qrcode {
    width: 160px;
    height: 160px;
  }
  
  .faq-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .nav-container {
    padding: 0 15px;
  }
  
  .logo-container {
    gap: 6px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .logo-text {
    font-size: 18px;
  }
  
  .hero-section {
    padding: 60px 0 40px;
  }
  
  .hero-title {
    font-size: 26px;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .product-title {
    font-size: 20px;
  }
  
  .price-item {
    padding: 10px 12px;
  }
  
  .price {
    font-size: 14px;
  }
  
  .data {
    font-size: 12px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }
  
  .feature-title {
    font-size: 18px;
  }
  
  .rebate-icon {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .rebate-title {
    font-size: 16px;
  }
  
  .rebate-desc {
    font-size: 13px;
  }
  
  .wechat-title {
    font-size: 18px;
  }
  
  .wechat-qrcode {
    width: 140px;
    height: 140px;
  }
  
  .faq-title {
    font-size: 20px;
  }
  
  .faq-question {
    font-size: 14px;
    padding: 14px 16px;
  }
  
  .faq-answer {
    padding: 0 16px;
  }
  
  .faq-item.active .faq-answer {
    padding: 14px 16px;
  }
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 选中状态 */
::selection {
  background: var(--primary-blue);
  color: var(--white);
}