/* ==========================================================================
   飞机云 (feijiyunn.lol) - 官方极速专线落地页原生样式表
   规范：纯原生 CSS · 零外部依赖 · 极致加载秒开 · 完整响应式适配
   ========================================================================== */

:root {
  --bg-main: #020617;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.90);
  --bg-elevated: rgba(30, 41, 59, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(56, 189, 248, 0.40);
  --border-glow: rgba(56, 189, 248, 0.65);
  
  --primary: #38bdf8;
  --primary-hover: #0284c7;
  --primary-glow: rgba(56, 189, 248, 0.35);
  --accent: #6366f1;
  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: transparent !important;
}

/* ==========================================================================
   飞机云专属：极地冰原极光与萌趣企鹅走来走去动态系统 (Polar Aurora & Walking Penguins)
   100% 纯原生 CSS · 矢量无损超清 · 60fps 硬件加速 · 零 JS 开销
   ========================================================================== */
.dynamic-background {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background: radial-gradient(ellipse 95% 70% at 50% 15%, #081d3b 0%, #040d1e 50%, #020612 100%);
  pointer-events: none;
}

/* 极地幽绿与冰蓝欧若拉极光流光 */
.polar-aurora {
  position: absolute;
  top: -12vh;
  left: -10vw;
  width: 120vw;
  height: 65vh;
  background: 
    radial-gradient(ellipse 65% 45% at 35% 30%, rgba(52, 211, 153, 0.20) 0%, transparent 65%),
    radial-gradient(ellipse 75% 55% at 70% 25%, rgba(56, 189, 248, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 50% 15%, rgba(129, 140, 248, 0.15) 0%, transparent 60%);
  filter: blur(70px);
  animation: auroraSway 16s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes auroraSway {
  0% { transform: scale(0.96) translate3d(0, 0, 0) skewX(-2deg); opacity: 0.7; }
  50% { transform: scale(1.08) translate3d(3vw, 2vh, 0) skewX(3deg); opacity: 0.95; }
  100% { transform: scale(1.02) translate3d(-2vw, -1vh, 0) skewX(-1deg); opacity: 0.75; }
}

/* 极地星空与闪耀钻石星 */
.stars-field-polar {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, #ffffff 1.5px, transparent 1.6px),
    radial-gradient(circle, #a7f3d0 1.8px, transparent 2px),
    radial-gradient(circle, #38bdf8 1.6px, transparent 1.8px),
    radial-gradient(circle, #ffffff 2.2px, transparent 2.5px),
    radial-gradient(circle, #e0f2fe 1.8px, transparent 2px);
  background-position: 40px 50px, 160px 220px, 320px 90px, 580px 180px, 840px 70px;
  background-size: 980px 420px;
  background-repeat: repeat;
  opacity: 0.8;
  animation: starBlink 4s ease-in-out infinite alternate;
}

@keyframes starBlink {
  0% { opacity: 0.55; }
  100% { opacity: 0.95; }
}

/* 冰原地面与浮冰反光层 */
.ice-ground-shelf {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.22) 0%, rgba(15, 23, 42, 0.85) 40%, rgba(2, 6, 18, 0.98) 100%);
  border-top: 1.5px solid rgba(224, 242, 254, 0.35);
  box-shadow: 0 -4px 20px rgba(56, 189, 248, 0.2);
}

/* 纯白轻柔飘雪晶体 */
.snowflakes-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.snowflake {
  position: absolute;
  top: -20px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.75;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

@keyframes snowFall {
  0% { transform: translateY(-30px) translateX(0); opacity: 0; }
  15% { opacity: 0.85; }
  85% { opacity: 0.8; }
  100% { transform: translateY(105vh) translateX(45px); opacity: 0; }
}

.sf-1 { left: 8%; width: 4px; height: 4px; animation: snowFall 14s linear infinite; animation-delay: 0s; }
.sf-2 { left: 22%; width: 6px; height: 6px; animation: snowFall 18s linear infinite; animation-delay: -5s; }
.sf-3 { left: 38%; width: 3px; height: 3px; animation: snowFall 12s linear infinite; animation-delay: -9s; }
.sf-4 { left: 54%; width: 5px; height: 5px; animation: snowFall 16s linear infinite; animation-delay: -3s; }
.sf-5 { left: 68%; width: 4px; height: 4px; animation: snowFall 15s linear infinite; animation-delay: -11s; }
.sf-6 { left: 82%; width: 5px; height: 5px; animation: snowFall 17s linear infinite; animation-delay: -7s; }
.sf-7 { left: 94%; width: 3px; height: 3px; animation: snowFall 13s linear infinite; animation-delay: -2s; }

/* ==========================================================================
   核心动态：企鹅走来走去与肚皮滑行系统 (Penguins Walking Back & Forth)
   ========================================================================== */
.penguins-stage {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 85px;
  pointer-events: none;
  overflow: hidden;
}

/* 1. 领头成年帝企鹅（大企鹅走来走去） */
.penguin-track-adult-1 {
  position: absolute;
  bottom: 0;
  width: 58px;
  height: 75px;
  animation: walkBackAndForth 28s linear infinite;
  will-change: left, transform;
}

.penguin-track-adult-1 .penguin-actor {
  width: 100%;
  height: 100%;
  animation: penguinWaddle 0.65s ease-in-out infinite alternate;
  transform-origin: 50% 95%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

/* 2. 企鹅宝宝（迈着小碎步紧随其后） */
.penguin-track-baby {
  position: absolute;
  bottom: 0;
  width: 36px;
  height: 48px;
  animation: walkBackAndForthBaby 28s linear infinite;
  animation-delay: -0.65s;
  will-change: left, transform;
}

.penguin-track-baby .penguin-actor {
  width: 100%;
  height: 100%;
  animation: babyWaddle 0.42s ease-in-out infinite alternate;
  transform-origin: 50% 95%;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

/* 3. 反向踱步的第二只成年企鹅（从右往左走来走去） */
.penguin-track-adult-2 {
  position: absolute;
  bottom: 4px;
  width: 52px;
  height: 68px;
  animation: walkBackAndForthReverse 34s linear infinite;
  animation-delay: -8s;
  will-change: left, transform;
}

.penguin-track-adult-2 .penguin-actor {
  width: 100%;
  height: 100%;
  animation: penguinWaddle 0.72s ease-in-out infinite alternate;
  transform-origin: 50% 95%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

/* 4. 欢快肚皮滑冰小企鹅（定时从冰面高速滑过） */
.penguin-track-slider {
  position: absolute;
  bottom: 2px;
  width: 78px;
  height: 40px;
  animation: penguinSlideAcross 18s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
  animation-delay: 5s;
  will-change: left, opacity;
}

.penguin-track-slider .penguin-actor {
  width: 100%;
  height: 100%;
  animation: slideBob 0.6s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 10px rgba(56, 189, 248, 0.35));
}

/* 企鹅左右走动主轨迹：从左往右走到尽头转身，再从右往左走回 */
@keyframes walkBackAndForth {
  0% {
    left: -70px;
    transform: scaleX(1);
  }
  46% {
    left: calc(100vw + 20px);
    transform: scaleX(1);
  }
  50% {
    left: calc(100vw + 20px);
    transform: scaleX(-1);
  }
  96% {
    left: -70px;
    transform: scaleX(-1);
  }
  100% {
    left: -70px;
    transform: scaleX(1);
  }
}

/* 企鹅宝宝跟随轨迹 */
@keyframes walkBackAndForthBaby {
  0% {
    left: -115px;
    transform: scaleX(1);
  }
  46% {
    left: calc(100vw - 25px);
    transform: scaleX(1);
  }
  50% {
    left: calc(100vw - 25px);
    transform: scaleX(-1);
  }
  96% {
    left: -115px;
    transform: scaleX(-1);
  }
  100% {
    left: -115px;
    transform: scaleX(1);
  }
}

/* 反向走动的企鹅轨迹 */
@keyframes walkBackAndForthReverse {
  0% {
    left: calc(100vw + 60px);
    transform: scaleX(-1);
  }
  46% {
    left: -70px;
    transform: scaleX(-1);
  }
  50% {
    left: -70px;
    transform: scaleX(1);
  }
  96% {
    left: calc(100vw + 60px);
    transform: scaleX(1);
  }
  100% {
    left: calc(100vw + 60px);
    transform: scaleX(-1);
  }
}

/* 肚皮滑行企鹅轨迹 */
@keyframes penguinSlideAcross {
  0% {
    left: calc(100vw + 90px);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  40% {
    left: -110px;
    opacity: 1;
  }
  45% {
    left: -110px;
    opacity: 0;
  }
  100% {
    left: calc(100vw + 90px);
    opacity: 0;
  }
}

/* 企鹅蹒跚起步晃动微动画 (Waddle Animation) */
@keyframes penguinWaddle {
  0% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(0deg) translateY(-3px); }
  100% { transform: rotate(7deg) translateY(0); }
}

@keyframes babyWaddle {
  0% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(0deg) translateY(-5px); }
  100% { transform: rotate(10deg) translateY(0); }
}

@keyframes slideBob {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-2px) rotate(1deg); }
}

/* ==========================================================================
   通用容器与栅格
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 徽章 Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* 顶部导航栏 */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(2, 6, 23, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

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

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 核心 CTA 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.7);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.85);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::after {
  opacity: 1;
}

/* 移动端汉堡按钮 */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero 区域 */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
}

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

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto 2.25rem;
}

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

/* 实时专线状态指示器条形组件 */
.live-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  font-size: 0.875rem;
  color: var(--text-muted);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
  justify-content: center;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-val {
  color: var(--success);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* 核心特性网格 */
.features-section {
  padding: 5rem 0 3rem;
}

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.75rem 0;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

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

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

/* ==========================================================================
   价格区域规范：所有价格卡片必须同排展示 (desktop 4-col in one row)
   ========================================================================== */
.pricing-section {
  padding: 5rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(14px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.18);
}

/* 热门推荐卡片高亮 */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.55) 0%, rgba(15, 23, 42, 0.88) 100%);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(56, 189, 248, 0.4);
}

.card-tag {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.plan-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

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

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-price-box {
  margin: 1.25rem 0 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.price-number {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

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

.plan-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
}

.plan-features li svg {
  width: 17px;
  height: 17px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features li.dimmed {
  color: var(--text-dim);
  text-decoration: line-through;
}

.plan-cta {
  width: 100%;
}

/* 文章精选区域 */
.articles-section {
  padding: 5rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.825rem;
  color: var(--text-dim);
}

.article-tag {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.article-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.article-card:hover .article-card-title {
  color: var(--primary);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* 用户真实评价 Testimonials */
.testimonials-section {
  padding: 5rem 0;
  background: rgba(15, 23, 42, 0.4);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

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

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

.test-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.user-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.user-details p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* 常见问题 FAQ */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item:hover {
  border-color: var(--border-highlight);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* 外部权威链接区域 (外链优化) */
.external-links-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.ext-link-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.ext-link-card:hover {
  color: var(--primary);
  border-color: var(--border-highlight);
  background: rgba(51, 65, 85, 0.7);
  transform: translateY(-2px);
}

/* 页脚 Footer */
.footer {
  padding: 4rem 0 2.5rem;
  background: #020617;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 340px;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   独立文章详情页专属样式 (Article Layout)
   ========================================================================== */
.article-page-header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.article-headline {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

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

.article-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.4rem;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(56, 189, 248, 0.08);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: #e2e8f0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.article-content th, .article-content td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.article-content th {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-main);
  font-weight: 600;
}

.article-content tr:hover td {
  background: rgba(51, 65, 85, 0.3);
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3.5rem 0;
  text-align: center;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.25);
}

.article-cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.article-cta-box p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.related-articles-box {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.related-articles-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   响应式媒体查询 (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(3, 7, 18, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.25rem;
  }
  
  .nav-menu.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
