/* Premium 高端官网主题 - 完整版样式 */

:root {
  --bg-primary: #0B1020;
  --bg-secondary: #0F1426;
  --accent: #6366F1;
  --accent-hover: #818CF8;
  --gold: #D4AF37;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border: rgba(212, 175, 55, 0.12);
  --card-bg: linear-gradient(180deg, rgba(15, 20, 38, 0.85), rgba(15, 20, 38, 0.65));
  --glow: rgba(99, 102, 241, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== 登录页 - 高端重新设计 ========== */

/* 背景与动画 */
.auth-body {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0F172A 0%, #0B1020 50%, #1E1B4B 100%);
  overflow-x: hidden;
}

.auth-bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
  bottom: -100px;
  right: -100px;
  animation-delay: 7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 3.5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

/* 顶部导航 */
.auth-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding: 16px 0;
}

.auth-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.auth-logo:hover {
  opacity: 0.8;
}

.auth-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.auth-logo-icon svg {
  width: 20px;
  height: 20px;
}

.auth-logo-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-nav-links {
  display: flex;
  gap: 24px;
}

.auth-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* 主容器 - 左右分栏 */
.auth-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 68px;
}

/* 左侧品牌区 */
.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
}

.auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.15), transparent 50%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(11, 16, 32, 0.6));
  backdrop-filter: blur(10px);
}

.auth-brand-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  color: #818CF8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
}

.auth-brand-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.auth-brand-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-brand-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.auth-brand-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  padding: 32px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.stat-value {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.auth-brand-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.feature-item svg {
  width: 24px;
  height: 24px;
  color: #6366F1;
  flex-shrink: 0;
}

/* 右侧表单区 */
.auth-form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(20px);
}

.auth-form-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, rgba(15, 20, 38, 0.9), rgba(15, 20, 38, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 
    0 0 0 1px rgba(99, 102, 241, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.4),
    0 0 100px -20px rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
}

.auth-form-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08), transparent 50%);
  pointer-events: none;
}

.auth-form-header {
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.auth-form-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-form-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 登录方式切换 */
.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.login-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-tab svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: transform 0.3s;
}

.login-tab:hover {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.login-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--text-primary);
  box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.2);
}

.login-tab.active svg {
  transform: scale(1.1);
}

/* 账号类型切换 */
.account-type-switch {
  display: flex;
  gap: 8px;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.type-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.type-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.type-btn.active {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text-primary);
  box-shadow: 0 2px 8px -2px rgba(99, 102, 241, 0.3);
}

/* 表单样式 */
.login-form {
  position: relative;
  z-index: 1;
}

.login-form.hidden {
  display: none;
}

.input-group {
  margin-bottom: 20px;
  transition: all 0.3s;
}

.input-group.hidden {
  display: none;
}

.input-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.input-label svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  opacity: 0.7;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 20, 38, 0.6);
  border: 1.5px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group input::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.input-group input:hover {
  border-color: rgba(148, 163, 184, 0.25);
}

.input-group input:focus {
  background: rgba(15, 20, 38, 0.8);
  border-color: #6366F1;
  box-shadow: 
    0 0 0 4px rgba(99, 102, 241, 0.08),
    0 4px 12px -2px rgba(99, 102, 241, 0.15);
}

.input-group.focused {
  transform: translateY(-2px);
}

/* 手机号输入组 */
.phone-input-group {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.phone-code-select {
  padding: 14px 12px;
  background: rgba(15, 20, 38, 0.6);
  border: 1.5px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.3s;
}

.phone-code-select:focus {
  border-color: #6366F1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

/* 密码输入 */
.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.toggle-password:hover {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.1);
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

.hidden {
  display: none !important;
}

/* 验证码组 */
.captcha-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.captcha-image {
  height: 48px;
  border-radius: 10px;
  border: 1.5px solid rgba(148, 163, 184, 0.15);
  cursor: pointer;
  transition: all 0.3s;
}

.captcha-image:hover {
  border-color: #6366F1;
  box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.2);
}

.code-input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.btn-send-code {
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: #818CF8;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-send-code:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(99, 102, 241, 0.3);
}

.btn-send-code:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 表单选项 */
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
}

.remember-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.remember-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #6366F1;
}

.remember-checkbox span:last-child {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.forgot-link {
  font-size: 13px;
  color: #818CF8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: #6366F1;
}

/* 提交按钮 */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 0 0 1px rgba(99, 102, 241, 0.5),
    0 8px 20px -4px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
  width: 300px;
  height: 300px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 0 0 1px rgba(99, 102, 241, 0.6),
    0 12px 30px -6px rgba(99, 102, 241, 0.5);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit span,
.btn-submit svg {
  position: relative;
  z-index: 1;
}

.btn-submit svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: transform 0.3s;
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

/* 分隔线 */
.divider {
  position: relative;
  text-align: center;
  margin: 32px 0 24px;
}

.divider span {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15, 20, 38, 0.9), rgba(15, 20, 38, 0.7));
  padding: 0 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2) 30%, rgba(148, 163, 184, 0.2) 70%, transparent);
}

/* 第三方登录 */
.oauth-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.oauth-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(15, 20, 38, 0.6);
  border: 1.5px solid rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.oauth-btn svg {
  width: 24px;
  height: 24px;
}

.oauth-btn:hover {
  background: rgba(15, 20, 38, 0.8);
  border-color: rgba(148, 163, 184, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.2);
}

.oauth-btn.wechat {
  border-color: rgba(34, 197, 94, 0.2);
  color: #22C55E;
}

.oauth-btn.wechat:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 6px 16px -4px rgba(34, 197, 94, 0.2);
}

.oauth-btn.qq {
  border-color: rgba(59, 130, 246, 0.2);
  color: #3B82F6;
}

.oauth-btn.qq:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 6px 16px -4px rgba(59, 130, 246, 0.2);
}

.oauth-btn.github {
  border-color: rgba(148, 163, 184, 0.2);
  color: #94A3B8;
}

.oauth-btn.github:hover {
  border-color: rgba(148, 163, 184, 0.4);
}

/* 底部链接 */
.auth-footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.register-link {
  color: #818CF8;
  text-decoration: none;
  font-weight: 700;
  margin-left: 6px;
  transition: color 0.2s;
}

.register-link:hover {
  color: #6366F1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .auth-container {
    grid-template-columns: 1fr;
  }
  
  .auth-brand {
    display: none;
  }
  
  .auth-form-wrapper {
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  .auth-nav-container {
    padding: 0 20px;
  }
  
  .auth-form-card {
    padding: 32px 24px;
  }
  
  .auth-form-header h2 {
    font-size: 24px;
  }
  
  .login-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .oauth-buttons {
    grid-template-columns: 1fr;
  }
  
  .auth-brand-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .auth-form-wrapper {
    padding: 24px 16px;
  }
  
  .auth-form-card {
    padding: 24px 20px;
  }
  
  .phone-input-group {
    grid-template-columns: 90px 1fr;
  }
  
  .captcha-group,
  .code-input-group {
    grid-template-columns: 1fr;
  }
  
  .captcha-image {
    width: 100%;
  }
}

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

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(11, 16, 32, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.logo-icon {
  color: var(--accent);
  font-size: 28px;
  text-shadow: 0 0 20px var(--glow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

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

.nav-flashsale {
  color: #FB923C !important;
  font-weight: 600;
  animation: navFlashPulse 2s ease-in-out infinite;
}

@keyframes navFlashPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.nav-groupbuy {
  color: #10B981 !important;
  font-weight: 600;
}

.btn-nav {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent), #8B5CF6);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 16px -8px var(--glow);
  transition: all 0.3s ease;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px var(--glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ========== Hero 区块 ========== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  margin-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15), transparent 50%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(11, 16, 32, 0.95));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), #8B5CF6, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.8s both;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

/* ========== 按钮系统 ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8B5CF6);
  color: #fff;
  box-shadow: 0 10px 30px -12px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px -10px var(--glow);
}

.btn-secondary {
  background: rgba(248, 250, 252, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(248, 250, 252, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(248, 250, 252, 0.15);
  border-color: rgba(248, 250, 252, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(248, 250, 252, 0.3);
}

.btn-outline-light:hover {
  background: rgba(248, 250, 252, 0.1);
}

.btn-large {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-outline-large {
  padding: 18px 40px;
  font-size: 16px;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(248, 250, 252, 0.3);
}

.btn-promo {
  width: 100%;
  margin-top: 16px;
}

/* ========== 通用区块样式 ========== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: rgba(15, 20, 38, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ========== 最新活动 ========== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #8B5CF6, var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
}

.promo-card:hover::before {
  opacity: 1;
}

.promo-featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  border-color: rgba(99, 102, 241, 0.3);
}

.promo-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.promo-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.promo-discount {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0;
}

.promo-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ========== 产品与服务 ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 60px -20px rgba(99, 102, 241, 0.5);
}

.product-icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 700;
}

.product-card > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
}

.product-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 14px;
  position: relative;
  padding-left: 24px;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.product-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.product-link:hover {
  color: var(--accent-hover);
  gap: 8px;
}

/* ========== 解决方案 ========== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.4s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}

.solution-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.solution-icon {
  font-size: 40px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

.solution-card h3 {
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 700;
}

.solution-card > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.solution-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 500;
}

/* ========== 生态合作 ========== */
.partners-showcase {
  margin-bottom: 60px;
}

.partner-category {
  margin-bottom: 48px;
}

.partner-category h3 {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 600;
}

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

.partner-logo {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
  transform: scale(1.05);
}

.cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}

.cta-box h3 {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 16px;
}

/* ========== 关于我们 ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-features {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-icon {
  font-size: 32px;
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

.feature-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.visual-content {
  position: relative;
  z-index: 1;
}

.metric {
  margin-bottom: 32px;
  text-align: center;
}

.metric:last-child {
  margin-bottom: 0;
}

.metric-value {
  display: block;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.metric-label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 100px 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(11, 16, 32, 0.95), rgba(15, 20, 38, 0.9));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.cta-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ========== 页脚 ========== */
.footer {
  padding: 80px 0 32px;
  background: rgba(11, 16, 32, 0.5);
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(248, 250, 252, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ========== 动画 ========== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 52px;
  }
  .section-title {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 16, 32, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

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

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

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

  .hero-title {
    font-size: 42px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

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

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat-number {
    font-size: 36px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-actions {
    flex-direction: column;
  }

  .partner-logos {
    grid-template-columns: 1fr;
  }
}

/* ========== 视觉增强 ========== */
.section:nth-child(even) {
  position: relative;
}

.section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ========== 限时秒杀区块 ========== */
.section-flashsale {
  background: 
    radial-gradient(circle at 30% 40%, rgba(220, 38, 38, 0.12), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(251, 146, 60, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(15, 20, 38, 0.5), rgba(11, 16, 32, 0.7));
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
  position: relative;
  overflow: hidden;
}

.section-flashsale::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15), transparent 70%);
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(100px, 50px); }
}

.flashsale-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.flashsale-title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flashsale-icon {
  font-size: 56px;
  filter: drop-shadow(0 0 20px rgba(251, 146, 60, 0.6));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.flashsale-title {
  font-size: 42px;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #DC2626, #FB923C, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flashsale-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 4px 0 0 0;
}

.flashsale-countdown {
  text-align: right;
}

.countdown-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(251, 146, 60, 0.15));
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 70px;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.countdown-value {
  font-size: 32px;
  font-weight: 800;
  color: #FB923C;
  line-height: 1;
  text-shadow: 0 0 20px rgba(251, 146, 60, 0.5);
}

.countdown-unit {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.countdown-separator {
  font-size: 28px;
  font-weight: 700;
  color: #FB923C;
  margin: 0 4px;
}

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

.flashsale-card {
  background: var(--card-bg);
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.flashsale-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #DC2626, #FB923C, #FBBF24);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flashsale-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(251, 146, 60, 0.5);
  box-shadow: 0 20px 60px -15px rgba(220, 38, 38, 0.6);
}

.flashsale-card:hover::before {
  opacity: 1;
}

.flashsale-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(251, 146, 60, 0.8));
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.product-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  margin-bottom: 20px;
}

.product-icon-large {
  font-size: 64px;
  filter: drop-shadow(0 8px 24px rgba(251, 146, 60, 0.4));
  transition: all 0.3s ease;
}

.flashsale-card:hover .product-icon-large {
  transform: scale(1.1) rotate(5deg);
}

.flashsale-product h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.product-spec {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.price-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.price-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.price-sale {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

.price-number {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #DC2626, #FB923C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flashsale-progress {
  margin-bottom: 20px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #DC2626, #FB923C, #FBBF24);
  border-radius: 10px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 12px;
  color: #FB923C;
  text-align: center;
  font-weight: 600;
}

.btn-flashsale {
  width: 100%;
  background: linear-gradient(135deg, #DC2626, #FB923C);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px -8px rgba(220, 38, 38, 0.6);
  position: relative;
  overflow: hidden;
}

.btn-flashsale::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-flashsale:hover::before {
  width: 300px;
  height: 300px;
}

.btn-flashsale:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(220, 38, 38, 0.8);
}

.btn-upcoming {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.2));
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-upcoming:hover {
  transform: none;
  box-shadow: none;
}

/* 秒杀区块响应式 */
@media (max-width: 1200px) {
  .flashsale-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .flashsale-header {
    flex-direction: column;
    text-align: center;
  }
  
  .flashsale-countdown {
    text-align: center;
  }
  
  .flashsale-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .flashsale-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .flashsale-grid {
    grid-template-columns: 1fr;
  }
  
  .countdown-timer {
    justify-content: center;
  }
  
  .countdown-item {
    min-width: 60px;
    padding: 10px 12px;
  }
  
  .countdown-value {
    font-size: 28px;
  }
}

/* ========== 拼团特惠区块 ========== */
.section-groupbuy {
  background: 
    radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.1), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(11, 16, 32, 0.7), rgba(15, 20, 38, 0.5));
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.groupbuy-icon {
  font-size: 48px;
  margin-right: 12px;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
  display: inline-block;
  animation: groupbuyBounce 3s ease-in-out infinite;
}

@keyframes groupbuyBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.groupbuy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.groupbuy-card {
  background: var(--card-bg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.groupbuy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981, #06B6D4, #14B8A6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.groupbuy-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 60px -20px rgba(16, 185, 129, 0.6);
}

.groupbuy-card:hover::before {
  opacity: 1;
}

.groupbuy-hot {
  border-color: rgba(251, 146, 60, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.05));
}

.groupbuy-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(6, 182, 212, 0.8));
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.groupbuy-badge.hot {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.9), rgba(251, 191, 36, 0.8));
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.product-image-group {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  margin-bottom: 20px;
}

.product-icon-group {
  font-size: 56px;
  filter: drop-shadow(0 8px 24px rgba(16, 185, 129, 0.4));
  transition: all 0.3s ease;
}

.groupbuy-card:hover .product-icon-group {
  transform: scale(1.15);
}

.groupbuy-product h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

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

/* 价格梯度 */
.groupbuy-price-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.price-tier {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.price-tier:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.tier-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.1));
  border-color: rgba(16, 185, 129, 0.4);
  border-width: 2px;
  position: relative;
}

.tier-active::after {
  content: '推荐';
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 2px 8px;
  background: #10B981;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.tier-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.tier-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.tier-active .tier-price {
  background: linear-gradient(135deg, #10B981, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-save {
  font-size: 11px;
  color: #10B981;
  font-weight: 600;
}

/* 拼团进度 */
.groupbuy-progress {
  margin-bottom: 24px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.progress-info strong {
  color: #10B981;
  font-weight: 700;
}

.group-avatars {
  display: flex;
  gap: -8px;
  margin-bottom: 20px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:hover {
  transform: scale(1.15) translateY(-4px);
  z-index: 10;
}

.avatar-more {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.3);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

/* 拼团按钮 */
.groupbuy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-group-create {
  background: linear-gradient(135deg, #10B981, #06B6D4);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.5);
  position: relative;
  overflow: hidden;
}

.btn-group-create::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-group-create:hover::before {
  width: 200px;
  height: 200px;
}

.btn-group-create:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(16, 185, 129, 0.7);
}

.btn-group-join {
  background: transparent;
  color: #10B981;
  border: 2px solid #10B981;
  font-weight: 700;
}

.btn-group-join:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #06B6D4;
  color: #06B6D4;
}

/* 拼团规则 */
.groupbuy-rules {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}

.groupbuy-rules h4 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 36px;
  color: var(--text-primary);
}

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

.rule-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rule-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.5);
}

.rule-content h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rule-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 团购区块响应式 */
@media (max-width: 1200px) {
  .groupbuy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .groupbuy-grid {
    grid-template-columns: 1fr;
  }
  
  .groupbuy-price-tiers {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .price-tier {
    padding: 10px 6px;
  }
  
  .tier-price {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .rules-grid {
    grid-template-columns: 1fr;
  }
  
  .groupbuy-rules {
    padding: 32px 20px;
  }
  
  .groupbuy-actions {
    grid-template-columns: 1fr;
  }
  
  .group-avatars {
    justify-content: center;
  }
}


