/* roulang page: index */
:root {
  --primary: #0D5C4B;
  --primary-dark: #0A4A3C;
  --primary-deeper: #073B30;
  --primary-light: rgba(13,92,75,0.10);
  --primary-lighter: rgba(13,92,75,0.05);
  --secondary: #C4913F;
  --secondary-light: #D49F4E;
  --secondary-dark: #A87A2F;
  --bg: #F7F5F0;
  --bg-white: #FFFFFF;
  --bg-light: #EFEDE8;
  --bg-dark: #102A24;
  --text: #1F2A26;
  --text-secondary: #5A6662;
  --text-muted: #8B9591;
  --border: #DCD8D0;
  --success: #2E7D52;
  --error: #B3452E;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow: 0 2px 8px rgba(16,42,36,0.06);
  --shadow-hover: 0 8px 24px rgba(16,42,36,0.10);
  --transition: 0.2s ease;
  --container: 1200px;
  --font-title: "Noto Serif SC", "Source Han Serif SC", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "JetBrains Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (max-width: 639px) { .container { padding: 0 16px; } }

/* ===== Header & Nav ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(17,42,36,0.95); backdrop-filter: saturate(1.2) blur(8px); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.brand-bar { background: var(--bg-dark); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.06); }
.brand-bar .container { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.brand-logo:hover { color: var(--secondary-light); }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--secondary); color: var(--bg-dark); border-radius: 8px; font-size: 18px; font-weight: 700; }
.brand-actions { display: flex; align-items: center; gap: 12px; }
.brand-icon-link { color: rgba(255,255,255,0.75); font-size: 18px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-full); transition: all var(--transition); }
.brand-icon-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.channel-bar { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); }
.channel-nav { display: flex; align-items: center; gap: 6px; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.channel-nav::-webkit-scrollbar { display: none; }
.channel-link { padding: 12px 18px; font-size: 15px; font-weight: 500; color: var(--text-secondary); border-bottom: 2px solid transparent; white-space: nowrap; transition: all var(--transition); }
.channel-link:hover { color: var(--primary); border-bottom-color: rgba(13,92,75,0.4); }
.channel-link.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 500; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; padding: 8px; border-radius: 6px; }
.mobile-toggle:hover { background: rgba(255,255,255,0.1); }
.mobile-menu { display: none; background: var(--bg-dark); padding: 16px 20px 24px; }
.mobile-menu a { display: block; color: rgba(255,255,255,0.85); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 15px; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--secondary-light); }
.mobile-menu .mobile-register-btn { margin-top: 12px; display: inline-block; background: var(--secondary); color: var(--bg-dark); padding: 10px 24px; border-radius: var(--radius-full); font-weight: 600; }
@media (max-width: 639px) {
  .brand-bar .container { min-height: 52px; }
  .brand-logo { font-size: 18px; }
  .brand-actions .brand-icon-link { display: none; }
  .brand-actions .btn-sm { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .channel-bar { display: none; }
  .mobile-menu.open { display: block; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 0 24px; height: 44px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: all var(--transition); text-decoration: none; justify-content: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(13,92,75,0.25); }
.btn-primary:active { background: var(--primary-deeper); transform: translateY(0); }
.btn-outline { background: transparent; color: var(--primary) !important; border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-lighter); border-color: var(--primary-dark); }
.btn-cta { background: var(--secondary); color: #fff !important; height: 52px; padding: 0 32px; font-size: 16px; font-weight: 600; border-radius: var(--radius-sm); box-shadow: 0 4px 16px rgba(196,145,63,0.3); }
.btn-cta:hover { background: var(--secondary-light); box-shadow: 0 6px 20px rgba(196,145,63,0.4); transform: translateY(-2px); }
.btn-cta i { transition: transform var(--transition); }
.btn-cta:hover i { transform: translateX(4px); }
.btn-white { background: #fff; color: var(--primary) !important; font-weight: 600; }
.btn-white:hover { background: var(--bg-light); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff !important; border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }
.btn-sm { height: 32px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 16px; }
.btn-icon-circle { width: 48px; height: 48px; border-radius: var(--radius-full); display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); color: #fff; font-size: 20px; transition: all var(--transition); }
.btn-icon-circle:hover { background: rgba(255,255,255,0.3); transform: scale(1.05); color: #fff; }
.btn:focus-visible, .channel-link:focus-visible, a:focus-visible { outline: 3px solid rgba(196,145,63,0.5); outline-offset: 2px; }

/* ===== Hero ===== */
.hero-section { position: relative; min-height: 72vh; display: flex; align-items: center; background: linear-gradient(100deg, rgba(16,42,36,0.95) 0%, rgba(16,42,36,0.78) 45%, rgba(16,42,36,0.35) 100%), url('/assets/images/backpic/back-1.webp') center / cover no-repeat; color: #fff; padding: 80px 0; overflow: hidden; }
.hero-inner { width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(196,145,63,0.15); border: 1px solid rgba(196,145,63,0.4); color: var(--secondary-light); padding: 6px 16px; border-radius: var(--radius-full); font-size: 13px; letter-spacing: 1px; margin-bottom: 24px; }
.hero-title { font-family: var(--font-title); font-size: clamp(32px, 4.5vw, 52px); line-height: 1.25; font-weight: 700; color: #fff; max-width: 620px; margin-bottom: 20px; letter-spacing: 1px; }
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 560px; line-height: 1.8; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 56px; flex-wrap: wrap; }
.hero-stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-mono); font-size: 28px; font-weight: 600; color: var(--secondary-light); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }
.scroll-indicator { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255,255,255,0.5); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-indicator span { width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: scrollArrow 1.5s infinite; }
@keyframes scrollArrow { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 639px) { .hero-section { min-height: 90vh; padding: 60px 0; } .hero-stats { gap: 24px; } .hero-actions .btn { width: 100%; } }

/* ===== Section ===== */
.section { padding: clamp(64px, 8vw, 96px) 0; }
.section-white { background: #fff; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); }
.section-tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--primary); background: var(--primary-light); padding: 4px 16px; border-radius: var(--radius-full); margin-bottom: 12px; letter-spacing: 1px; }
.section-title { font-family: var(--font-title); font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 12px; }
.section-dark .section-title { color: #fff; }
.section-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.section-dark .section-desc { color: rgba(255,255,255,0.75); }

/* ===== Channel Cards ===== */
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.channel-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; align-items: flex-start; gap: 16px; transition: all var(--transition); }
.channel-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: rgba(13,92,75,0.4); }
.channel-icon { width: 52px; height: 52px; flex-shrink: 0; background: var(--primary-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--primary); }
.channel-info h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.channel-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 8px; }
.channel-meta { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
@media (max-width: 639px) { .channel-grid { grid-template-columns: 1fr; } }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { text-align: center; padding: 32px 20px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.feature-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: rgba(13,92,75,0.3); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: var(--primary-light); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--primary); position: relative; }
.feature-icon::after { content: ''; position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; background: var(--secondary); border-radius: 50%; border: 2px solid #fff; }
.feature-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 1023px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===== CMS List ===== */
.cms-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cms-list { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 8px 0; overflow: hidden; }
.cms-section-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 12px; border-bottom: 1px solid var(--border); }
.cms-section-title { font-family: var(--font-title); font-size: 18px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 10px; }
.cms-section-title::before { content: ''; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
.cms-list-item { display: flex; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #F0EEE9; transition: all var(--transition); }
.cms-list-item:last-child { border-bottom: none; }
.cms-list-item:hover { background: var(--primary-lighter); }
.cms-item-thumb { width: 120px; height: 84px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--bg-light); }
.cms-item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.cms-list-item:hover .cms-item-thumb img { transform: scale(1.05); }
.cms-item-content { flex: 1; min-width: 0; }
.cms-item-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; transition: color var(--transition); }
.cms-list-item:hover .cms-item-title { color: var(--primary); }
.cms-item-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cms-item-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.cms-item-meta .badge { background: var(--primary-light); color: var(--primary); padding: 2px 10px; border-radius: var(--radius-full); font-weight: 500; }
.cms-item-meta time { font-family: var(--font-mono); font-size: 12px; }
.empty-state { text-align: center; padding: 60px 24px; color: var(--text-muted); }
.empty-state i { font-size: 40px; margin-bottom: 12px; opacity: 0.4; }

/* ===== Sidebar ===== */
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }
.sidebar-title { font-size: 15px; font-weight: 600; padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; color: var(--text); }
.sidebar-title::before { content: ''; width: 4px; height: 16px; background: var(--primary); border-radius: 2px; }
.sidebar-body { padding: 16px 20px; }
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 10px; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--text-secondary); font-size: 14px; line-height: 1.6; display: block; transition: all var(--transition); }
.sidebar-list a:hover { color: var(--primary); padding-left: 4px; }
.sidebar-rank { font-family: var(--font-mono); font-size: 13px; color: var(--secondary); font-weight: 600; min-width: 24px; }
.sidebar-guide-card { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: var(--radius); padding: 24px; margin: 4px; }
.sidebar-guide-card h4 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.sidebar-guide-card p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.7; }
.sidebar-guide-card .btn { width: 100%; }
@media (max-width: 1023px) { .cms-wrap { grid-template-columns: 1fr; } .sidebar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .sidebar-widget { margin-bottom: 0; } }
@media (max-width: 639px) { .sidebar { grid-template-columns: 1fr; } .cms-item-thumb { width: 88px; height: 66px; } }

/* ===== Reco Cards ===== */
.reco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reco-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.reco-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: rgba(13,92,75,0.3); }
.reco-card-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-light); }
.reco-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.reco-card:hover .reco-card-cover img { transform: scale(1.04); }
.reco-card-cover .cover-badge { position: absolute; top: 12px; left: 12px; background: rgba(16,42,36,0.75); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: var(--radius-full); backdrop-filter: blur(6px); }
.reco-card-body { padding: 20px; }
.reco-card-body h3 { font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; color: var(--text); }
.reco-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reco-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.reco-card-meta a { font-weight: 500; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.reco-card-meta a:hover { color: var(--secondary); gap: 8px; }
@media (max-width: 1023px) { .reco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .reco-grid { grid-template-columns: 1fr; } }

/* ===== Trust ===== */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { text-align: center; padding: 24px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); }
.trust-num { font-family: var(--font-mono); font-size: 36px; font-weight: 600; color: var(--secondary-light); line-height: 1.2; margin-bottom: 6px; }
.trust-label { font-size: 14px; color: rgba(255,255,255,0.7); }
@media (max-width: 1023px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .trust-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: all var(--transition); }
.faq-item:hover { border-color: rgba(13,92,75,0.3); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; user-select: none; }
.faq-question h3 { font-size: 16px; font-weight: 500; color: var(--text); flex: 1; padding-right: 16px; }
.faq-toggle { width: 24px; height: 24px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; transition: transform 0.3s ease; }
.faq-toggle i { transition: transform 0.3s ease; }
.faq-item.open { border-color: rgba(13,92,75,0.4); box-shadow: var(--shadow); }
.faq-item.open .faq-toggle i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.8; }

/* ===== CTA ===== */
.cta-band { background: linear-gradient(135deg, var(--secondary) 0%, #D4A54E 100%); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.cta-band::after { content: ''; position: absolute; bottom: -60px; left: 30%; width: 160px; height: 160px; background: rgba(255,255,255,0.08); border-radius: 50%; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-text h2 { font-family: var(--font-title); font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,0.9); font-size: 15px; max-width: 480px; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-icon-btn { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--secondary-dark) !important; font-weight: 600; padding: 12px 24px; border-radius: var(--radius-full); box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all var(--transition); }
.cta-icon-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.cta-icon-btn i { font-size: 18px; }
.cta-icon-btn-outline { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.6); }
.cta-icon-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
@media (max-width: 639px) { .cta-inner { flex-direction: column; text-align: center; } .cta-buttons { justify-content: center; } }

/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 300px; line-height: 1.7; }
.footer-col h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 18px; font-family: var(--font-title); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 14px; transition: all var(--transition); }
.footer-col ul a:hover { color: var(--secondary-light); padding-left: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px 0 28px; gap: 12px; }
.footer-bottom .copyright { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom .domain { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.35); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; font-family: var(--font-body); }
.badge-primary { background: var(--primary-light); color: var(--primary); padding: 3px 12px; border-radius: var(--radius-full); }
.badge-secondary { background: rgba(196,145,63,0.12); color: var(--secondary-dark); padding: 3px 12px; border-radius: var(--radius-full); }
.divider { width: 60px; height: 3px; background: var(--secondary); border-radius: 2px; margin: 16px auto 0; }
.section-dark .divider { background: var(--secondary-light); }

/* roulang page: article */
:root {
  --primary: #0D5C4B;
  --primary-dark: #0A4A3C;
  --primary-darker: #073B30;
  --primary-light: rgba(13, 92, 75, 0.08);
  --secondary: #C4913F;
  --secondary-light: #D49F4E;
  --bg: #F7F5F0;
  --bg-white: #FFFFFF;
  --bg-gray: #EFEDE8;
  --bg-dark: #102A24;
  --text: #1F2A26;
  --text-2: #5A6662;
  --text-3: #8B9591;
  --border: #DCD8D0;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(16, 42, 36, 0.06);
  --shadow-hover: 0 8px 24px rgba(16, 42, 36, 0.10);
  --transition: 0.2s ease;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "PingFang SC", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "JetBrains Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(13, 92, 75, 0.35);
  outline-offset: 2px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; transition: all var(--transition); text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-primary:active { background: var(--primary-darker); }
.btn-outline { background: #fff; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary); }
.btn-cta { background: var(--secondary); color: #fff; height: 52px; padding: 0 32px; }
.btn-cta:hover { background: var(--secondary-light); color: #fff; }
.btn-cta i { transition: transform var(--transition); }
.btn-cta:hover i { transform: translateX(4px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--bg-gray); color: var(--primary); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { height: 32px; padding: 0 16px; font-size: 13px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 999px; line-height: 1.5;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
.top-strip { height: 4px; background: var(--primary); }
.brand-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: 0.5px; line-height: 1.2;
}
.brand-logo:hover { color: var(--primary); }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: var(--primary); color: #fff;
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  border-radius: 8px; flex-shrink: 0;
}
.brand-actions { display: flex; align-items: center; gap: 16px; }
.brand-actions .btn { height: 40px; padding: 0 20px; font-size: 14px; }
.search-toggle {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg-gray); color: var(--text);
  font-size: 16px; display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.search-toggle:hover { background: #e0ded8; }

.channel-nav {
  display: flex; align-items: center; gap: 32px; height: 50px;
  border-top: 1px solid var(--border);
  overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
}
.channel-nav::-webkit-scrollbar { display: none; }
.channel-link {
  position: relative; font-size: 15px; font-weight: 500;
  color: var(--text-2); white-space: nowrap;
  padding: 14px 0; transition: color var(--transition);
}
.channel-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--primary);
  transform: scaleX(0); transition: transform var(--transition);
}
.channel-link:hover { color: var(--primary); }
.channel-link.active { color: var(--primary); font-weight: 600; }
.channel-link.active::after { transform: scaleX(1); }

.tdk-bar {
  background: var(--bg-gray);
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--border);
}
.tdk-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--secondary);
  letter-spacing: 2px; margin-bottom: 12px;
}
.tdk-title {
  font-family: var(--font-serif); font-size: 24px; line-height: 1.4;
  color: var(--text); margin-bottom: 10px; max-width: 860px;
}
.tdk-desc { font-size: 14px; color: var(--text-2); max-width: 860px; line-height: 1.7; }

.article-section { padding-bottom: 72px; }
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--text-3); margin: 24px 0 16px;
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #c0c6c2; }
.breadcrumb .current {
  font-weight: 600; color: var(--text);
  max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
}

.article-main {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-header { padding: 40px 40px 24px; border-bottom: 1px solid var(--border); }
.article-header .badge { margin-bottom: 16px; }
.article-header h1 {
  font-family: var(--font-serif); font-size: 32px; line-height: 1.35;
  color: var(--text); margin-bottom: 16px;
}
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px;
  font-size: 13px; color: var(--text-3);
}
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-item i { color: var(--secondary); }

.article-content { padding: 32px 40px 40px; font-size: 16px; line-height: 1.9; color: var(--text); }
.article-content > *:last-child { margin-bottom: 0; }
.article-content p { margin-bottom: 1.6em; }
.article-content h2 {
  font-family: var(--font-serif); font-size: 24px;
  margin-top: 1.8em; margin-bottom: 0.8em;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.article-content h3 {
  font-family: var(--font-serif); font-size: 20px;
  margin-top: 1.6em; margin-bottom: 0.6em;
}
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content img {
  width: 100%; height: auto; border-radius: var(--radius);
  margin: 1.5em 0; border: 1px solid var(--border);
}
.article-content blockquote {
  border-left: 4px solid var(--primary); background: var(--bg-gray);
  padding: 1em 1.5em; margin: 1.5em 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-2); font-style: italic;
}
.article-content ul, .article-content ol { margin: 1em 0 1.6em; padding-left: 1.5em; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 0.5em; }
.article-content code {
  background: var(--bg-gray); padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 14px;
}
.article-content pre {
  background: var(--bg-dark); color: #eaf2ee; padding: 20px;
  border-radius: var(--radius); overflow-x: auto; margin: 1.5em 0;
}
.article-content pre code { background: none; padding: 0; color: inherit; }

.article-notfound { padding: 20px 20px 40px; text-align: center; }
.article-notfound .empty-state { padding: 36px 20px 20px; }
.article-tags { padding: 20px 40px 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex; align-items: center;
  background: var(--bg-gray); color: var(--text-2);
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); transition: var(--transition);
}
.tag:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.back-to-list { padding: 0 40px 40px; text-align: center; }

.related-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-top: 24px;
}
.section-title {
  font-family: var(--font-serif); font-size: 22px; color: var(--text);
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.section-title::before {
  content: ''; width: 4px; height: 20px;
  background: var(--secondary); border-radius: 2px;
}
.related-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
  height: 100%;
}
.related-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(13, 92, 75, 0.4);
}
.related-card img {
  width: 100%; height: 140px; object-fit: cover;
  transition: transform var(--transition);
}
.related-card:hover img { transform: scale(1.05); }
.related-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.related-card-body .badge { align-self: flex-start; margin-bottom: 10px; }
.related-card-body h3 {
  font-family: var(--font-serif); font-size: 16px; line-height: 1.5;
  margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.related-card-body p {
  font-size: 13px; color: var(--text-2); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px;
}
.related-card-link {
  margin-top: auto; font-size: 13px; font-weight: 600;
  color: var(--primary); display: inline-flex; align-items: center; gap: 4px;
}
.related-card-link:hover { color: var(--primary-dark); }
.related-card-link i { transition: transform var(--transition); }
.related-card-link:hover i { transform: translateX(3px); }

.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-title {
  font-family: var(--font-serif); font-size: 17px; color: var(--text);
  margin-bottom: 16px; padding-left: 12px; position: relative;
}
.sidebar-title::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 4px; height: 16px; background: var(--primary); border-radius: 2px;
}
.sidebar-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--text-2); line-height: 1.5;
  transition: color var(--transition);
}
.sidebar-list a:hover { color: var(--primary); }
.sidebar-list a::before {
  content: '\f105'; font-family: 'Font Awesome 6 Free';
  font-weight: 900; font-size: 13px; color: var(--secondary);
  margin-top: 2px; flex-shrink: 0;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.guide-card {
  background: var(--bg-dark); border: none; color: #fff;
  position: relative; overflow: hidden;
}
.guide-card::after {
  content: ''; position: absolute; right: -30px; top: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(196, 145, 63, 0.15);
}
.guide-card .guide-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.guide-card .guide-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--secondary); color: #fff; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.guide-card h3 { font-family: var(--font-serif); font-size: 18px; }
.guide-card p {
  font-size: 13px; color: rgba(255, 255, 255, 0.8);
  line-height: 1.6; margin-bottom: 18px;
}

.cta-band {
  background: linear-gradient(135deg, var(--secondary) 0%, #D4A254 60%, #E0B46C 100%);
  padding: 64px 0; color: #fff;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.cta-text h2 { font-family: var(--font-serif); font-size: 28px; margin-bottom: 8px; }
.cta-text p { font-size: 15px; opacity: 0.95; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.faq-section { padding: 72px 0; background: var(--bg-gray); }
.faq-section .section-head { text-align: center; margin-bottom: 40px; }
.faq-section .section-head h2 { font-family: var(--font-serif); font-size: 28px; color: var(--text); margin-bottom: 8px; }
.faq-section .section-head p { font-size: 15px; color: var(--text-2); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.faq-item.active { border-color: rgba(13, 92, 75, 0.3); box-shadow: var(--shadow); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; background: transparent;
  text-align: left; font-size: 15px; font-weight: 600; color: var(--text);
  transition: background var(--transition);
}
.faq-question:hover { background: rgba(13, 92, 75, 0.03); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-gray); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0; transition: all var(--transition);
}
.faq-item.active .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
}
.faq-item.active .faq-answer { max-height: 320px; padding: 0 22px 20px; }
.faq-answer p {
  font-size: 14px; color: var(--text-2); line-height: 1.7;
  border-top: 1px dashed var(--border); padding-top: 12px;
}

.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 36px; padding-bottom: 40px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
}
.footer-brand .brand-logo { color: #fff; font-size: 22px; margin-bottom: 14px; }
.footer-brand .brand-logo .logo-mark { background: var(--secondary); }
.footer-brand p {
  font-size: 14px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.7); max-width: 320px;
}
.footer-col h3 {
  font-size: 15px; font-weight: 600; color: #fff;
  margin-bottom: 18px; letter-spacing: 0.5px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, 0.7); transition: color var(--transition); }
.footer-col a:hover { color: var(--secondary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .domain { font-family: var(--font-mono); font-size: 13px; }

.empty-state { text-align: center; padding: 48px 20px; color: var(--text-3); }
.empty-state i { font-size: 40px; margin-bottom: 16px; display: block; color: #c8ccc9; }
.empty-state p { font-size: 15px; }

@media (max-width: 1024px) {
  .article-header { padding: 28px 24px 20px; }
  .article-content { padding: 24px 24px 32px; }
  .article-tags { padding: 16px 24px 24px; }
  .related-section { padding: 24px; }
  .back-to-list { padding: 0 24px 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand-row { height: 60px; }
  .brand-logo { font-size: 18px; }
  .logo-mark { width: 32px; height: 32px; font-size: 16px; border-radius: 6px; }
  .brand-actions .btn { display: none; }
  .channel-nav { height: 46px; gap: 24px; }
  .channel-link { font-size: 14px; padding: 12px 0; }
  .tdk-bar { padding: 24px 0; }
  .tdk-title { font-size: 18px; }
  .tdk-desc { font-size: 13px; }
  .article-header h1 { font-size: 24px; }
  .article-meta { gap: 12px; }
  .article-content { font-size: 15px; line-height: 1.8; }
  .cta-band { padding: 48px 0; }
  .cta-text h2 { font-size: 22px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .faq-section { padding: 48px 0; }
  .faq-section .section-head h2 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* roulang page: category1 */
:root {
  --primary: #0D5C4B;
  --primary-dark: #0A4A3C;
  --primary-darker: #073B30;
  --primary-soft: rgba(13, 92, 75, 0.1);
  --secondary: #C4913F;
  --secondary-light: #D49F4E;
  --secondary-dark: #A87932;
  --bg: #F7F5F0;
  --bg-white: #FFFFFF;
  --bg-gray: #EFEDE8;
  --dark: #102A24;
  --text: #1F2A26;
  --text-secondary: #5A6662;
  --text-muted: #8B9591;
  --border: #DCD8D0;
  --success: #2E7D52;
  --error: #B3452E;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(16, 42, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 42, 36, 0.10);
  --shadow-lg: 0 16px 40px rgba(16, 42, 36, 0.14);
  --transition: 0.2s ease;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "JetBrains Mono", monospace;
  --container: 1200px;
  --section-pad: clamp(64px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button, input, select, textarea { font-family: var(--font-sans); }
ul, ol { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section-alt { background: var(--bg-white); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 56px); }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2px; color: var(--secondary); font-weight: 500; margin-bottom: 12px; text-transform: uppercase; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--secondary); opacity: 0.6; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 34px); font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 12px; }
.section-head p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; border: 1px solid transparent;
  transition: all var(--transition); cursor: pointer; white-space: nowrap;
}
.btn i { font-size: 14px; transition: transform var(--transition); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 6px 20px rgba(13, 92, 75, 0.25); }
.btn-primary:active { background: var(--primary-darker); }
.btn-lg { height: 52px; padding: 0 32px; font-size: 16px; }
.btn-lg i { font-size: 16px; }
.btn-sm { height: 32px; padding: 0 16px; font-size: 13px; }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: rgba(13, 92, 75, 0.06); border-color: var(--primary-dark); }
.btn-cta { background: var(--secondary); color: #fff; font-weight: 600; box-shadow: 0 4px 14px rgba(196, 145, 63, 0.32); }
.btn-cta:hover { background: var(--secondary-light); color: #fff; box-shadow: 0 8px 24px rgba(196, 145, 63, 0.42); }
.btn-cta:hover i { transform: translateX(4px); }
.btn:focus-visible { outline: 3px solid rgba(13, 92, 75, 0.35); outline-offset: 2px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(247, 245, 240, 0.95); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
.top-strip { height: 4px; background: var(--primary); }
.brand-row { background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--border); }
.brand-row-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 21px; font-weight: 700; color: var(--text); line-height: 1.2; }
.brand-logo:hover { color: var(--primary); }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 8px; font-size: 17px; font-weight: 700; flex-shrink: 0; }
.brand-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: 1px solid var(--border); border-radius: 8px; font-size: 18px; color: var(--text); cursor: pointer; transition: all var(--transition); }
.menu-toggle:hover { border-color: var(--primary); color: var(--primary); }
.menu-toggle.active i::before { content: '\f00d'; }
.channel-nav { background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 48px; }
.channel-link { position: relative; display: inline-flex; align-items: center; height: 48px; padding: 0 2px; font-size: 15px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.2px; }
.channel-link::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform var(--transition); }
.channel-link:hover { color: var(--primary); }
.channel-link:hover::after, .channel-link.active::after { transform: scaleX(1); }
.channel-link.active { color: var(--primary); font-weight: 600; }
.nav-register-btn { display: none; margin-left: auto; }

.category-hero { position: relative; display: flex; align-items: center; min-height: 40vh; overflow: hidden; }
.category-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.category-hero-overlay { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(16, 42, 36, 0.92) 0%, rgba(13, 92, 75, 0.72) 55%, rgba(13, 92, 75, 0.42) 100%); z-index: 1; }
.category-hero-content { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 76px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; font-size: 13px; letter-spacing: 1px; padding: 5px 16px; border-radius: 999px; margin-bottom: 22px; backdrop-filter: blur(4px); }
.hero-badge i { font-size: 12px; }
.category-hero-content h1 { font-family: var(--font-serif); font-size: clamp(32px, 5vw, 46px); font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 18px; max-width: 640px; }
.category-hero-content .hero-subtitle { font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, 0.86); max-width: 580px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats-bar { position: relative; z-index: 2; margin-top: -44px; }
.hero-stats { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--border); }
.stat-item { padding: 24px 20px; text-align: center; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--border); }
.stat-num { display: block; font-family: var(--font-mono); font-size: 26px; font-weight: 500; color: var(--primary); line-height: 1.2; }
.stat-label { display: block; margin-top: 6px; font-size: 13px; color: var(--text-secondary); }

.directory-section { padding-top: clamp(72px, 9vw, 110px); padding-bottom: var(--section-pad); }
.directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin: 0 auto; }
.directory-card { display: flex; align-items: center; gap: 18px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 28px; transition: all var(--transition); }
.directory-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.directory-card .dir-icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; background: var(--primary-soft); color: var(--primary); border-radius: var(--radius-md); font-size: 20px; flex-shrink: 0; transition: all var(--transition); }
.directory-card.active .dir-icon { background: var(--primary); color: #fff; }
.directory-card.active { border-color: rgba(13, 92, 75, 0.4); box-shadow: var(--shadow-sm); }
.directory-card h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.directory-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.use-case-section { background: var(--bg-white); }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.use-case-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 36px 28px 32px; text-align: center; transition: all var(--transition); }
.use-case-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); background: var(--bg-white); }
.use-case-icon { width: 62px; height: 62px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; border-radius: 50%; font-size: 22px; box-shadow: 0 6px 16px rgba(13, 92, 75, 0.24); }
.use-case-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.use-case-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.process-section .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.process-step { text-align: center; padding: 0 8px; position: relative; }
.process-step::before { content: ''; position: absolute; top: 30px; left: -12%; width: calc(100% + 24%); height: 2px; background: linear-gradient(90deg, rgba(13, 92, 75, 0.2), rgba(13, 92, 75, 0.06)); }
.process-step:first-child::before { display: none; }
.step-num { display: inline-block; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--secondary); background: rgba(196, 145, 63, 0.1); padding: 3px 12px; border-radius: 999px; margin-bottom: 16px; }
.step-icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 18px; background: var(--primary); color: #fff; border-radius: 18px; font-size: 22px; box-shadow: 0 6px 18px rgba(13, 92, 75, 0.24); }
.process-step h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.process-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.content-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.content-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(13, 92, 75, 0.4); }
.card-media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.content-card:hover .card-media img { transform: scale(1.05); }
.card-badge { position: absolute; top: 12px; left: 12px; background: rgba(16, 42, 36, 0.78); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 14px; border-radius: 999px; backdrop-filter: blur(4px); letter-spacing: 0.4px; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.card-body h3 a { color: var(--text); transition: color var(--transition); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.meta-date { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.meta-tag { display: inline-flex; align-items: center; padding: 3px 12px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 500; border-radius: 999px; }

.cta-band { background: linear-gradient(135deg, #B8863B 0%, #D49F4E 55%, #C4913F 100%); padding: clamp(56px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -60px; right: -40px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.cta-band::after { content: ''; position: absolute; bottom: -80px; left: 30%; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 1; }
.cta-text h2 { font-family: var(--font-serif); font-size: clamp(24px, 3.5vw, 30px); font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.cta-text p { font-size: 15px; color: rgba(255, 255, 255, 0.92); line-height: 1.7; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-light { background: #fff; color: var(--secondary-dark); font-weight: 600; }
.btn-light:hover { background: rgba(255, 255, 255, 0.92); color: var(--primary); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }

.faq-section .faq-accordion { max-width: 860px; margin: 0 auto; background: transparent; border: none; }
.faq-accordion .accordion-item { background: var(--bg-white); border: 1px solid var(--border) !important; border-radius: var(--radius-md); margin-bottom: 14px; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), border-color var(--transition); overflow: hidden; }
.faq-accordion .accordion-item.is-active { border-color: rgba(13, 92, 75, 0.4) !important; box-shadow: var(--shadow-md); }
.faq-accordion .accordion-title { position: relative; padding: 20px 56px 20px 24px; font-size: 16px; font-weight: 500; color: var(--text); background: transparent; border-bottom: 0; transition: color var(--transition); line-height: 1.5; }
.faq-accordion .accordion-title:hover { color: var(--primary); }
.faq-accordion .accordion-item.is-active > .accordion-title { color: var(--primary); font-weight: 600; }
.faq-accordion .accordion-title::after { content: ''; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); border-radius: 50%; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 14px; content: '\2b'; transition: all var(--transition); line-height: 1; }
.faq-accordion .accordion-item.is-active > .accordion-title::after { transform: translateY(-50%) rotate(45deg); background: var(--primary); color: #fff; content: '\2b'; }
.faq-accordion .accordion-content { padding: 4px 24px 22px; background: rgba(13, 92, 75, 0.02); font-size: 15px; color: var(--text-secondary); line-height: 1.8; border-top: 1px solid var(--border); }

.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.82); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .brand-logo { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-logo:hover { color: var(--secondary-light); }
.footer-brand .logo-mark { background: var(--secondary); }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, 0.6); margin-top: 14px; max-width: 320px; }
.footer-col h3 { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--secondary); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255, 255, 255, 0.62); font-size: 14px; transition: all var(--transition); }
.footer-col ul li a:hover { color: var(--secondary-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom .copyright { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom .domain { font-family: var(--font-mono); font-size: 13px; color: rgba(255, 255, 255, 0.38); }

@media (max-width: 1024px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .process-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px 20px; }
  .process-step::before { display: none; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .brand-row-inner { height: 60px; }
  .brand-logo { font-size: 19px; }
  .menu-toggle { display: inline-flex; }
  .brand-actions .btn { display: none; }
  .channel-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 12px 28px rgba(16, 42, 36, 0.1); z-index: 999; }
  .channel-nav.nav-open { display: block; }
  .nav-inner { flex-direction: column; align-items: stretch; height: auto; padding: 12px 20px 20px; gap: 0; }
  .channel-link { height: 44px; width: 100%; justify-content: flex-start; border-bottom: 1px solid var(--bg-gray); font-size: 15px; }
  .channel-link::after { display: none; }
  .channel-link.active { color: var(--primary); }
  .nav-register-btn { display: inline-flex; margin-top: 16px; width: 100%; height: 44px; }
  .category-hero { min-height: 46vh; }
  .category-hero-content { padding-top: 48px; padding-bottom: 60px; }
  .hero-stats-bar { margin-top: -24px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-item { padding: 18px 8px; }
  .stat-num { font-size: 18px; }
  .stat-label { font-size: 12px; margin-top: 4px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { margin: 0 auto; }
  .cta-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .cta-actions .btn { width: 100%; }
  .directory-grid { grid-template-columns: 1fr; }
  .directory-card { padding: 20px 22px; }
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .use-case-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr !important; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats-bar { margin-top: -20px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .directory-card { flex-direction: row; align-items: center; }
  .faq-accordion .accordion-title { font-size: 15px; padding: 18px 48px 18px 18px; }
  .faq-accordion .accordion-content { font-size: 14px; padding: 2px 18px 18px; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { border-top: 1px solid var(--border); padding: 14px 12px; }
}
