/* ==========================================================================
   万达云 Wanda Cloud - 莫兰迪·通达枢纽 (The Morandi Global Nexus) 样式表
   高级莫兰迪美学 | 三维粒子交互枢纽 | 哑光暖柔质感 | 秒开级性能 | 单栏响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 莫兰迪设计系统变量 (Morandi Palette & Design System)
   -------------------------------------------------------------------------- */
:root {
  /* 莫兰迪主色调 */
  --bg-dark: #121418;
  --bg-surface: #181b22;
  --bg-card: rgba(28, 32, 42, 0.78);
  --bg-card-hover: rgba(38, 44, 58, 0.88);
  
  /* 莫兰迪高级质感色 */
  --morandi-cream: #ede8df;
  --morandi-cream-hover: #f7f4ed;
  --morandi-sand: #c8c0b2;
  --morandi-slate: #2b313e;
  --morandi-teal: #789895;
  --morandi-terracotta: #b88272;
  --morandi-sage: #889886;
  --morandi-gold: #d4b886;
  
  /* 渐变与投影 */
  --morandi-gradient: linear-gradient(135deg, #ede8df 0%, #c8c0b2 100%);
  --morandi-btn-primary: linear-gradient(135deg, #e6ded1 0%, #cfc5b3 100%);
  --morandi-accent-gradient: linear-gradient(135deg, #789895 0%, #b88272 100%);
  
  --text-main: #f5f3ee;
  --text-muted: #b0a99c;
  --text-dim: #787267;
  
  --border-light: rgba(237, 232, 223, 0.12);
  --border-hover: rgba(237, 232, 223, 0.35);
  --border-accent: rgba(120, 152, 149, 0.4);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-morandi: 0 10px 30px rgba(237, 232, 223, 0.08);
  
  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --max-width: 1240px;
}

/* --------------------------------------------------------------------------
   2. 全局基础重置
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(120, 152, 149, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(184, 130, 114, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. 莫兰迪页眉 (Header & Nav)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 20, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--morandi-btn-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #181a20;
}

.logo-text span {
  color: var(--morandi-sand);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--morandi-cream);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--morandi-sand);
  transition: var(--transition);
}

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

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

/* --------------------------------------------------------------------------
   4. 按钮组件 (Buttons - Optimized for Touch & Morandi Aesthetic)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: var(--morandi-btn-primary);
  color: #16181d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background: var(--morandi-cream-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 232, 223, 0.2);
}

.btn-secondary {
  background: rgba(237, 232, 223, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(237, 232, 223, 0.12);
  border-color: var(--border-hover);
  color: var(--morandi-cream);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  min-height: 52px;
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. Hero 左右分布 + 3D 三维粒子通达枢纽核心 (Morandi Global Nexus)
   -------------------------------------------------------------------------- */
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

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

.hero-left {
  text-align: left;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(237, 232, 223, 0.08);
  border: 1px solid rgba(237, 232, 223, 0.2);
  border-radius: var(--radius-full);
  color: var(--morandi-sand);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--morandi-teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--morandi-teal);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, #ede8df 0%, #b88272 50%, #789895 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 34px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.stat-item h4 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--morandi-cream);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 右侧 3D 粒子数字枢纽核心 (The Morandi Global Nexus 3D Canvas) */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.nexus-canvas-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 480px;
  border-radius: var(--radius-lg);
  background: rgba(24, 27, 34, 0.4);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  cursor: grab;
}

.nexus-canvas-container:active {
  cursor: grabbing;
}

#nexus-canvas {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.nexus-hud-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(18, 20, 24, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.hud-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--morandi-cream);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-dot {
  width: 6px;
  height: 6px;
  background-color: var(--morandi-teal);
  border-radius: 50%;
}

.hud-ping {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--morandi-teal);
}

/* --------------------------------------------------------------------------
   6. 模块通用标题 (Section Header)
   -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
}

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

.section-tag {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--morandi-teal);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--morandi-cream);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. 核心优势卡片 (Features - 3 Cards)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

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

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-morandi);
}

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

.feature-icon {
  width: 58px;
  height: 58px;
  background: rgba(237, 232, 223, 0.06);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--morandi-cream);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--morandi-cream);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--morandi-cream);
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. 流媒体与 AI 支持图卡 (Showcase)
   -------------------------------------------------------------------------- */
.showcase-bg {
  background: rgba(24, 27, 34, 0.5);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}

.service-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 1.15rem;
  background: rgba(237, 232, 223, 0.08);
  color: var(--morandi-cream);
  border: 1px solid var(--border-light);
}

.service-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--morandi-cream);
}

.service-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. 莫兰迪套餐价格表 (Pricing Table)
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(38, 44, 58, 0.95) 0%, rgba(24, 27, 34, 0.95) 100%);
  border: 2px solid var(--morandi-sand);
  box-shadow: var(--shadow-morandi);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--morandi-btn-primary);
  color: #16181d;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--morandi-cream);
}

.pricing-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--morandi-sand);
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--morandi-cream);
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.feature-check {
  width: 18px;
  height: 18px;
  background: rgba(120, 152, 149, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--morandi-teal);
  flex-shrink: 0;
}

.feature-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--morandi-teal);
  stroke-width: 3;
}

/* --------------------------------------------------------------------------
   10. 用户评价 (Testimonials)
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--morandi-gold);
  margin-bottom: 14px;
  font-size: 1rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--morandi-btn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #16181d;
  font-size: 0.95rem;
}

.user-info h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--morandi-cream);
}

.user-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. 常见问题 FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item[open] {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--morandi-cream);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--morandi-sand);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--morandi-cream);
}

.faq-content {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. 页脚 Footer (只保留 4 个标题)
   -------------------------------------------------------------------------- */
.footer {
  background: #0d0e12;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-brand .logo {
  justify-content: center;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav-four {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}

.footer-nav-four a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: rgba(237, 232, 223, 0.04);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.footer-nav-four a:hover {
  color: #ffffff;
  border-color: var(--border-hover);
  background: rgba(237, 232, 223, 0.12);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   13. 独立页面 Layout
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 70px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  background: rgba(24, 27, 34, 0.5);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--morandi-cream);
}

.page-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.page-content {
  padding: 60px 0 90px;
}

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

.legal-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--morandi-cream);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

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

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

.legal-box ul {
  color: var(--text-muted);
  font-size: 0.98rem;
  padding-left: 24px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.legal-box li {
  margin-bottom: 8px;
}

.highlight-banner {
  background: rgba(120, 152, 149, 0.12);
  border-left: 4px solid var(--morandi-teal);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: var(--text-main);
  font-weight: 600;
}

.warning-banner {
  background: rgba(184, 130, 114, 0.12);
  border-left: 4px solid var(--morandi-terracotta);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: #e5bdaf;
}

/* --------------------------------------------------------------------------
   14. 媒体查询 (@media - 响应式单栏适配)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-left {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  
  .nav-links {
    display: none;
  }

  .hero {
    padding: 40px 0 30px;
  }
  
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }
  
  .hero-subtitle {
    font-size: 1.02rem;
    margin-bottom: 24px;
  }

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

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

  .hero-stats {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

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

  .footer-nav-four {
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
  }

  .footer-nav-four a {
    width: 100%;
    display: block;
    padding: 14px 0;
  }
}
