/* ========================================
   CAC Landing Page - Styles
   PC端固定宽度 1200px | 移动端自适应
   ======================================== */

/* CSS Variables - 设计系统变量 */
:root {
  /* 主色调 - 赛博霓虹风格 */
  --color-bg-dark: #050018;
  --color-bg-darker: #02010B;
  --color-primary-purple: #9b5bff;
  --color-primary-pink: #ff4fd8;
  --color-primary-cyan: #00e4ff;
  
  /* 文字颜色 */
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-muted: rgba(255, 255, 255, 0.5);
  
  /* 玻璃拟态效果 */
  --color-glass-bg: rgba(255, 255, 255, 0.08);
  --color-glass-border: rgba(255, 255, 255, 0.15);
  --color-glass-hover: rgba(255, 255, 255, 0.12);
  
  /* 渐变色 */
  --gradient-main: linear-gradient(90deg, #ff4fd8, #9b5bff, #00e4ff);
  --gradient-purple-pink: linear-gradient(135deg, #9b5bff, #ff4fd8);
  --gradient-cyan-purple: linear-gradient(90deg, #00e4ff, #9b5bff);
  --gradient-bg-section: linear-gradient(180deg, var(--color-bg-darker) 0%, #080020 100%);
  
  /* 字体 */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* 布局尺寸 */
  --container-width: 1200px;
  --header-height: 72px;
  --section-padding: 120px;
  --section-padding-mobile: 60px;
  --section-gap: 80px; /* section之间的间距 */
  --content-max-width: 1200px; /* 内容最大宽度 */
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  
  /* 阴影 */
  --shadow-glow: 0 0 40px rgba(155, 91, 255, 0.3);
  --shadow-glow-strong: 0 0 60px rgba(155, 91, 255, 0.5);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-text-glow: 0 0 20px rgba(155, 91, 255, 0.6);
  --shadow-button: 0 8px 25px rgba(155, 91, 255, 0.4);
  --shadow-button-hover: 0 12px 35px rgba(255, 79, 216, 0.5);
  
  /* 动画时长 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  opacity: 0;
  animation: pageFadeIn 0.8s ease forwards;
  cursor: none; /* 隐藏默认光标，使用自定义光标 */
}

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

/* 鼠标跟随光效 */
.cursor-glow {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 91, 255, 0.8), rgba(255, 79, 216, 0.6), transparent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: screen;
  box-shadow: 0 0 30px rgba(155, 91, 255, 0.8);
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

.cursor-glow.hover {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 228, 255, 0.9), rgba(155, 91, 255, 0.7), transparent);
  box-shadow: 0 0 50px rgba(0, 228, 255, 1);
}

@keyframes pageFadeIn {
  to {
    opacity: 1;
  }
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1; /* 确保在火箭背景上方 */
  width: 100%;
}

/* 统一section基础样式 */
section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ========================================
   Header
   ======================================== */
.header {
  height: var(--header-height);
  background: linear-gradient(to right, rgba(10, 0, 40, 0.9), rgba(10, 0, 30, 0.9));
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 10; /* 确保在火箭背景上方 */
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-glass-border);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(5, 0, 20, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-icon {
  height: 36px;
  width: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-sm);
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text-primary);
  margin: 2px 0;
  transition: var(--transition-normal);
  border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px; /* 稍微减少间距，让导航更紧凑 */
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  padding: 10px 0;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(155, 91, 255, 0.1), rgba(255, 79, 216, 0.1));
  border-radius: 4px;
  transition: width var(--transition-normal);
  z-index: -1;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width var(--transition-normal);
  box-shadow: 0 0 10px rgba(155, 91, 255, 0.6);
}

.main-nav a:hover {
  color: var(--color-text-primary);
  text-shadow: 0 0 15px rgba(155, 91, 255, 0.8);
  transform: translateY(-2px);
}

.main-nav a:hover::before {
  width: 100%;
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lang-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.current-lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 130px;
  background: rgba(20, 10, 50, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-normal);
  z-index: 1002;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-option:hover,
.lang-option.active {
  background: rgba(155, 91, 255, 0.2);
  color: var(--color-text-primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  min-height: 100vh;
  position: relative;
  z-index: 1; /* 确保在火箭背景上方 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Hero区域游动粒子画布 */
.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.8;
}

.hero-main-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero Glow - CSS Animation (替代 hero-glow.png) */
.hero-glow-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  will-change: transform, opacity;
}

.glow-orb-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 79, 216, 0.5) 0%, rgba(155, 91, 255, 0.3) 40%, transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: glowFloat1 8s ease-in-out infinite;
}

.glow-orb-2 {
  width: 500px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(0, 228, 255, 0.4) 0%, rgba(155, 91, 255, 0.2) 50%, transparent 70%);
  top: 30%;
  left: 20%;
  animation: glowFloat2 10s ease-in-out infinite;
}

.glow-orb-3 {
  width: 450px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(155, 91, 255, 0.5) 0%, rgba(255, 79, 216, 0.2) 50%, transparent 70%);
  top: 20%;
  right: 15%;
  animation: glowFloat3 12s ease-in-out infinite;
}

@keyframes glowFloat1 {
  0%, 100% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) translateY(-30px) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes glowFloat2 {
  0%, 100% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.5;
  }
  33% {
    transform: translateX(30px) translateY(-20px) scale(1.05);
    opacity: 0.7;
  }
  66% {
    transform: translateX(-20px) translateY(10px) scale(0.95);
    opacity: 0.4;
  }
}

@keyframes glowFloat3 {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-40px) scale(1.15);
    opacity: 0.7;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 0;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 12px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  animation: glow-pulse 3s ease-in-out infinite, titleFloat 4s ease-in-out infinite;
  position: relative;
}

@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(155, 91, 255, 0.5)); }
  50% { filter: drop-shadow(0 0 40px rgba(155, 91, 255, 0.8)); }
}

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

.hero-subtitle {
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  animation: subtitleGlow 3s ease-in-out infinite alternate;
  text-shadow: 0 0 20px rgba(255, 79, 216, 0.5);
}

@keyframes subtitleGlow {
  from {
    text-shadow: 0 0 20px rgba(255, 79, 216, 0.5), 0 0 30px rgba(155, 91, 255, 0.3);
  }
  to {
    text-shadow: 0 0 30px rgba(255, 79, 216, 0.8), 0 0 50px rgba(155, 91, 255, 0.5);
  }
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto 48px;
  animation: fadeInUp 1s ease 0.3s both;
}

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

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-normal);
}

.dot.active {
  background: var(--gradient-main);
  box-shadow: 0 0 15px rgba(155, 91, 255, 0.8);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* ========================================
   Real Assets Section
   ======================================== */
.realassets-section {
  padding: var(--section-padding) 0;
  background: var(--gradient-bg-section);
  margin-bottom: 0;
}

.realassets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.realassets-text {
  padding-right: 20px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 30%, #c4a1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(155, 91, 255, 0.6);
}

.realassets-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  max-width: 100%;
}

.realassets-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.realassets-visual img {
  width: 100%;
  max-width: 480px;
}

/* ========================================
   Learn More Section
   ======================================== */
.learnmore-section {
  padding: 60px 0;
  margin-bottom: 0;
}

.learnmore-card {
  position: relative;
  height: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 200, 255, 0.15), rgba(155, 91, 255, 0.15), rgba(255, 79, 216, 0.15));
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.learnmore-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(155, 91, 255, 0.4);
  background: linear-gradient(90deg, rgba(0, 200, 255, 0.2), rgba(155, 91, 255, 0.2), rgba(255, 79, 216, 0.2));
}

.learnmore-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.learnmore-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 48px;
}

.learnmore-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text-primary);
}

.learnmore-actions {
  display: flex;
  gap: 16px;
}

.btn-icon-text {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-icon-text:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-button);
  border-color: rgba(155, 91, 255, 0.3);
}

.btn-icon-text:active {
  transform: translateY(0);
}
  border: 1px solid var(--color-glass-border);
}

.btn-icon-text:hover {
  background: var(--color-glass-hover);
  transform: translateY(-2px);
}

.btn-gradient {
  padding: 12px 32px;
  background: var(--gradient-purple-pink);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 79, 216, 0.4);
}

/* ========================================
   Certificate Section
   ======================================== */
.cert-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* 证书区背景图片 */
.cert-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cert-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Certificate Wave - CSS Animation (替代 cert-bg-wave.png) */
.cert-wave-animated {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  transform-origin: center bottom;
}

.wave-1 {
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(155, 91, 255, 0.15) 25%,
    rgba(255, 79, 216, 0.1) 50%,
    rgba(0, 228, 255, 0.15) 75%,
    transparent 100%
  );
  height: 180px;
  animation: waveMove 15s linear infinite;
  clip-path: polygon(
    0% 60%, 5% 55%, 10% 50%, 15% 48%, 20% 50%, 25% 55%, 30% 58%, 35% 55%, 
    40% 50%, 45% 48%, 50% 52%, 55% 58%, 60% 55%, 65% 50%, 70% 48%, 75% 52%, 
    80% 58%, 85% 55%, 90% 50%, 95% 52%, 100% 58%,
    100% 100%, 0% 100%
  );
  opacity: 0.8;
}

.wave-2 {
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0, 228, 255, 0.12) 30%,
    rgba(155, 91, 255, 0.08) 60%,
    transparent 100%
  );
  height: 140px;
  animation: waveMove 12s linear infinite reverse;
  clip-path: polygon(
    0% 70%, 8% 65%, 16% 60%, 24% 62%, 32% 68%, 40% 65%, 48% 58%, 
    56% 62%, 64% 70%, 72% 65%, 80% 58%, 88% 62%, 96% 68%, 100% 65%,
    100% 100%, 0% 100%
  );
  opacity: 0.6;
}

.wave-3 {
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 79, 216, 0.1) 40%,
    rgba(155, 91, 255, 0.06) 70%,
    transparent 100%
  );
  height: 100px;
  animation: waveMove 18s linear infinite;
  clip-path: polygon(
    0% 75%, 10% 70%, 20% 72%, 30% 78%, 40% 72%, 50% 68%, 60% 74%, 
    70% 80%, 80% 74%, 90% 70%, 100% 76%,
    100% 100%, 0% 100%
  );
  opacity: 0.4;
}

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

.cert-content {
  position: relative;
  z-index: 2;
}

.cert-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.cert-item {
  text-align: center;
  transition: var(--transition-normal);
}

.cert-item {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cert-item:hover {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 10px 30px rgba(155, 91, 255, 0.4));
}

.cert-item img {
  transition: all 0.4s ease;
}

.cert-item:hover img {
  transform: scale(1.05);
}

/* 统一证书大小 - 硬编码 */
.cert-image {
  width: 320px;
  height: 426px;
  object-fit: cover;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.cert-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}

/* ========================================
   Video Section
   ======================================== */
.video-section {
  padding: 80px 0;
  background: var(--color-bg-darker);
}

.video-preview {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-glass-bg);
  box-shadow: var(--shadow-card);
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.play-btn img {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glow);
}

/* ========================================
   Ecosystem Section
   ======================================== */
.ecosystem-section {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--color-bg-darker);
  overflow: hidden;
  margin-bottom: 0;
  transform-style: preserve-3d;
}

.ecosystem-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 200, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

.ecosystem-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.ecosystem-title {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 64px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  width: 100%;
  animation: titleShimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(155, 91, 255, 0.5));
}

@keyframes titleShimmer {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(155, 91, 255, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255, 79, 216, 0.8));
  }
}

.ecosystem-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(155, 91, 255, 0.8);
}

.ecosystem-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.eco-card {
  background-image: url('assets/images/cac_eco_item_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.eco-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.eco-card > * {
  position: relative;
  z-index: 1;
}

.eco-card:hover {
  transform: translateY(-10px) scale(1.02) rotateX(5deg) rotateY(5deg);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  border-color: rgba(155, 91, 255, 0.5);
}

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

.eco-card:hover::after {
  left: 100%;
}

.eco-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eco-card-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.eco-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ========================================
   Welcome Section (Tokenomics)
   ======================================== */
.welcome-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--color-bg-darker) 0%, #0a0028 100%);
  margin-top: -50px; /* 整个区域上移50px */
  margin-bottom: 0;
}

.welcome-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  width: 100%;
}

.welcome-badge {
  display: block;
  padding: 14px 36px;
  background-image: url('assets/images/welcome_bg.png'); /* 使用背景图片 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text-primary);
  margin: 0 auto 0px; /* 继续缩小与手机的间距，几乎紧贴 */
  box-shadow: 0 4px 20px rgba(0, 228, 255, 0.3);
  text-align: center;
  width: 320px; /* 手机图片长度的80%（400px * 0.8 = 320px） */
  max-width: 320px;
}

/* PC和H5统一：上下布局，图片在上，文字在下，文字稍微覆盖图片 */
.welcome-layout-vertical {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 上方手机区域 */
.welcome-phone-area {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -260px; /* 增加负margin，让文字更压在手机上 */
  margin-top: 0; /* 减少与按钮的间距 */
}

.phone-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-main {
  width: 400px; /* PC端手机更大 */
  height: 800px; /* PC端手机更大 */
  object-fit: contain;
  position: relative;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* 下方信息区域（完全覆盖手机底部，21,000,000覆盖手机） */
.welcome-info-area {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px; /* PC端限制最大宽度 */
  display: flex;
  flex-direction: column;
  gap: 24px; /* 进一步减少间距，让下方文字跟着上移 */
  margin-top: -260px; /* 向上移动更多，让21,000,000完全覆盖手机 */
  padding-top: 260px; /* 给手机底部留出覆盖空间 */
  background: transparent;
  align-items: center; /* 内容居中 */
}

.total-supply {
  font-size: 96px; /* PC端更大的字体 */
  font-weight: 800;
  background: linear-gradient(90deg, #00e4ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 6px; /* PC端更大的字间距 */
  line-height: 1.2;
  text-align: center; /* 居中 */
  margin-bottom: 16px; /* PC端更大的间距 */
  width: 100%;
  animation: numberGlow 2s ease-in-out infinite alternate;
  font-variant-numeric: tabular-nums; /* 确保数字对齐 */
}

@keyframes numberGlow {
  from {
    filter: drop-shadow(0 0 10px rgba(0, 228, 255, 0.5));
  }
  to {
    filter: drop-shadow(0 0 20px rgba(0, 228, 255, 0.8));
  }
}

/* 三个分配条 - PC端 */
.allocation-bars {
  display: flex;
  flex-direction: column;
  gap: 24px; /* PC端更大的间距 */
  margin-bottom: 16px;
  width: 100%;
  max-width: 800px; /* PC端限制最大宽度 */
}

.allocation-item {
  display: grid;
  grid-template-columns: 200px 1fr 160px; /* PC端调整列宽，不要过长 */
  align-items: center;
  gap: 24px; /* PC端间距 */
}

.allocation-label {
  font-size: 16px; /* PC端更大的字体 */
  font-weight: 500;
  color: var(--color-text-secondary);
  text-align: left;
  white-space: nowrap; /* 防止文字换行 */
}

.allocation-bar {
  height: 10px; /* PC端更粗的进度条 */
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.allocation-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #9b5bff, #ff4fd8);
  border-radius: var(--radius-pill);
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.allocation-bar-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: barShine 2s infinite;
}

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

.allocation-value {
  font-size: 15px; /* PC端更大的字体 */
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: right;
  white-space: nowrap; /* 防止文字换行 */
  font-variant-numeric: tabular-nums; /* 确保数字对齐 */
}

/* RELEASE RULES - PC端 */
.release-rules {
  background: var(--color-glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px; /* PC端更大的内边距 */
  box-shadow: var(--shadow-card);
  width: 100%;
}

.release-title {
  font-size: 20px; /* PC端更大的字体 */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px; /* PC端更大的字间距 */
  margin-bottom: 24px; /* PC端更大的间距 */
  color: var(--color-text-primary);
}

.rules-list {
  text-align: left;
}

.rules-list li {
  font-size: 15px; /* PC端更大的字体 */
  line-height: 2.2; /* PC端更大的行高 */
  color: var(--color-text-secondary);
  padding-left: 24px; /* PC端更大的左边距 */
  position: relative;
  margin-bottom: 6px; /* PC端更大的间距 */
}

.rules-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary-cyan);
  font-size: 16px;
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
  padding: var(--section-padding) 0;
  margin-bottom: 0;
  background: linear-gradient(180deg, #0a0028 0%, var(--color-bg-darker) 100%);
}

.team-title {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 64px;
  color: var(--color-text-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card {
  background: linear-gradient(145deg, rgba(155, 91, 255, 0.08), rgba(0, 50, 100, 0.08));
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(155, 91, 255, 0.1), rgba(255, 79, 216, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

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

.team-card > * {
  position: relative;
  z-index: 2;
}

.team-card:hover {
  transform: translateY(-12px) rotate(1deg);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(155, 91, 255, 0.3);
  border-color: rgba(155, 91, 255, 0.5);
}

.team-photo {
  overflow: hidden;
}

.team-photo img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-photo img {
  transform: scale(1.1);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 20px 24px;
  background: var(--gradient-purple-pink);
  text-align: center;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 1px;
}

.team-bio {
  padding: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* ========================================
   Partner Section
   ======================================== */
.partner-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-darker);
  margin-bottom: 0;
}

.partner-title {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 64px;
  color: var(--color-text-primary);
}

/* Partner大图片 */
.partner-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-main-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
  padding: var(--section-padding) 0 0; /* 移除底部padding，让footer背景显示 */
  background: transparent; /* 背景透明，不挡住火箭图片 */
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 48px;
  color: var(--color-text-primary);
}

.contact-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-bottom: 32px; /* 减少底部间距 */
  flex-wrap: wrap;
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
}

.contact-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.contact-brand span {
  font-size: 16px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-glass-bg);
  border: 1px solid var(--color-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-icon:hover {
  background: var(--color-glass-hover);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.subscribe-area {
  max-width: 600px;
  margin: 0 auto 20px; /* 减少底部margin，让火箭图片显示 */
  text-align: center;
  padding-bottom: 0; /* 确保没有额外的padding */
}

.subscribe-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px; /* 减少底部间距 */
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 8px; /* 减少间距，压缩高度 */
  align-items: center;
  margin-bottom: 0; /* 确保没有底部margin */
}

/* 输入框和按钮组合 */
.subscribe-input-group {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  padding: 8px;
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-pill);
}

.subscribe-input {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  border: none;
  font-size: 14px;
  color: var(--color-text-primary);
  outline: none;
}

.subscribe-input::placeholder {
  color: var(--color-text-muted);
}

.btn-signup {
  padding: 14px 36px;
  background: var(--gradient-purple-pink);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-button);
}

.btn-signup::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 ease, height 0.6s ease;
}

.btn-signup:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-button-hover);
}

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

.btn-signup:active {
  transform: translateY(0) scale(1.02);
}

/* 订阅同意checkbox（换行在输入框下方） */
.subscribe-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 0; /* 确保没有底部margin */
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
  width: 100%;
  max-width: 600px;
  padding: 0; /* 确保没有padding */
}

.subscribe-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--color-primary-purple);
}

.subscribe-checkbox span {
  user-select: none;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  position: relative;
  padding: 0;
  overflow: hidden; /* 隐藏溢出，确保背景图片正确显示 */
  min-height: 800px; /* 确保有足够高度显示完整的火箭图片 */
  background: transparent;
}

/* Footer火箭背景容器 */
.footer-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* 在内容下方 */
  pointer-events: none; /* 不阻挡交互 */
  display: flex;
  align-items: flex-end; /* 底部对齐 */
  justify-content: center;
}

.footer-bg-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain; /* 确保图片完整显示，不被裁剪 */
  object-position: center bottom; /* 底部对齐 */
  display: block;
}

.footer-content {
  position: relative;
  z-index: 1; /* 在火箭背景上方 */
  text-align: center;
  padding: 80px 24px 20px; /* 顶部padding给导航栏留空间，底部10px给copyright */
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* 内容底部对齐 */
  min-height: 800px; /* 与footer高度一致 */
}

/* Footer导航栏 */
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px; /* 导航项之间的间距 */
  margin-bottom: 40px; /* 底部间距 */
  flex-wrap: wrap;
}

.footer-nav-link {
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-normal);
  position: relative;
  padding: 8px 0;
}

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

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

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

.footer-slogan {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.copyright {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   Animation Classes
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 淡入动画 */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

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

/* 滑入动画 */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 缩放动画 */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
  animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 旋转进入动画 */
.rotate-in {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  animation: rotateIn 0.7s ease forwards;
}

@keyframes rotateIn {
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

/* 浮动动画 */
.float {
  animation: float 3s ease-in-out infinite;
}

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

/* 脉冲动画 */
.pulse {
  animation: pulse 2s ease-in-out infinite;
}

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

/* 闪烁动画 */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* 数字计数动画 */
.count-up {
  animation: countUp 2s ease-out forwards;
}

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

/* 波纹效果 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 视差滚动元素 */
.hero-bg,
.cert-bg-image,
.ecosystem-grid-bg {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* 增强渐变效果 */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(155, 91, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* 增强卡片3D效果 */
.eco-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.team-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

/* 移动端禁用自定义光标和部分特效 */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  
  .cursor-glow {
    display: none;
  }
  
  .particles-canvas {
    opacity: 0.3;
  }
  
  .hero-content {
    transform: none !important;
  }
  
  .eco-card:hover,
  .team-card:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

/* ========================================
   Responsive - Tablet (≤1024px)
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --header-height: 64px;
    --section-padding: 80px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .main-nav {
    gap: 20px;
  }
  
  .main-nav a {
    font-size: 13px;
  }
  
  .hero-title {
    font-size: 52px;
    letter-spacing: 8px;
  }
  
  .hero-subtitle {
    font-size: 22px;
    letter-spacing: 4px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .realassets-grid {
    gap: 48px;
  }
  
  .ecosystem-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .eco-card {
    padding: 28px 16px;
  }
  
  .eco-card-title {
    font-size: 16px;
  }
  
  .team-grid {
    gap: 28px;
  }
  
  /* Welcome/Tokenomics Tablet - 上下布局 */
  .welcome-badge {
    margin: 0 auto 0px; /* 继续缩小与手机的间距，几乎紧贴 */
    width: 256px; /* 平板端手机320px * 0.8 = 256px */
    max-width: 256px;
  }
  
  .welcome-phone-area {
    margin-bottom: -220px; /* 平板端增加覆盖距离 */
    margin-top: 0;
  }
  
  .phone-main {
    width: 320px;
    height: 640px;
  }
  
  .welcome-info-area {
    margin-top: -220px; /* 平板端覆盖距离 */
    padding-top: 220px;
    gap: 20px; /* 进一步减少间距，让文字跟着上移 */
    max-width: 800px;
  }
  
  .welcome-section {
    margin-top: -50px; /* 平板端也上移50px */
  }
  
  .realassets-section {
    padding-bottom: var(--section-padding); /* 平板端统一padding */
  }
  
  .footer {
    min-height: 700px; /* 平板端footer高度 */
  }
  
  .footer-content {
    min-height: 700px; /* 与footer高度一致 */
    padding: 70px 20px 20px; /* 平板端padding */
  }
  
  .footer-nav {
    gap: 40px; /* 平板端导航项间距 */
    margin-bottom: 36px;
  }
  
  .footer-slogan {
    font-size: 16px;
    margin-bottom: 28px;
  }
  
  .footer-social {
    gap: 14px;
    margin-bottom: 28px;
  }
  
  .copyright {
    font-size: 11px;
  }
  
  
  .subscribe-area {
    background: transparent; /* 确保不挡住火箭图片 */
  }
  
  .total-supply {
    font-size: 64px;
    letter-spacing: 4px;
  }
  
  .allocation-bars {
    gap: 20px;
    max-width: 700px;
  }
  
  .allocation-item {
    grid-template-columns: 180px 1fr 140px;
    gap: 20px;
  }
  
  .allocation-label {
    font-size: 14px;
  }
  
  .allocation-value {
    font-size: 13px;
  }
  
  .release-rules {
    padding: 32px 28px;
    max-width: 700px;
  }
}

/* ========================================
   Responsive - Mobile (≤768px)
   ======================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --section-padding: 60px;
  }
  
  /* Header Mobile */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(5, 0, 24, 0.98) 0%, rgba(2, 1, 11, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 32px;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: var(--transition-normal);
  }
  
  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  
  .main-nav a {
    font-size: 18px;
    padding: 18px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .main-nav a::after {
    display: none;
  }
  
  .lang-btn {
    padding: 8px 12px;
  }
  
  .lang-btn img {
    width: 18px;
    height: 18px;
  }
  
  .current-lang {
    font-size: 12px;
  }
  
  /* Hero Mobile */
  .hero-section {
    min-height: auto;
    padding: calc(var(--header-height) + 40px) 0 60px;
  }
  
  .hero-content {
    padding: 32px 0;
  }
  
  .hero-title {
    font-size: 36px;
    letter-spacing: 4px;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 24px;
  }
  
  .hero-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 32px;
    padding: 0 8px;
  }
  
  .hero-dots {
    gap: 10px;
    margin-top: 32px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  /* Real Assets Mobile */
  .realassets-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .realassets-text {
    padding-right: 0;
    order: 1;
  }
  
  .realassets-visual {
    order: 0;
  }
  
  .realassets-visual img {
    width: 75%;
    max-width: 280px;
  }
  
  .section-title {
    font-size: 18px;
    text-align: center;
    letter-spacing: 1px;
  }
  
  .realassets-desc {
    font-size: 14px;
    text-align: center;
  }
  
  /* Learn More Mobile */
  .learnmore-section {
    padding: 20px 0 40px; /* 移动端也减少顶部padding */
  }
  
  .learnmore-card {
    height: auto;
  }
  
  .learnmore-content {
    flex-direction: column;
    padding: 28px 20px;
    gap: 20px;
    text-align: center;
  }
  
  .learnmore-title {
    font-size: 18px;
    letter-spacing: 2px;
  }
  
  .learnmore-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .btn-icon-text,
  .btn-gradient {
    width: 100%;
    padding: 16px 24px;
  }
  
  /* Certificate Mobile */
  .cert-section {
    padding: 60px 0;
  }
  
  .cert-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .cert-image {
    width: 280px;
    height: 373px;
    margin: 0 auto 20px;
  }
  
  .cert-label {
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.5;
    padding: 0 16px;
  }
  
  /* Video Mobile */
  .video-section {
    padding: 40px 0;
  }
  
  .play-btn {
    width: 64px;
    height: 64px;
  }
  
  .play-btn img {
    width: 22px;
    height: 22px;
  }
  
  /* Ecosystem Mobile */
  .ecosystem-title {
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 40px;
  }
  
  .ecosystem-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .eco-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .eco-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }
  
  .eco-card-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .eco-card-desc {
    font-size: 14px;
  }
  
  /* Welcome/Tokenomics Mobile */
  .welcome-badge {
    padding: 12px 28px;
    font-size: 12px;
    letter-spacing: 2px;
    margin: 0 auto 0px; /* 继续缩小与手机的间距，几乎紧贴 */
    width: 192px; /* 移动端手机240px * 0.8 = 192px */
    max-width: 192px;
  }
  
  /* Welcome/Tokenomics Mobile - 上下布局 */
  .welcome-layout-vertical {
    min-height: 600px;
  }
  
  .welcome-phone-area {
    margin-bottom: -160px; /* 移动端增加覆盖距离 */
    margin-top: 0; /* 减少与按钮的间距 */
  }
  
  .phone-main {
    width: 240px;
    height: 480px;
  }
  
  .welcome-info-area {
    margin-top: -160px; /* 移动端覆盖距离 */
    padding-top: 160px;
    gap: 18px; /* 进一步减少间距，让文字跟着上移 */
    max-width: 100%;
  }
  
  .subscribe-checkbox {
    font-size: 12px;
    margin-top: 0;
    padding: 0 16px;
  }
  
  .welcome-section {
    margin-top: -50px; /* 移动端也上移50px */
  }
  
  .realassets-section {
    padding-bottom: var(--section-padding-mobile); /* 移动端统一padding */
  }
  
  .footer {
    min-height: auto; /* 移动端根据图片高度自适应 */
    height: auto;
    margin-top: 0; /* 确保没有额外的上边距 */
  }
  
  .footer-bg-container {
    position: relative; /* 移动端改为relative，让图片自然撑开高度 */
    height: auto;
    min-height: 500px; /* 最小高度确保图片显示 */
  }
  
  .footer-bg-img {
    width: 100%;
    height: auto;
    max-height: none; /* 移除最大高度限制 */
    object-fit: contain;
    object-position: center bottom;
  }
  
  .footer-content {
    min-height: auto; /* 移动端根据内容自适应 */
    padding: 50px 16px 20px; /* 移动端减少顶部padding */
    margin-top: 0; /* 确保没有额外的上边距 */
  }
  
  .footer-nav {
    gap: 24px; /* 移动端导航项间距 */
    margin-bottom: 32px;
  }
  
  .footer-slogan {
    font-size: 14px;
    margin-bottom: 28px;
  }
  
  .footer-social {
    gap: 12px;
    margin-bottom: 28px;
  }
  
  .copyright {
    font-size: 11px;
  }
  
  
  .subscribe-area {
    background: transparent; /* 确保不挡住火箭图片 */
  }
  
  .total-supply {
    font-size: 42px;
    letter-spacing: 2px;
  }
  
  .allocation-bars {
    gap: 16px;
    max-width: 100%;
  }
  
  .allocation-item {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
  
  .allocation-label {
    text-align: center;
    font-size: 13px;
  }
  
  .allocation-value {
    text-align: center;
    font-size: 12px;
  }
  
  .release-rules {
    padding: 24px 20px;
    max-width: 100%;
  }
  
  .release-title {
    font-size: 16px;
    text-align: center;
    margin-bottom: 16px;
  }
  
  .rules-list li {
    font-size: 13px;
    line-height: 1.8;
    padding-left: 18px;
  }
  
  /* Team Mobile */
  .team-title {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 40px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 360px;
    margin: 0 auto;
  }
  
  .team-name {
    font-size: 16px;
  }
  
  .team-role {
    font-size: 11px;
  }
  
  .team-bio {
    padding: 20px;
    font-size: 13px;
  }
  
  /* Partner Mobile */
  .partner-title {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 40px;
  }
  
  .partner-image-wrapper {
    max-width: 100%;
    padding: 0 20px;
  }
  
  /* Contact Mobile */
  .contact-section {
    padding: 40px 0 0; /* 移动端移除底部padding，减少与footer的距离 */
  }
  
  .contact-title {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 24px; /* 减少间距 */
  }
  
  .contact-row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px; /* 减少底部间距 */
  }
  
  .subscribe-text {
    margin-bottom: 16px; /* 移动端减少间距 */
  }
  
  .subscribe-form {
    gap: 6px; /* 移动端进一步压缩 */
  }
  
  .subscribe-area {
    margin-bottom: 0; /* 移动端移除底部margin，减少与footer的距离 */
  }
  
  .contact-brand {
    padding: 12px 24px;
  }
  
  .contact-brand img {
    width: 32px;
    height: 32px;
  }
  
  .social-icons {
    gap: 12px;
  }
  
  .social-icon {
    width: 48px;
    height: 48px;
  }
  
  .social-icon img {
    width: 22px;
    height: 22px;
  }
  
  .subscribe-text {
    font-size: 14px;
    padding: 0 8px;
    margin-bottom: 24px;
  }
  
  .subscribe-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .subscribe-input-group {
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-lg);
    gap: 12px;
  }
  
  .subscribe-input {
    padding: 16px;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .btn-signup {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius-md);
  }
  
  .subscribe-checkbox {
    max-width: 100%;
    padding: 0 16px;
  }
  
  /* Footer Mobile - 已在上面更新 */
  
  /* Hero Glow Mobile */
  .glow-orb-1 {
    width: 300px;
    height: 200px;
    filter: blur(50px);
  }
  
  .glow-orb-2 {
    width: 250px;
    height: 180px;
    filter: blur(50px);
  }
  
  .glow-orb-3 {
    width: 200px;
    height: 150px;
    filter: blur(50px);
  }
  
  /* Certificate Wave Mobile */
  .cert-wave-animated {
    height: 150px;
  }
  
  .wave-1 { height: 100px; }
  .wave-2 { height: 80px; }
  .wave-3 { height: 60px; }
  
  
  .footer-slogan {
    font-size: 14px;
    padding: 0 16px;
    margin-bottom: 28px;
  }
  
  .footer-social {
    gap: 12px;
    margin-bottom: 28px;
  }
  
  .copyright {
    font-size: 11px;
  }
}

/* ========================================
   Responsive - Small Mobile (≤375px)
   ======================================== */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 30px;
    letter-spacing: 3px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 16px;
  }
  
  .ecosystem-title,
  .team-title,
  .partner-title,
  .contact-title {
    font-size: 20px;
  }
  
  .total-supply {
    font-size: 28px;
  }
  
  .partner-logo {
    width: 100px;
    height: 50px;
  }
  
  .eco-card {
    padding: 24px 16px;
  }
  
  .tokenomics-card {
    padding: 24px 16px;
  }
}

/* ========================================
   Safe Area for iOS
   ======================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
  
  .main-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ========================================
   性能优化 - 减少动画 (用户偏好)
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .glow-orb,
  .wave,
  .stars,
  .nebula,
  .rocket-cube,
  .flame,
  .hero-title {
    animation: none !important;
  }
  
  .glow-orb {
    opacity: 0.4;
  }
  
  .wave {
    transform: none;
  }
  
  .flame {
    transform: scaleY(1) scaleX(1);
    opacity: 1;
  }
}

/* ========================================
   GPU 加速优化
   ======================================== */
.glow-orb,
.wave,
.stars,
.nebula,
.rocket-cube,
.flame {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
