/* =========================================================
   DNF私服无名公益服台服辅助 - 现代暗黑官网样式表 (dnfzh.com)
   色彩体系：曜石黑底 + 护眼柔白文字 + 暖橙琥珀主题色（贴合客户端界面）
   ========================================================= */

:root {
  --bg-page: #08080a;
  --bg-surface: #111114;
  --bg-surface-2: #17171c;
  --bg-surface-hover: #1e1e25;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(249, 115, 22, 0.48);

  --text-primary: #f2f2f5;
  --text-secondary: #a4a4b0;
  --text-muted: #767684;

  --accent: #f97316;
  --accent-bright: #fb923c;
  --accent-deep: #ea580c;
  --accent-soft: rgba(249, 115, 22, 0.14);
  --accent-glow: rgba(249, 115, 22, 0.24);

  --gold: #f5b942;
  --gold-soft: rgba(245, 185, 66, 0.14);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 12px 36px rgba(249, 115, 22, 0.22);

  --container-max: 1200px;
  --nav-height: 72px;
  --transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(249, 115, 22, 0.12), transparent 65%),
    radial-gradient(ellipse 50% 35% at 88% 18%, rgba(234, 88, 12, 0.07), transparent 60%);
  background-repeat: no-repeat;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

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

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

ul,
ol {
  list-style: none;
}

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

/* =========================================================
   顶部导航栏
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(8, 8, 10, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #ff8a2a, #ea580c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b0b0d;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.nav-download {
  color: var(--accent-bright);
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.08);
}

.nav-link.nav-download:hover {
  background: rgba(249, 115, 22, 0.16);
  border-color: var(--accent);
  color: #fff;
}

.nav-link.nav-buy {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.nav-link.nav-buy:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

/* =========================================================
   通用按钮 & 标签
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8124, #ea580c);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.44);
  filter: brightness(1.06);
}

.btn-secondary {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(249, 115, 22, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: rgba(249, 115, 22, 0.08);
  color: var(--accent-bright);
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid rgba(249, 115, 22, 0.28);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* =========================================================
   Hero 首屏介绍 + 轮播展示区
   ========================================================= */
.hero {
  padding: 56px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-safe {
  background: var(--green-soft);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.28);
}

.hero-title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-title .highlight {
  background: linear-gradient(95deg, #ffa048 0%, #f97316 55%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  width: 100%;
  margin-bottom: 28px;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #d4d4dc;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: 11px;
}

.hero-highlight-item svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-notice {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-notice svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

/* =========================================================
   软件界面轮播组件
   ========================================================= */
.showcase-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(249, 115, 22, 0.08);
  position: relative;
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 12px;
  gap: 12px;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #22c55e; }

.showcase-title {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-counter {
  font-size: 12px;
  color: var(--accent-bright);
  background: var(--accent-soft);
  padding: 2px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.carousel-viewport {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #141416;
  aspect-ratio: 716 / 508;
  border: 1px solid var(--border-subtle);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  cursor: zoom-in;
  background: #141416;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition);
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.06);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  background: rgba(10, 10, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e4e4e7;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  pointer-events: none;
}

.carousel-caption-bar {
  margin-top: 12px;
  padding: 11px 14px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.carousel-caption-text {
  font-size: 13.5px;
  color: #d8d8e0;
  line-height: 1.5;
}

.carousel-caption-text strong {
  color: var(--accent-bright);
  margin-right: 6px;
}

.carousel-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.carousel-tab {
  padding: 7px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.carousel-tab.active {
  background: var(--accent-soft);
  color: var(--accent-bright);
  border-color: var(--border-accent);
  font-weight: 600;
}

/* =========================================================
   兼容登陆器与运行环境横幅
   ========================================================= */
.compat-strip {
  padding: 20px 0 36px;
}

.compat-box {
  background: linear-gradient(180deg, #131318 0%, #0e0e12 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.compat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.compat-label span {
  color: var(--accent-bright);
}

.launcher-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.launcher-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #e4e4ec;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.launcher-pill.accent {
  border-color: rgba(249, 115, 22, 0.35);
  color: var(--accent-bright);
  background: rgba(249, 115, 22, 0.08);
}

/* =========================================================
   通用区块头
   ========================================================= */
.section {
  padding: 72px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.015) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* =========================================================
   1. 详细功能介绍（8大核心模块）
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-surface-2);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.28);
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.feature-tag {
  font-size: 12px;
  color: #c8c8d4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 9px;
  border-radius: 6px;
}

/* =========================================================
   2. 使用说明（步骤指南）
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.28);
}

.step-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
}

.guide-tips {
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-tip-item {
  font-size: 13.5px;
  color: #d4d4de;
  line-height: 1.65;
}

.guide-tip-item strong {
  color: var(--accent-bright);
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

/* =========================================================
   3. 定价策略（6档卡密套餐）
   ========================================================= */
.trial-banner {
  background: linear-gradient(95deg, rgba(249, 115, 22, 0.14) 0%, rgba(245, 185, 66, 0.08) 100%);
  border: 1px solid rgba(249, 115, 22, 0.34);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trial-banner-text h3 {
  font-size: 16.5px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.trial-banner-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.price-card.recommended {
  background: linear-gradient(180deg, #1a1410 0%, #121216 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.62);
  box-shadow: 0 18px 44px rgba(249, 115, 22, 0.14);
}

.price-card.recommended:hover {
  border-color: var(--accent);
  box-shadow: 0 22px 52px rgba(249, 115, 22, 0.24);
}

.rec-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.rec-badge.gold {
  background: linear-gradient(135deg, #fcd34d, #d97706);
  color: #161107;
}

.price-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.price-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-tag {
  font-size: 12px;
  color: var(--text-muted);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-bright);
}

.price-value {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.price-unit {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-summary {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.price-perks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #d4d4de;
}

.price-perks svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
}

/* =========================================================
   4. 常见问题解答 (FAQ)
   ========================================================= */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item.open {
  border-color: rgba(249, 115, 22, 0.42);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question:hover {
  color: var(--accent-bright);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

/* =========================================================
   5. 文章展示区域 (SEO 攻略资讯)
   ========================================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-surface-2);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

.article-tag {
  color: var(--accent-bright);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 500;
}

.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.article-card:hover h3 {
  color: var(--accent-bright);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
  flex: 1;
}

.article-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-bright);
  margin-top: 4px;
}

/* =========================================================
   底部行动转化区 & 页脚 + 居中百度友情链接
   ========================================================= */
.cta-band {
  padding: 56px 0 64px;
}

.cta-box {
  background: linear-gradient(135deg, #19130f 0%, #121216 55%, #18120e 100%);
  border: 1px solid rgba(249, 115, 22, 0.36);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-box h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 26px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #060608;
  padding: 42px 0 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  max-width: 440px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

.footer-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  padding-top: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.friend-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
}

.friend-links a {
  color: var(--text-secondary);
  font-weight: 500;
}

.friend-links a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

/* =========================================================
   图片放大预览 Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 4, 6, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  max-width: 960px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
}

.lightbox-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 10px;
  background: #141416;
}

.lightbox-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   文章详情页样式
   ========================================================= */
.article-page-main {
  padding: 40px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.article-body-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 38px;
}

.article-body-card h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.article-info-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-subtle);
}

.prose h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: #e4e4ec;
  margin: 22px 0 10px;
}

.prose p {
  font-size: 15.5px;
  color: #c8c8d4;
  line-height: 1.9;
  margin-bottom: 16px;
}

.prose ul,
.prose ol {
  margin: 14px 0 18px 20px;
  list-style: disc;
  color: #c8c8d4;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.8;
}

.prose strong {
  color: var(--text-primary);
}

.prose figure {
  margin: 24px 0;
  background: #141416;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
}

.prose figure img {
  margin: 0 auto;
  border-radius: 8px;
}

.prose figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.sidebar-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-actions .btn {
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-list a {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.related-list a:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-list a:hover {
  color: var(--accent-bright);
}

/* =========================================================
   响应式适配
   ========================================================= */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(11, 11, 14, 0.98);
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    gap: 10px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    text-align: center;
    padding: 12px 16px;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .carousel-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features-grid,
  .steps-grid,
  .pricing-grid,
  .articles-grid,
  .guide-tips {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .article-body-card {
    padding: 24px 20px;
  }
}
