/* ========================================
   GEO-PBOOT 模板优化样式
   版本: 2024-clean
   说明: 精简冗余代码，优化性能
   ======================================== */

/* 全局重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: auto;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

/* CSS变量 */
:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #f97316;
  --success: #10b981;
  --dark: #1e293b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --background: #ffffff;
  --light: #f8fafc;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* 基础排版 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-light);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.875rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #1e3a8a;
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(30, 64, 175, 0.05);
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}

/* 导航栏 */
.header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-image {
  height: 2.5rem;
  width: auto;
}

/* 导航菜单 */
.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 1rem;
  flex-direction: column;
  gap: 0;
}

.nav.active {
  display: flex;
}

.nav-link {
  padding: 0.75rem 0;
  color: var(--gray-700);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}

.nav-link:last-child {
  border-bottom: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* 菜单按钮 */
.menu-button {
  display: flex;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
}

/* 桌面端导航 */
@media (min-width: 1024px) {
  .header-container {
    padding: 1rem 1.5rem;
  }
  
  .menu-button {
    display: none;
  }
  
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
  
  .nav-link {
    border-bottom: none;
    padding: 0.5rem 0;
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s;
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
}

/* Banner轮播 */
.banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.banner-slide.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.banner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.banner-content {
  text-align: center;
  max-width: 600px;
}

.banner-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.banner-title-highlight {
  color: var(--primary);
}

.banner-description {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* 轮播控制 */
.banner-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.banner-indicator {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.banner-indicator.active {
  background: var(--primary);
}

.banner-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1rem;
  z-index: 10;
  transition: all 0.2s;
}

.banner-control:hover {
  background: var(--primary);
  color: white;
}

.banner-control-prev { left: 1rem; }
.banner-control-next { right: 1rem; }

@media (min-width: 768px) {
  .banner { height: 600px; }
  .banner-title { font-size: 2.25rem; }
  .banner-description { font-size: 1.125rem; }
  .banner-actions { flex-direction: row; gap: 1rem; }
}

@media (min-width: 1024px) {
  .banner {
    height: calc(100vh - 80px);
    min-height: 500px;
    max-height: 700px;
  }
  .banner-container { padding: 0 2rem; }
  .banner-content { text-align: left; }
  .banner-title { font-size: 2.75rem; }
  .banner-actions { justify-content: flex-start; }
}

/* 内容区块 */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-title { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 2.25rem; }
}

/* 核心价值区 */
.core-values {
  padding: 3rem 0;
  background: var(--background);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.value-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.1);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-description {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.value-description-en {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .core-values { padding: 4rem 0; }
  .values-grid { grid-template-columns: repeat(4, 1fr); padding: 0 2rem; }
  .value-card { padding: 2rem; }
}

/* 标签页 */
.tabbed-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tab-navigation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  background: white;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.75rem;
}

.tab-btn:hover { border-color: var(--primary); }

.tab-btn.active {
  background: var(--primary);
  color: white;
}

.tab-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  object-fit: contain;
}

.tab-content {
  display: none;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.tab-content.active { display: block; }

.tab-content-inner h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.tab-content-inner p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.tab-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tab-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .tab-navigation { grid-template-columns: repeat(6, 1fr); }
  .tab-btn { font-size: 0.8125rem; padding: 1.25rem 0.5rem; }
  .tab-icon { width: 32px; height: 32px; }
}

@media (min-width: 1024px) {
  .tabbed-container { padding: 0 2rem; }
  .tab-content { padding: 2rem; }
  .tab-content-inner h3 { font-size: 1.5rem; }
}

/* 案例卡片 */
.featured-content {
  padding: 3rem 0;
  background: var(--gray-50);
}

.featured-content-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.case-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card a {
  color: inherit;
  display: block;
}

.case-card-image {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.case-card-tags {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.case-tag {
  background: rgba(255,255,255,0.95);
  color: #333;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
}

.case-card-content {
  padding: 1.25rem;
}

.case-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.case-card-desc {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.case-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.case-stat { text-align: center; }

.case-stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.case-stat-label {
  font-size: 0.6875rem;
  color: var(--gray-500);
}

.case-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-platform {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: white;
}

.case-platform.deepseek { background: #1e40af; }
.case-platform.doubao { background: #ff7a00; }
.case-platform.yuanbao { background: #00a0e9; }

@media (min-width: 640px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .featured-content { padding: 4rem 0; }
  .featured-content-container { padding: 0 2rem; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
}

/* CTA区块 */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 3rem 0;
  color: white;
}

.cta-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.cta-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s;
}

.cta-button-primary {
  background: white;
  color: var(--primary);
}

.cta-button-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

.cta-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button-secondary:hover {
  background: rgba(255,255,255,0.1);
}

@media (min-width: 640px) {
  .cta-actions { flex-direction: row; justify-content: center; }
}

@media (min-width: 1024px) {
  .cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0 2rem;
  }
  .cta-title { font-size: 2rem; }
  .cta-actions { justify-content: flex-start; }
}

/* 统计区块 */
.geo-case-overview {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.geo-case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item { padding: 0.5rem; }

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

@media (min-width: 640px) {
  .geo-case-stats { grid-template-columns: repeat(4, 1fr); }
}

/* 洞察和报告 */
.insights-reports {
  background: var(--gray-50);
  padding: 3rem 0;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.report-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.report-card:hover { box-shadow: var(--shadow-md); }

.report-card-image {
  height: 100px;
  background-size: cover;
  background-position: center;
}

.report-card-content { padding: 1rem; }

.report-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.report-card-desc {
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.report-card-date {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.insight-item {
  background: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.insight-title {
  font-size: 0.9375rem;
  color: var(--dark);
  font-weight: 500;
}

.insight-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .report-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .insights-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }
  .report-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-link {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: all 0.2s;
}

.page-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* 页脚 */
.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-logo { margin-bottom: 1rem; }

.footer-logo img { height: 2.5rem; }

.footer-desc {
  font-size: 0.75rem; /* 12px */
  color: var(--gray-400);
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover { color: white; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-qr {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: var(--radius-md);
  padding: 0.5rem;
}

.footer-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-400);
  margin: 0 0.5rem;
}

.footer-bottom a:hover { color: white; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-container { padding: 0 2rem; }
}

/* 知识库页面 */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.articles-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-item:hover .article-image img { transform: scale(1.05); }

.article-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.article-excerpt {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.article-category {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.category-list { list-style: none; }

.category-item { border-bottom: 1px solid var(--gray-100); }

.category-item:last-child { border-bottom: none; }

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--gray-700);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.category-link:hover { color: var(--primary); }

.category-count {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.popular-list { list-style: none; }

.popular-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.popular-item:last-child { border-bottom: none; }

.popular-rank {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-300);
  line-height: 1;
}

.popular-content { flex: 1; }

.popular-title {
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.popular-title:hover { color: var(--primary); }

.popular-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
}

@media (min-width: 1024px) {
  .knowledge-grid {
    grid-template-columns: 2.5fr 1fr;
    padding: 0 2rem;
  }
  .article-item { flex-direction: row; }
  .article-image {
    width: 240px;
    height: 140px;
    flex-shrink: 0;
  }
}

/* 通用工具类 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray-600); }
.bg-light { background: var(--light); }
.bg-white { background: white; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* 淡入动画 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 页面标题横幅 */
.page-banner {
  padding: 2.5rem 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  text-align: center;
}

.page-banner h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: var(--gray-600);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .page-banner h1 { font-size: 2rem; }
}

/* 隐藏元素 */
.hidden { display: none; }

/* 移动端隐藏，PC端显示 */
.md-hidden { display: none; }
@media (min-width: 1024px) {
  .md-hidden { display: inline-flex; }
}

@media (min-width: 768px) {
  .md-block { display: block; }
}
@media (min-width: 1024px) {
  .lg-hidden { display: none; }
  .lg-block { display: block; }
}

/* ============================================
   科技感渐变 Banner - 四个栏目页面
   ============================================ */

/* ============================================
   科技感 Banner 统一样式 - 四个栏目页面
   ============================================ */

/* 统一基础样式 */
.page-banner-cases,
.page-banner-knowledge,
.page-banner-services,
.page-banner-contact {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner-cases .banner-container,
.page-banner-knowledge .banner-container,
.page-banner-services .banner-container,
.page-banner-contact .banner-container {
  width: 100%;
  max-width: 100%;
}

.page-banner-cases .banner-content,
.page-banner-knowledge .banner-content,
.page-banner-services .banner-content,
.page-banner-contact .banner-content {
  max-width: 80%;
  margin: 0 auto;
  text-align: center !important;
}

.page-banner-cases::before,
.page-banner-knowledge::before,
.page-banner-services::before,
.page-banner-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.page-banner-cases h1,
.page-banner-knowledge h1,
.page-banner-services h1,
.page-banner-contact h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: white;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.page-banner-cases .banner-subtitle,
.page-banner-knowledge .banner-subtitle,
.page-banner-services .banner-subtitle,
.page-banner-contact .banner-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 500;
}

.page-banner-cases .banner-desc,
.page-banner-knowledge .banner-desc,
.page-banner-services .banner-desc,
.page-banner-contact .banner-desc {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
}

/* 成功案例 - 青蓝科技渐变 */
.page-banner-cases {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
}
.page-banner-cases::before {
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(147, 197, 253, 0.2) 0%, transparent 40%);
}

/* 知识库 - 绿色科技渐变 */
.page-banner-knowledge {
  background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #10b981 100%);
}
.page-banner-knowledge::before {
  background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(52, 211, 153, 0.2) 0%, transparent 40%);
}

/* 优化服务 - 紫色科技渐变 */
.page-banner-services {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
}
.page-banner-services::before {
  background: radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.4) 0%, transparent 50%),
              radial-gradient(circle at 60% 60%, rgba(167, 139, 250, 0.2) 0%, transparent 40%);
}

/* 联系我们/关于 - 橙红科技渐变 */
.page-banner-contact {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #f97316 100%);
}
.page-banner-contact::before {
  background: radial-gradient(circle at 50% 30%, rgba(249, 115, 22, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(253, 186, 116, 0.2) 0%, transparent 40%);
}

@media (min-width: 768px) {
  .page-banner-cases h1,
  .page-banner-knowledge h1,
  .page-banner-services h1,
  .page-banner-contact h1 { font-size: 2rem; }
}

/* 文章内容样式 */
.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.article-body ul,
.article-body ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

/* 边框和间距工具 */
.border-t {
  border-top: 1px solid var(--gray-200);
}

.pt-4 {
  padding-top: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
}

/* ============================================
   GEO知识库 - 报告、洞察、情报布局
   ============================================ */

/* 报告栏目 - 单独一行，4列布局 */
.report-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .report-grid-full { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .report-grid-full { grid-template-columns: repeat(4, 1fr); }
}

/* 洞察和情报 - 六四分布局 */
.insights-intel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem; /* 与上方报告区域间距 */
}

@media (min-width: 1024px) {
  .insights-intel-grid {
    grid-template-columns: 6fr 4fr;
    gap: 2rem;
  }
}

.insights-section,
.intel-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

/* 情报区域样式优化 */
.intel-section .insights-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intel-section .insight-item {
  background: var(--gray-50);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
  transition: all 0.2s;
}

.intel-section .insight-item:hover {
  background: var(--primary-light);
  transform: translateX(4px);
}

/* 情报文字小一些 */
.intel-section .insight-title {
  font-size: 0.875rem; /* 14px */
  line-height: 1.5;
}

.intel-section .insight-meta {
  font-size: 0.75rem; /* 12px */
  color: var(--gray-500);
}

/* ============================================
   Detail Page - 3:7 布局
   ============================================ */

/* 详情页整体布局 - 3:7 比例 */
.detail-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .detail-layout {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: 2rem;
    align-items: start;
  }
}

/* 左侧边栏 - 更精致的样式 */
.detail-layout .sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-layout .sidebar-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.detail-layout .sidebar-title {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark);
  letter-spacing: 0.02em;
}

/* 目录导航样式 - 更精细 */
.detail-layout .category-list {
  font-size: 0.8125rem; /* 13px */
}

.detail-layout .category-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-layout .category-list li {
  margin-bottom: 0.375rem;
}

.detail-layout .category-link {
  display: block;
  padding: 0.375rem 0.5rem;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  line-height: 1.4;
}

.detail-layout .category-link:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* 咨询专栏样式优化 */
.detail-layout .sidebar-section.text-center h4 {
  font-size: 0.9375rem; /* 15px */
}

.detail-layout .sidebar-section.text-center p {
  font-size: 0.75rem; /* 12px */
}

/* ============================================
   移动端滚动修复 - 确保页脚可正常滚动到底部
   ============================================ */

/* 确保页面内容可正常滚动 */
html {
  scroll-behavior: smooth;
}

/* ============================================
   移动端页脚滚动修复
   ============================================ */

@media (max-width: 767px) {
  html {
    height: auto;
  }
  
  body {
    height: auto;
    min-height: 100vh;
    padding-bottom: 0;
    margin-bottom: 0;
    position: relative;
  }
  
  /* 确保footer完整显示 */
  .footer {
    position: relative;
    clear: both;
    z-index: 1;
    margin-top: 0;
    padding: 2rem 0 5rem;
  }
  
  .footer-container {
    padding: 0 1rem 2rem;
  }
}
