/* ==========================================================================
   【风格 04 · 胖次元】品牌「肥猫云」(FATCAT CLOUD) 视觉样式表
   ========================================================================== */

:root {
  /* 核心主配色 */
  --bg-deep: #120E24;            /* 深紫夜主底色 */
  --bg-card: rgba(25, 20, 50, 0.72);
  --bg-card-hover: rgba(35, 27, 72, 0.85);
  --bg-card-solid: #191432;
  --border-cyber: rgba(124, 92, 255, 0.22);
  --border-cyber-glow: rgba(64, 220, 255, 0.45);
  
  /* 强调色体系 */
  --primary-purple: #7C5CFF;     /* 唯一强调色：电光紫 */
  --neon-cyan: #40DCFF;          /* 辅助色：霓虹青 */
  --text-white: #FFFFFF;         /* 冷白文字 */
  --text-sub: #E6E6FA;           /* 冷白副文本 */
  --text-muted: #9D93C4;         /* 紫灰弱化文字 */
  --text-dim: #6B628E;           /* 极弱灰紫 */
  
  /* 渐变体系 */
  --grad-purple-cyan: linear-gradient(135deg, #7C5CFF 0%, #40DCFF 100%);
  --grad-badge: linear-gradient(135deg, #7C5CFF 0%, #9D7BFF 100%);
  
  /* 字体规范：零外部依赖，回退本地与系统几何无衬线字体栈 */
  --font-title: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Space Grotesk", "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* 投影与发光 */
  --glow-purple: 0 0 25px rgba(124, 92, 255, 0.35);
  --glow-cyan: 0 0 20px rgba(64, 220, 255, 0.3);
  --shadow-cyber: 0 16px 36px rgba(10, 7, 24, 0.6);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

/* 基础重置与无障碍支持 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-title);
  line-height: 1.6;
}

/* 锚点防遮挡 */
section[id], [id] {
  scroll-margin-top: 90px;
}

/* 键盘可访问性焦点样式 */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

/* 无障碍跳转到主要内容快捷键 (Skip Link) */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--primary-purple);
  color: var(--text-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-cyber);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--neon-cyan);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg-deep);
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 顶栏导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 14, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-cyber);
  padding: 16px 0;
}

.navbar .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-white);
  justify-self: start;
}

.logo-badge {
  background: var(--grad-purple-cyan);
  color: #0f0a20;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(124, 92, 255, 0.5);
}

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

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-self: end;
}

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

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

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  min-height: 48px;
  font-family: var(--font-title);
}

.btn-primary {
  background: var(--primary-purple);
  color: var(--text-white);
  box-shadow: 0 4px 18px rgba(124, 92, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: #8e72ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 92, 255, 0.65), 0 0 12px var(--neon-cyan);
}

.btn-secondary {
  background: rgba(124, 92, 255, 0.1);
  color: var(--text-sub);
  border-color: var(--border-cyber);
}

.btn-secondary:hover {
  background: rgba(64, 220, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(64, 220, 255, 0.25);
}

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

.btn-block {
  width: 100%;
}

/* 主视觉区 (Hero Layout) */
.hero {
  padding: 70px 0 60px;
  position: relative;
}

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

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: var(--radius-full);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-num);
  box-shadow: 0 0 10px rgba(64, 220, 255, 0.15);
}

.hero-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

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

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  color: var(--text-white);
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #B39DFF 60%, #40DCFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-cyber);
}

.badge-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-value {
  font-family: var(--font-num);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: -0.5px;
}

.badge-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

/* 通用区块排版 */
.section {
  padding: 85px 0;
}

.section-darker {
  background: rgba(14, 10, 28, 0.7);
  border-top: 1px solid var(--border-cyber);
  border-bottom: 1px solid var(--border-cyber);
}

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

.section-tag {
  text-transform: uppercase;
  color: var(--neon-cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: var(--font-num);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--text-white);
}

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

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: var(--shadow-cyber);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyber-glow);
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.25), 0 0 16px rgba(64, 220, 255, 0.15);
  background: var(--bg-card-hover);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.2);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-white);
}

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

/* 流媒体与 AI 支持图卡 */
.media-ai-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.media-ai-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-cyber);
}

.card-header-flex {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.card-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-ai {
  background: rgba(124, 92, 255, 0.2);
  border: 1px solid rgba(124, 92, 255, 0.45);
  color: #b39dff;
}

.pill-media {
  background: rgba(64, 220, 255, 0.15);
  border: 1px solid rgba(64, 220, 255, 0.4);
  color: var(--neon-cyan);
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 22px;
}

.plat-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-cyber);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
}

.plat-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
}

/* 价格对比表 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-cyber);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.5);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(32, 24, 68, 0.95) 0%, rgba(20, 15, 42, 0.9) 100%);
  border: 2px solid var(--primary-purple);
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.35);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  border-color: var(--neon-cyan);
}

.badge-pop {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-purple-cyan);
  color: #0b071a;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(64, 220, 255, 0.4);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-white);
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
}

.plan-price-box {
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-cyber);
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--neon-cyan);
  font-family: var(--font-num);
}

.plan-price {
  font-family: var(--font-num);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-white);
}

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

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.plan-features svg {
  color: var(--neon-cyan);
  flex-shrink: 0;
}

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

.review-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-cyber);
}

.review-stars {
  color: var(--neon-cyan);
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-quote {
  font-size: 0.94rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

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

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--neon-cyan);
  border: 1px solid var(--border-cyber);
}

.author-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-white);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

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

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

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

.faq-icon-arrow {
  transition: transform 0.25s ease;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px dashed rgba(124, 92, 255, 0.2);
  margin-top: -6px;
  padding-top: 16px;
}

/* CTA 横幅 */
.cta-banner {
  background: linear-gradient(135deg, rgba(32, 24, 68, 0.9) 0%, rgba(18, 14, 36, 0.95) 100%);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 40px 0 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(124, 92, 255, 0.25);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-purple-cyan);
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-white);
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 32px;
}

/* 页脚 */
.site-footer {
  background: #0b0817;
  border-top: 1px solid var(--border-cyber);
  padding: 40px 0 30px;
  margin-top: auto;
}

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

.footer-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 4px 8px;
}

.footer-link:hover {
  color: var(--neon-cyan);
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--font-num);
}

/* 独立内容页通用模板 (关于我们/条款/隐私/网站地图) */
.page-container {
  max-width: 880px;
  margin: 40px auto 80px;
  padding: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-cyber);
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-cyber);
}

.page-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--text-white);
}

.page-updated {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-family: var(--font-num);
}

.page-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin: 30px 0 14px;
}

.page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 20px 0 10px;
}

.page-content p {
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content ul {
  list-style-position: inside;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-content li {
  margin-bottom: 8px;
}

.callout-box {
  background: rgba(124, 92, 255, 0.12);
  border-left: 4px solid var(--neon-cyan);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-white);
  font-size: 0.95rem;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-title-wrap {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  .media-ai-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .navbar .container {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .nav-center {
    width: 100%;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .nav-cta {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .features-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-card,
  .pricing-card,
  .media-ai-card,
  .review-card {
    padding: 26px 20px;
  }
  .section {
    padding: 60px 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .page-container {
    padding: 24px 18px;
    margin: 20px 14px 60px;
  }

  /* 移动端保证至少 44×44 CSS 像素触摸区域 */
  .btn, .nav-link, .footer-link, .article-faq-q, .faq-question {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* 动效尊重用户辅助功能偏好设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #cyber-bg-canvas {
    display: none !important;
  }
}

