/* ==========================================================================
   WandaCloud (万达云) - Anime Cyber Neon CSS Design System & Styles
   二次元动漫科技风 · Vibrant Cyberpunk Anime Aesthetic
   Zero External Frameworks - Ultra Lightweight & High Performance
   ========================================================================== */

:root {
  --bg-dark: #0b0713;
  --bg-card: rgba(22, 16, 38, 0.75);
  --bg-card-hover: rgba(36, 25, 62, 0.85);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(0, 240, 255, 0.6);
  
  --primary: #00f0ff;          /* 霓虹赛博青 */
  --primary-hover: #00c8ff;
  --accent-pink: #ff2a85;       /* 动漫靓丽粉 */
  --accent-purple: #9d4edd;     /* 动漫极光紫 */
  --accent-yellow: #ffe600;     /* 二次元明黄 */
  --accent-green: #00ff87;
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --gradient-brand: linear-gradient(135deg, #00f0ff 0%, #9d4edd 50%, #ff2a85 100%);
  --gradient-anime: linear-gradient(90deg, #ff2a85 0%, #00f0ff 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 42, 133, 0.06) 0%, rgba(0, 240, 255, 0.02) 100%);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* 动漫弹性过渡 */
  --shadow-anime: 0 10px 30px -5px rgba(255, 42, 133, 0.3), 0 0 20px rgba(0, 240, 255, 0.2);
  --shadow-glow: 0 0 35px rgba(0, 240, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 42, 133, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 45%, rgba(0, 240, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(157, 78, 221, 0.15) 0%, transparent 50%);
  background-attachment: fixed;
}

/* 动漫科技风网格背景 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* 动漫二次元渐变字 */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 42, 133, 0.12);
  border: 1px solid rgba(255, 42, 133, 0.4);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-pink);
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-anime 1.5s infinite alternate;
}

@keyframes pulse-anime {
  0% { transform: scale(0.8); opacity: 0.7; box-shadow: 0 0 5px var(--primary); }
  100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px var(--accent-pink); }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

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

/* 动漫科技风格按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #0b0713;
  box-shadow: 0 4px 25px rgba(0, 240, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px rgba(255, 42, 133, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-pink);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

/* 导航栏 Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 7, 19, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 42, 133, 0.2);
  padding: 16px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-logo svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-anime);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   Hero 主视觉区 (左右分布 布局 + 动漫动态卡片)
   ========================================================================== */
.hero {
  padding: 170px 0 100px 0;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero p.subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

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

.stat-value {
  font-size: 28px;
  font-weight: 800;
}

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

/* 动漫科技右侧动态视觉图卡 Hero Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.anime-card-stage {
  width: 100%;
  max-width: 480px;
  height: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-anime);
  backdrop-filter: blur(16px);
  animation: float-anime 6s ease-in-out infinite;
}

@keyframes float-anime {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.8deg); }
}

.anime-card-stage::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 60%);
  animation: spin-glow 12s linear infinite;
}

@keyframes spin-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 动态网路节点与仪表图元 */
.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.visual-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.visual-status {
  font-size: 12px;
  color: var(--accent-green);
  background: rgba(0, 255, 135, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-green);
}

/* 动态专线示意框 */
.visual-speedometer {
  background: rgba(11, 7, 19, 0.7);
  border: 1px solid rgba(255, 42, 133, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.speed-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-main);
  background: var(--gradient-anime);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.speed-unit {
  font-size: 14px;
  color: var(--accent-pink);
  font-weight: 700;
}

/* 动态节点脉冲列表 */
.nodes-pulse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.pulse-node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  transition: var(--transition-fast);
}

.pulse-node:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.node-ping {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 13px;
}

/* 浮动二次元动漫魔导贴纸 Floating Badges */
.floating-tag {
  position: absolute;
  z-index: 10;
  background: rgba(11, 7, 19, 0.9);
  border: 1px solid var(--accent-pink);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(255, 42, 133, 0.4);
  backdrop-filter: blur(10px);
}

.tag-1 {
  top: -15px;
  right: -10px;
  animation: float-tag-1 4s ease-in-out infinite alternate;
}

.tag-2 {
  bottom: 20px;
  left: -20px;
  animation: float-tag-2 5s ease-in-out infinite alternate;
}

@keyframes float-tag-1 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

@keyframes float-tag-2 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(10px); }
}

/* 3 Core Features (卡片) */
.features-section {
  padding: 90px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-anime);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

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

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

/* Media & AI Matrix Grid Cards */
.matrix-section {
  padding: 90px 0;
  background: rgba(255, 42, 133, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.matrix-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-normal);
}

.matrix-card:hover {
  border-color: var(--accent-pink);
  background: rgba(255, 42, 133, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 5px 20px rgba(255, 42, 133, 0.25);
}

.matrix-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.matrix-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.matrix-info p {
  font-size: 13px;
  color: var(--text-dim);
}

/* Pricing Section (真实机场套餐价格逻辑) */
.pricing-section {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-normal);
}

.price-card.popular {
  border-color: var(--accent-pink);
  background: rgba(36, 20, 56, 0.9);
  box-shadow: var(--shadow-anime);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-anime);
  color: #0b0713;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.6);
}

.price-header {
  margin-bottom: 24px;
}

.price-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-desc {
  font-size: 14px;
  color: var(--text-dim);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 20px 0;
}

.price-currency {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.price-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--text-dim);
  margin-left: 4px;
}

.price-features {
  margin: 24px 0 32px 0;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.3s ease-in-out;
  padding-bottom: 24px;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Testimonials / User Reviews */
.testimonials-section {
  padding: 90px 0;
  background: rgba(255, 255, 255, 0.01);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
}

.rating {
  color: var(--accent-yellow);
  margin-bottom: 14px;
  font-size: 16px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #0b0713;
}

.user-details h5 {
  font-size: 15px;
  font-weight: 700;
}

.user-details span {
  font-size: 13px;
  color: var(--text-dim);
}

/* Footer Section - 严格四个标题 */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: #06040a;
  padding: 60px 0 40px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

.footer-copyright {
  color: var(--text-dim);
  font-size: 14px;
}

/* Sub-page Specific Layouts */
.page-header {
  padding: 160px 0 60px 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
}

.page-content {
  padding: 70px 0 100px 0;
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.content-box h2 {
  font-size: 22px;
  margin: 32px 0 16px 0;
  color: var(--text-main);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.content-box h2:first-child {
  margin-top: 0;
}

.content-box p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-box ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.content-box li {
  color: var(--text-muted);
  line-height: 1.8;
  list-style-type: disc;
  margin-bottom: 8px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-content {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid, .pricing-grid, .testimonials-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .btn {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
  }

  .btn-sm {
    width: auto;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}
