/* ==========================================================================
   快客VPN (Kuaike VPN) - 核心样式表
   视觉核心：极速稳定机场VPN、现代数字品牌、极简左右排版
   官方官网跳转：https://bigclash.lol
   ========================================================================== */

:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-dark: #0F172A;
  --color-text-main: #0B0F19;
  --color-text-muted: #475569;
  --color-text-light: #94A3B8;
  --color-brand: #0052FF;
  --color-brand-light: #EFF6FF;
  --color-brand-dark: #003ECC;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Fira Code", Menlo, Monaco, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-speed: cubic-bezier(0.22, 1, 0.36, 1);
  
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  overflow-x: hidden;
  background-color: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部通知/测速指示条 */
.top-speed-indicator {
  background-color: #0A0E17;
  color: #FFFFFF;
  font-size: 13px;
  font-family: var(--font-mono);
  padding: 9px 16px;
  border-bottom: 1px solid #1E293B;
  overflow: hidden;
}

.top-speed-indicator .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px var(--color-success);
  animation: pulse 1.8s infinite;
}

.top-speed-indicator a {
  color: #60A5FA;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
}

.brand-logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-brand);
  color: #FFF;
  font-weight: 900;
  font-size: 20px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}

.brand-logo:hover .logo-mark {
  transform: scale(1.05);
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-brand);
  color: #FFFFFF;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-out);
  border: 1px solid var(--color-brand);
}

.btn-primary:hover {
  background-color: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -4px rgba(0, 82, 255, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--color-text-main);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--color-text-main);
  background-color: var(--color-bg-alt);
}

.mobile-toggle {
  display: none;
  font-size: 24px;
}

/* ==========================================================================
   首屏 HERO 区域：左右结构（左侧文案＋右侧适配图片）
   ========================================================================== */
.hero-section {
  padding: 68px 0 76px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  background: radial-gradient(circle at 10% 20%, #F0F5FF 0%, #FFFFFF 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.badge-speed-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: #EFF6FF;
  color: var(--color-brand);
  margin-bottom: 22px;
}

.badge-speed-status .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand);
  animation: pulse 1.8s infinite;
}

.hero-title {
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  margin-bottom: 18px;
}

.hero-title-gradient {
  color: var(--color-brand);
  display: block;
}

.hero-features-tagline {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.hero-features-tagline span::after {
  content: "•";
  margin-left: 16px;
  color: var(--color-border);
}
.hero-features-tagline span:last-child::after {
  content: "";
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* 信任指标徽章 */
.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.hero-metric-item strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--color-text-main);
  line-height: 1;
  font-family: var(--font-sans);
}

.hero-metric-item strong span {
  font-size: 13px;
  color: var(--color-brand);
  margin-left: 2px;
}

.hero-metric-item span.metric-desc {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
  display: block;
}

/* 首屏右侧插图 */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-illustration-wrap {
  width: 100%;
  max-width: 620px;
  transition: transform 0.3s ease;
}

.hero-illustration-wrap:hover {
  transform: translateY(-3px);
}

.hero-illustration-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   高速横向字流（TICKER / MARQUEE）
   ========================================================================== */
.ticker-section {
  padding: 18px 0;
  background: #0A0E17;
  color: #FFFFFF;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #1E293B;
  border-bottom: 1px solid #1E293B;
}

.ticker-wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.ticker-track {
  display: flex;
  gap: 44px;
  flex-shrink: 0;
  align-items: center;
  animation: tickerFlow 26s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  white-space: nowrap;
}

.ticker-item .node-badge {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
}

.ticker-item .node-ping {
  color: var(--color-success);
  font-weight: 700;
}

@keyframes tickerFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   大节标题居中统一样式（核心修复：类似第二张截图中的所有标题居中）
   ========================================================================== */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  margin: 0 auto 12px;
  display: inline-block;
  letter-spacing: 0.08em;
}

.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--color-text-main);
  margin-bottom: 14px;
  text-align: center;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   核心优势网格
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border: 1px solid var(--color-border);
  padding: 34px 28px;
  background: #FFF;
  border-radius: var(--radius-md);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand);
  box-shadow: 0 14px 28px -10px rgba(0, 82, 255, 0.12);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 18px;
  display: block;
}

.feature-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

.feature-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   套餐区域（PRICING GRID）
   ========================================================================== */
.pricing-section {
  background: var(--color-bg-alt);
  padding: 88px 0;
  border-bottom: 1px solid var(--color-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card.featured {
  border: 2px solid var(--color-brand);
  box-shadow: 0 20px 40px -10px rgba(0, 82, 255, 0.15);
  transform: scale(1.02);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--color-brand);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.pricing-plan-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-main);
  margin-right: 4px;
}

.pricing-amount {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-text-main);
}

.pricing-period {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 600;
  margin-left: 8px;
}

.pricing-specs {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-specs li strong {
  color: var(--color-text-main);
}

.pricing-specs li .spec-icon {
  color: var(--color-brand);
  font-weight: bold;
}

/* ==========================================================================
   适合人群
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.audience-card {
  background: #FFF;
  border: 1px solid var(--color-border);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.audience-card:hover {
  border-color: var(--color-brand);
  transform: translateY(-2px);
}

.audience-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-text-main);
}

.audience-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CLASH / CLASH PARTY 教程区域（居中 TAB 排版）
   ========================================================================== */
.tutorial-section {
  padding: 88px 0;
  background: #FFF;
  border-bottom: 1px solid var(--color-border);
}

.tutorial-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tutorial-tabs-wrapper {
  background: var(--color-bg-alt);
  padding: 6px;
  border-radius: var(--radius-md);
  display: inline-flex;
  gap: 6px;
  border: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--color-text-main);
}

.tab-btn.active {
  background: var(--color-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 82, 255, 0.25);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tutorial-step-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tutorial-step-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  background: var(--color-bg-alt);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 900;
  color: var(--color-brand);
  line-height: 1;
}

.step-details h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.step-details p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.code-box {
  background: #0A0E17;
  color: #E2E8F0;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow-x: auto;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.btn-copy:hover {
  background: var(--color-brand);
}

/* ==========================================================================
   用户评测
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  border: 1px solid var(--color-border);
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-quote {
  font-size: 14px;
  color: var(--color-text-main);
  line-height: 1.7;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-brand-light);
  color: var(--color-brand);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h5 {
  font-size: 14px;
  font-weight: 700;
}

.author-info span {
  font-size: 12px;
  color: var(--color-text-light);
  font-family: var(--font-mono);
}

/* ==========================================================================
   FAQ 模块
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-item.active {
  border-color: var(--color-brand);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-brand);
  transition: transform 0.2s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   文章网格
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFF;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  box-shadow: 0 16px 32px -10px rgba(0, 82, 255, 0.15);
}

.article-img-wrap {
  width: 100%;
  height: 200px;
  background: #0B0F19;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card:hover .article-img-wrap img {
  transform: scale(1.04);
}

.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.article-excerpt {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.article-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   文章详情页
   ========================================================================== */
.article-header {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-brand);
}

.article-page-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--color-text-main);
  margin-bottom: 16px;
}

.article-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text-muted);
}

.article-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 52px 0;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #1F2937;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--color-text-main);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--color-brand);
  background: var(--color-bg-alt);
  padding: 16px 20px;
  font-style: normal;
  margin-bottom: 24px;
  color: var(--color-text-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 14px;
}

.article-body th, .article-body td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  text-align: left;
}

.article-body th {
  background: var(--color-bg-alt);
  font-weight: 700;
  color: var(--color-text-main);
}

.article-sidebar {
  position: sticky;
  top: 96px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sidebar-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  background: #FFF;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.sidebar-links a {
  color: var(--color-text-muted);
}

.sidebar-links a:hover {
  color: var(--color-brand);
}

.sidebar-cta {
  background: #0A0E17;
  color: #FFF;
  text-align: center;
}

.sidebar-cta h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 16px;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: #0A0E17;
  color: #94A3B8;
  padding: 68px 0 32px;
  font-size: 14px;
  border-top: 1px solid #1E293B;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-size: 20px;
  color: #FFF;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 320px;
  font-size: 13px;
}

.footer-col h4 {
  font-size: 14px;
  color: #FFF;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: #FFF;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

/* ==========================================================================
   移动端与响应式适配
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid, .pricing-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-content-wrapper {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-secondary {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .pricing-grid, .articles-grid, .reviews-grid, .audience-grid {
    grid-template-columns: 1fr;
  }
  .tutorial-step-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
