/*
Theme Name: 农产品现货交易网
Theme URI: https://www.aehey.com
Author: 景瓷兴
Description: 农产品现货交易网 - 聚合全国14大交易所现货综合门户
Version: 1.0.0
Text Domain: ncp-xianhuo
*/

/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --c-bg: #0B1424;
  --c-bg-alt: #111D35;
  --c-bg-card: #14203A;
  --c-bg-card-hover: #1A2A4A;
  --c-border: rgba(201, 168, 76, 0.12);
  --c-border-light: rgba(255,255,255,0.06);
  --c-gold: #C9A84C;
  --c-gold-soft: rgba(201, 168, 76, 0.12);
  --c-gold-light: rgba(201, 168, 76, 0.25);
  --c-text: #FFFFFF;
  --c-text-soft: rgba(255,255,255,0.65);
  --c-text-muted: rgba(255,255,255,0.35);
  --c-green: #34D399;
  --c-red: #F87171;
  --c-phone: #c0392b;
  --c-wechat: #27ae60;
  --gap: 24px;
  --gap-lg: 48px;
  --gap-xl: 80px;
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Noto Sans SC', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gap); }
.section { padding: var(--gap-xl) 0; }
.section-dark { background: var(--c-bg-alt); }

/* ===== Navigation - Desktop ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 20, 36, 0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border-light);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 var(--gap);
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--c-gold), #D4B060);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #0B1424; font-weight: 900;
}
.nav-logo-text { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 0.01em; }

.nav-desktop { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 8px 16px; font-size: 14px; font-weight: 500;
  color: var(--c-text-soft); border-radius: 6px; transition: all 0.2s;
  white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li.current > a { color: var(--c-gold); background: rgba(201,168,76,0.08); }

/* Desktop Dropdown */
.nav-list .sub-menu-wrap {
  position: absolute; top: 100%; left: 0; z-index: 200;
  padding-top: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s ease;
}
.nav-list > li:hover > .sub-menu-wrap {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-list .sub-menu {
  list-style: none; margin: 0; padding: 8px 0;
  background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  min-width: 160px;
}
.nav-list .sub-menu a {
  display: block; padding: 9px 20px; font-size: 13px;
  color: var(--c-text-soft); transition: all 0.15s;
}
.nav-list .sub-menu a:hover { background: var(--c-gold-soft); color: var(--c-gold); }

/* Desktop CTA */
.nav-cta {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--c-gold), #D4B060);
  color: #0B1424 !important; font-weight: 600;
  border-radius: 100px; font-size: 13px; margin-left: 12px;
  transition: all 0.25s; display: inline-block;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.3); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: all 0.3s; border-radius: 1px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}
@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .nav-overlay, .nav-drawer { display: none !important; }
}

/* ===== Navigation - Mobile Drawer ===== */
.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 199; display: none; }
.nav-overlay.open { display: block; }

.nav-drawer {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: #0F1D38; z-index: 200;
  transition: right 0.3s ease; padding: 0; overflow-y: auto;
  border-left: 1px solid var(--c-border-light);
}
.nav-drawer.open { right: 0; }

.drawer-header {
  display: flex; align-items: center; gap: 10px;
  padding: 20px; border-bottom: 1px solid var(--c-border-light);
}
.drawer-logo {
  width: 32px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, var(--c-gold), #D4B060);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #0B1424; font-weight: 900;
}
.drawer-title { font-weight: 700; font-size: 15px; color: #fff; flex: 1; }
.drawer-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 4px; }

.drawer-list { list-style: none; margin: 0; padding: 0; }
.drawer-list > li { border-bottom: 1px solid var(--c-border-light); }
.drawer-list a {
  display: block; padding: 15px 20px; font-size: 15px; font-weight: 500;
  color: var(--c-text-soft); transition: color 0.2s;
}
.drawer-list a:hover { color: var(--c-gold); }

.drawer-sub {
  list-style: none; margin: 0; padding: 0; display: none;
  background: rgba(0,0,0,0.08);
}
.drawer-sub.open { display: block; }
.drawer-sub a { padding: 12px 20px 12px 36px; font-size: 14px; }

.drawer-cta { padding: 20px; }
.drawer-cta-btn {
  display: block; text-align: center; padding: 14px;
  background: linear-gradient(135deg, var(--c-gold), #D4B060);
  color: #0B1424 !important; font-weight: 600;
  border-radius: 100px; font-size: 15px;
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0 48px;
  background: linear-gradient(180deg, #0B1424 0%, #0F1D38 50%, #0B1424 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -30%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.03) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero-left .tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  padding: 4px 14px; border: 1px solid var(--c-gold); color: var(--c-gold);
  border-radius: 100px; margin-bottom: 20px;
}
.hero-left h1 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.hero-left .h1-sub { font-size: clamp(16px, 1.3vw, 18px); color: var(--c-text-soft); margin-top: 16px; line-height: 1.7; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 100px;
  font-size: 14px; font-weight: 600; transition: all 0.25s; cursor: pointer; border: none;
}
.btn-gold { background: linear-gradient(135deg, var(--c-gold), #D4B060); color: #0B1424; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-gold); transform: translateY(-2px); }

/* Ticker Panel */
.hero-right { background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); padding: 28px; }
.ticker-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--c-border-light); margin-bottom: 16px; }
.ticker-header h3 { font-size: 14px; font-weight: 600; }
.ticker-header span { font-size: 11px; color: var(--c-text-muted); }
.ticker-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--c-border-light); }
.ticker-row:last-child { border-bottom: none; }
.ticker-name { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ticker-price { font-size: 14px; font-weight: 600; }
.ticker-change { font-size: 12px; font-weight: 600; min-width: 52px; text-align: right; }

/* ===== Exchange Grid ===== */
.ex-section { margin-top: 40px; }
.ex-section-title { font-size: 14px; font-weight: 600; color: var(--c-text-soft); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.ex-section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, var(--c-border-light), transparent); }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.ex-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px; background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius); cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.ex-card:hover { transform: translateY(-4px); background: var(--c-bg-card-hover); border-color: var(--c-gold-light); }
.ex-card.active { border-color: var(--c-gold); background: var(--c-bg-card-hover); }
.ex-badge { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; font-weight: 700; transition: transform 0.3s; }
.ex-card:hover .ex-badge { transform: scale(1.06); }
.ex-card .ex-name { font-size: 11px; font-weight: 500; color: var(--c-text-soft); text-align: center; }
.ex-card .ex-tag { font-size: 9px; padding: 1px 8px; border-radius: 100px; font-weight: 500; }
.tag-gold { background: var(--c-gold-soft); color: var(--c-gold); }
.tag-ghost { background: rgba(255,255,255,0.04); color: var(--c-text-muted); }

.ex-detail { margin-top: 12px; padding: 24px 28px; background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); display: none; animation: slideUp 0.35s cubic-bezier(0.22,1,0.36,1); }
.ex-detail.visible { display: block; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.ex-detail-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.ex-detail .dbadge { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; font-weight: 700; }
.ex-detail .dinfo h4 { font-size: 18px; font-weight: 700; }
.ex-detail .dinfo p { font-size: 13px; color: var(--c-text-soft); margin-top: 4px; line-height: 1.6; }
.ex-detail .dtags { display: flex; gap: 20px; margin-top: 10px; flex-wrap: wrap; }
.ex-detail .dtags span { font-size: 12px; color: var(--c-text-muted); display: flex; align-items: center; gap: 4px; }
.ex-detail .dtags span strong { color: var(--c-gold); font-weight: 500; }

/* ===== Stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-item { padding: 28px 20px; background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: var(--radius); text-align: center; }
.stat-item .num { font-size: clamp(32px, 3.5vw, 44px); font-weight: 900; color: var(--c-gold); line-height: 1; }
.stat-item .label { font-size: 13px; color: var(--c-text-soft); margin-top: 8px; }

/* ===== Tabs ===== */
.tab-bar { display: flex; gap: 0; background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: 10px; margin: 0 auto 28px; max-width: 360px; overflow: hidden; }
.tab-btn { flex: 1; padding: 11px 20px; border: none; background: transparent; font-size: 13px; font-weight: 500; color: var(--c-text-soft); cursor: pointer; transition: all 0.25s; }
.tab-btn.active { background: var(--c-gold-soft); color: var(--c-gold); font-weight: 600; }
.tab-btn:hover:not(.active) { color: #fff; }
.tab-panel { display: none; animation: fadeIn 0.35s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.mode-card { padding: 32px 28px; background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); transition: all 0.3s; }
.mode-card:hover { border-color: var(--c-gold-light); transform: translateY(-3px); }
.mode-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.mode-card h3 { font-size: 18px; font-weight: 700; }
.mode-card .body-sm { font-size: 13px; color: var(--c-text-soft); margin-top: 6px; line-height: 1.6; }
.mode-card ul { list-style: none; margin-top: 14px; }
.mode-card ul li { font-size: 13px; color: var(--c-text-soft); line-height: 2; padding-left: 18px; position: relative; }
.mode-card ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-gold); opacity: 0.5; }
.mode-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mode-tags span { padding: 4px 12px; background: var(--c-gold-soft); color: var(--c-gold); border-radius: 100px; font-size: 12px; }
.mode-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 13px; color: var(--c-gold); font-weight: 500; transition: gap 0.3s; }
.mode-card:hover .mode-link { gap: 8px; }
.mi1 { background: var(--c-gold-soft); color: var(--c-gold); }
.mi2 { background: rgba(52, 211, 153, 0.1); color: #34D399; }

/* ===== Industry Filter ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 32px; }
.fltr { padding: 8px 18px; background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: 100px; font-size: 13px; color: var(--c-text-soft); cursor: pointer; transition: all 0.2s; user-select: none; }
.fltr:hover { border-color: var(--c-gold-light); color: var(--c-gold); }
.fltr.active { background: var(--c-gold); color: #0B1424; border-color: var(--c-gold); font-weight: 600; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 24px; min-height: 80px; }
.prod-item { padding: 14px 16px; background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: var(--radius); transition: all 0.2s; cursor: pointer; }
.prod-item:hover { border-color: var(--c-gold-light); transform: translateY(-2px); }
.prod-item .pn { font-size: 14px; font-weight: 600; }
.prod-item .pm { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }

/* ===== Encyclopedia ===== */
.encyc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap-lg); align-items: center; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scard { padding: 22px 18px; background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: var(--radius); transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden; }
.scard::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.scard:hover::before { transform: scaleX(1); }
.scard:hover { transform: translateY(-3px); border-color: var(--c-gold-light); }
.scard .code { font-size: clamp(22px, 2.5vw, 28px); font-weight: 900; color: var(--c-gold); line-height: 1; }
.scard .desc { font-size: 12px; color: var(--c-text-muted); margin-top: 4px; }
.scard .exl { display: inline-block; font-size: 10px; padding: 2px 8px; background: var(--c-gold-soft); color: var(--c-gold); border-radius: 100px; margin-top: 6px; }

/* ===== Recruitment ===== */
.recruit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 40px; }
.rcard { padding: 32px 20px; background: var(--c-bg-card); border: 1px solid var(--c-border-light); border-radius: var(--radius-lg); text-align: center; cursor: pointer; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); }
.rcard:hover { transform: translateY(-6px); border-color: var(--c-gold-light); }
.ricon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; transition: transform 0.3s; }
.rcard:hover .ricon { transform: scale(1.1); }
.rcard h3 { font-size: 16px; font-weight: 600; }
.rcard p { font-size: 13px; color: var(--c-text-soft); margin-top: 6px; }
.rcard .rlink { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--c-gold); font-weight: 500; transition: gap 0.3s; }
.rcard:hover .rlink { gap: 8px; }
.ri1 { background: var(--c-gold-soft); color: var(--c-gold); }
.ri2 { background: rgba(52, 211, 153, 0.1); color: #34D399; }
.ri3 { background: rgba(96, 165, 250, 0.1); color: #60A5FA; }
.ri4 { background: rgba(251, 146, 60, 0.1); color: #FB923C; }

/* ===== CTA ===== */
.cta-block { padding: 72px 0; background: linear-gradient(180deg, #0B1424, #0F1D38, #0B1424); text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 60%); border-radius: 50%; }
.cta-block .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 4px 14px; border: 1px solid var(--c-gold); color: var(--c-gold); border-radius: 100px; margin-bottom: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.cbtn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600; transition: all 0.25s; border: none; cursor: pointer; text-decoration: none; }
.cbtn-phone { background: var(--c-phone); color: #fff; }
.cbtn-phone:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(192,57,43,0.35); }
.cbtn-wechat { background: var(--c-wechat); color: #fff; }
.cbtn-wechat:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(39,174,96,0.35); }

/* ===== Floating Phone ===== */
.float-phone {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 50px;
  background: var(--c-phone); color: #fff;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(192,57,43,0.4);
  transition: all 0.25s; border: none; cursor: pointer; text-decoration: none;
}
.float-phone:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,57,43,0.5); }

/* ===== QR Modal ===== */
/* QR modal handled by inline JS */

/* ===== Footer ===== */
.footer { padding: var(--gap-lg) 0 32px; border-top: 1px solid var(--c-border-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap-lg); }
.footer-brand p { font-size: 13px; color: var(--c-text-muted); margin-top: 10px; line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--c-text); margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-col a { display: block; font-size: 13px; color: var(--c-text-muted); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--c-gold); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--c-border-light); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--c-text-muted); }

/* ===== Exchange Badge Colors ===== */
.ex-sc { background: #C41E3A; }
.ex-nb { background: #2D6A4F; }
.ex-jx { background: #1E6B8A; }
.ex-st { background: #8B6914; }
.ex-tf { background: #1B3A5C; }
.ex-ch { background: #1565C0; }
.ex-xn { background: #6A1B9A; }
.ex-hs { background: #00695C; }
.ex-bf { background: #546E7A; }
.ex-mg { background: #4A4A4A; }
.ex-hz { background: #1A5276; }
.ex-sy { background: #1565C0; }
.ex-sn { background: #2E7D32; }
.ex-dh { background: #1B5E20; }

/* ===== Reveal Animation ===== */
.reveal { opacity: 1; transform: translateY(0); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===== Section Title Tag (reusable) ===== */
.tag-title { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 4px 14px; border: 1px solid var(--c-gold); color: var(--c-gold); border-radius: 100px; margin-bottom: 16px; }
.section-h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; }

/* ===== Inner Page ===== */
.page-section { padding: 48px 0; min-height: 500px; }
.page-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

/* ===== Sidebar (page.php) ===== */
.page-sidebar { position: sticky; top: 88px; }
.sidebar-card {
  background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius); padding: 22px; margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.sidebar-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--c-gold), #D4B060, transparent);
  opacity: 0.6;
}
.sidebar-heading {
  font-size: 12px; font-weight: 700; color: var(--c-gold);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border-light);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-heading::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--c-border-light), transparent);
}

/* Contact card */
.sidebar-phone-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.15); border-radius: 10px;
  margin-top: 4px; transition: border-color 0.25s;
}
.sidebar-phone-wrap:hover { border-color: rgba(192,57,43,0.3); }
.sidebar-phone-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 18px; font-weight: 900; color: #fff;
}
.sidebar-phone-text { display: flex; flex-direction: column; }
.sidebar-phone {
  font-size: 20px; font-weight: 800; color: #c0392b;
  line-height: 1.1; letter-spacing: -0.01em;
}
.sidebar-phone-label { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }

/* Wechat section */
.sidebar-wechat-wrap {
  margin-top: 12px; padding: 12px 14px;
  background: rgba(39,174,96,0.08);
  border: 1px solid rgba(39,174,96,0.15); border-radius: 10px;
  transition: border-color 0.25s; cursor: pointer;
}
.sidebar-wechat-wrap:hover { border-color: rgba(39,174,96,0.3); }
.sidebar-wechat-row {
  display: flex; align-items: center; gap: 10px;
}
.sidebar-wechat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 18px; font-weight: 900; color: #fff;
}
.sidebar-wechat-text { display: flex; flex-direction: column; }
.sidebar-wechat-label { font-size: 13px; font-weight: 600; color: var(--c-text); }
.sidebar-wechat-hint { font-size: 11px; color: var(--c-text-muted); margin-top: 1px; }
.sidebar-wechat-arrow { margin-left: auto; color: var(--c-text-muted); font-size: 16px; }

/* Quick entry */
.sidebar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sidebar-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 14px 8px; text-align: center;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 10px; font-size: 12px; font-weight: 500;
  color: var(--c-text-soft) !important;
  transition: all 0.25s;
}
.sidebar-chip:hover {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.2);
  color: var(--c-gold) !important;
  transform: translateY(-2px);
}
.sidebar-chip .chip-icon {
  font-size: 16px; font-weight: 800; color: var(--c-gold); line-height: 1;
}

/* Post list in sidebar */
.sidebar-post-list { list-style: none; }
.sidebar-post-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--c-border-light);
  text-decoration: none; transition: all 0.2s;
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-item:hover { padding-left: 4px; }
.spi-date {
  flex-shrink: 0; min-width: 38px;
  font-size: 11px; font-weight: 600; color: var(--c-gold);
  background: rgba(201,168,76,0.08); padding: 2px 6px;
  border-radius: 4px; text-align: center; line-height: 1.5; margin-top: 1px;
}
.spi-title {
  font-size: 13px; color: var(--c-text-soft); line-height: 1.55;
  transition: color 0.2s;
}
.sidebar-post-item:hover .spi-title { color: var(--c-gold); }

/* Category list in sidebar */
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li {
  padding: 7px 0; border-bottom: 1px solid var(--c-border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a {
  font-size: 13px; color: var(--c-text-soft); transition: color 0.2s;
}
.sidebar-cat-list a:hover { color: var(--c-gold); }
.sidebar-cat-list .cat-count {
  font-size: 11px; color: var(--c-text-muted);
  background: rgba(201,168,76,0.08); padding: 1px 8px;
  border-radius: 100px; line-height: 1.6;
}

/* Tag cloud in sidebar */
.sidebar-tagcloud { line-height: 2.2; }
.sidebar-tagcloud a {
  display: inline-block; padding: 2px 10px; margin: 2px 2px;
  background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.08);
  border-radius: 100px; font-size: 12px !important; color: var(--c-text-soft);
  transition: all 0.25s;
}
.sidebar-tagcloud a:hover {
  background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.2);
  color: var(--c-gold); transform: translateY(-1px);
}

/* ===== Icon Stamp (no emoji) ===== */
.icon-stamp {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 16px; font-weight: 800; color: inherit; line-height: 1;
}
.mi1 .icon-stamp, .ri1 .icon-stamp { color: #C9A84C; }
.mi2 .icon-stamp, .ri2 .icon-stamp { color: #34D399; }
.ri3 .icon-stamp { color: #60A5FA; }
.ri4 .icon-stamp { color: #FB923C; }

/* ===== Icon Phone / Wechat ===== */
.icon-phone, .icon-wechat, .icon-phone-sm {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px;
  font-size: 10px; font-weight: 700; color: #fff; line-height: 1;
  padding: 0 4px; letter-spacing: 0; flex-shrink: 0;
}
.icon-phone { background: #c0392b; }
.icon-wechat { background: #27ae60; }
.icon-phone-sm { background: #c0392b; width: 20px; height: 20px; font-size: 9px; border-radius: 3px; }

/* ===== Icon Bar (section header) ===== */
.icon-bar {
  display: inline-flex; align-items: center; gap: 8px;
}
.icon-bar::before {
  content: ''; display: inline-block;
  width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, var(--c-gold), #D4B060); flex-shrink: 0;
}

/* ===== Archive/Index Two-Column ===== */
.page-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .page-with-sidebar { grid-template-columns: 1fr; } }

/* ===== Sidebar Right (index.php / single) ===== */
.sidebar-right { position: sticky; top: 88px; }
.sidebar-right .sidebar-widget {
  background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius); padding: 20px; margin-bottom: 16px;
}
.sidebar-right .sidebar-widget-title {
  font-size: 13px; font-weight: 700; color: var(--c-gold);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border-light);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.sidebar-right .sidebar-menu-list { list-style: none; }
.sidebar-right .sidebar-menu-list li { padding: 7px 0; border-bottom: 1px solid var(--c-border-light); }
.sidebar-right .sidebar-menu-list li:last-child { border-bottom: none; }
.sidebar-right .sidebar-menu-list a { font-size: 13px; color: var(--c-text-soft); display: block; transition: color 0.2s; }
.sidebar-right .sidebar-menu-list a:hover { color: var(--c-gold); padding-left: 4px; }
.sidebar-right .sidebar-menu-list .children,
.sidebar-right .sidebar-menu-list .sub-menu { list-style: none; padding-left: 16px; margin-top: 4px; }
.sidebar-right .sidebar-menu-list .children a,
.sidebar-right .sidebar-menu-list .sub-menu a { font-size: 12px; color: var(--c-text-muted); }
.sidebar-right .sidebar-widget select { width: 100%; padding: 10px; background: var(--c-bg-alt); color: var(--c-text); border: 1px solid var(--c-border-light); border-radius: 6px; font-size: 13px; }

/* Sidebar widget inner content (default WP blocks) */
.sidebar-right .sidebar-widget .wp-block-heading {
  font-size: 13px; font-weight: 700; color: var(--c-gold);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border-light);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.sidebar-right .sidebar-widget .wp-block-search__label {
  font-size: 12px; font-weight: 600; color: var(--c-text-muted);
  display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em;
}
.sidebar-right .sidebar-widget .wp-block-search__input {
  width: 100%; padding: 10px 14px; background: var(--c-bg-alt);
  border: 1px solid var(--c-border-light); border-radius: 6px;
  font-size: 13px; color: var(--c-text); outline: none;
}
.sidebar-right .sidebar-widget .wp-block-search__input:focus { border-color: var(--c-gold-light); }
.sidebar-right .sidebar-widget .wp-block-search__button {
  padding: 10px 16px; background: var(--c-gold); color: #0B1424;
  border: none; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s;
}
.sidebar-right .sidebar-widget .wp-block-search__button:hover { opacity: 0.85; }
.sidebar-right .sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar-right .sidebar-widget li { padding: 7px 0; border-bottom: 1px solid var(--c-border-light); }
.sidebar-right .sidebar-widget li:last-child { border-bottom: none; }
.sidebar-right .sidebar-widget li a { font-size: 13px; color: var(--c-text-soft); display: block; transition: color 0.2s; }
.sidebar-right .sidebar-widget li a:hover { color: var(--c-gold); padding-left: 4px; }
.sidebar-right .sidebar-widget .no-comments { color: var(--c-text-muted); font-size: 13px; padding: 10px 0; }

/* Contact sidebar card in single/index */
.contact-sidebar-card {
  text-align: center; position: relative; overflow: hidden;
}
.contact-sidebar-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--c-gold), #D4B060, transparent);
  opacity: 0.6;
}

/* Main content for archive/index */
.main-content { min-width: 0; }
.main-content > h1 {
  font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.2;
  margin-bottom: 28px; color: var(--c-text);
}
.archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-bottom: 32px; }
.archive-card {
  padding: 24px; background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius); transition: all 0.25s;
}
.archive-card:hover { border-color: var(--c-gold-light); transform: translateY(-2px); }
.archive-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.archive-title a { color: var(--c-text); }
.archive-title a:hover { color: var(--c-gold); }
.archive-meta { font-size: 13px; color: var(--c-text-muted); margin-bottom: 8px; }
.archive-excerpt { font-size: 14px; color: var(--c-text-soft); line-height: 1.6; }
.archive-empty { color: var(--c-text-soft); padding: 40px; text-align: center; }
.archive-pagination { margin-top: 32px; text-align: center; }
.archive-pagination .page-numbers {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: 6px; font-size: 13px; color: var(--c-text-soft); transition: all 0.2s;
}
.archive-pagination a.page-numbers:hover { border-color: var(--c-gold-light); color: var(--c-gold); }
.archive-pagination .page-numbers.current { background: var(--c-gold); color: #0B1424; font-weight: 600; border-color: var(--c-gold); }

/* ===== Single Post Layout ===== */
.single-section { padding: 48px 0; }
.single-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.single-main { min-width: 0; }
@media (max-width: 900px) { .single-wrap { grid-template-columns: 1fr; } }

/* Main Content */
.page-title {
  font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.2;
  margin-bottom: 28px; color: var(--c-text);
}
.page-content { font-size: 15px; color: var(--c-text-soft); line-height: 1.85; }
.page-content h2 {
  font-size: 22px; font-weight: 700; color: var(--c-text);
  margin: 36px 0 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border-light);
}
.page-content h3 { font-size: 18px; font-weight: 600; color: var(--c-text); margin: 28px 0 12px; }
.page-content h4 { font-size: 16px; font-weight: 600; color: var(--c-gold); margin: 24px 0 10px; }
.page-content p { margin-bottom: 16px; }
.page-content a { color: var(--c-gold); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.page-content a:hover { border-bottom-color: var(--c-gold); }
.page-content ul, .page-content ol { margin: 12px 0 20px 20px; }
.page-content li { margin-bottom: 8px; line-height: 1.7; }
.page-content li::marker { color: var(--c-gold); }
.page-content blockquote {
  margin: 24px 0; padding: 20px 24px;
  border-left: 3px solid var(--c-gold);
  background: var(--c-bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--c-text-soft);
}
.page-content strong { color: var(--c-text); font-weight: 600; }
.page-content img { border-radius: var(--radius); margin: 20px 0; }
.page-content table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  font-size: 14px;
}
.page-content th {
  background: var(--c-bg-card); color: var(--c-text); font-weight: 600;
  padding: 12px 16px; text-align: left; border: 1px solid var(--c-border-light);
}
.page-content td { padding: 10px 16px; border: 1px solid var(--c-border-light); color: var(--c-text-soft); }
.page-content tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* Page Link Cards - for exchange/industry listing pages */
.page-content .ex-card-link {
  display: block; padding: 18px 22px; margin-bottom: 12px;
  background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius); transition: all 0.25s;
  font-size: 15px; font-weight: 500; color: var(--c-text-soft) !important;
  border-bottom: none !important;
}
.page-content .ex-card-link:hover {
  border-color: var(--c-gold-light); transform: translateY(-2px);
  color: var(--c-gold) !important;
}
.page-content .ex-card-link small { display: block; font-size: 12px; color: var(--c-text-muted); margin-top: 2px; font-weight: 400; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .encyc-grid { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .recruit-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-with-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 40px 0 32px; }
  .section { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .showcase { grid-template-columns: 1fr; }
  .ex-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .ex-detail-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ex-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .recruit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-phone { padding: 12px 16px; font-size: 13px; bottom: 16px; right: 16px; }
}

/* ===== INNER PAGE STYLE OPTIMIZATION ===== */
/* Override inline styles in page content to match dark theme */
.page-content [style*=&quot;background:linear-gradient&quot;] {
  background: linear-gradient(135deg, #0F1D38 0%, #1A2A4A 50%, #14203A 100%) !important;
  border-radius: 20px !important;
}
.page-content [style*=&quot;color:#5a5a5a&quot;],
.page-content [style*=&quot;color:#8a8a8a&quot;],
.page-content [style*=&quot;color:#2d3748&quot;] {
  color: rgba(255,255,255,0.65) !important;
}
.page-content [style*=&quot;color:#1a365d&quot;] {
  color: #FFFFFF !important;
}
.page-content [style*=&quot;background:#f7fafc&quot;],
.page-content [style*=&quot;background:#edf2f7&quot;] {
  background: #14203A !important;
  border-color: rgba(255,255,255,0.06) !important;
}
.page-content [style*=&quot;border-left:3px solid #1a365d&quot;] {
  border-left-color: #C9A84C !important;
}
.page-content [style*=&quot;color:#a0c4e8&quot;] {
  color: rgba(255,255,255,0.65) !important;
}
.page-content [style*=&quot;border-bottom:2px solid #d4a84b&quot;] {
  border-bottom-color: #C9A84C !important;
}

/* ===== Page Section ===== */
.page-section { padding: 60px 0; }
.page-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 32px; color: #FFFFFF;
  letter-spacing: -0.02em;
}

/* ===== Content Typography ===== */
.page-content { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.9; }
.page-content h2 {
  font-size: 24px; font-weight: 800; color: #FFFFFF;
  margin: 44px 0 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  letter-spacing: -0.01em;
}
.page-content h3 {
  font-size: 19px; font-weight: 700; color: #FFFFFF;
  margin: 32px 0 14px; padding-left: 14px;
  border-left: 3px solid #C9A84C;
}
.page-content h4 {
  font-size: 16px; font-weight: 600; color: #C9A84C;
  margin: 28px 0 12px;
}
.page-content p { margin-bottom: 18px; }
.page-content strong { color: #FFFFFF; font-weight: 600; }

/* ===== Info Card ===== */
.page-content .info-card {
  background: #14203A; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 24px 28px; margin: 20px 0;
  transition: border-color 0.3s;
}
.page-content .info-card:hover { border-color: rgba(201,168,76,0.25); }
.page-content .info-card .card-title {
  font-size: 16px; font-weight: 700; color: #C9A84C;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.page-content .info-card p:last-child { margin-bottom: 0; }

/* ===== Feature Grid ===== */
.page-content .feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px; margin: 24px 0;
}
.page-content .feature-item {
  background: #14203A; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 20px 22px; transition: all 0.25s;
}
.page-content .feature-item:hover {
  border-color: rgba(201,168,76,0.25); transform: translateY(-2px);
}
.page-content .feature-item .fi-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.page-content .feature-item .fi-title {
  font-size: 15px; font-weight: 600; color: #FFFFFF; margin-bottom: 6px;
}
.page-content .feature-item .fi-desc {
  font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6;
}

/* ===== Stats Row ===== */
.page-content .stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin: 24px 0;
}
.page-content .stat-block {
  background: #14203A; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 20px 16px; text-align: center;
}
.page-content .stat-block:hover { border-color: rgba(201,168,76,0.25); }
.page-content .stat-block .stat-num {
  font-size: 28px; font-weight: 900; color: #C9A84C; line-height: 1.1;
}
.page-content .stat-block .stat-label {
  font-size: 12px; color: rgba(255,255,255,0.35);
  margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ===== Tags ===== */
.page-content .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.page-content .tag {
  display: inline-block; padding: 5px 14px;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.12);
  border-radius: 100px; font-size: 13px; color: #C9A84C; font-weight: 500;
}

/* ===== Enhanced Table ===== */
.page-content table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 14px; border-radius: 12px; overflow: hidden;
}
.page-content thead th {
  background: #111D35; color: #C9A84C; font-weight: 700;
  padding: 14px 18px; text-align: left; border: none;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em;
}
.page-content tbody td {
  padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65); background: #14203A;
}
.page-content tbody tr:last-child td { border-bottom: none; }
.page-content tbody tr:hover td { background: #1A2A4A; }

/* ===== CTA Block ===== */
.page-content .cta-block {
  background: linear-gradient(135deg, #14203A, #111D35);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 20px; padding: 32px 36px; margin: 32px 0; text-align: center;
}
.page-content .cta-block .cta-title {
  font-size: 20px; font-weight: 800; color: #FFFFFF; margin-bottom: 8px;
}
.page-content .cta-block .cta-desc {
  font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 20px;
}
.page-content .cta-block .btn-gold {
  display: inline-block; padding: 12px 32px;
  background: linear-gradient(135deg, #C9A84C, #D4B060);
  color: #0B1424 !important; font-weight: 700;
  border-radius: 100px; font-size: 15px; transition: all 0.25s;
  border-bottom: none !important;
}
.page-content .cta-block .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

/* ===== Exchange Detail Card ===== */
.page-content .ex-detail-card {
  background: #14203A; border: 1px solid rgba(201,168,76,0.12);
  border-radius: 20px; overflow: hidden; margin: 24px 0;
}
.page-content .ex-detail-card .edc-header {
  background: #111D35; padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 14px;
}
.page-content .ex-detail-card .edc-header .edc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #C9A84C;
  border: 1px solid rgba(201,168,76,0.12); flex-shrink: 0;
}
.page-content .ex-detail-card .edc-header .edc-title {
  font-size: 17px; font-weight: 700; color: #FFFFFF;
}
.page-content .ex-detail-card .edc-body { padding: 20px 24px; }
.page-content .ex-detail-card .edc-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-content .ex-detail-card .edc-row:last-child { border-bottom: none; }
.page-content .ex-detail-card .edc-label { font-size: 13px; color: rgba(255,255,255,0.35); }
.page-content .ex-detail-card .edc-value {
  font-size: 14px; font-weight: 600; color: #FFFFFF; text-align: right;
}

/* ===== Product Grid ===== */
.page-content .product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px; margin: 24px 0;
}
.page-content .product-card {
  background: #14203A; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 18px 20px; transition: all 0.25s;
}
.page-content .product-card:hover {
  border-color: rgba(201,168,76,0.25); transform: translateY(-2px);
}
.page-content .product-card .pc-icon { font-size: 22px; margin-bottom: 8px; display: block; }
.page-content .product-card .pc-name {
  font-size: 14px; font-weight: 600; color: #FFFFFF; margin-bottom: 4px;
}
.page-content .product-card .pc-desc {
  font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.5;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; }
  .page-sidebar { position: static; margin-top: 32px; }
  .page-content .feature-grid { grid-template-columns: 1fr; }
  .page-content .product-grid { grid-template-columns: repeat(2, 1fr); }
  .page-content .stats-row { grid-template-columns: repeat(2, 1fr); }
  .page-content .cta-block { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .page-content .product-grid { grid-template-columns: 1fr; }
  .page-content .stats-row { grid-template-columns: 1fr 1fr; }
  .page-section { padding: 32px 0; }
}





/* ===== ULTIMATE WHITE CARD KILLER ===== */
/* Use JavaScript-like CSS with !important on all possible inline patterns */
div[style*="f7fafc"] {
  background: #14203A !important;
  border-color: rgba(255,255,255,0.06) !important;
}
div[style*="edf2f7"] {
  background: rgba(201,168,76,0.12) !important;
  color: #FFFFFF !important;
  border-left-color: #C9A84C !important;
}
div[style*="fff"][style*="border-radius"] {
  background: #14203A !important;
}
span[style*="edf2f7"] {
  background: rgba(201,168,76,0.12) !important;
  color: #FFFFFF !important;
  border-left-color: #C9A84C !important;
}
span[style*="#2d3748"] {
  color: #FFFFFF !important;
}
h3[style*="#1a365d"] {
  color: #C9A84C !important;
}
[style*="e2e8f0"] {
  border-color: rgba(255,255,255,0.06) !important;
}
/* ===== Card Grid (通用卡片网格) ===== */
.page-content .card-grid {
  display: grid; gap: 14px; margin: 24px 0;
}
.page-content .card {
  background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius); padding: 18px 20px; transition: all 0.25s;
}
.page-content .card:hover {
  border-color: var(--c-gold-light); transform: translateY(-2px);
}
.page-content .card .card-title {
  font-size: 15px; font-weight: 600; color: var(--c-text);
  margin-bottom: 4px;
}
.page-content .card .card-desc {
  font-size: 13px; color: var(--c-text-muted); line-height: 1.6;
}

/* ===== Feature Grid (双列特性) ===== */
.page-content .feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 24px 0;
}
.page-content .feature-card {
  background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg); padding: 32px; transition: all 0.25s;
}
.page-content .feature-card:hover {
  border-color: var(--c-gold-light); transform: translateY(-2px);
}
.page-content .feature-card .icon { font-size: 36px; margin-bottom: 14px; display: block; }
.page-content .feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.page-content .feature-card p { font-size: 14px; color: var(--c-text-soft); line-height: 1.7; }

/* ===== Two Column Layout ===== */
.page-content .two-col-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: start;
}
.page-content .col-main h2 { font-size: 20px; font-weight: 700; color: var(--c-gold); margin-bottom: 14px; }
.page-content .col-main p { color: var(--c-text-soft); line-height: 1.8; font-size: 14px; margin-bottom: 16px; }
.page-content .col-main h3 { font-size: 16px; font-weight: 600; color: var(--c-text); margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--c-border-light); }
.page-content .col-sidebar > div {
  background: var(--c-bg-card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--c-border-light);
}
.page-content .col-sidebar h3 { font-size: 15px; font-weight: 700; color: var(--c-gold); margin-bottom: 14px; text-align: center; }

/* ===== Stat Row ===== */
.page-content .stat-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px; margin: 24px 0;
}
.page-content .stat-item {
  text-align: center; background: var(--c-bg-card); border-radius: var(--radius);
  padding: 18px; border: 1px solid var(--c-border-light);
}
.page-content .stat-item .num { font-size: 28px; font-weight: 800; color: var(--c-gold); }
.page-content .stat-item .label { font-size: 12px; color: var(--c-text-muted); margin-top: 4px; }

/* ===== Section Title ===== */
.page-content .section-title {
  text-align: center; font-size: 24px; font-weight: 700;
  margin-bottom: 8px; color: var(--c-text);
}
.page-content .section-subtitle {
  text-align: center; font-size: 14px; color: var(--c-text-muted);
  margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ===== Page Content Inner ===== */
.page-content h2 { font-size: 22px; font-weight: 700; color: var(--c-gold); margin: 36px 0 14px; }
.page-content h3 { font-size: 17px; font-weight: 600; color: var(--c-text); margin: 24px 0 10px; }
.page-content p { color: var(--c-text-soft); line-height: 1.8; font-size: 14px; margin-bottom: 16px; }
.page-content a { color: var(--c-gold); }
.page-content a:hover { color: var(--c-red); }

/* ===== Exchange Detail Hero ===== */
.page-content .hero-section {
  border-radius: var(--radius-lg) !important;
  padding: 48px 24px 40px !important;
  margin-bottom: 32px !important;
  position: relative; overflow: hidden;
}
.page-content .hero-section::after {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.page-content .hero-section h1 {
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 800 !important; margin-bottom: 10px !important;
  letter-spacing: -0.01em;
}
.page-content .hero-section p {
  font-size: 15px !important;
  max-width: 520px !important; margin: 0 auto 22px !important;
  line-height: 1.6;
}
.page-content .hero-section .btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 28px !important; border-radius: 50px !important;
  font-size: 14px !important; font-weight: 600 !important;
  transition: all 0.25s; border: none;
}
.page-content .hero-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.35);
}

/* ===== Two Col Layout in Exchange ===== */
.page-content .two-col-layout {
  gap: 36px !important; margin: 32px 0;
}
.page-content .col-main h2 {
  font-size: 20px !important; font-weight: 700 !important;
  margin-bottom: 16px !important; color: var(--c-text) !important;
}
.page-content .col-main h3 {
  font-size: 16px !important; font-weight: 600 !important;
  margin: 28px 0 12px !important; padding-bottom: 10px !important;
  border-bottom: 2px solid var(--c-gold) !important;
  color: var(--c-text) !important;
}
.page-content .col-main p {
  font-size: 14px !important; line-height: 1.85 !important;
  margin-bottom: 14px !important; color: var(--c-text-soft) !important;
}
.page-content .col-main .card {
  padding: 16px 20px !important; margin-bottom: 10px !important;
  background: var(--c-bg-card) !important;
  border: 1px solid var(--c-border-light) !important;
  border-radius: var(--radius) !important;
  transition: border-color 0.25s;
}
.page-content .col-main .card:hover { border-color: var(--c-gold-light) !important; }

/* ===== Product Sidebar in Exchange ===== */
.page-content .col-sidebar > div {
  border-radius: var(--radius-lg) !important; padding: 24px !important;
  position: relative; overflow: hidden;
}
.page-content .col-sidebar > div::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--c-gold), #D4B060, transparent);
  opacity: 0.5;
}
.page-content .col-sidebar h3 {
  font-size: 15px !important; font-weight: 700 !important;
  margin-bottom: 16px !important; text-align: center !important;
  color: var(--c-gold) !important;
}
.page-content .col-sidebar [style*="display:flex"] span {
  display: inline-block !important;
  padding: 6px 14px !important; margin: 3px !important;
  background: var(--c-gold-soft) !important; border: 1px solid var(--c-border-light) !important;
  border-radius: 100px !important; font-size: 13px !important;
  color: var(--c-text-soft) !important; border-left: 3px solid var(--c-gold) !important;
  transition: all 0.2s;
}
.page-content .col-sidebar [style*="display:flex"] span:hover {
  border-color: var(--c-gold-light) !important;
  transform: translateY(-1px);
}

/* ===== Feature Grid in Exchange ===== */
.page-content .section-title {
  font-size: 22px !important; font-weight: 700 !important;
  color: var(--c-text) !important; margin-top: 48px !important; margin-bottom: 24px !important;
  text-align: center;
}
.page-content .feature-grid { margin: 24px 0; gap: var(--gap) !important; }
.page-content .feature-card {
  padding: 28px !important; text-align: center;
  border: 1px solid var(--c-border-light) !important; border-radius: var(--radius-lg) !important;
}
.page-content .feature-card:hover { border-color: var(--c-gold-light) !important; }
.page-content .feature-card .icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto 12px;
  background: var(--c-gold-soft); border-radius: 12px;
  font-size: 18px; font-weight: 800; color: var(--c-gold);
}
.page-content .feature-card h3 {
  font-size: 17px !important; font-weight: 700 !important;
  margin-bottom: 8px !important;
}
.page-content .feature-card p {
  font-size: 13px !important; color: var(--c-text-muted) !important; line-height: 1.7 !important;
}

/* ===== Contact Section in Exchange ===== */
.page-content .contact-section,
.contact-section {
  text-align: center; padding: 36px !important;
  border: 1px solid var(--c-border) !important;
  background: var(--c-bg-alt) !important; border-radius: var(--radius-lg) !important;
  margin-top: 48px !important;
}
.contact-section h3 { font-size: 18px !important; color: var(--c-text) !important; margin-bottom: 8px !important; border: none !important; padding: 0 !important; }
.contact-section p { font-size: 14px !important; color: var(--c-text-soft) !important; }
.contact-section .phone { font-size: 20px !important; font-weight: 800 !important; color: var(--c-phone) !important; text-decoration: none; }
.contact-section .wechat { font-size: 15px !important; font-weight: 600 !important; color: var(--c-wechat) !important; }

/* ===== Card Grid in Exchange ===== */
.page-content .card-grid {
  display: grid; gap: 14px; margin: 24px 0;
}
.page-content .card-grid[style*="3"] { grid-template-columns: repeat(3, 1fr) !important; }
.page-content .card-grid .card {
  background: var(--c-bg-card) !important; border: 1px solid var(--c-border-light) !important;
  border-radius: var(--radius) !important; padding: 20px !important;
  text-align: center; transition: all 0.25s;
}
.page-content .card-grid .card:hover {
  border-color: var(--c-gold-light) !important; transform: translateY(-2px);
}
.page-content .card-grid .card [style*="font-size:28px"] {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0 auto 10px !important;
  background: var(--c-gold-soft) !important; border-radius: 10px;
  font-size: 17px !important; font-weight: 800; color: var(--c-gold);
}

/* ===== News Grid (shortcode) ===== */
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  margin: 24px 0;
}
.news-card {
  background: var(--c-bg-card); border: 1px solid var(--c-border-light);
  border-radius: var(--radius); padding: 24px; transition: all 0.25s;
}
.news-card:hover {
  border-color: var(--c-gold-light); transform: translateY(-2px);
}
.news-meta { font-size: 12px; color: var(--c-text-muted); margin-bottom: 8px; }
.news-tag {
  display: inline-block; background: var(--c-gold-soft); border-radius: 20px;
  padding: 2px 12px; font-size: 11px; color: var(--c-gold); font-weight: 500; margin-left: 6px;
}
.news-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.news-title a { color: var(--c-text); }
.news-title a:hover { color: var(--c-gold); }
.news-excerpt { font-size: 13px; color: var(--c-text-muted); line-height: 1.6; margin-bottom: 12px; }
.news-more { font-size: 13px; color: var(--c-gold) !important; font-weight: 500; }
.news-more:hover { color: var(--c-red) !important; }

/* ===== Single Post ===== */
.post-hero {
  background: var(--c-bg-alt); padding: 60px 24px 50px;
  text-align: center; border-bottom: 1px solid var(--c-border);
}
.post-hero-title {
  font-size: 28px; font-weight: 800; margin-bottom: 10px;
  max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.3;
}
.post-hero-meta { font-size: 13px; color: var(--c-text-muted); }
.post-cat-tag {
  display: inline-block; background: var(--c-gold-soft); border-radius: 20px;
  padding: 2px 12px; font-size: 11px; color: var(--c-gold);
}
.post-body-wrap {
  max-width: 760px; margin: 0 auto; padding: 40px 20px 60px;
}
.post-body-wrap p {
  color: var(--c-text-soft); line-height: 2; font-size: 15px; margin-bottom: 20px;
}
.post-body-wrap h2 {
  font-size: 20px; font-weight: 700; color: var(--c-gold); margin: 36px 0 14px;
}
.post-body-wrap h3 {
  font-size: 16px; font-weight: 600; color: var(--c-text); margin: 28px 0 10px;
}
.post-nav {
  display: flex; justify-content: space-between; margin-top: 40px;
  padding-top: 20px; border-top: 1px solid var(--c-border-light);
}
.post-nav a { color: var(--c-gold); font-size: 14px; max-width: 45%; }
.post-nav a:hover { color: var(--c-c-phone); }
.post-back { text-align: center; margin-top: 24px; }
.post-back a {
  display: inline-block; background: var(--c-gold);
  color: #0B1424 !important; padding: 10px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600; transition: all 0.25s;
}
.post-back a:hover { opacity: 0.9; transform: translateY(-1px); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .page-content .two-col-layout { grid-template-columns: 1fr; }
  .page-content .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .page-content .stat-row { grid-template-columns: repeat(2, 1fr); }
  .post-hero { padding: 40px 16px 30px; }
  .post-hero-title { font-size: 22px; }
  .post-body-wrap { padding: 24px 16px 40px; }
  .page-content .contact-section,
  .contact-section { padding: 24px 16px; }
  .page-content .section-title { font-size: 20px; }
  .page-content .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .page-content .card-grid { grid-template-columns: 1fr; }
  .page-content .stat-row { grid-template-columns: 1fr 1fr; }
  .post-nav { flex-direction: column; gap: 10px; }
  .post-nav a { max-width: 100%; }
}



/* ===== Industry Sub-pages (listing/industry/*) ===== */
.industry-hero {
  padding: 50px 24px 40px;
  text-align: center;
  color: #fff;
  border-radius: 16px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.industry-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.industry-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  position: relative;
}
.industry-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  position: relative;
}

.industry-section {
  margin-bottom: 36px;
}
.industry-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #C9A84C;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(201,168,76,0.2);
}
.industry-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 20px 0 10px;
}
.industry-section p, .industry-section li {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin: 0 0 12px;
}
.industry-section ul {
  padding-left: 20px;
  margin: 0 0 16px;
}
.industry-section ul li {
  margin-bottom: 6px;
}

/* Exchange blocks in industry pages */
.ex-block {
  background: var(--c-bg-card, #14203A);
  border: 1px solid var(--c-border, rgba(201,168,76,0.12));
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: border-color 0.3s;
}
.ex-block:hover {
  border-color: rgba(201,168,76,0.35);
}
.ex-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: #C9A84C;
  margin: 0 0 8px;
}
.ex-block .varieties {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.ex-block .ex-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 8px;
  background: rgba(201,168,76,0.12);
  color: #C9A84C;
}

/* Mode badges */
.mode-badge {
  display: inline-block;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-right: 6px;
  margin-bottom: 6px;
}
.mode-badge.spot {
  background: rgba(52,211,153,0.15);
  color: #34D399;
}
.mode-badge.issue {
  background: rgba(201,168,76,0.15);
  color: #C9A84C;
}

/* Feature grid on industry pages */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.feature-item {
  background: var(--c-bg-card, #14203A);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.feature-item .fi-icon {
  font-size: 28px;
  margin-bottom: 6px;
}
.feature-item .fi-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.feature-item .fi-value {
  font-size: 18px;
  font-weight: 700;
  color: #C9A84C;
  margin-top: 4px;
}

/* Two-col layout for industry pages */
.industry-two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.industry-sidebar {
  background: var(--c-bg-card, #14203A);
  border: 1px solid var(--c-border, rgba(201,168,76,0.12));
  border-radius: 12px;
  padding: 22px;
}
.industry-sidebar h3 {
  font-size: 15px;
  font-weight: 700;
  color: #C9A84C;
  margin: 0 0 14px;
}

/* Contact section in industry pages */
.industry-contact {
  background: var(--c-bg-card, #14203A);
  border: 1px solid var(--c-border, rgba(201,168,76,0.12));
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin-top: 32px;
}
.industry-contact h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.industry-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px;
}
.industry-contact .contact-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 6px;
}
.contact-btn.phone {
  background: #c0392b;
  color: #fff;
}
.contact-btn.wechat {
  background: #0F3460;
  color: #fff;
}

@media (max-width: 768px) {
  .industry-two-col { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .industry-hero h1 { font-size: 24px; }
  .industry-hero { padding: 36px 18px 30px; }
}

