/* ==========================================================================
   影子 - 极简原生样式表 (清新浅色高级科技风)
   零外部依赖 | 纯原生 CSS | 秒开极速加载 | 全响应式适配
   ========================================================================== */

:root {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-badge: rgba(37, 99, 235, 0.08);
  --border-color: #e2e8f0;
  --border-highlight: rgba(37, 99, 235, 0.45);
  
  --primary: #2563eb;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  --button-hover-gradient: linear-gradient(135deg, #0369a1 0%, #1d4ed8 50%, #6d28d9 100%);
  --accent-green: #059669;
  --accent-orange: #d97706;
  
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 8px -1px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.2);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  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.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-dark);
}

/* 顶部环境柔和光斑 */
.bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 500px;
  background: radial-gradient(circle at 50% 8%, rgba(37, 99, 235, 0.12) 0%, rgba(2, 132, 199, 0.05) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

/* 通用排版 */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section {
  padding: 80px 0;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-badge);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.25;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: 48px;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--button-hover-gradient);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
  min-height: 38px;
}

.btn-block {
  width: 100%;
}

/* 顶部导航栏 (清新浅色毛玻璃) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  color: #fff;
}

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

.nav-link {
  font-size: 0.95rem;
  color: var(--text-sub);
  font-weight: 500;
}

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

.nav-highlight {
  color: var(--primary) !important;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.nav-highlight:hover {
  background: rgba(37, 99, 235, 0.16);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
}

/* 高科技网格卡片 (Article Grid Cards) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  background: #ffffff;
  box-shadow: 0 12px 30px -5px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

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

.article-card-header {
  margin-bottom: 14px;
}

.article-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 12px;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-title a {
  color: inherit;
}

.article-card-title a:hover {
  color: var(--primary);
}

.article-card-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.article-read-btn {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
}

.article-read-btn:hover {
  color: #1d4ed8;
  transform: translateX(3px);
}

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

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 22px;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  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 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: #ffffff;
  box-shadow: 0 12px 28px -5px rgba(37, 99, 235, 0.12);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

/* 流媒体与 AI 支持 */
.unlock-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.unlock-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.unlock-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.unlock-box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.unlock-box-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.unlock-box-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.6;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
}

.service-tag span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
}

.unlock-specs {
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
  list-style: none;
}

.unlock-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

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

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border-color: #2563eb;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, #ffffff 100%);
  box-shadow: 0 10px 30px -4px rgba(37, 99, 235, 0.18);
  transform: scale(1.03);
  z-index: 2;
}

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

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.pricing-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

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

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

.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

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

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

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-sub);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pricing-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

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

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

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 14px;
}

.review-content {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.author-meta h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

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

/* 常见问题 (原生 details / summary) */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-item[open] {
  border-color: var(--border-highlight);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

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

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

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

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

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

/* 底部行动召唤横幅 */
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  margin-top: 40px;
  box-shadow: var(--shadow-card);
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

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

/* 页脚 (浅色质感，严格仅四个指定标题) */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: #f1f5f9;
  margin-top: 60px;
}

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

.footer-link {
  font-size: 0.95rem;
  color: var(--text-sub);
  font-weight: 500;
}

.footer-link:hover {
  color: var(--primary);
}

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

/* 法律与专栏文章页专属样式 */
.legal-page {
  padding: 60px 0 100px 0;
}

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

.legal-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--text-sub);
  line-height: 1.8;
  box-shadow: var(--shadow-card);
}

.legal-content h2 {
  font-size: 1.45rem;
  color: var(--text-main);
  margin: 30px 0 14px 0;
}

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

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

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

.badge-privacy {
  display: inline-block;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--accent-green);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 16px;
}

/* ==========================================================================
   响应式媒体查询 (@media)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .unlock-wrapper {
    grid-template-columns: 1fr;
  }

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

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

  .navbar {
    height: 64px;
  }

  .nav-menu {
    display: none;
  }

  .hero {
    padding: 50px 0 30px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .stat-value {
    font-size: 1.35rem;
  }

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

  .section-title {
    font-size: 1.75rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .footer-nav {
    gap: 18px 24px;
  }

  .legal-content {
    padding: 24px 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }
  
  .btn {
    min-height: 48px;
    padding: 14px 20px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
