/* ==========================================================================
   TOLINK 蒸汽朋克齿轮工厂风 (Steampunk Mechanical Brass Style System)
   ========================================================================== */

:root {
  --brass-light: #f5d77f;
  --brass-main: #c99738;
  --brass-dark: #825f18;
  --copper-burnished: #b86538;
  --patina-green: #256d64;
  --patina-dark: #123833;
  --iron-dark: #141211;
  --iron-plate: #1d1917;
  --iron-border: #3b332d;
  --steam-white: rgba(240, 245, 250, 0.85);
  --amber-glow: #ff9d00;
  --meter-safe: #2ee68f;
  --meter-warn: #ffbe26;
  --meter-danger: #ff3838;
  --rivet-color: #6a5331;
  --font-serif: "Cinzel", "Georgia", "Songti SC", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "Fira Code", "Consolas", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--iron-dark);
  color: #e5ded2;
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(197, 151, 56, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(37, 109, 100, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(45deg, rgba(20, 18, 17, 0.95), rgba(20, 18, 17, 0.95) 20px, rgba(26, 22, 20, 0.95) 20px, rgba(26, 22, 20, 0.95) 40px);
  position: relative;
}

/* 顶部跑马灯式广播语（最上方广告语和特色） */
.steam-top-banner {
  background: linear-gradient(90deg, #18120d, #3c2a12, #5a3f1b, #3c2a12, #18120d);
  border-bottom: 2px solid var(--brass-main);
  color: var(--brass-light);
  font-size: 14px;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 225, 130, 0.4);
  letter-spacing: 1px;
}

.steam-top-banner .banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.steam-badge-hot {
  background: var(--amber-glow);
  color: #1a1005;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(255, 157, 0, 0.6);
}

.banner-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: bold;
  transition: all 0.2s;
  margin-left: 10px;
}

.banner-link:hover {
  color: var(--brass-light);
  text-shadow: 0 0 8px rgba(245, 215, 127, 0.8);
}

/* 顶部复古黄铜仪表台导航栏 */
.steam-navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(22, 19, 17, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--brass-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-gear {
  width: 38px;
  height: 38px;
  display: inline-block;
  animation: gearRotate 16s linear infinite;
  filter: drop-shadow(0 0 6px rgba(201, 151, 56, 0.5));
}

@keyframes gearRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gearRotateRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.brand-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #fff2cc 0%, #d4a742 50%, #87621c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 11px;
  color: #9b8c7b;
  letter-spacing: 1px;
  display: block;
}

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

.nav-links a {
  color: #c9bea9;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brass-light);
  text-shadow: 0 0 10px rgba(245, 215, 127, 0.5);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--brass-main), transparent);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-btn {
  background: linear-gradient(135deg, #a87926, #c99738, #6f4c0f);
  color: #140d04 !important;
  font-weight: 800 !important;
  padding: 9px 22px !important;
  border-radius: 4px;
  border: 1px solid var(--brass-light);
  box-shadow: 0 0 15px rgba(201, 151, 56, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: uppercase;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, #bf8c30, #e0ad48, #825f18);
  box-shadow: 0 0 25px rgba(201, 151, 56, 0.7);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--brass-main);
  color: var(--brass-light);
  font-size: 22px;
  padding: 6px 12px;
  cursor: pointer;
}

/* 背景 Canvas 机械动态图层 */
#steampunk-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* 主内容容器 */
.page-wrapper {
  position: relative;
  z-index: 1;
}

/* 复古铆钉与黄铜铭牌边框通用样式 */
.steampunk-panel {
  background: linear-gradient(145deg, #1e1a17, #151210);
  border: 2px solid var(--brass-dark);
  border-radius: 6px;
  position: relative;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.7),
    inset 0 0 20px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(245, 215, 127, 0.2);
  padding: 30px;
}

/* 四角黄铜固定铆钉 */
.steampunk-panel::before,
.steampunk-panel::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e5c158, #5a4214);
  box-shadow: 1px 1px 2px #000;
}

.steampunk-panel::before {
  top: 8px;
  left: 8px;
}

.steampunk-panel::after {
  bottom: 8px;
  right: 8px;
}

/* 板块通用头部 */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brass-main);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--brass-main);
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff4db;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
  margin-bottom: 15px;
}

.section-desc {
  max-width: 720px;
  margin: 0 auto;
  color: #a89d8d;
  font-size: 16px;
}

/* ==========================================================================
   板块 1: HERO 首屏
   ========================================================================== */
.hero-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 20px 60px;
  overflow: hidden;
}

.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(37, 109, 100, 0.25);
  border: 1px solid var(--patina-green);
  border-radius: 4px;
  color: #4ee2c7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #fff9ea;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.hero-headline .highlight-brass {
  background: linear-gradient(180deg, #ffe28a 0%, #d4a742 50%, #946d21 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 19px;
  color: #c4b9a8;
  line-height: 1.8;
  margin-bottom: 35px;
  border-left: 3px solid var(--brass-main);
  padding-left: 18px;
  background: rgba(201, 151, 56, 0.04);
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary-steam {
  background: linear-gradient(135deg, #d8a63e, #f0ca6a, #8f641a);
  color: #120c04;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 25px rgba(201, 151, 56, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid #ffe89e;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-steam:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(240, 202, 106, 0.7);
}

.btn-secondary-steam {
  background: rgba(30, 26, 23, 0.9);
  color: var(--brass-light);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--brass-dark);
  transition: all 0.3s ease;
}

.btn-secondary-steam:hover {
  background: rgba(45, 38, 33, 0.9);
  border-color: var(--brass-main);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 25px;
  border-top: 1px dashed rgba(201, 151, 56, 0.3);
}

.hero-stat-card h4 {
  font-size: 28px;
  color: var(--brass-light);
  font-family: var(--font-mono);
  font-weight: 800;
}

.hero-stat-card p {
  font-size: 13px;
  color: #8c8273;
}

/* 蒸汽交互核心视窗（右侧气动机械视觉装置） */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.boiler-core {
  width: 100%;
  max-width: 460px;
  background: radial-gradient(circle at 50% 30%, #2e2620, #14110f);
  border: 4px solid #5a431c;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), inset 0 0 35px rgba(0, 0, 0, 0.95);
  position: relative;
}

.boiler-tubes {
  position: absolute;
  top: -16px;
  left: 20px;
  right: 20px;
  height: 12px;
  background: repeating-linear-gradient(90deg, #443216, #443216 15px, #20170a 15px, #20170a 25px);
  border-radius: 6px;
  border: 1px solid #7d5b1f;
}

.pipe-valve-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #3d2f1d;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.core-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brass-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--meter-safe);
  font-weight: 700;
}

.status-light-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--meter-safe);
  box-shadow: 0 0 10px var(--meter-safe);
  animation: pulseLight 1.5s infinite;
}

@keyframes pulseLight {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================================
   板块 2: 气压阀门计与节点延迟状态板块 (Steam Pressure Barometer & Nodes)
   ========================================================================== */
.nodes-section {
  padding: 90px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.barometer-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 35px;
  align-items: center;
  margin-bottom: 45px;
}

.barometer-card {
  text-align: center;
  background: linear-gradient(145deg, #241d18, #151210);
  border: 2px solid var(--brass-main);
  padding: 30px 25px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 0 25px rgba(0,0,0,0.8);
}

.barometer-dial-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
}

.barometer-dial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fffaee 0%, #dfc89d 60%, #9e7f4c 100%);
  border: 10px solid #4a3617;
  box-shadow: 
    0 0 0 4px #c99738, 
    0 10px 25px rgba(0,0,0,0.8), 
    inset 0 0 20px rgba(74, 54, 23, 0.8);
  position: relative;
  overflow: hidden;
}

.barometer-scale {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 2px dashed #5c431b;
}

.barometer-zone-safe {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: 20px;
  left: 20px;
  border-top: 5px solid rgba(46, 230, 143, 0.8);
  transform: rotate(-30deg);
}

.barometer-zone-danger {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  top: 20px;
  right: 20px;
  border-top: 5px solid rgba(255, 56, 56, 0.8);
  transform: rotate(30deg);
}

.barometer-needle {
  position: absolute;
  width: 4px;
  height: 90px;
  background: linear-gradient(180deg, #b01010 0%, #1a1005 100%);
  bottom: 50%;
  left: calc(50% - 2px);
  transform-origin: bottom center;
  transform: rotate(-38deg);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.barometer-cap {
  position: absolute;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 35% 35%, #ffd475, #7a5416);
  border-radius: 50%;
  top: calc(50% - 11px);
  left: calc(50% - 11px);
  box-shadow: 0 2px 5px #000;
  z-index: 6;
}

.barometer-labels {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 40px;
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 800;
  color: #3d2a0e;
  letter-spacing: 1px;
}

.barometer-value-display {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 900;
  color: var(--meter-safe);
  text-shadow: 0 0 10px rgba(46, 230, 143, 0.4);
  margin-bottom: 8px;
}

.barometer-subtitle {
  font-size: 13px;
  color: #9f9382;
  margin-bottom: 20px;
}

/* 超频按钮与蒸汽喷发效果 */
.overclock-btn {
  background: linear-gradient(135deg, #c92f2f, #e54d4d, #781010);
  border: 1px solid #ff9e9e;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 20px rgba(229, 77, 77, 0.4), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.overclock-btn:hover {
  background: linear-gradient(135deg, #db3a3a, #ff6060, #8f1717);
  box-shadow: 0 8px 30px rgba(229, 77, 77, 0.7);
  transform: scale(1.03);
}

.overclock-btn:active {
  transform: scale(0.97);
}

.steam-exhaust-vent {
  position: absolute;
  top: -15px;
  right: 25px;
  width: 25px;
  height: 20px;
  background: #3a2b16;
  border-radius: 4px 4px 0 0;
  border: 2px solid var(--brass-main);
}

.steam-burst-canvas {
  position: absolute;
  top: -80px;
  right: -20px;
  width: 180px;
  height: 120px;
  pointer-events: none;
  z-index: 10;
}

/* 节点延迟列表面板 */
.nodes-table-panel {
  background: rgba(22, 19, 17, 0.9);
  border: 2px solid var(--brass-dark);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nodes-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(201, 151, 56, 0.2);
  padding-bottom: 12px;
}

.nodes-table-header h3 {
  font-size: 18px;
  color: var(--brass-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nodes-refresh-indicator {
  font-size: 12px;
  color: #8c806f;
  font-family: var(--font-mono);
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.node-card {
  background: rgba(36, 30, 26, 0.7);
  border: 1px solid #3f3326;
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.node-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--meter-safe);
}

.node-card:hover {
  background: rgba(48, 40, 34, 0.9);
  border-color: var(--brass-main);
  transform: translateX(4px);
}

.node-info h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}

.node-tags {
  display: flex;
  gap: 6px;
}

.node-tag-item {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 2px;
  background: rgba(201, 151, 56, 0.15);
  color: var(--brass-light);
  border: 1px solid rgba(201, 151, 56, 0.3);
}

.node-latency-box {
  text-align: right;
}

.node-ms {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--meter-safe);
}

.node-loss {
  font-size: 11px;
  color: #829285;
}

/* ==========================================================================
   板块 3: 套餐价格板块 (Steam Foundry Pricing Matrix)
   ========================================================================== */
.pricing-section {
  padding: 90px 20px;
  background: radial-gradient(circle at 50% 50%, rgba(35, 29, 24, 0.6) 0%, transparent 80%);
}

.pricing-container {
  max-width: 1300px;
  margin: 0 auto;
}

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

.price-card {
  background: linear-gradient(175deg, #241d18 0%, #161311 100%);
  border: 2px solid #4a3821;
  border-radius: 8px;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--brass-main);
  box-shadow: 0 20px 45px rgba(201, 151, 56, 0.25);
}

.price-card.featured {
  border: 2px solid var(--brass-main);
  background: linear-gradient(175deg, #2c2219 0%, #1a1512 100%);
  box-shadow: 0 15px 40px rgba(201, 151, 56, 0.3);
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.card-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #c99738, #ffdb78, #a87926);
  color: #120b02;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 4px 18px;
  border-radius: 3px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.card-tier-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff6e0;
  margin-bottom: 8px;
  text-align: center;
}

.card-tier-desc {
  font-size: 13px;
  color: #9d907e;
  text-align: center;
  min-height: 38px;
  margin-bottom: 20px;
}

.card-price-wrap {
  text-align: center;
  padding: 16px 0;
  border-top: 1px dashed rgba(201, 151, 56, 0.3);
  border-bottom: 1px dashed rgba(201, 151, 56, 0.3);
  margin-bottom: 25px;
}

.card-currency {
  font-size: 20px;
  color: var(--brass-light);
  vertical-align: top;
  font-weight: 800;
}

.card-amount {
  font-size: 42px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
}

.card-period {
  font-size: 14px;
  color: #968a7a;
}

.card-features-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.card-features-list li {
  font-size: 14px;
  color: #d1c8b8;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features-list li .check-gear {
  color: var(--brass-main);
  font-size: 14px;
}

.card-order-btn {
  background: rgba(39, 32, 26, 0.95);
  border: 1px solid var(--brass-main);
  color: var(--brass-light);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  padding: 13px;
  border-radius: 4px;
  text-decoration: none;
  display: block;
  letter-spacing: 1.5px;
  transition: all 0.3s;
}

.card-order-btn:hover {
  background: linear-gradient(135deg, #c99738, #e5be59);
  color: #120b02;
  box-shadow: 0 6px 20px rgba(201, 151, 56, 0.5);
}

.featured .card-order-btn {
  background: linear-gradient(135deg, #c99738, #f5d77f, #825f18);
  color: #140d04;
  border: none;
}

.featured .card-order-btn:hover {
  box-shadow: 0 8px 25px rgba(245, 215, 127, 0.6);
}

/* ==========================================================================
   板块 4: 核心优势板块 (Mechanical Superiority)
   ========================================================================== */
.features-section {
  padding: 90px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

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

.feature-box {
  background: linear-gradient(145deg, #201a16, #14110f);
  border: 1px solid #473722;
  border-radius: 8px;
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.feature-box:hover {
  border-color: var(--brass-main);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(201, 151, 56, 0.1);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: radial-gradient(circle at 35% 35%, #473722, #1f1810);
  border: 1px solid var(--brass-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--brass-light);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.feature-box h3 {
  font-size: 20px;
  color: #fff6e0;
  margin-bottom: 12px;
  font-weight: 800;
}

.feature-box p {
  font-size: 14px;
  color: #a49785;
  line-height: 1.75;
}

/* ==========================================================================
   板块 5: 常见问题板块 (FAQ Workshop Manual)
   ========================================================================== */
.faq-section {
  padding: 90px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(26, 21, 18, 0.95);
  border: 1px solid #443422;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--brass-main);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff3db;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--brass-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass-light);
  font-weight: bold;
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--brass-main);
  color: #120b02;
  border-color: var(--brass-main);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: #beb2a0;
  font-size: 15px;
  line-height: 1.8;
  background: rgba(18, 14, 12, 0.85);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 16px 24px 24px;
  transition: max-height 0.4s ease-in-out;
}

/* ==========================================================================
   板块 6: 用户评价板块 (Explorer Logbook)
   ========================================================================== */
.testimonials-section {
  padding: 90px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

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

.log-card {
  background: linear-gradient(145deg, #221c17, #151210);
  border: 1px solid #4a3a25;
  border-radius: 8px;
  padding: 28px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.log-stamp {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #55796b;
  border: 1px solid #55796b;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  transform: rotate(5deg);
}

.log-quote {
  font-size: 15px;
  color: #ded3c1;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.log-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #946d21, #3b2a0c);
  border: 2px solid var(--brass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
}

.author-meta h4 {
  font-size: 15px;
  color: #fff4da;
}

.author-meta p {
  font-size: 12px;
  color: #8c806f;
}

/* ==========================================================================
   单独的知识库与教程总览页 / 知识库专区排版
   ========================================================================== */
.kb-hero {
  padding: 70px 20px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.kb-search-box {
  margin: 30px auto 0;
  max-width: 600px;
  position: relative;
}

.kb-search-input {
  width: 100%;
  background: #191512;
  border: 2px solid var(--brass-dark);
  border-radius: 30px;
  padding: 14px 26px;
  color: #fff;
  font-size: 15px;
  outline: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.3s;
}

.kb-search-input:focus {
  border-color: var(--brass-main);
  box-shadow: 0 0 20px rgba(201, 151, 56, 0.4);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 90px;
  padding: 0 20px;
}

.article-card {
  background: linear-gradient(150deg, #221c17, #151210);
  border: 1px solid #443522;
  border-radius: 8px;
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--brass-main);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(201, 151, 56, 0.2);
}

.article-keywords-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.keyword-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(37, 109, 100, 0.2);
  border: 1px solid rgba(37, 109, 100, 0.5);
  color: #55ddcb;
  font-weight: 600;
}

.article-card h2 {
  font-size: 20px;
  color: #fff6e0;
  line-height: 1.5;
  margin-bottom: 14px;
}

.article-card h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.article-card h2 a:hover {
  color: var(--brass-light);
}

.article-card p {
  color: #aba090;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  font-size: 12px;
  color: #7d7263;
}

.read-more-link {
  color: var(--brass-main);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more-link:hover {
  color: var(--brass-light);
}

/* ==========================================================================
   文章详情页排版 (KB Single Article Template)
   ========================================================================== */
.article-detail-wrap {
  max-width: 960px;
  margin: 40px auto 90px;
  padding: 0 20px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #8c8070;
  margin-bottom: 25px;
}

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

.article-meta-header {
  margin-bottom: 35px;
  border-bottom: 1px solid #3d3122;
  padding-bottom: 25px;
}

.article-detail-title {
  font-size: 32px;
  font-weight: 900;
  color: #fff7e3;
  line-height: 1.35;
  margin-bottom: 18px;
}

.article-info-bar {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #8f8373;
  flex-wrap: wrap;
}

.article-body {
  font-size: 16px;
  color: #d8cebf;
  line-height: 1.9;
}

.article-body h2 {
  font-size: 24px;
  color: #fff1d0;
  margin: 38px 0 16px;
  border-left: 4px solid var(--brass-main);
  padding-left: 14px;
}

.article-body h3 {
  font-size: 19px;
  color: var(--brass-light);
  margin: 28px 0 12px;
}

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

.article-body ul, 
.article-body ol {
  margin: 16px 0 24px 26px;
}

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

.article-callout-box {
  background: rgba(36, 29, 22, 0.85);
  border: 1px solid var(--brass-main);
  border-left: 5px solid var(--brass-main);
  padding: 20px;
  border-radius: 4px;
  margin: 30px 0;
}

.article-callout-box h4 {
  color: var(--brass-light);
  margin-bottom: 8px;
  font-size: 16px;
}

/* 页脚 Footer */
.steam-footer {
  background: #110f0e;
  border-top: 2px solid #362917;
  padding: 60px 20px 30px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-size: 20px;
  color: var(--brass-light);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 13px;
  color: #8c8070;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 16px;
  color: #fff2d4;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--brass-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a49785;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

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

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid #231b12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6a6052;
  flex-wrap: wrap;
  gap: 15px;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    border-left: none;
    border-top: 2px solid var(--brass-main);
    padding: 15px 0 0;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    text-align: center;
  }
  .barometer-container {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #181412;
    padding: 20px;
    border-bottom: 2px solid var(--brass-main);
  }
  .hero-headline {
    font-size: 32px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .nodes-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
