:root {
  --bg-color: #050505;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --reactor-blue: #00ccff;
  --reactor-purple: #9d4dff;
  --reactor-red: #ff3b3b;
  --reactor-cyan: #00ffaa;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-main);
  background: var(--bg-color);
  color: var(--text-primary);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 背景 Canvas 固定底层 */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* 滚动驱动动画基础类 */
.scroll-view {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
  will-change: transform, opacity;
}

.scroll-view.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-view.out-view {
  opacity: 0;
  transform: scale(0.95);
}

/* Loader 样式 */
#site-loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-logo {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 40px rgba(157, 77, 255, 0.4);
}

.loader-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--reactor-purple);
  border-right-color: var(--reactor-blue);
  animation: spin 1s linear infinite;
}

.loader-text {
  font-family: var(--font-mono);
  letter-spacing: 4px;
  font-size: 14px;
  color: #888;
  animation: pulse 1.5s infinite;
}

/* Header 样式 */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-wrap {
  position: relative;
  width: 48px;
  height: 48px;
}

.logo {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  inset: 0;
  background: var(--reactor-purple);
  filter: blur(20px);
  opacity: 0.5;
  border-radius: 50%;
}

.brand-text .title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link-wrap {
  position: relative;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  padding: 8px 0;
  display: block;
}

.nav-link:hover {
  color: #fff;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--reactor-cyan);
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 10px var(--reactor-cyan);
  transform: translateX(-50%);
}

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

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 20px;
}

.btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s;
}

.btn-primary:hover .btn-shine {
  left: 150%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.bar {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease-out);
}

.mobile-menu-toggle.active .bar.top {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .bar.mid {
  opacity: 0;
}

.mobile-menu-toggle.active .bar.bot {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero 区域 */
.hero {
  padding-top: 220px;
  padding-bottom: 160px;
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  z-index: 10;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--reactor-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--reactor-cyan);
}

.tag-text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.hero-title {
  font-size: 88px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 30px;
}

.liquid-text {
  background: linear-gradient(90deg, #fff, #a0c4ff, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fluidText 3s linear infinite;
  display: inline-block;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 60px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.cta-button {
  padding: 20px 48px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  transition: transform 0.2s;
  overflow: hidden;
}

.cta-button:active {
  transform: scale(0.96);
}

.cta-button.primary {
  background: #fff;
  color: #000;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  transform: scale(0);
  transition: transform 0.6s;
  pointer-events: none;
}

.cta-button.primary:hover .cta-glow {
  transform: scale(1);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 120px 24px;
  position: relative;
  z-index: 5;
}

.section-head {
  text-align: center;
  margin-bottom: 80px;
}

.section-head h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

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

/* 核心能力 Feature Pods 样式 (圆润流线型) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-pod {
  position: relative;
  padding: 40px;
  border-radius: 32px;
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
  backdrop-filter: blur(20px);
}

.feature-pod:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pod-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at top right, rgba(255, 59, 59, 0.15), transparent 70%);
  opacity: 0.5;
  transition: opacity 0.4s;
}

.feature-pod.purple .pod-glow {
  background: radial-gradient(circle at top right, rgba(157, 77, 255, 0.15), transparent 70%);
}

.feature-pod.blue .pod-glow {
  background: radial-gradient(circle at top right, rgba(0, 204, 255, 0.15), transparent 70%);
}

.feature-pod:hover .pod-glow {
  opacity: 1;
}

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

.pod-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 59, 59, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: var(--reactor-red);
  box-shadow: 0 0 20px rgba(255, 59, 59, 0.2);
}

.purple .pod-icon-wrap {
  background: rgba(157, 77, 255, 0.1);
  color: var(--reactor-purple);
  box-shadow: 0 0 20px rgba(157, 77, 255, 0.2);
}

.blue .pod-icon-wrap {
  background: rgba(0, 204, 255, 0.1);
  color: var(--reactor-blue);
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.2);
}

.feature-pod h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-pod p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 16px;
}

.pod-bg-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 160px;
  color: rgba(255, 255, 255, 0.03);
  transform: rotate(-10deg);
  transition: transform 0.5s;
  pointer-events: none;
}

.feature-pod:hover .pod-bg-icon {
  transform: rotate(0deg) scale(1.1);
}

/* 订阅方案 Reactor Cards 样式 (高能反应堆) */
.reactor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: center;
}

.reactor-card {
  position: relative;
  border-radius: 30px;
  background: #08080a;
  padding: 4px;
  transition: transform 0.4s var(--ease-out);
}

.reactor-card:hover {
  transform: scale(1.02);
  z-index: 10;
}

.reactor-card.featured {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.reactor-card.featured:hover {
  transform: scale(1.08);
}

.reactor-core {
  background: #0e0e12;
  border-radius: 26px;
  padding: 40px 30px;
  height: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: background 0.4s;
}

.reactor-card:hover .reactor-core {
  background: linear-gradient(160deg, #151520 0%, #0a0a0e 100%);
}

.reactor-card.featured .reactor-core {
  background: linear-gradient(160deg, #1a1025 0%, #0a0a0e 100%);
  border: 1px solid rgba(157, 77, 255, 0.2);
}

.reactor-card.featured:hover .reactor-core {
  background: linear-gradient(160deg, #251535 0%, #0a0a0e 100%);
  border-color: rgba(157, 77, 255, 0.4);
}

.reactor-border {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
  z-index: 1;
}

.reactor-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--reactor-purple);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(157, 77, 255, 0.4);
  letter-spacing: 1px;
}

.reactor-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.reactor-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}

.reactor-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reactor-price .currency {
  font-size: 24px;
  color: #888;
  margin-right: 6px;
}

.reactor-price .num {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.reactor-list {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reactor-list li {
  font-size: 15px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reactor-list li i {
  font-size: 18px;
}

.reactor-list li.ok { color: #ddd; }
.reactor-list li.ok i { color: var(--reactor-cyan); filter: drop-shadow(0 0 5px var(--reactor-cyan)); }
.reactor-list li.no { color: #555; text-decoration: line-through; }
.reactor-list li.warn i { color: var(--reactor-red); }

.reactor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.chip {
  font-size: 12px;
  color: #888;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s;
  cursor: default;
}

.reactor-card:hover .chip {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.chip:hover {
  background: #fff !important;
  color: #000 !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.reactor-btn {
  display: block;
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.reactor-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.btn-glow {
  background: var(--reactor-purple);
  box-shadow: 0 0 30px rgba(157, 77, 255, 0.3);
  border: none;
}

.btn-glow:hover {
  background: #b06bff;
  box-shadow: 0 0 50px rgba(157, 77, 255, 0.6);
  color: #fff;
}

/* Footer & Copyright 样式 */
.site-footer {
  padding: 80px 0;
  background: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.site-footer .wrap {
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-wrapper {
  position: relative;
  overflow: hidden;
}

.copyright-text {
  font-weight: 700;
  background: linear-gradient(90deg, #ff3b3b, #9d4dff, #00ccff, #ff3b3b);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 6s linear infinite;
  position: relative;
  z-index: 2;
}

.copyright-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #666;
}

.footer-right a:hover {
  color: #fff;
}

/* 关键动画帧 Keyframes */
@keyframes fluidText {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

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

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

@keyframes pulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* 移动端适配 */
@media (max-width: 1024px) {
  .hero-title { font-size: 70px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .reactor-card.featured { transform: scale(1); }
  .reactor-card.featured:hover { transform: scale(1.02); }
}

@media (max-width: 768px) {
  .site-header { padding: 16px 0; }
  .header-inner { padding: 0 24px; }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid rgba(255,255,255,0.1);
  }
  .site-nav.active { right: 0; }
  .mobile-menu-toggle { display: flex; }
  .nav-buttons { flex-direction: column; width: 100%; margin: 30px 0 0 0; }
  .nav-link { font-size: 20px; margin: 15px 0; }
  
  .hero { padding-top: 140px; padding-bottom: 80px; }
  .hero-title { font-size: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .reactor-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 36px; }
  .site-footer .wrap { flex-direction: column; gap: 30px; text-align: center; }
  .footer-right { flex-direction: column; gap: 10px; }
  .separator { display: none; }
  
  /* 手机端特效：自动呼吸动画，替代 Hover */
  .reactor-card .chip, 
  .reactor-card .reactor-core,
  .feature-pod .pod-icon-wrap,
  .tag-dot {
    animation: auto-breath 3s infinite alternate;
  }
  
  .logo-glow { opacity: 0.8; animation: pulse 2s infinite; }
}

@keyframes auto-breath {
  0% { box-shadow: 0 0 5px currentColor; }
  100% { box-shadow: 0 0 20px currentColor; }
}
