/* ========================================
   湖南迪赛广告有限公司企业官网
   简约大气风格 - 青蓝色系专业配色
   ======================================== */

/* CSS变量 - 青蓝色系专业配色 */
:root {
  /* 主色调 - 青蓝色系 */
  --primary-color: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #06b6d4;
  --secondary-color: #475569;
  --accent-color: #14b8a6;
  
  /* 功能色 */
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  
  /* 背景色 */
  --bg-light: #f0fdfa;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  
  /* 文字色 */
  --text-dark: #0f172a;
  --text-gray: #64748b;
  --text-light: #94a3b8;
  
  /* 边框 */
  --border-color: #e2e8f0;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* 过渡 */
  --transition: all 0.3s ease;
}

/* 重置样式 - 移动端一屏制关键 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 禁用双击缩放 */
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  /* 关键：禁止横向滚动 */
  overflow-x: hidden;
  /* 允许纵向滚动 */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* 优化移动端滚动 */
  overscroll-behavior-y: contain;
}

/* 隐藏但保持可访问性 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  /* 优化移动端触摸 */
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  /* 防止图片撑破布局 */
  display: block;
}

/* 容器 - 移动端安全宽度 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  /* 确保导航栏不超出 */
  max-width: 100vw;
  overflow: hidden;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  /* 移动端安全内边距 */
  padding: 0 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  -webkit-text-fill-color: white;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.contact-nav-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.contact-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  /* 确保按钮不超出 */
  max-width: 44px;
  max-height: 44px;
}

/* 汉堡菜单线条 */
.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  /* 移动端安全 */
  max-width: 100vw;
  overflow-x: hidden;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-link:hover {
  color: var(--primary-color);
}

/* ========================================
   按钮
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  /* 移动端优化 */
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

.btn-full {
  width: 100%;
}

/* ========================================
   首页英雄区
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* 动态视口高度，适配移动端 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ecfeff 0%, #ffffff 50%, #f0fdfa 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(8, 145, 178, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(20, 184, 166, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-dark);
  max-width: 100%;
  padding: 80px 16px 60px;
}

.hero-title {
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(14px, 3.5vw, 18px);
  color: var(--text-gray);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle .highlight-text {
  color: var(--primary-color);
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 11px;
  animation: bounce 2s infinite;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 3px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes scroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

/* 动画 */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   通用区块样式
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 16px;
}

.section-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(14px, 3vw, 16px);
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.text-primary {
  color: var(--primary-color);
}

/* ========================================
   数据统计
   ======================================== */
.stats {
  background: white;
  padding: 48px 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-item {
  padding: 16px 8px;
}

.stat-number {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 6px;
}

/* ========================================
   GEO好处
   ======================================== */
.benefits {
  padding: 80px 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.benefit-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  padding: 28px 20px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-bottom: 4px solid var(--primary-color);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 14px;
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
  stroke: white;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.benefit-card > p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.benefit-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.benefit-stat {
  text-align: center;
}

.benefit-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.benefit-label {
  font-size: 11px;
  color: var(--text-gray);
}

/* 对比表格 */
.comparison {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-title {
  text-align: center;
  font-size: 20px;
  padding: 24px 16px 16px;
  color: var(--text-dark);
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* 确保表格不超出 */
  max-width: 100%;
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  /* 防止表格撑破 */
  table-layout: fixed;
}

.comparison-table th {
  background: var(--text-dark);
  color: white;
  padding: 16px 12px;
  font-size: 14px;
  text-align: center;
}

.comparison-table th.highlight-col {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.comparison-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  /* 防止文字换行导致布局错乱 */
  word-break: break-word;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .feature {
  text-align: left;
  font-weight: 600;
  background: #f0fdfa;
}

/* ========================================
   AI平台覆盖
   ======================================== */
.platforms {
  padding: 80px 0;
  background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 100%);
}

.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding: 0 8px;
}

.platform-card {
  background: white;
  padding: 16px 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  /* 确保卡片不超出 */
  min-width: 0;
  flex: 0 1 calc(33.333% - 16px);
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.platform-name {
  display: block;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: bold;
  margin-bottom: 4px;
}

.platform-company {
  font-size: 12px;
  color: var(--text-gray);
}

.platform-note {
  text-align: center;
  margin-top: 32px;
  padding: 0 16px;
}

.platform-note p {
  font-size: 15px;
  color: var(--text-gray);
}

/* ========================================
   服务项目
   ======================================== */
.services {
  padding: 80px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  padding: 28px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(8, 145, 178, 0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: white;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ========================================
   核心优势
   ======================================== */
.advantages {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

.advantages .section-tag,
.advantages .section-title,
.advantages .section-desc {
  color: white;
}

.advantages .section-tag {
  opacity: 0.8;
}

.advantages .section-desc {
  opacity: 0.7;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
}

.advantage-icon svg {
  width: 30px;
  height: 30px;
  stroke: white;
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.advantage-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ========================================
   成功案例
   ======================================== */
.cases {
  padding: 80px 0;
  background: white;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.case-tag {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  margin: 20px 16px 12px;
}

.case-card h3 {
  font-size: 17px;
  font-weight: 600;
  padding: 0 16px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.case-card > p {
  font-size: 14px;
  color: var(--text-gray);
  padding: 0 16px;
  line-height: 1.7;
}

.case-stats {
  display: flex;
  gap: 24px;
  padding: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border-color);
}

.case-stat {
  text-align: center;
}

.case-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.case-label {
  font-size: 12px;
  color: var(--text-gray);
}

/* ========================================
   常见问题
   ======================================== */
.faq {
  padding: 80px 0;
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-hot {
  background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 100%);
  border: 2px solid var(--primary-color);
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  cursor: pointer;
}

.faq-question::before {
  content: '?';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.faq-answer {
  padding-left: 24px;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 14px;
}

/* ========================================
   客户评价
   ======================================== */
.testimonials {
  padding: 80px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-size: 14px;
  font-style: italic;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.author-info p {
  font-size: 13px;
  color: var(--text-light);
}

/* ========================================
   联系我们
   ======================================== */
.contact {
  padding: 80px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-color);
}

.contact-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 14px;
  color: var(--text-gray);
}

.contact-text a {
  color: var(--primary-color);
}

.contact-text a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: white;
  transition: var(--transition);
  font-family: inherit;
  /* 防止撑破 */
  max-width: 100%;
  /* 移动端优化 */
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-tip {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-gray);
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: #0f172a;
  color: white;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-text-fill-color: white;
}

.footer-logo .logo-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.footer-domain {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: white;
}

.footer-contact li {
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-detail {
  margin-top: 8px;
  font-size: 11px;
}

/* ========================================
   响应式设计 - 移动端适配
   ======================================== */

/* 平板 */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 手机竖屏 */
@media (max-width: 768px) {
  /* 导航 */
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* 英雄区 */
  .hero-content {
    padding: 70px 16px 50px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  /* 统计 */
  .stats {
    padding: 32px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* 各区块 */
  .benefits,
  .platforms,
  .services,
  .advantages,
  .cases,
  .faq,
  .testimonials,
  .contact {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* 网格布局 */
  .benefits-grid,
  .advantages-grid,
  .services-grid,
  .cases-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 平台卡片 */
  .platform-card {
    flex: 0 1 calc(50% - 8px);
    padding: 12px 16px;
  }

  /* 联系表单 */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 16px;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  /* 容器安全 */
  .container {
    padding: 0 12px;
  }

  /* 英雄区 */
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .scroll-indicator {
    display: none;
  }

  /* 统计 */
  .stat-number {
    font-size: 28px;
  }

  .stat-suffix {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* 卡片内边距 */
  .benefit-card,
  .service-card {
    padding: 20px 16px;
  }

  .benefit-icon,
  .service-icon {
    width: 50px;
    height: 50px;
  }

  /* 案例 */
  .case-card {
    margin: 0 -8px;
    border-radius: 12px;
  }

  .case-stats {
    flex-direction: column;
    gap: 12px;
  }

  /* FAQ */
  .faq-item {
    padding: 16px;
  }

  .faq-question {
    font-size: 15px;
  }

  /* 客户评价 */
  .testimonial-card {
    padding: 20px 16px;
  }

  /* 平台 */
  .platform-card {
    flex: 0 1 100%;
    padding: 12px 20px;
  }

  /* 优势卡片 */
  .advantage-card {
    padding: 24px 12px;
  }

  .advantage-icon {
    width: 50px;
    height: 50px;
  }
}

/* 安全区域适配 - iPhone刘海屏等 */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  
  .footer {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}

/* 打印样式 */
@media print {
  .navbar,
  .mobile-menu,
  .scroll-indicator,
  .btn {
    display: none !important;
  }
  
  body {
    overflow-x: visible;
  }
}

/* ========================================
   资讯页面专用样式
   ======================================== */

/* 资讯英雄区 */
.news-hero {
  background: linear-gradient(135deg, #ecfeff 0%, #ffffff 50%, #f0fdfa 100%);
}

.news-hero .hero-title {
  font-size: clamp(36px, 8vw, 56px);
}

.news-hero .hero-subtitle {
  max-width: 700px;
}

/* 资讯列表区块 */
.news-section {
  padding: 80px 0;
  background: #ffffff;
}

/* 资讯网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* 资讯卡片点击提示 */
.news-read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
}

.news-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: #d1d5db;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-date {
  font-size: 12px;
  color: var(--text-light);
}

.news-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
}

.news-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-title a {
  color: var(--text-dark);
  transition: var(--transition);
}

.news-title a:hover {
  color: var(--primary-color);
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.news-link:hover {
  color: var(--primary-dark);
}

/* 加载更多 */
.load-more {
  text-align: center;
  padding: 32px 0;
}

.load-more-text {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.update-note {
  font-size: 13px;
  color: var(--text-light);
}

/* 资讯咨询区块 */
.news-contact {
  background: var(--bg-light);
  padding: 80px 0;
}

/* 文章详情 */
.article-detail {
  padding: 100px 0;
  background: white;
}

.article-title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 32px;
  line-height: 1.3;
}

.article-detail h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

.article-detail h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 0 12px;
}

.article-detail p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-detail ul,
.article-detail ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-detail li {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-detail li strong {
  color: var(--text-dark);
}

.back-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 32px;
}

.back-btn:hover {
  background: var(--primary-color);
  color: white;
}

/* 页脚关于 */
.footer-about {
  max-width: 300px;
}

/* 响应式 - 资讯页面 */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 60px 0;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .news-card {
    padding: 20px 16px;
  }
  
  .news-title {
    font-size: 16px;
  }
  
  .article-detail {
    padding: 80px 0 60px;
  }
  
  .article-detail h2 {
    font-size: 20px;
  }
  
  .article-detail h3 {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .news-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ========================================
   文章详情弹层
   ======================================== */
.article-modal {
  background: white;
  border-radius: 16px;
  border: 1px solid #e0f2fe;
  box-shadow: 0 8px 32px rgba(8, 145, 178, 0.12);
  animation: fadeInUp 0.3s ease;
  margin-bottom: 48px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.article-modal-inner {
  padding: 32px;
}

.article-modal-header {
  margin-bottom: 24px;
}

.article-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f9ff;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article-back-btn:hover {
  background: var(--primary-color);
  color: white;
}

.article-modal-meta {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.article-modal-title {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e0f2fe;
}

.article-modal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--primary-color);
}

.article-modal-body p {
  font-size: 15px;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 14px;
}

.article-modal-body ul {
  margin: 12px 0 16px 20px;
}

.article-modal-body li {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-modal-body strong {
  color: var(--text-dark);
  font-weight: 600;
}

@media (max-width: 768px) {
  .article-modal-inner {
    padding: 20px 16px;
  }

  .article-modal-title {
    font-size: 20px;
  }

  .article-modal-body h2 {
    font-size: 16px;
  }
}

/* ========================================
   独立资讯页面文章样式
   ======================================== */
.news-article {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.news-article-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0f2fe;
}

.news-article-title {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-top: 12px;
}

.news-article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary-color);
}

.news-article-content p {
  font-size: 15px;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 14px;
}

.news-article-content ul {
  margin: 12px 0 16px 20px;
}

.news-article-content li {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 8px;
}

.news-article-content strong {
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  .news-article {
    padding: 24px 16px;
  }

  .news-article-title {
    font-size: 20px;
  }

  .news-article-content h3 {
    font-size: 16px;
  }
}