/* ===== QuickQ 首页样式 ===== */

/* ===== Hero 区域 ===== */
.hero {
  padding: 160px 0 120px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Hero 统计 */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 480px;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.stat-plus {
  font-size: 20px;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* Hero 视觉 */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

.hero-shield {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: shieldPulse 3s ease-in-out infinite;
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation-delay: 0s;
}

.ring-2 {
  width: 75%;
  height: 75%;
  animation-delay: 0.5s;
  border-color: rgba(0, 102, 255, 0.3);
}

.ring-3 {
  width: 50%;
  height: 50%;
  animation-delay: 1s;
  border-color: rgba(0, 212, 170, 0.3);
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

.shield-core {
  width: 100px;
  height: 100px;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(0, 102, 255, 0.4);
  z-index: 2;
  animation: coreGlow 2s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 60px rgba(0, 102, 255, 0.4); }
  50% { box-shadow: 0 0 100px rgba(0, 102, 255, 0.6); }
}

/* 浮动卡片 */
.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: floatCard 5s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  right: 0;
  animation-delay: 0s;
}

.card-1 .fc-speed {
  color: var(--accent);
  font-weight: 700;
}

.card-2 {
  bottom: 15%;
  left: 0;
  animation-delay: 2.5s;
}

.card-2 .fc-data {
  color: var(--primary-light);
  font-weight: 700;
}

.fc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.fc-dot.green {
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.fc-dot.blue {
  background: var(--primary-light);
  animation: pulse 2s ease-in-out infinite 0.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge {
  display: inline-block;
  background: rgba(0, 102, 255, 0.15);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ===== 功能特色 ===== */
.features {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-hero);
  color: #fff;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 全平台支持 ===== */
.platforms {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.platform-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.platform-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  transition: var(--transition);
}

.platform-card:hover .platform-icon {
  background: var(--gradient-hero);
  color: #fff;
}

.platform-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.platform-card span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 套餐 ===== */
.pricing {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 28px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-hero);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 28px;
}

.pricing-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 4px;
}

.currency {
  font-size: 24px;
  font-weight: 600;
}

.period {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-header p {
  font-size: 13px;
  color: var(--text-secondary);
}

.save {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-btn {
  width: 100%;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}

.cta-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-card h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 36px;
}

.cta-card .btn {
  background: #fff;
  color: var(--primary);
}

.cta-card .btn:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== 滚动揭示动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    margin: 0 auto;
  }

  .hero-visual {
    height: 300px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .hero-content h1 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .cta-card h2 {
    font-size: 24px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .features,
  .platforms,
  .pricing {
    padding: 60px 0;
  }

  .hero-visual {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-card {
    padding: 40px 24px;
  }
}
