/* ==========================================================================
   可信云 (KeXinYun) - 原生高质感极简样式表
   零外部依赖 · 秒开加载 · 现代科技深色风格 · 极致响应式
   ========================================================================== */

:root {
  --bg-main: #0a0f1d;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #131c31;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(59, 130, 246, 0.35);

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px -5px rgba(59, 130, 246, 0.4);
  --transition: all 0.25s ease-in-out;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, var(--bg-main) 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

img, svg {
  vertical-align: middle;
}

/* 容器与布局 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* 头部导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 15, 29, 0.82);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.55);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  user-select: none;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

/* 核心通用按钮 (CTA) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
  color: #fff;
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* 头部主视觉区 (Hero) */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.metric-item .number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

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

/* 区块通用标题 */
.section {
  padding: 80px 0;
}

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

.section-tag {
  color: #3b82f6;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #60a5fa;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

/* 流媒体与 AI 支持专区 */
.media-ai-box {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.4) 0%, rgba(17, 24, 39, 0.7) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.support-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.support-col {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
}

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

.support-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.badge-status {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-item .service-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.service-item .service-tag {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

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

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

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.popular {
  border-color: #3b82f6;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, rgba(17, 24, 39, 0.9) 100%);
  box-shadow: 0 0 35px -5px rgba(59, 130, 246, 0.3);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-5px);
}

.ribbon {
  position: absolute;
  top: 14px;
  right: 18px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

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

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.plan-price .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.plan-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

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

.plan-savings {
  font-size: 0.82rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 24px;
}

.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 li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.guarantee-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.user-info .user-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
}

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

.star-rating {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* 常见问题 (FAQ) */
.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);
}

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

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-icon {
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: #60a5fa;
}

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

/* 底部 CTA 引导横幅 */
.cta-banner {
  margin: 60px 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.25) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

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

/* 页脚 (只保留四个指定标题，严格遵守规范) */
.footer {
  border-top: 1px solid var(--border-color);
  background: rgba(10, 15, 29, 0.95);
  padding: 40px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
}

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

/* 独立内容页专属样式 (关于我们/条款/隐私/网站地图) */
.content-page {
  padding: 60px 0 100px;
}

.page-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.page-header .meta-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  line-height: 1.8;
  color: var(--text-sub);
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 36px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin-bottom: 18px;
  font-size: 1rem;
}

.article-body ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body li {
  margin-bottom: 8px;
}

.callout-box {
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid #3b82f6;
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: #bfdbfe;
}

/* ==========================================================================
   响应式适配 (@media 移动端优化)
   单栏展示 · 按钮大尺寸适合手指轻触 · 间距自适应
   ========================================================================== */

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 14px;
  }
  .nav-links {
    gap: 16px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 52px; /* 移动端拇指友好触控尺寸 */
    font-size: 1.05rem;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 18px;
  }
  .metric-item .number {
    font-size: 1.45rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .support-columns {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .media-ai-box {
    padding: 24px 18px;
  }
  .article-body {
    padding: 24px 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav a {
    font-size: 1rem;
    padding: 8px 16px;
  }
}


/* ==========================================================================
   高科技网格卡片 (Article Grid Cards) 布局
   ========================================================================== */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

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

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-category {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-title a {
  color: #fff;
}

.article-title a:hover {
  color: #60a5fa;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-footer .read-btn {
  color: #60a5fa;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-footer .read-btn:hover {
  color: #93c5fd;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}
