/* ==========================================================================
   云图高速机场 (yuntucloud.lol) - 纯原生 CSS3 极速设计系统
   秒开级加载性能 · 零外部框架 · 赛博深空星网质感
   ========================================================================== */

:root {
  --bg-main: #060a16;
  --bg-secondary: #0a1124;
  --bg-card: #0d1730;
  --bg-card-hover: #132247;
  --bg-card-alt: #101c3d;
  --border-subtle: rgba(52, 211, 153, 0.18);
  --border-bright: rgba(52, 211, 153, 0.45);
  --border-glow: rgba(52, 211, 153, 0.7);

  --cyan-primary: #34d399;
  --cyan-light: #6ee7b7;
  --cyan-glow: rgba(52, 211, 153, 0.35);
  --ice-green-primary: #34d399;
  --ice-green-light: #a7f3d0;
  --blue-primary: #3b82f6;
  --purple-accent: #a855f7;
  --purple-light: #c084fc;
  --green-accent: #10b981;
  --amber-accent: #f59e0b;
  --rose-accent: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(52, 211, 153, 0.28);
  --transition: all 0.25s 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-primary);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #060a16;
}

/* 动态背景 Canvas */
#dynamicBgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 页面内容包裹器 */
.content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ================= 顶部导航栏 ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

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

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

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

.nav-item a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-item a:hover,
.nav-item a.active {
  color: #ffffff;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-primary), var(--purple-accent));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  cursor: pointer;
}

/* ================= 按钮规范 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 40%, #10b981 75%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(2, 44, 34, 0.45);
  box-shadow: 0 4px 18px rgba(52, 211, 153, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(52, 211, 153, 0.7);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(52, 211, 153, 0.12);
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff !important;
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  backdrop-filter: blur(8px);
  text-decoration: none !important;
}

.btn-outline:hover {
  background: rgba(52, 211, 153, 0.15);
  border-color: var(--cyan-primary);
  color: var(--cyan-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(52, 211, 153, 0.3);
  text-decoration: none !important;
}

.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.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* ================= 文本与辅助类 ================= */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #a7f3d0 45%, #6ee7b7 75%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: var(--radius-full);
  color: var(--cyan-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= Hero 区域 ================= */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 26, 54, 0.85);
  border: 1px solid var(--border-bright);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.18);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-light);
}

.hero-title {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-top {
  display: block;
  font-size: 0.9em;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.hero-title-nowrap {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-title-nowrap {
    white-space: normal;
  }
}

.hero-lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 840px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(13, 23, 48, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-val {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.metric-val.highlight {
  color: var(--cyan-primary);
}

.metric-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ================= 核心优势 Grid ================= */
.features-section {
  padding: 70px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= 套餐价格（严格要求：所有价格同排） ================= */
.pricing-section {
  padding: 70px 0;
}

.pricing-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.pricing-tabs {
  display: inline-flex;
  background: rgba(13, 23, 48, 0.8);
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.pricing-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pricing-tab-btn.active {
  background: linear-gradient(135deg, var(--cyan-primary), #059669);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(52, 211, 153, 0.35);
}

/* 所有价格同排：严格采用 4列 Grid 保证一行排列 */
.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #101c3d 0%, #0d1730 100%);
  border: 1.5px solid var(--cyan-primary);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.pricing-card-header {
  margin-bottom: 16px;
}

.pricing-plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.pricing-plan-en {
  font-size: 11px;
  color: var(--cyan-light);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.price-currency {
  font-size: 20px;
  color: var(--cyan-primary);
  font-weight: 700;
}

.price-num {
  font-size: 40px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.price-period {
  font-size: 13px;
  color: var(--text-secondary);
}

.pricing-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  min-height: 42px;
}

.pricing-feature-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 11px;
  line-height: 1.45;
}

.pricing-feature-item .icon-check {
  color: var(--green-accent);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-feature-item strong {
  color: #ffffff;
}

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

/* ================= 节点拓扑矩阵 ================= */
.nodes-section {
  padding: 70px 0;
}

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

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.node-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.node-info-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.node-flag {
  font-size: 28px;
  line-height: 1;
}

.node-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

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

.node-status-right {
  text-align: right;
}

.node-ping {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-accent);
  margin-bottom: 2px;
}

.node-type {
  font-size: 11px;
  color: var(--cyan-light);
  background: rgba(52, 211, 153, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ================= 独立节点页 (nodes.html) 专用卡片样式 ================= */
.node-card.node-detail-card,
.node-card:has(.node-card-header),
.node-detail-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 26px 24px !important;
  gap: 12px !important;
  border-radius: var(--radius-lg);
  text-align: left;
}

.node-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.node-card-header .node-flag {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.node-name-box {
  flex: 1;
  text-align: left;
}

.node-name-box .node-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.node-name-box .node-region {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.node-status-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.node-status-badge.active {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.node-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  width: 100%;
}

.node-meta-label {
  color: var(--text-secondary);
}

.node-delay {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cyan-primary);
  font-size: 14px;
}

.node-delay.fast {
  color: #38bdf8;
}

.node-multiplier {
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 500;
}

.node-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 6px 0 8px 0;
  text-align: left;
  width: 100%;
  flex-grow: 1;
}

.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.tag-pill {
  font-size: 12px;
  padding: 3px 10px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--cyan-light);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ================= 客户端支持 ================= */
.clients-section {
  padding: 60px 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.client-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.client-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.client-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.client-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ================= 机场精选文章 (5~8篇) ================= */
.articles-section {
  padding: 70px 0;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  border-color: rgba(52, 211, 153, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.22);
}

.article-category,
.article-badge-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}

.article-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.article-card-title a:hover {
  color: #6ee7b7;
}

.article-card-summary,
.article-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.read-more-link {
  color: #6ee7b7;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.read-more-link:hover {
  color: #a7f3d0;
  transform: translateX(4px);
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--text-muted);
}

.article-read-more {
  color: #6ee7b7;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.article-read-more:hover {
  color: #a7f3d0;
}

/* ================= 用户真实评价 ================= */
.testimonials-section {
  padding: 70px 0;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-primary), var(--purple-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
  flex-shrink: 0;
}

.user-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.user-role {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.testimonial-stars,
.testimonial-rating {
  color: #f59e0b;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.7;
  font-style: normal;
}

/* ================= 常见问题 FAQ ================= */
.faq-section {
  padding: 70px 0;
}

.faq-wrap,
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(14, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  contain: paint;
}

.faq-item:hover {
  border-color: rgba(52, 211, 153, 0.35);
}

.faq-item.active,
details[open].faq-item {
  border-color: rgba(52, 211, 153, 0.48);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4), 0 0 16px rgba(52, 211, 153, 0.15);
}

/* 按钮样式重置：彻底消除浏览器默认白底灰框与黑字 */
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  color: #a7f3d0 !important;
}

.faq-question .faq-icon {
  font-size: 20px;
  color: #6ee7b7;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  line-height: 1;
  display: inline-block;
  will-change: transform;
}

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

/* 兼容 details / summary */
.faq-summary {
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-summary:hover {
  color: #a7f3d0;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 22px;
  color: #6ee7b7;
  font-weight: 500;
  transition: transform 0.25s ease, color 0.2s ease;
}

.faq-summary:hover::after {
  color: #a7f3d0;
}

details[open] .faq-summary::after {
  content: '−';
  transform: rotate(180deg);
  color: #34d399;
}

/* 60FPS CSS Grid 手风琴折叠交互体系 */
.faq-item:not(details) .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 0;
  margin: 0;
  border-top: none;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-inner p,
.faq-item:not(details) .faq-answer p {
  padding: 0 24px 22px;
  margin: 12px 0 0 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  will-change: opacity, transform;
}

.faq-item.active .faq-answer-inner p,
.faq-item.active .faq-answer p {
  opacity: 1;
  transform: translateY(0);
}

/* details 模式下的答案 */
details.faq-item .faq-answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 6px;
}
details.faq-item .faq-answer p {
  margin-top: 12px;
}

/* ================= 权威外部链接模块 (外链构建) ================= */
.outbound-links-section {
  padding: 50px 0;
  border-top: 1px solid var(--border-subtle);
}

.outbound-links-box {
  background: rgba(13, 23, 48, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.outbound-links-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.outbound-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.outbound-link-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  display: block;
}

.outbound-link-card:hover {
  background: rgba(52, 211, 153, 0.08);
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
}

.outbound-link-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.outbound-link-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= CTA 转化横幅 Call To Action Banner ================= */
.cta-banner {
  background: linear-gradient(135deg, rgba(14, 28, 54, 0.95) 0%, rgba(10, 17, 32, 0.95) 100%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 50px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  margin: 60px auto 40px;
  max-width: 100%;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ================= 底部 Footer 样式规范 ================= */
.footer {
  background: #040710;
  border-top: 1px solid var(--border-subtle);
  padding: 65px 0 35px;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-col .brand-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-desc,
.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 340px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: 0.5px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--cyan-primary);
  border-radius: 2px;
}

/* 消除所有列表自带的默认黑点/圆点 */
.footer-col ul,
.footer-nav-list,
.footer-links-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li,
.footer-nav-list li,
.footer-links-list li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 页脚链接样式：彻底消除浏览器默认蓝紫色与下划线 */
.footer a,
.footer-col ul a,
.footer-nav-list a,
.footer-links-list a {
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  font-size: 13.5px;
  transition: var(--transition);
  display: inline-block;
}

.footer a:hover,
.footer-col ul a:hover,
.footer-nav-list a:hover,
.footer-links-list a:hover {
  color: var(--cyan-light) !important;
  transform: translateX(3px);
  text-decoration: none !important;
}

/* 页脚底部版权与法律链接 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-legal-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 20px !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-legal-links li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-legal-links a {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--cyan-light) !important;
  text-decoration: none !important;
}

/* ================= 文章页专用样式 ================= */
.article-container {
  max-width: 880px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.breadcrumbs a:hover {
  text-decoration: underline;
}

.article-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 28px;
}

.article-main-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 18px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.article-content {
  font-size: 16px;
  line-height: 1.85;
  color: #e2e8f0;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 38px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan-light);
  margin: 26px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 14px 0 20px 24px;
}

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

.article-content blockquote {
  border-left: 4px solid var(--cyan-primary);
  background: rgba(52, 211, 153, 0.08);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: #a7f3d0;
}

.article-content pre {
  background: #090e1d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  margin: 20px 0;
  color: #6ee7b7;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14px;
}

.article-content th, .article-content td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.article-content th {
  background: rgba(52, 211, 153, 0.15);
  color: #ffffff;
  font-weight: 700;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cross-links-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
}

.article-cross-links-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.article-cross-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-cross-links-list a {
  color: var(--cyan-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14.5px;
}

.article-cross-links-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ================= 响应式适配 ================= */
@media (max-width: 1100px) {
  .pricing-grid-same-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid,
  .articles-grid,
  .testimonials-grid,
  .node-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .outbound-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .metric-item:not(:last-child)::after {
    display: none;
  }
  .pricing-grid-same-row {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .articles-grid,
  .testimonials-grid,
  .node-grid,
  .clients-grid,
  .outbound-links-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #090e1e;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-menu.open {
    display: flex;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ================= 网站地图链接网格 ================= */
.internal-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 36px;
}

.internal-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.internal-link-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
  color: var(--cyan-light);
  box-shadow: 0 4px 15px rgba(52, 211, 153, 0.25);
}

@media (max-width: 768px) {
  .internal-links-grid {
    grid-template-columns: 1fr;
  }
}
