/* ==========================================================================
   大象网络官网 - 全局原生 CSS 样式表 (style.css)
   极简无依赖、秒开级性能、全面支持响应式与无障碍访问
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-dark: #0f172a;
  --primary-light: #e0f2fe;
  --accent: #10b981;
  --accent-hover: #059669;
  --bg-page: #f0f7ff;
  --bg-surface: #ffffff;
  --bg-subtle: #e6f2fd;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #d8e8f8;
  --border-focus: #38bdf8;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --header-height: 72px;
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* 无障碍跳过导航链接 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 12px 20px;
  z-index: 9999;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--accent);
}

/* 焦点轮廓无障碍优化 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 3px;
}

/* 锚点滚动距离 */
[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* 容器与布局 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(240, 247, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 1.25rem;
}
.logo-area span {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #0284c7 75%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.logo-icon,
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

/* 按钮通用规范 (触摸目标 >= 44x44px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}
.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}
.btn-outline {
  background-color: transparent;
  color: var(--primary-dark);
  border-color: var(--border-color);
}
.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-light);
}
.btn-sm {
  min-height: 38px;
  padding: 6px 16px;
  font-size: 0.88rem;
}
.btn-lg {
  min-height: 52px;
  padding: 14px 32px;
  font-size: 1.08rem;
  border-radius: var(--radius-lg);
}

/* 主视觉区 Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 54px;
  background: radial-gradient(circle at 50% 0%, #dbeefe 0%, #e8f4fc 55%, #f0f7ff 100%);
  text-align: center;
}
.hero-section .container {
  position: relative;
  z-index: 3;
}

/* 动态象鼻喷水 Canvas 画布 */
.hero-water-spray-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Hero 背景可爱大象与喷水特效 */
.hero-elephant {
  position: absolute;
  bottom: 0;
  width: 220px;
  height: 250px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 16px rgba(2, 132, 199, 0.08));
}
.hero-elephant-left {
  left: 2%;
}
.hero-elephant-right {
  right: 2%;
  transform: scaleX(-1);
}

/* 大象身体呼吸与摆动动画 */
.elephant-body-group {
  animation: elephantBob 3.6s ease-in-out infinite;
  transform-origin: bottom center;
}
.hero-elephant-right .elephant-body-group {
  animation-delay: -1.8s;
}
.elephant-ear {
  animation: earWiggle 2.8s ease-in-out infinite;
  transform-origin: 105px 145px;
}
.hero-elephant-right .elephant-ear {
  animation-delay: -1.2s;
}
.elephant-tail {
  animation: tailWag 2s ease-in-out infinite;
  transform-origin: 55px 205px;
}

@keyframes elephantBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes earWiggle {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-5deg); }
}
@keyframes tailWag {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #1e3a8a;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 35%, #0284c7 70%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}
.hero-intro {
  max-width: 780px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-features-strip {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  max-width: 800px;
  margin: 0 auto;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 区块通用排版 */
.section-pad {
  padding: 64px 0;
}
.section-pad-alt {
  padding: 64px 0;
  background-color: var(--bg-surface);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* 核心优势卡片 (3卡) */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-advantage {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.card-advantage:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.card-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon-box svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.card-advantage h3 {
  font-size: 1.28rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.card-advantage p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* 流媒体与 AI 支持图卡 */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card-support {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card-support-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.support-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: #f0fdf4;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.support-icon-wrap.ai-icon {
  background-color: #eff6ff;
  color: var(--primary);
}
.support-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.card-support h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
}
.card-support p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.platform-tag {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-color);
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* 套餐价格对比表 */
.pricing-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}
.pricing-table caption {
  padding: 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  background-color: #f0f7ff;
}
.pricing-table th,
.pricing-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.pricing-table th {
  background-color: #eaf3fc;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table tbody tr:hover {
  background-color: #f3f9fe;
}
.plan-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}
.plan-popular-tag {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  font-weight: 600;
  vertical-align: middle;
}
.plan-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}
.plan-price span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: normal;
}
.feature-list {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 用户评价 / Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}
.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.user-meta h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
}
.user-meta span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* FAQ 常见问题 (默认全部展开 details[open]) */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: var(--border-focus);
}
.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "▾";
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px solid #edf5fd;
  padding-top: 16px;
}
.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-answer a:hover {
  color: var(--primary-hover);
}

/* 页脚 (规范：仅保留 4 个标题，并在新标签中打开) */
.site-footer {
  margin-top: auto;
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 48px 0 32px;
  border-top: 1px solid #1e293b;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #334155;
}
.footer-link-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}
.footer-link-title:hover {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.06);
}
.footer-bottom {
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
}

/* 知识科普与文章页面排版样式 */
.page-header {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #e4f2fc 0%, #f0f7ff 100%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}
.breadcrumbs {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e3a8a;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 35%, #0284c7 70%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.3;
}
.page-meta {
  display: flex;
  gap: 18px;
  color: var(--text-light);
  font-size: 0.88rem;
}
.article-container {
  max-width: 860px;
  margin: 0 auto 64px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.article-content {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-content h2 {
  font-size: 1.55rem;
  color: var(--primary-dark);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.article-content h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 20px;
}
.article-content ul,
.article-content ol {
  margin-bottom: 24px;
  padding-left: 28px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.article-content a:hover {
  color: var(--primary-hover);
}
.article-cta-box {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  text-align: center;
}
.article-cta-box h3 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.96rem;
}

/* 知识文章列表网格 */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 54px;
}
.knowledge-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.card-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 14px;
}
.knowledge-card h2 {
  font-size: 1.18rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.knowledge-card h2 a {
  color: inherit;
  text-decoration: none;
}
.knowledge-card h2 a:hover {
  color: var(--primary);
}
.knowledge-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.knowledge-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

/* 政策与关于页面排版 */
.policy-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
  line-height: 1.8;
  color: #334155;
}
.policy-card h2 {
  font-size: 1.45rem;
  color: var(--primary-dark);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.policy-card h2:first-of-type {
  margin-top: 0;
}
.policy-card p {
  margin-bottom: 16px;
}
.policy-card ul {
  padding-left: 24px;
  margin-bottom: 20px;
}
.policy-card li {
  margin-bottom: 8px;
}

/* 媒体查询响应式 (Media Queries) */
@media (max-width: 1024px) {
  .advantages-grid,
  .testimonials-grid,
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-elephant {
    width: 170px;
    height: 195px;
    opacity: 0.85;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  .hero-elephant {
    width: 110px;
    height: 130px;
    opacity: 0.55;
  }
  .hero-elephant-left { left: 0; }
  .hero-elephant-right { right: 0; }
  .header-wrapper {
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
  }
  .site-header {
    height: auto;
    padding: 8px 0;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .nav-links {
    gap: 8px;
  }
  .nav-links a {
    padding: 6px 10px;
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .advantages-grid,
  .support-grid,
  .testimonials-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  .card-advantage,
  .card-support,
  .article-container,
  .policy-card {
    padding: 24px 20px;
  }
  .footer-nav {
    gap: 16px;
    flex-direction: column;
    text-align: center;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .hero-elephant {
    width: 85px;
    height: 100px;
    opacity: 0.4;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .btn {
    padding: 10px 16px;
    font-size: 0.92rem;
  }
}

/* 动效适配支持 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
