/* ==========================================================================
   尔湾云官网 (Erwan Cloud) - 官方极简高性能样式表
   版本: 2026.1.0 | 纯原生 CSS | 零外部依赖 | 秒开性能优化
   ========================================================================== */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(31, 41, 55, 0.95);
  --border-color: #374151;
  --border-focus: #3b82f6;
  
  --text-primary: #f9fafb;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.25);
  
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.2);
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px var(--primary-glow);
  
  --container-width: 1200px;
  --header-height: 72px;
}

/* 全局重置与无障碍基线 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 键盘导航跳过链接 */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 99999;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid #fff;
}

/* 焦点高亮 */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

/* 锚点防遮挡 */
section[id], div[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* 基础通用类 */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 按钮规范 (满足 >= 44x44px 触控区与无障碍) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  min-width: 120px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary) !important;
  border-color: var(--border-color);
}
.btn-outline:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary);
  color: #ffffff !important;
}

.btn-sm {
  min-height: 38px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.9rem 2rem;
  font-size: 1.125rem;
}

/* 徽章 Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   页面顶部导航 (Header & Nav)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-logo:hover {
  color: #ffffff;
}
.site-logo .logo-mark {
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.25);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.site-logo:hover .logo-mark {
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
  transform: translateY(-1px);
}
.site-logo .logo-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.site-logo .logo-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(16, 185, 129, 0.22));
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  letter-spacing: 0.03em;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   主视觉区 (Hero Section)
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid rgba(55, 65, 81, 0.4);
}

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

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-title .gradient-text {
  background: linear-gradient(
    90deg,
    #2563EB 0%,
    #3B82F6 18%,
    #38BDF8 38%,
    #E0F2FE 52%,
    #7DD3FC 68%,
    #3B82F6 84%,
    #2563EB 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: erwan-hero-shimmer 3s ease-in-out infinite;
}

@keyframes erwan-hero-shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-features-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
}
.hero-features-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-features-strip svg {
  color: var(--accent);
}

/* ==========================================================================
   首页极速动力引擎 Hero 专属高保真背景 (仅作用域 .hero-engine)
   ========================================================================== */
.hero-section.hero-engine {
  position: relative;
  overflow: hidden;
  background-color: #020712;
  padding: clamp(4.75rem, 6.8vw, 6.25rem) 0 clamp(3.75rem, 5.8vw, 5rem);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
}

.hero-engine-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, #000000 10%, #000000 84%, transparent 100%);
  mask-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, #000000 10%, #000000 84%, transparent 100%);
}

.hero-engine-img,
.hero-engine-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-engine-img {
  object-fit: cover;
  object-position: center center;
}

.hero-engine-fx {
  mix-blend-mode: screen;
  mix-blend-mode: plus-lighter;
}

/* 1-3-4-2 气缸局部点火火焰脉冲（高亮度闪爆 + 橙金余辉） */
@keyframes hero-fx-ignite {
  0% {
    opacity: 0.15;
    transform: scale(0.92);
  }
  7% {
    opacity: 1;
    transform: scale(1.08);
  }
  22% {
    opacity: 0.9;
    transform: scale(1.03);
  }
  42% {
    opacity: 0.34;
    transform: scale(0.96);
  }
  60%, 100% {
    opacity: 0.08;
    transform: scale(0.9);
  }
}

.hero-fx-cyl {
  opacity: 0.08;
  transform-box: fill-box;
  transform-origin: center center;
  animation: hero-fx-ignite 1.8s ease-out infinite;
}
.hero-fx-cyl-1 { animation-delay: 0s; }
.hero-fx-cyl-3 { animation-delay: -1.35s; }
.hero-fx-cyl-4 { animation-delay: -0.9s; }
.hero-fx-cyl-2 { animation-delay: -0.45s; }

/* 外围冰蓝光轨与能量环流光 */
@keyframes hero-fx-stream {
  0% {
    stroke-dashoffset: 240;
    opacity: 0.25;
  }
  35% {
    opacity: 0.95;
  }
  100% {
    stroke-dashoffset: -240;
    opacity: 0.18;
  }
}

@keyframes hero-fx-orbit {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -1420;
  }
}

.hero-fx-trail {
  stroke-dasharray: 85 260;
  animation: hero-fx-stream 2.6s linear infinite;
}
.hero-fx-trail-a { animation-duration: 2.4s; animation-delay: 0s; }
.hero-fx-trail-b { animation-duration: 2.9s; animation-delay: -1.1s; }
.hero-fx-trail-c { animation-duration: 3.3s; animation-delay: -2s; }

.hero-fx-halo {
  stroke-dasharray: 120 320;
  animation: hero-fx-stream 3.6s ease-in-out infinite;
}

.hero-fx-ring {
  stroke-dasharray: 210 500;
  opacity: 0.85;
  animation: hero-fx-orbit 5s linear infinite;
}

/* 柔和无边界暗化聚光遮罩与四周无缝融边，杜绝独立矩形轮廓 */
.hero-engine-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 68% 62% at 50% 48%, rgba(2, 8, 22, 0.38) 0%, rgba(2, 8, 22, 0.2) 58%, rgba(2, 7, 18, 0.72) 100%),
    linear-gradient(90deg, #020712 0%, rgba(2, 7, 18, 0) 14%, rgba(2, 7, 18, 0) 86%, #020712 100%),
    linear-gradient(180deg, rgba(2, 7, 18, 0.5) 0%, rgba(2, 7, 18, 0.06) 24%, rgba(2, 7, 18, 0.16) 76%, #0a0e17 100%);
}

.hero-engine .hero-content {
  position: relative;
  z-index: 2;
}

.hero-engine .hero-title {
  text-shadow: none;
  filter: drop-shadow(0 3px 14px rgba(2, 7, 18, 0.95)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.92));
}

.hero-engine .hero-subtitle {
  color: #f1f5f9;
  text-shadow: 0 2px 14px rgba(2, 7, 18, 0.95), 0 1px 4px rgba(0, 0, 0, 0.85);
}

.hero-engine .hero-intro {
  color: #e2e8f0;
  text-shadow: 0 1px 12px rgba(2, 7, 18, 0.98), 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* 去除 Hero 区域绿色光效，统一为冰蓝/电光青 */
.hero-engine .badge-success {
  background: rgba(7, 22, 48, 0.76);
  color: #B5E2FA;
  border-color: rgba(56, 189, 248, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-engine .badge-success svg {
  color: #22D3EE;
}

.hero-engine .btn-primary {
  background: linear-gradient(135deg, #22D3EE 0%, #0EA5E9 55%, #2563EB 100%);
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.35);
}
.hero-engine .btn-primary:hover {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 55%, #1D4ED8 100%);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.48);
}

.hero-engine .btn-outline {
  background: rgba(6, 16, 36, 0.72);
  border-color: rgba(148, 163, 184, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-engine .btn-outline:hover {
  background: rgba(15, 34, 68, 0.88);
  border-color: #38BDF8;
}

.hero-engine .hero-features-strip {
  color: #e0f2fe;
  border-top-color: rgba(56, 189, 248, 0.28);
  text-shadow: 0 1px 8px rgba(2, 7, 18, 0.95);
}
.hero-engine .hero-features-strip svg {
  color: #38BDF8;
}

/* ==========================================================================
   通用区块排版 (Sections)
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(55, 65, 81, 0.4);
}

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

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   套餐价格对比表 (Pricing Comparison Table)
   ========================================================================== */
.pricing-table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.pricing-table caption {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th,
.pricing-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.5);
  vertical-align: middle;
}

.pricing-table thead th {
  background: var(--bg-tertiary);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
}

.pricing-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.04);
}

.pricing-table tr.highlight {
  background: rgba(59, 130, 246, 0.08);
}
.pricing-table tr.highlight td {
  border-bottom-color: rgba(59, 130, 246, 0.2);
}

.plan-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}
.plan-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
}

/* ==========================================================================
   产品核心优势 (3个图文卡片)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   流媒体与 AI 支持图卡 (Streaming & AI Cards)
   ========================================================================== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.support-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.support-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.support-icon.media {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}
.support-icon.ai {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.support-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

.support-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   用户评价 (User Testimonials)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.user-info .name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}
.user-info .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   常见问题解答 (FAQ - Details / Summary 规范)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.faq-question {
  padding: 1.15rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none; /* 移除默认三角形 */
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}

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

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--accent);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid rgba(55, 65, 81, 0.3);
  padding-top: 1rem;
}

/* ==========================================================================
   页面脚部 (Site Footer - 仅保留4个独立页面链接)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #070a10;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(55, 65, 81, 0.4);
  padding-top: 1.75rem;
}
.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   独立文章与内容页样式 (Articles, About, Terms, Privacy)
   ========================================================================== */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb span.current {
  color: var(--text-primary);
  font-weight: 500;
}

.article-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.75rem;
}

.article-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.6);
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 1.5rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}
.article-body li {
  margin-bottom: 0.5rem;
}

.article-callout {
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
  color: #cbd5e1;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}
.article-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.article-cta-box p {
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

/* 知识科普聚合页网格 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}
.article-card-badge {
  margin-bottom: 0.75rem;
}
.article-card h2,
.article-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.article-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(55, 65, 81, 0.4);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   响应式媒体查询 (@media - 移动端完美单栏)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-section.hero-engine {
    padding: 3.5rem 0 3rem;
  }
  .hero-engine-img,
  .hero-engine-fx {
    opacity: 0.86;
  }
  .hero-engine-scrim {
    background:
      radial-gradient(ellipse 92% 76% at 50% 48%, rgba(2, 8, 22, 0.56) 0%, rgba(2, 7, 18, 0.36) 72%, rgba(2, 7, 18, 0.78) 100%),
      linear-gradient(180deg, rgba(2, 7, 18, 0.56) 0%, rgba(2, 7, 18, 0.22) 34%, rgba(2, 7, 18, 0.32) 74%, #0a0e17 100%);
  }
  .hero-engine .hero-features-strip {
    gap: 1rem;
  }
  
  .nav-links {
    display: none; /* 移动端精简模式 */
  }
  
  .features-grid,
  .support-grid,
  .testimonials-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 0.85rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .article-header h1 {
    font-size: 1.75rem;
  }
}

/* 动效可访问性尊重 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .gradient-text {
    animation: none !important;
    background-position: 50% 50%;
  }
  .hero-fx-cyl,
  .hero-fx-trail,
  .hero-fx-halo,
  .hero-fx-ring {
    animation: none !important;
    opacity: 0.25;
  }
}
