/* ===================================================================
   ToLink 加速器官网 (tolink.lol) - 纯原生 CSS 样式架构库
   特性: 纯原生 CSS、零重型框架依赖、硬件加速秒开动画、全端响应式
   =================================================================== */

:root {
  --bg-main: #060913;
  --bg-card: rgba(14, 23, 42, 0.75);
  --bg-card-hover: rgba(24, 35, 61, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 117, 151, 0.45);
  --border-glow: rgba(255, 117, 151, 0.7);
  
  --primary: #ff7597;          /* 冰淡粉色 (Ice Pale Pink) */
  --primary-hover: #ff94ad;
  --primary-light: #ffccd5;
  --primary-frost: #fff0f3;
  --accent: #00bbf9;           /* 极速霓蓝 */
  --accent-purple: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* 冰淡粉红主题色 (Ice Pale Pink/Red) */
  --ice-red-frost: #fff0f3;
  --ice-red-light: #ffa8ba;
  --ice-red: #ff6b8b;
  --ice-red-deep: #ff477e;
  --ice-red-glow: rgba(255, 71, 126, 0.45);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

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

  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(255, 117, 151, 0.35);
  --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-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ===================================================================
   原生纯 CSS 动态电线/电路纹路背景 (极速秒开、硬件加速 60FPS)
   =================================================================== */
.dynamic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 15%, #0b1329 0%, #060913 100%);
}

.dynamic-grid {
  position: absolute;
  inset: 0;
  background-image: url('assets/circuit.svg');
  background-size: 240px 240px;
  background-repeat: repeat;
  opacity: 0.55;
  mask-image: radial-gradient(circle at 50% 38%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.95) 75%, rgba(0, 0, 0, 0.25) 98%);
  -webkit-mask-image: radial-gradient(circle at 50% 38%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.95) 75%, rgba(0, 0, 0, 0.25) 98%);
}

/* 动态电流脉冲光波 (Electric Current Pulse Wave) */
.dynamic-grid::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: radial-gradient(circle 500px at 50% 50%, rgba(255, 117, 151, 0.22) 0%, rgba(0, 187, 249, 0.14) 40%, transparent 70%);
  animation: electricPulse 14s ease-in-out infinite alternate;
  will-change: transform;
}

/* 动态激光/电流沿线路穿梭流光 (Electric Current Flow) */
.dynamic-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 20%, rgba(255, 117, 151, 0.1) 45%, rgba(255, 255, 255, 0.18) 50%, rgba(0, 187, 249, 0.12) 55%, transparent 80%);
  background-size: 300% 300%;
  animation: currentScan 9s ease infinite;
  mix-blend-mode: screen;
  will-change: background-position;
}

@keyframes electricPulse {
  0% { transform: translate(-25%, -20%) scale(0.9); }
  50% { transform: translate(20%, 25%) scale(1.15); }
  100% { transform: translate(-10%, 15%) scale(1); }
}

@keyframes currentScan {
  0% { background-position: -150% -150%; }
  100% { background-position: 150% 150%; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #ff7597 0%, #ff4d6d 60%, transparent 100%);
  top: -150px;
  left: 12%;
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #7928ca 0%, #4338ca 70%, transparent 100%);
  top: 35%;
  right: -100px;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #00bbf9 0%, #0284c7 70%, transparent 100%);
  bottom: -100px;
  left: 20%;
  animation: floatOrb3 20s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.1); }
  100% { transform: translate(-40px, 120px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.15); }
  100% { transform: translate(40px, -100px) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -40px) scale(1.1); }
  100% { transform: translate(-50px, 30px) scale(0.92); }
}

/* ===================================================================
   布局与排版核心
   =================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   顶部导航栏 (Logo 置于左上方)
   =================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(6, 9, 19, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

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

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

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

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

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
}

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

/* ===================================================================
   按钮规范 (必须满足 rel="nofollow" target="_blank")
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ffa8ba 0%, #ff6b8b 45%, #ff477e 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 220, 230, 0.45);
  box-shadow: 0 4px 20px rgba(255, 71, 126, 0.42), 0 0 15px rgba(255, 107, 139, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffc2cd 0%, #ff758f 45%, #f43f5e 100%);
  box-shadow: 0 6px 26px rgba(255, 71, 126, 0.65), 0 0 22px rgba(255, 107, 139, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 16.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  gap: 4px;
  white-space: nowrap;
}

.btn-block {
  width: 100%;
}

.btn-pulse {
  position: relative;
}

.btn-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffa8ba, #ff477e);
  opacity: 0.65;
  filter: blur(8px);
  z-index: -1;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(0.98); }
  50% { opacity: 0.75; transform: scale(1.03); }
}

/* ===================================================================
   首屏英雄区 (Hero Section)
   =================================================================== */
.hero-section {
  padding: 85px 0 70px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 117, 151, 0.12);
  border: 1px solid rgba(255, 117, 151, 0.35);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  color: var(--primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(135deg, #fff0f3 0%, #ffccd5 25%, #ff758f 60%, #ff4d6d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-gradient-text {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(20px, 3.1vw, 42px);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .hero-gradient-text {
    white-space: normal;
    font-size: clamp(18px, 4.5vw, 26px);
  }
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.hero-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--text-dim);
  font-size: 13.5px;
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.guarantee-item svg {
  color: var(--primary);
}

/* 数据看板组件 (严格同排4列网格并列) */
.hero-stats-banner,
.hero-stats {
  margin-top: 55px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-val,
.stat-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  font-family: var(--font-mono);
  display: block;
}

.stat-val span,
.stat-num span {
  color: var(--accent);
  font-size: 20px;
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-muted);
  display: block;
}

/* ===================================================================
   特性网格 (Features Section)
   =================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

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

.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-md);
  padding: 30px 24px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 117, 151, 0.12);
  border: 1px solid rgba(255, 117, 151, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

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

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

.feature-actions,
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  align-items: center;
  width: 100%;
}

.feature-actions .btn,
.card-actions .btn {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
}

/* ===================================================================
   价格板块 (关键规范: 所有价格同排 - Strictly One Row on Desktop)
   =================================================================== */
.pricing-section {
  padding: 85px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 23, 42, 0.4) 50%, transparent 100%);
}

.pricing-grid {
  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 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(14px);
}

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

.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(255, 117, 151, 0.1) 0%, rgba(14, 23, 42, 0.9) 100%);
  box-shadow: 0 0 35px rgba(255, 117, 151, 0.3);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffa3b8 0%, #ff5c7a 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(255, 92, 122, 0.5);
  border: 1px solid rgba(255, 220, 230, 0.4);
}

.plan-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}

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

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 38px;
}

.plan-price-box {
  margin: 18px 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.plan-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.plan-price {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--text-main);
  line-height: 1;
}

.plan-period {
  font-size: 14px;
  color: var(--text-dim);
}

.plan-features-list {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.plan-features-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

.plan-features-list li.highlight-feature {
  color: var(--text-main);
  font-weight: 600;
}

/* 价格提示条 */
.pricing-notice-bar {
  margin-top: 35px;
  background: rgba(255, 117, 151, 0.08);
  border: 1px dashed rgba(255, 117, 151, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===================================================================
   节点与极速架构展示 (Node Status Matrix)
   =================================================================== */
.node-matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.node-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.node-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.node-table th {
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.node-table td {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.node-table td:first-child {
  white-space: nowrap;
}

.node-table td:nth-child(3),
.node-table td:nth-child(4),
.node-table td:last-child,
.node-table th:last-child {
  white-space: nowrap;
}

.node-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.node-status-badge,
.status-online {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1;
}

.status-online {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.speed-tag {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ===================================================================
   用户真实评价板块 (Testimonials)
   =================================================================== */
.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-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

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

.stars {
  color: #fbbf24;
  margin-bottom: 14px;
  letter-spacing: 2px;
  font-size: 16px;
}

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

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #00bbf9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04101e;
  font-weight: 800;
  font-size: 16px;
}

.user-info .user-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
}

.user-info .user-title {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ===================================================================
   常见问题 FAQ (精美卡片化、零重型库秒开)
   =================================================================== */
.faq-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.faq-item,
.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-item:hover,
.faq-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 6px 24px rgba(255, 117, 151, 0.18);
  transform: translateY(-2px);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  user-select: none;
}

.faq-question h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 117, 151, 0.12);
  border: 1px solid rgba(255, 117, 151, 0.35);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  transition: var(--transition);
}

.faq-item:hover .faq-toggle {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(90deg);
}

.faq-answer,
.faq-body {
  padding: 18px 24px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border-subtle);
}

.faq-answer p,
.faq-body p {
  margin: 0;
}

.faq-card summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: var(--transition);
}

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

.faq-card summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-card[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-card[open] summary {
  border-bottom: 1px solid var(--border-subtle);
  color: var(--primary);
}

/* ===================================================================
   SEO 评测与文章精选 (Articles Grid & Internal Links)
   =================================================================== */
.articles-preview-grid,
.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-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

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

.article-tags,
.article-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tag,
.tag-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 117, 151, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 117, 151, 0.3);
  display: inline-block;
  line-height: 1.4;
}

.tag-accent {
  background: rgba(0, 187, 249, 0.1);
  color: var(--accent);
  border-color: rgba(0, 187, 249, 0.25);
}

.tag-primary {
  background: rgba(255, 117, 151, 0.15);
  color: var(--primary);
  border-color: rgba(255, 117, 151, 0.4);
}

.article-title-link,
.article-card-title,
.article-card-title a {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.45;
  margin-bottom: 12px;
  transition: var(--transition);
  display: block;
}

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

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

.article-footer,
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
}

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

.read-more-link:hover,
.article-card-link:hover {
  gap: 8px;
  color: var(--primary-hover);
}

/* ===================================================================
   高转化吸底 / 悬浮 CTA 模块 & 通用 Callout 卡片框
   =================================================================== */
.cta-banner-section {
  padding: 70px 0;
}

.cta-banner,
.callout,
.callout-success {
  background: radial-gradient(circle at 50% 30%, rgba(255, 117, 151, 0.12) 0%, rgba(14, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 117, 151, 0.25);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.callout:hover,
.callout-success:hover,
.cta-banner:hover {
  border-color: var(--border-glow);
  box-shadow: 0 22px 55px -10px rgba(0, 0, 0, 0.75), 0 0 50px rgba(255, 117, 151, 0.35);
  transform: translateY(-2px);
}

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
}

/* ===================================================================
   页脚 (Footer) 与外链 / 内链导航
   =================================================================== */
.footer {
  background: #03050a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  margin-top: auto;
}

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

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

.footer-brand p,
.footer-col p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 6px;
  max-width: 320px;
}

.footer-col h4,
.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  position: relative;
}

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

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

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 15px;
}

/* ===================================================================
   文章页面排版专有样式 (.article-content)
   =================================================================== */
.article-header {
  padding: 50px 0 35px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

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

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

.article-main-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
}

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

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

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

.article-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-content h2::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: var(--radius-full);
  display: inline-block;
}

.article-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 26px 0 12px;
}

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

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

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

.article-content strong {
  color: #f8fafc;
  font-weight: 700;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(255, 117, 151, 0.08);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #e2e8f0;
  font-style: normal;
}

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

.article-content th, 
.article-content td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14.5px;
}

.article-content th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--primary);
  font-weight: 700;
}

.article-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ===================================================================
   响应式断点控制
   =================================================================== */
@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr); /* 中屏设备 2x2 */
  }
  .features-grid,
  .testimonials-grid,
  .articles-preview-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats-banner,
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid,
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* 移动端精简秒开 */
  }
  .pricing-grid {
    grid-template-columns: 1fr; /* 移动端单列 */
  }
  .features-grid,
  .testimonials-grid,
  .articles-preview-grid,
  .articles-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-banner,
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .footer-grid,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
