/* 大象网络 - 极速轻量化浅色主题样式表 */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent-color: #0284c7;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

/* 按钮通用规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary-color) !important;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.btn-secondary:hover {
  background-color: #dbeafe;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* 顶部导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

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

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

/* 主视觉 Hero 区域 */
.hero-section {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, var(--bg-main) 75%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-full);
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

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

.hero-title span {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

/* Hero 主视觉萌萌飞象展图 */
.hero-image-box {
  margin: 0 auto 40px;
  max-width: 860px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 4px solid #ffffff;
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.25);
}

.hero-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

.metric-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* 通用 Section 框架 */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

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

.section-tag {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

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

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

.feature-card {
  background-color: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

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

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

/* 流媒体与 AI 支持专区 */
.service-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-media { background-color: #fee2e2; color: #dc2626; }
.icon-ai { background-color: #f0fdf4; color: #16a34a; }
.icon-game { background-color: #fef3c7; color: #d97706; }

.service-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

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

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-item {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: var(--bg-alt);
  color: var(--text-muted);
}

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

.pricing-card {
  background-color: 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;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

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

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

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

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

.price-period {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-left: 6px;
}

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

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

.check-icon {
  color: #16a34a;
  font-weight: 800;
}

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

.review-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 12px;
}

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

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

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

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

.faq-item[open] {
  border-color: #93c5fd;
}

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

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

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-color);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
  padding-top: 16px;
}

/* 严格限定页脚设计：仅保留四个标题链接 */
.footer-strict {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: auto;
}

.footer-strict .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

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

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

.footer-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

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

/* 子页面独立通用排版样式 */
.subpage-header {
  padding: 60px 0 40px;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.subpage-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.subpage-breadcrumb {
  font-size: 0.9rem;
  color: var(--text-light);
}

.subpage-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-sm);
}

.subpage-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 28px 0 14px;
}

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

.subpage-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.subpage-content ul {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.subpage-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 网站地图样式 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}

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

.sitemap-card h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #bfdbfe;
}

.sitemap-card ul {
  list-style: none;
  margin: 0;
}

.sitemap-card li {
  margin-bottom: 10px;
}

.sitemap-card a {
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 响应式适配 (手机端单栏完美适配) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .features-grid,
  .service-badges-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar .container {
    height: 64px;
  }
  
  .nav-links {
    display: none; /* 移动端精简，聚焦Hero与购买按钮 */
  }

  .hero-section {
    padding: 48px 0 40px;
  }

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

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

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

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

  .metric-number {
    font-size: 1.4rem;
  }

  .section {
    padding: 50px 0;
  }

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

  /* 全部瀑布流切换为单栏显示 */
  .features-grid,
  .service-badges-grid,
  .pricing-grid,
  .reviews-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-card .btn {
    min-height: 48px;
  }

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

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