/* roulang page: index */
:root {
  --primary: #0B6B63;
  --primary-dark: #074A44;
  --primary-light: #E8F3F1;
  --accent: #C77C1E;
  --accent-dark: #A96412;
  --accent-bright: #D48A2A;
  --accent-light: #FBF0E0;
  --bg-page: #F7F9F8;
  --bg-card: #FFFFFF;
  --text-main: #1C2B27;
  --text-secondary: #5B6B66;
  --border: #E2E8E6;
  --border-light: #EDF1EF;
  --success: #2F7D32;
  --danger: #C0392B;
  --footer-bg: #0F1512;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(16,42,38,0.06);
  --shadow-md: 0 4px 12px rgba(16,42,38,0.08);
  --shadow-lg: 0 8px 24px rgba(16,42,38,0.1);
  --glow-primary: 0 0 0 4px rgba(11,107,99,0.08);
  --font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container-max: 1200px;
  --space-section: 5rem;
  --transition-base: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-base); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; outline: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(11,107,99,0.2);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-primary:active { transform: scale(0.97); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }
.btn-outline:active { transform: scale(0.97); }
.btn-light-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}
.btn-light-outline:hover { background: rgba(255,255,255,0.1); }
.btn-light-outline:active { transform: scale(0.97); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 2.25rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; filter: grayscale(0.3); cursor: not-allowed; }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  line-height: 1.6;
}
.badge-primary-light { background: var(--primary-light); color: var(--primary); }
.badge-accent { background: var(--accent); color: #fff; }
.badge-vip { background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 600; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: 72px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(16,42,38,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 10px;
}
.logo-icon svg { width: 24px; height: 24px; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  position: relative;
  transition: color var(--transition-base), background var(--transition-base);
}
.nav-link:hover { color: var(--primary); background: var(--bg-page); }
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-box {
  display: flex;
  align-items: center;
  background: #F1F5F4;
  border-radius: var(--radius-pill);
  height: 38px;
  padding: 0 16px;
  width: 220px;
  gap: 8px;
}
.search-box svg { width: 16px; height: 16px; flex-shrink: 0; color: #8A9A95; }
.search-box input {
  border: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--text-main);
  width: 100%;
}
.search-box input::placeholder { color: #9AA8A3; }
.search-box:focus-within { box-shadow: 0 0 0 3px rgba(11,107,99,0.12); }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  gap: 5px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 移动端菜单 ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px 24px 32px;
  box-shadow: 0 12px 24px rgba(16,42,38,0.15);
  z-index: 99;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}
.mobile-link:hover { color: var(--primary); }
.mobile-link.active { color: var(--primary); font-weight: 600; }
.mobile-search {
  display: flex;
  align-items: center;
  background: #F1F5F4;
  border-radius: var(--radius-pill);
  height: 42px;
  padding: 0 16px;
  margin: 16px 0;
}
.mobile-search input {
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  width: 100%;
}
.mobile-menu .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,30,26,0.78) 0%, rgba(4,30,26,0.45) 60%, rgba(4,30,26,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 1rem;
}
.hero-title .brand-highlight {
  color: #F0B35B;
}
.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7,44,38,0.75);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stats-inner {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.stat-item {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F0B35B;
  line-height: 1.3;
}
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

/* ---------- 板块通用 ---------- */
.section {
  padding: var(--space-section) 0;
}
.section-alt { background: #fff; }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- 会员权益对比 ---------- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.plan-card:hover { box-shadow: var(--shadow-md); }
.plan-card.featured {
  border: 2px solid var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--glow-primary);
  position: relative;
}
.plan-card.featured:hover { box-shadow: 0 0 0 4px rgba(11,107,99,0.08), var(--shadow-lg); }
.plan-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}
.plan-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}
.plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.plan-price .currency { font-size: 1rem; font-weight: 500; }
.plan-price .period { font-size: 0.875rem; color: var(--text-secondary); font-weight: 400; }
.plan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}
.benefit-list { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-main);
}
.benefit-item:last-child { border-bottom: none; }
.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon svg { width: 18px; height: 18px; }
.benefit-icon.yes svg { color: var(--success); }
.benefit-icon.no svg { color: #C3CDC9; }
.benefit-name { flex: 1; }
.plan-btn { margin-top: auto; }

/* ---------- 会员等级 ---------- */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.level-card {
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.level-card.basic {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.level-card.advanced {
  background: var(--primary-light);
  border: none;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.level-card.premium {
  background: #0B3731;
  border: none;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.level-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.premium .level-name { color: #F0B35B; }
.premium .level-price { color: #F0B35B; }
.premium .level-desc { color: rgba(255,255,255,0.7); }
.premium .level-points li { color: rgba(255,255,255,0.85); }
.premium .level-points svg { color: #F0B35B; }
.premium-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.level-name { font-size: 1.125rem; font-weight: 600; margin-bottom: 6px; }
.level-price { font-size: 1.75rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.level-price .period { font-size: 0.875rem; font-weight: 400; opacity: 0.7; }
.level-desc { font-size: 0.875rem; margin-bottom: 1.25rem; opacity: 0.8; }
.level-points { list-style: none; margin-bottom: 1.75rem; flex-grow: 1; }
.level-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.875rem;
}
.level-points svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ---------- 专属内容 ---------- */
.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.content-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.content-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.content-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.content-card:hover .content-cover img { transform: scale(1.05); }
.content-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.content-overlay svg {
  width: 48px;
  height: 48px;
  color: #fff;
  opacity: 0.85;
}
.vip-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.content-info { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.content-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; color: var(--text-main); }
.content-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.25rem; flex-grow: 1; }
.content-btn {
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 0.5rem 1.5rem;
  transition: all var(--transition-base);
}
.content-btn:hover { background: var(--primary-light); }
.exclusive-bottom {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
}
.exclusive-bottom a { color: var(--primary); font-weight: 600; }
.exclusive-bottom svg { vertical-align: middle; margin-left: 4px; }

/* ---------- 资讯列表 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.news-card:hover { box-shadow: var(--shadow-md); border-color: rgba(11,107,99,0.3); }
.news-cat {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  align-self: flex-start;
}
.news-card h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.news-card h3 a { color: var(--text-main); }
.news-card h3 a:hover { color: var(--primary); }
.news-summary {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.875rem;
}
.news-meta time { font-size: 0.875rem; color: var(--text-secondary); }
.news-meta a { font-size: 0.875rem; color: var(--primary); font-weight: 500; transition: margin-left var(--transition-base); }
.news-meta a:hover { margin-left: 4px; }
.news-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}
.news-empty svg { color: #B0BDB8; }
.news-empty p { font-size: 0.9375rem; color: var(--text-secondary); }

/* ---------- FAQ ---------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-base);
}
.faq-question:hover { background: #F9FBFA; }
.faq-question h3 { font-size: 1rem; font-weight: 600; color: var(--text-main); }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--text-secondary);
}
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 0.9375rem;
  color: #3D4F4A;
  line-height: 1.7;
  transition: max-height 0.25s, padding 0.25s;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 18px;
}

/* ---------- CTA ---------- */
.cta-section {
  background: var(--primary-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.12;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.cta-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.cta-desc { font-size: 0.9375rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--footer-bg); color: #fff; padding-top: 4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.1); }
.footer-brand p {
  font-size: 0.875rem;
  color: #8A9A95;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.footer-column h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 0.625rem; }
.footer-column ul a {
  font-size: 0.875rem;
  color: #8A9A95;
  transition: color var(--transition-base);
}
.footer-column ul a:hover { color: #F0B35B; }
.footer-subscribe {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.footer-subscribe input {
  flex: 1;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-size: 0.875rem;
  color: #fff;
}
.footer-subscribe input::placeholder { color: rgba(255,255,255,0.4); }
.footer-subscribe button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition-base);
}
.footer-subscribe button:hover { background: var(--accent-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: #7A8A85;
}

/* ---------- 图片 fallback ---------- */
.img-fallback {
  background: var(--primary-light) !important;
  position: relative !important;
  min-height: 80px;
}
.img-fallback::after {
  content: '开云电子';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-right .search-box, .nav-right .btn { display: none; }
  .hamburger { display: flex; }
  .site-header { height: 60px; }
  .mobile-menu { top: 60px; }
  .hero { min-height: 440px; }
  .hero-content { padding-top: 60px; padding-bottom: 100px; }
  .hero-title { font-size: 2rem; }
  .comparison-grid { overflow-x: auto; display: flex; gap: 16px; padding-bottom: 8px; }
  .plan-card { min-width: 260px; }
  .levels-grid { grid-template-columns: 1fr; gap: 16px; }
  .exclusive-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.375rem; }
  .hero { min-height: 380px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .hero-stats-inner { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .stat-num { font-size: 1.25rem; }
  .stat-label { font-size: 0.75rem; }
  .exclusive-grid { overflow-x: auto; display: flex; scroll-snap-type: x mandatory; }
  .content-card { min-width: 280px; scroll-snap-align: start; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-subscribe { flex-direction: column; }
}

/* roulang page: category1 */
:root {
  --primary: #0B6B63;
  --primary-dark: #074A44;
  --primary-deep: #0B3731;
  --primary-light: #E8F3F1;
  --accent: #C77C1E;
  --accent-hover: #D48A2A;
  --accent-dark: #A96412;
  --accent-light: #FBF0E0;
  --bg: #F7F9F8;
  --card-bg: #FFFFFF;
  --text: #1C2B27;
  --text-secondary: #5B6B66;
  --border: #E2E8E6;
  --success: #2F7D32;
  --footer-bg: #0F1512;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(16,42,38,0.06);
  --shadow-md: 0 8px 24px rgba(16,42,38,0.1);
  --shadow-focus: 0 0 0 4px rgba(11,107,99,0.2);
  --transition: 0.2s ease;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, button { font-family: inherit; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(16,42,38,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  border-radius: 10px;
  flex-shrink: 0;
}
.logo-icon svg { width: 24px; height: 24px; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: -2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.search-box {
  display: flex; align-items: center;
  width: 220px; height: 38px;
  background: #F1F5F4;
  border-radius: var(--radius-pill);
  padding: 0 14px;
  gap: 8px;
}
.search-box svg { width: 16px; height: 16px; stroke: var(--text-secondary); flex-shrink: 0; }
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.875rem;
  color: var(--text);
  width: 100%;
}
.search-box input::placeholder { color: #9AA8A3; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  padding: 10px 28px;
  border: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.85); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-accent-light { background: var(--accent); color: #fff; }
.btn-accent-light:hover { background: var(--accent-hover); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* ===== Breadcrumb ===== */
.breadcrumb-bar {
  padding: 16px 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.breadcrumb-bar a { color: var(--primary); }
.breadcrumb-bar .sep { margin: 0 8px; color: #B3BFBA; }

/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,30,26,0.82), rgba(4,30,26,0.42));
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 0 64px;
  color: #fff;
}
.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.page-hero h1 .highlight { color: #F0B35B; }
.page-hero .hero-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(4,30,26,0.35);
  backdrop-filter: blur(4px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 1.75rem;
  font-weight: 700;
  color: #F0B35B;
  line-height: 1.2;
}
.stat-item .label { font-size: 0.875rem; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ===== Section common ===== */
.section-block { padding: 72px 0; }
.section-head { margin-bottom: 40px; }
.section-head .tag-line {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.section-head .sub-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 640px;
}

/* ===== Solution Cards ===== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}
.solution-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.solution-card:hover::before { opacity: 1; }
.solution-card .card-cover {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--primary-light);
}
.solution-card .card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.solution-card:hover .card-cover img { transform: scale(1.03); }
.solution-card .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.solution-card .card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.5;
}
.solution-card .card-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.solution-card .card-link {
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.solution-card .card-link:hover { gap: 10px; }

/* ===== Value Features ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-item .v-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-item .v-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-item h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.value-item p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== Scenarios ===== */
.scene-section { background: var(--card-bg); border-radius: 20px; padding: 64px 0; }
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.scene-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.scene-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.scene-card .s-icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.scene-card .s-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.scene-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== Process ===== */
.process-head { text-align: center; margin-bottom: 48px; }
.process-head h2 { font-size: 1.75rem; font-weight: 700; }
.process-head p { color: var(--text-secondary); font-size: 0.9375rem; margin-top: 8px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.process-step .step-num {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--primary);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(11,107,99,0.25);
}
.process-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.process-step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.55; }

/* ===== Membership band ===== */
.member-band {
  background: var(--primary-deep);
  border-radius: 20px;
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.member-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(240,179,91,0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(11,107,99,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.member-band .mb-content { position: relative; z-index: 1; max-width: 560px; }
.member-band .mb-content h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.member-band .mb-content p { font-size: 0.9375rem; color: rgba(255,255,255,0.85); line-height: 1.6; }
.member-band .mb-actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition);
}
.faq-question:hover { background: #FAFCFB; }
.faq-question .q-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 0.9375rem;
  color: #3D4F4A;
  line-height: 1.7;
}
.faq-item.active .faq-question .q-icon { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 18px; }

/* ===== CTA ===== */
.cta-section {
  background: var(--primary-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M10 10h80M10 30h80M10 50h80M10 70h80M10 90h80M10 10v80M30 10v80M50 10v80M70 10v80M90 10v80" stroke="%23ffffff" stroke-width="1"/></svg>');
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.cta-inner h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-inner p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn { min-width: 200px; }

/* ===== Footer ===== */
.site-footer { background: var(--footer-bg); color: #A0ADA8; }
.site-footer a { color: #A0ADA8; transition: color var(--transition); }
.site-footer a:hover { color: #F0B35B; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; }
.footer-subscribe { display: flex; gap: 8px; max-width: 280px; }
.footer-subscribe input {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}
.footer-subscribe input::placeholder { color: #7A8883; }
.footer-subscribe input:focus { border-color: var(--accent); }
.footer-subscribe button {
  height: 38px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition);
}
.footer-subscribe button:hover { background: var(--accent-hover); }
.footer-column h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { font-size: 0.875rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: #7A8883;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(16,42,38,0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 1rem; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: var(--primary-light); border-radius: var(--radius-md); }
  .header-actions { display: none; }
  .header-actions.open {
    display: flex;
    position: absolute;
    top: calc(60px + auto);
    left: 0; right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(16,42,38,0.08);
    flex-direction: column;
    align-items: stretch;
  }
  .search-box { width: 100%; }
  .nav-toggle { display: flex; }
  .header-inner { height: 60px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-inner { padding: 48px 0; }
  .page-hero h1 { font-size: 1.9rem; }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section-block { padding: 48px 0; }
  .section-head h2 { font-size: 1.5rem; }
  .page-hero-inner { padding: 40px 0; }
  .page-hero h1 { font-size: 1.6rem; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item .num { font-size: 1.5rem; }
  .solution-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .member-band { padding: 32px 24px; }
  .member-band .mb-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { text-align: center; }
}

/* roulang page: article */
:root {
  --primary: #0B6B63;
  --primary-dark: #074A44;
  --primary-deep: #0B3731;
  --primary-light: #E8F3F1;
  --accent: #C77C1E;
  --accent-dark: #A96412;
  --accent-light: #FBF0E0;
  --bg: #F7F9F8;
  --card-bg: #FFFFFF;
  --text: #1C2B27;
  --text-secondary: #5B6B66;
  --text-muted: #8A9892;
  --border: #E2E8E6;
  --border-light: #EDF1EF;
  --success: #2F7D32;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(16,42,38,0.06);
  --shadow-hover: 0 8px 24px rgba(16,42,38,0.10);
  --section-gap: 4rem;
  --container-pad: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { padding-left: 1.25rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(16,42,38,0.04);
  height: 72px;
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 10px;
  transition: background 0.2s;
}
.logo:hover .logo-icon { background: #d5e8e4; }
.logo-icon svg { width: 22px; height: 22px; display: block; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.search-box {
  display: flex;
  align-items: center;
  background: #F1F5F4;
  border-radius: var(--radius-pill);
  height: 38px;
  padding: 0 14px;
  gap: 8px;
  width: 220px;
  transition: box-shadow 0.2s, background 0.2s;
}
.search-box:hover, .search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(11,107,99,0.10);
  background: #ecf2f0;
}
.search-box svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; display: block; }
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.875rem;
  color: var(--text);
}
.search-box input::placeholder { color: #9AA6A1; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(11,107,99,0.2);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }
.btn-sm { font-size: 0.875rem; padding: 0.5rem 1.25rem; }
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.mobile-actions { display: none; }

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--primary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); font-size: 0.75rem; }
.breadcrumb .current {
  color: var(--text-secondary);
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 文章标题区 */
.article-hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #FFFFFF 60%);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.article-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-item svg { width: 16px; height: 16px; color: var(--text-muted); display: block; }
.category-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  line-height: 1.5;
}

/* 正文 */
.article-body {
  padding: 48px 0 64px;
}
.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  word-wrap: break-word;
}
.prose h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  margin: 2.5rem 0 1rem;
  line-height: 1.4;
}
.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.75rem 0 0.875rem;
  color: var(--text);
}
.prose p {
  margin: 0 0 1.5rem;
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.prose a:hover { color: var(--accent); }
.prose blockquote {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  color: var(--text-secondary);
}
.prose blockquote p { margin: 0 0 0.5rem; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code {
  background: #F1F5F4;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--primary-dark);
}
.prose pre {
  background: #F1F5F4;
  padding: 1rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 1.5rem 0;
}
.prose pre code {
  background: transparent;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.prose img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  margin: 2rem auto;
  height: auto;
}
.prose ul, .prose ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.prose li { margin-bottom: 0.5rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.prose th {
  background: var(--primary-light);
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.prose td {
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* 空态 */
.article-empty {
  text-align: center;
  padding: 80px 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.article-empty svg {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  opacity: 0.5;
  display: block;
}
.article-empty p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}
.article-empty .btn { margin-top: 4px; }

/* 相关推荐 */
.related-posts {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 64px;
}
.related-posts h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 2rem;
  color: var(--text);
  position: relative;
  padding-left: 14px;
}
.related-posts h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 2px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(11,107,99,0.25);
}
.related-thumb {
  position: relative;
  background: var(--primary-light);
  overflow: hidden;
}
.related-thumb::after {
  content: '开云电子';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11,107,99,0.3);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}
.related-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-card:hover .related-thumb img { transform: scale(1.03); }
.related-info { padding: 16px 20px 20px; }
.related-info h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.5;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card:hover .related-info h3 { color: var(--primary); }
.related-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.related-date svg { width: 14px; height: 14px; display: block; }

/* 返回入口 */
.back-entry {
  background: var(--card-bg);
  padding: 0 0 64px;
  text-align: center;
}

/* 页脚 */
.site-footer {
  background: #0F1512;
  color: #B8C4C0;
  font-size: 0.875rem;
}
.site-footer .container {
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-text { color: #FFFFFF; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.08); }
.footer-brand .logo-icon svg { stroke: #F0B35B; }
.footer-brand p {
  margin: 16px 0 0;
  color: #8A9892;
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-subscribe {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  max-width: 320px;
}
.footer-subscribe input {
  flex: 1;
  min-width: 0;
  height: 38px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-subscribe input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(199,124,30,0.2);
}
.footer-subscribe input::placeholder { color: #9AA6A1; }
.footer-subscribe button {
  height: 38px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}
.footer-subscribe button:hover { background: var(--accent-dark); }
.footer-column h4 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 16px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-column a {
  color: #8A9892;
  transition: color 0.2s;
}
.footer-column a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 20px 16px;
  color: #73827C;
  font-size: 0.8125rem;
}

/* 响应式断点 1023px */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .search-box { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(16,42,38,0.10);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
  }
  .nav-links.open .nav-link {
    font-size: 1rem;
    padding: 12px 8px;
    border-radius: var(--radius-md);
  }
  .nav-links.open .nav-link:hover { background: var(--primary-light); }
  .nav-link.active::after { display: none; }
  .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 16px;
    margin-top: 12px;
    border-top: 1px solid var(--border-light);
  }
  .mobile-actions .search-box { width: 100%; }
  .mobile-actions .btn { width: 100%; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* 响应式断点 767px */
@media (max-width: 767px) {
  :root { --container-pad: 16px; --section-gap: 3rem; }
  .site-header { height: 60px; }
  .header-inner { height: 60px; gap: 14px; }
  .nav-links.open { top: 60px; }
  .logo-text { font-size: 1.125rem; }
  .logo-icon { width: 36px; height: 36px; }
  .header-actions .btn-sm { display: none; }
  .article-hero { padding: 36px 0 30px; }
  .article-hero h1 { font-size: 1.625rem; }
  .article-body { padding: 32px 0 40px; }
  .related-posts { padding: 40px 0 48px; }
  .related-grid { grid-template-columns: 1fr; }
  .back-entry { padding: 0 0 48px; }
  .back-entry .btn { width: 100%; max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .container { padding-top: 44px; padding-bottom: 32px; }
  .breadcrumb .current { max-width: 220px; }
}

@media (max-width: 520px) {
  .article-meta { gap: 10px; }
  .article-hero h1 { font-size: 1.5rem; }
  .prose { font-size: 1rem; }
}
