/* ============================================
   维维云电脑 - 炫酷介绍页面样式
   ============================================ */

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

:root {
  --primary: #00d4ff;
  --secondary: #7c3aed;
  --accent: #f43f5e;
  --success: #10b981;
  --warning: #f59e0b;
  --bg-dark: #05050f;
  --bg-darker: #030308;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}

/* 粒子背景画布 */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* 鼠标光晕 */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, rgba(124, 58, 237, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.08s ease-out, top 0.08s ease-out;
  mix-blend-mode: screen;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 50px;
  background: rgba(5, 5, 15, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  font-size: 28px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 6px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

/* ============================================
   主内容区域
   ============================================ */
main {
  position: relative;
  z-index: 2;
}

.section {
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
}

.hero-content {
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 13px;
  color: var(--success);
  margin-bottom: 30px;
  animation: fadeInDown 0.8s ease;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--success);
}

.hero-title {
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
  display: block;
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 40%, var(--secondary) 70%, var(--accent) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 5s ease infinite;
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
}

.title-sub {
  display: block;
  font-size: 24px;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 12px;
  font-weight: 300;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 2;
  margin: 30px 0;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.highlight-text {
  color: var(--primary);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.feature-tag {
  padding: 10px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  font-size: 15px;
  color: var(--text-light);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-tag:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--glass-border);
}

.cta-btn.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.cta-btn:hover .cta-arrow {
  transform: translateX(5px);
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  margin: 8px auto 0;
}

/* ============================================
   Section Title
   ============================================ */
.section-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -1px;
}

.title-glow {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 4s ease infinite;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 50px;
  text-align: center;
}

/* ============================================
   核心优势卡片
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  width: 100%;
  margin-bottom: 60px;
}

.feature-card {
  position: relative;
  padding: 40px 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.1);
}

.feature-card.highlight {
  border-color: rgba(0, 212, 255, 0.3);
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.05));
}

.feature-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.feature-icon-wrap {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(124, 58, 237, 0.2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.feature-emoji {
  font-size: 32px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-highlight-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

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

.feature-stat strong {
  color: var(--primary);
  font-size: 18px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 15px;
}

.welfare-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.welfare-tags span {
  padding: 6px 14px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 16px;
  font-size: 13px;
  color: var(--accent);
}

/* ============================================
   技术展示圆环
   ============================================ */
.tech-showcase {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px;
  background: var(--glass);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  max-width: 900px;
  width: 100%;
}

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

.tech-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}

.tech-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 6;
}

.ring-progress {
  fill: none;
  stroke: url(#gradient);
  stroke: var(--primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: calc(283 - (283 * var(--progress)) / 100);
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 900;
  color: var(--text-light);
}

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

/* ============================================
   加入我们 / 群号卡片
   ============================================ */
.group-section {
  background: radial-gradient(ellipse at center bottom, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
}

.group-card-large {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 60px 50px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  text-align: center;
}

.group-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.1), transparent, rgba(124, 58, 237, 0.1), transparent);
  animation: rotate 8s linear infinite;
  z-index: 0;
}

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

.group-icon {
  font-size: 64px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.group-label {
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.group-number {
  font-size: 56px;
  font-weight: 900;
  font-family: 'SF Mono', 'Courier New', monospace;
  letter-spacing: 6px;
  background: linear-gradient(135deg, var(--warning), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.4));
  margin-bottom: 30px;
}

.group-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.copy-btn, .join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid var(--glass-border);
}

.copy-btn {
  background: var(--glass);
  color: var(--text-light);
}

.copy-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.join-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.join-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.group-tips {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.tip-icon {
  font-size: 16px;
}

/* ============================================
   Toast 提示
   ============================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 24px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
}

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--accent); }
.toast.info { border-color: var(--primary); }
.toast.warning { border-color: var(--warning); }

/* ============================================
   页脚
   ============================================ */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 50px 20px 30px;
  border-top: 1px solid var(--glass-border);
  background: rgba(3, 3, 8, 0.5);
}

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

.footer strong {
  color: var(--primary);
}

/* ============================================
   动画
   ============================================ */
@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

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

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

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

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

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .nav-menu {
    gap: 2px;
  }

  .nav-link {
    padding: 6px 12px;
    font-size: 13px;
  }

  .section {
    padding: 100px 20px 60px;
  }

  .title-line {
    font-size: 48px;
  }

  .title-sub {
    font-size: 18px;
    letter-spacing: 6px;
  }

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

  .group-number {
    font-size: 36px;
    letter-spacing: 3px;
  }

  .hero-feature-tags {
    gap: 10px;
  }

  .feature-tag {
    padding: 8px 16px;
    font-size: 13px;
  }

  .tech-showcase {
    gap: 30px;
    padding: 30px 20px;
  }

  .tech-ring {
    width: 90px;
    height: 90px;
  }

  .tech-percent {
    font-size: 18px;
  }

  .group-card-large {
    padding: 40px 24px;
  }

  .group-tips {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-btn {
    padding: 14px 30px;
    font-size: 15px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}
