/* roulang page: index */
/* ===== Design Tokens ===== */
:root {
  --primary: #2E6BE6;
  --primary-dark: #1D4FC4;
  --primary-light: #EAF1FD;
  --primary-glow: rgba(46,107,230,.18);
  --accent: #C9A45C;
  --accent-light: #F7EFE0;
  --bg: #F6F8FB;
  --card-bg: #FFFFFF;
  --title: #16233D;
  --text: #3D4D66;
  --text-secondary: #6B7A95;
  --text-muted: #A6B0C3;
  --border: #E3E9F2;
  --error: #D64545;
  --success: #2E9E5B;
  --warning: #D97706;

  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --fz-logo: 19px;
  --fz-h1: 38px;
  --fz-h2: 28px;
  --fz-h3: 21px;
  --fz-body: 15px;
  --fz-small: 13px;
  --fz-badge: 12px;

  --section-space: 88px;
  --section-space-mobile: 56px;

  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(20,30,60,.04), 0 8px 24px -12px rgba(20,50,120,.08);
  --shadow-hover: 0 2px 4px rgba(20,30,60,.05), 0 20px 40px -16px rgba(30,90,220,.16);
  --shadow-nav: 0 4px 24px -8px rgba(20,40,80,.10);

  --container: 1200px;
}

/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  font-size:var(--fz-body);
  line-height:1.75;
  color:var(--text);
  background:var(--bg);
  background-image:linear-gradient(180deg,#EDF2F9 0%,#FFFFFF 320px);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary-dark)}
ul,ol{list-style:none}
button{font-family:inherit;cursor:pointer}
input,button{border:none;outline:none}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.container{max-width:var(--container);margin:0 auto;padding:0 28px}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:46px;padding:0 24px;border-radius:var(--radius-btn);
  font-size:15px;font-weight:600;line-height:1;
  transition:all .25s ease;white-space:nowrap;
}
.btn i{font-size:14px}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 4px 14px rgba(46,107,230,.28)}
.btn-primary:hover{background:#3D7AF0;color:#fff;transform:translateY(-1px);box-shadow:0 6px 20px rgba(46,107,230,.35)}
.btn-primary:active{transform:translateY(0);box-shadow:0 2px 8px rgba(46,107,230,.25)}
.btn-secondary{background:transparent;color:var(--primary);border:1px solid var(--primary)}
.btn-secondary:hover{background:rgba(46,107,230,.08);color:var(--primary-dark);transform:translateY(-1px)}
.btn-secondary:active{transform:translateY(0)}
.btn-accent{background:var(--accent);color:#fff;box-shadow:0 4px 14px rgba(201,164,92,.3)}
.btn-accent:hover{background:#D4AF67;color:#fff;transform:scale(1.03)}
.btn-accent.faved{background:var(--accent);color:#fff}
.btn-sm{height:38px;padding:0 18px;font-size:14px}
.btn-lg{height:52px;padding:0 32px;font-size:16px}

/* ===== Badges & Tags ===== */
.badge{
  display:inline-block;padding:4px 12px;border-radius:var(--radius-pill);
  background:rgba(46,107,230,.10);color:var(--primary);
  font-size:var(--fz-badge);font-weight:600;line-height:1.5;
}
.badge-gold{background:var(--accent);color:#fff;border-radius:8px;padding:3px 10px;font-size:var(--fz-badge);font-weight:700}
.section-tag{
  display:inline-block;padding:4px 14px;border-radius:var(--radius-pill);
  background:rgba(46,107,230,.08);color:var(--primary);
  font-size:var(--fz-badge);font-weight:700;letter-spacing:.04em;
  margin-bottom:12px;
}

/* ===== Navigation ===== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;height:72px;
  background:rgba(255,255,255,.68);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  backdrop-filter:blur(18px) saturate(150%);
  border-bottom:1px solid rgba(255,255,255,.6);
  transition:all .25s ease;
}
.site-header.scrolled{
  background:rgba(255,255,255,.97);
  box-shadow:var(--shadow-nav);
  height:64px;
  border-bottom-color:var(--border);
}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo-mark{display:flex;align-items:center;justify-content:center}
.logo-text{font-size:var(--fz-logo);font-weight:700;color:var(--title);letter-spacing:-.01em}
.main-nav{display:flex;align-items:center;gap:4px}
.nav-link{
  position:relative;display:inline-flex;align-items:center;
  padding:10px 18px;border-radius:var(--radius-btn);
  color:var(--text-secondary);font-size:15px;font-weight:500;
  transition:all .22s ease;
}
.nav-link:hover{color:var(--primary);background:rgba(46,107,230,.07)}
.nav-link.active{color:var(--primary);font-weight:600;background:rgba(46,107,230,.09)}
.nav-link.active::after{
  content:'';position:absolute;left:18px;right:18px;bottom:4px;height:2px;
  background:var(--primary);border-radius:2px;
}
.nav-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}
.search-wrap{position:relative}
.search-toggle{
  width:40px;height:40px;border-radius:50%;
  background:rgba(46,107,230,.07);color:var(--primary);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;transition:all .22s ease;
}
.search-toggle:hover{background:rgba(46,107,230,.14)}
.search-box{
  position:absolute;right:0;top:calc(100% + 8px);width:280px;
  background:#fff;border-radius:var(--radius-btn);
  box-shadow:var(--shadow-nav);border:1px solid var(--border);
  padding:8px;opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:all .22s ease;z-index:100;
}
.search-box.open{opacity:1;visibility:visible;transform:translateY(0)}
.search-box input{
  width:100%;height:38px;padding:0 14px;border-radius:8px;
  border:1px solid var(--border);font-size:14px;color:var(--text);
  background:var(--bg);
}
.search-box input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-glow);background:#fff}
.menu-toggle{display:none;width:40px;height:40px;border-radius:8px;background:rgba(46,107,230,.07);color:var(--primary);font-size:17px;align-items:center;justify-content:center}

/* ===== Hero ===== */
.hero{
  position:relative;min-height:620px;display:flex;align-items:center;
  padding:140px 0 80px;overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;background-size:cover;background-position:center;
  z-index:0;
}
.hero-overlay{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(to right,rgba(255,255,255,.94) 0%,rgba(255,255,255,.82) 35%,rgba(255,255,255,.45) 75%,rgba(255,255,255,.15) 100%);
}
.hero::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(to right,var(--accent),rgba(201,164,92,.15));
  z-index:3;
}
.hero-content{position:relative;z-index:2;max-width:680px}
.hero-badge{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 16px;border-radius:var(--radius-pill);
  background:rgba(255,255,255,.88);border:1px solid rgba(46,107,230,.15);
  color:var(--primary);font-size:13px;font-weight:600;
  box-shadow:0 2px 10px rgba(20,40,80,.05);margin-bottom:20px;
}
.hero-badge i{font-size:12px;color:var(--accent)}
.hero h1{
  font-size:var(--fz-h1);font-weight:800;line-height:1.2;
  color:var(--title);letter-spacing:-.01em;margin-bottom:18px;
}
.hero-subtitle{
  font-size:17px;line-height:1.75;color:var(--text);
  margin-bottom:32px;max-width:560px;
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}

/* ===== Feature Strip ===== */
.feature-strip{
  background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--border);
  padding:28px 0;
}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.feature-item{display:flex;align-items:center;gap:14px;padding:8px 0}
.feature-icon{
  width:46px;height:46px;border-radius:12px;flex-shrink:0;
  background:var(--primary-light);color:var(--primary);
  display:flex;align-items:center;justify-content:center;font-size:18px;
}
.feature-info strong{display:block;font-size:15px;font-weight:700;color:var(--title);line-height:1.3}
.feature-info span{font-size:13px;color:var(--text-secondary);line-height:1.4}

/* ===== Section ===== */
.section{padding:var(--section-space) 0}
.section-header{text-align:center;margin-bottom:48px}
.section-header h2{
  font-size:var(--fz-h2);font-weight:800;color:var(--title);
  letter-spacing:-.01em;margin-bottom:8px;
}
.section-header p{font-size:15px;color:var(--text-secondary);max-width:560px;margin:0 auto}

/* ===== Collections ===== */
.collection-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.collection-card{
  display:flex;background:var(--card-bg);border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);overflow:hidden;
  transition:all .35s ease;position:relative;
}
.collection-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-3px)}
.collection-card:nth-child(even){flex-direction:row-reverse}
.collection-cover{flex:0 0 42%;position:relative;overflow:hidden;min-height:220px}
.collection-cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.collection-card:hover .collection-cover img{transform:scale(1.03)}
.collection-body{flex:1;padding:28px;display:flex;flex-direction:column;justify-content:center}
.collection-body h3{font-size:20px;font-weight:700;color:var(--title);margin-bottom:10px}
.collection-body p{font-size:14px;color:var(--text-secondary);line-height:1.65;margin-bottom:16px}
.collection-meta{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.collection-count{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:4px}
.collection-count i{color:var(--accent);font-size:11px}
.collection-link{
  display:inline-flex;align-items:center;gap:6px;
  color:var(--primary);font-size:14px;font-weight:600;
  transition:gap .22s ease;
}
.collection-link:hover{gap:10px;color:var(--primary-dark)}
.collection-link i{font-size:13px}
.collection-badge{
  position:absolute;top:14px;left:14px;z-index:2;
}

/* ===== Featured List ===== */
.featured-list{display:flex;flex-direction:column;gap:0}
.featured-item{
  display:flex;align-items:center;gap:24px;
  padding:24px 16px;border-radius:var(--radius-card);
  transition:all .3s ease;border-bottom:1px solid var(--border);
}
.featured-item:last-child{border-bottom:none}
.featured-item:hover{background:#fff;box-shadow:var(--shadow-hover);transform:translateY(-2px);border-radius:var(--radius-card)}
.featured-number{
  font-size:40px;font-weight:800;color:var(--border);
  font-variant-numeric:tabular-nums;line-height:1;width:64px;flex-shrink:0;
  transition:color .3s ease;
}
.featured-item:hover .featured-number{color:var(--primary)}
.featured-thumb{
  width:200px;height:125px;border-radius:12px;overflow:hidden;flex-shrink:0;
}
.featured-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.featured-item:hover .featured-thumb img{transform:scale(1.03)}
.featured-info{flex:1;min-width:0}
.featured-info h3{font-size:18px;font-weight:700;color:var(--title);margin-bottom:6px;line-height:1.4}
.featured-info p{
  font-size:14px;color:var(--text-secondary);line-height:1.6;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin-bottom:10px;
}
.featured-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--text-muted)}
.featured-meta time{font-variant-numeric:tabular-nums}
.featured-link{
  flex-shrink:0;font-size:14px;font-weight:600;color:var(--primary);
  display:inline-flex;align-items:center;gap:6px;padding:8px 0;
}

/* ===== News / CMS ===== */
.news{
  background:linear-gradient(180deg,#fff 0%,var(--bg) 100%);
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
}
.cms-list{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.news-item{
  background:var(--card-bg);border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);padding:24px 28px;
  transition:all .3s ease;position:relative;
}
.news-item:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.news-meta{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.news-date{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums}
.news-date i{font-size:11px}
.news-item h3{font-size:18px;font-weight:700;color:var(--title);margin-bottom:8px;line-height:1.4}
.news-item h3 a{color:inherit}
.news-item h3 a:hover{color:var(--primary)}
.news-item p{
  font-size:14px;color:var(--text-secondary);line-height:1.65;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin-bottom:14px;
}
.news-more{
  font-size:14px;font-weight:600;color:var(--primary);
  display:inline-flex;align-items:center;gap:5px;transition:gap .22s ease;
}
.news-more:hover{gap:9px;color:var(--primary-dark)}
.cms-empty{
  grid-column:1/-1;text-align:center;padding:60px 20px;
  background:var(--card-bg);border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
}
.cms-empty .empty-icon{
  width:64px;height:64px;border-radius:50%;
  background:rgba(46,107,230,.07);color:var(--primary);
  display:flex;align-items:center;justify-content:center;
  font-size:26px;margin:0 auto 16px;
}
.cms-empty p{font-size:15px;color:var(--text-secondary);margin-bottom:20px}

/* ===== Related ===== */
.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.related-card{
  background:var(--card-bg);border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);overflow:hidden;
  transition:all .3s ease;
}
.related-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}
.related-cover{position:relative;aspect-ratio:4/3;overflow:hidden}
.related-cover img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.related-card:hover .related-cover img{transform:scale(1.03)}
.related-body{padding:16px 18px}
.related-body h3{font-size:15px;font-weight:600;color:var(--title);line-height:1.4;margin-bottom:6px}
.related-body time{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}
.related-body time i{font-size:11px}

/* ===== FAQ ===== */
.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.faq-item{
  background:var(--card-bg);border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);overflow:hidden;
  transition:box-shadow .3s ease;
}
.faq-item:hover{box-shadow:var(--shadow-hover)}
.faq-question{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;background:transparent;text-align:left;
  font-size:16px;font-weight:600;color:var(--title);
  min-height:56px;transition:background .22s ease;border-radius:var(--radius-card);
}
.faq-question:hover{background:rgba(46,107,230,.03)}
.faq-icon{
  width:24px;height:24px;border-radius:50%;flex-shrink:0;
  background:var(--accent);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;
  transition:transform .25s ease;margin-left:12px;
}
.faq-item.active .faq-icon{transform:rotate(45deg)}
.faq-answer{
  max-height:0;overflow:hidden;transition:max-height .3s ease;
  padding:0 24px;font-size:14px;color:var(--text-secondary);line-height:1.7;
}
.faq-item.active .faq-answer{max-height:300px;padding-bottom:20px}

/* ===== CTA ===== */
.cta-bar{
  padding:64px 0;
  background:linear-gradient(135deg,#EAF1FD 0%,#F6F8FB 60%,#FFFFFF 100%);
  border-top:1px solid var(--border);
}
.cta-inner{
  display:flex;align-items:center;justify-content:space-between;gap:32px;
  background:rgba(255,255,255,.85);border-radius:var(--radius-card);
  padding:36px 44px;box-shadow:var(--shadow-card);
  border:1px solid rgba(46,107,230,.08);
}
.cta-text h3{font-size:20px;font-weight:700;color:var(--title);margin-bottom:4px}
.cta-text p{font-size:14px;color:var(--text-secondary)}
.cta-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.share-icons{display:flex;gap:10px}
.share-link{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--bg);color:var(--text-secondary);font-size:15px;
  border:1px solid var(--border);transition:all .22s ease;
}
.share-link:hover{background:var(--primary);color:#fff;border-color:var(--primary);transform:scale(1.06)}

/* ===== Footer ===== */
.site-footer{
  background:#16233D;color:#A6B0C3;padding:64px 0 0;position:relative;overflow:hidden;
}
.site-footer::before{
  content:'';position:absolute;inset:0;opacity:.04;
  background-image:radial-gradient(circle at 20% 30%,#fff 1px,transparent 1px);
  background-size:28px 28px;pointer-events:none;
}
.footer-grid{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:44px;
  position:relative;z-index:1;padding-bottom:48px;
}
.footer-brand .footer-logo{
  font-size:22px;font-weight:800;color:#fff;margin-bottom:12px;
  display:flex;align-items:center;gap:8px;
}
.footer-brand p{font-size:14px;line-height:1.7;color:#A6B0C3;max-width:260px}
.footer-links h4,.footer-info h4{
  font-size:15px;font-weight:700;color:#fff;margin-bottom:16px;
  letter-spacing:.02em;
}
.footer-links a{
  display:block;font-size:14px;color:#A6B0C3;padding:6px 0;
  transition:color .2s ease;
}
.footer-links a:hover{color:#7FA8FF}
.footer-info p{font-size:14px;line-height:1.7;color:#A6B0C3}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:22px 0;display:flex;align-items:center;justify-content:space-between;
  font-size:13px;color:#7A879D;position:relative;z-index:1;
}
.footer-bottom span{display:flex;align-items:center;gap:6px}

/* ===== Responsive ===== */
@media (max-width:1024px){
  .feature-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .collection-grid{grid-template-columns:1fr}
  .collection-card:nth-child(even){flex-direction:row}
  .related-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr);gap:32px}
}

@media (max-width:768px){
  .section{padding:var(--section-space-mobile) 0}
  :root{--fz-h1:32px;--fz-h2:24px}
  .header-inner{gap:12px}
  .main-nav{
    position:fixed;top:64px;left:0;right:0;bottom:auto;
    background:#fff;flex-direction:column;align-items:stretch;
    padding:16px 20px 20px;gap:4px;
    box-shadow:var(--shadow-nav);border-radius:0 0 16px 16px;
    transform:translateY(-120%);opacity:0;visibility:hidden;
    transition:all .3s ease;z-index:999;
  }
  .main-nav.open{transform:translateY(0);opacity:1;visibility:visible}
  .nav-link{
    padding:16px 20px;font-size:16px;border-radius:10px;justify-content:flex-start;
  }
  .nav-link.active{background:rgba(46,107,230,.08)}
  .nav-link.active::after{display:none}
  .menu-toggle{display:flex}
  .hero{min-height:540px;padding:120px 0 64px}
  .hero-subtitle{font-size:15px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
  .feature-grid{grid-template-columns:1fr 1fr;gap:16px}
  .cms-list{grid-template-columns:1fr}
  .collection-card,.collection-card:nth-child(even){flex-direction:column}
  .collection-cover{flex:none;width:100%;min-height:180px}
  .featured-item{flex-wrap:wrap;gap:14px}
  .featured-number{width:40px;font-size:30px}
  .featured-thumb{width:100%;height:auto;aspect-ratio:16/9}
  .featured-link{display:none}
  .faq-grid{grid-template-columns:1fr}
  .cta-inner{flex-direction:column;align-items:flex-start;padding:28px}
  .cta-actions{width:100%;flex-wrap:wrap}
  .footer-grid{grid-template-columns:1fr;gap:32px}
  .footer-bottom{flex-direction:column;gap:8px;text-align:center}
  .search-box{width:220px;right:0}
}

@media (max-width:520px){
  .container{padding:0 20px}
  .feature-grid{grid-template-columns:1fr}
  .related-grid{grid-template-columns:1fr}
  .hero h1{font-size:28px}
  .hero-badge{font-size:12px}
  .collection-body{padding:22px}
  .news-item{padding:20px}
  .cta-actions{flex-direction:column;align-items:stretch}
  .share-icons{justify-content:center}
}

/* roulang page: article */
:root {
  --primary: #2E6BE6;
  --primary-hover: #1F5CD9;
  --primary-light: rgba(46, 107, 230, .10);
  --gold: #C9A45C;
  --gold-light: rgba(201, 164, 92, .14);
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --text-head: #16233D;
  --text-body: #3D4D66;
  --text-muted: #6B7A95;
  --text-faint: #A6B0C3;
  --border: #E3E9F2;
  --danger: #D64545;
  --success: #2E9E5B;
  --warning: #D97706;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 60, .04), 0 8px 24px -12px rgba(20, 50, 120, .08);
  --shadow-hover: 0 2px 4px rgba(20, 30, 60, .05), 0 20px 40px -16px rgba(30, 90, 220, .16);
  --shadow-nav: 0 4px 24px -8px rgba(20, 40, 80, .10);
  --container: 1200px;
  --header-h: 72px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: linear-gradient(180deg, #EDF2F9 0%, var(--bg) 320px);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-hover); }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(46, 107, 230, .45);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(46, 107, 230, .55);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: rgba(46, 107, 230, .06); color: var(--primary-hover); }
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  border-radius: var(--radius-pill);
}
.btn-gold:hover { filter: brightness(1.05); color: #fff; transform: scale(1.02); }
.btn-gold.is-fav { background: var(--gold); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ========== 导航 ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 999;
  background: rgba(255, 255, 255, .68);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-nav);
  height: 64px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand:hover { color: var(--text-head); opacity: .92; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; position: relative; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-body);
  transition: all .2s ease;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.search-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .25s ease;
  z-index: 20;
}
.search-pop.open { opacity: 1; visibility: visible; transform: translateY(0); }
.search-pop input {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-body);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-pop input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46, 107, 230, .12); }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.nav-burger span { width: 18px; height: 2px; background: var(--text-head); border-radius: 2px; transition: all .25s ease; }
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== 页面头部 ========== */
.page-hero {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, .97) 42%, rgba(246, 248, 251, .92) 100%),
    url('/assets/images/backpic/back-1.webp') center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  padding: 136px 0 56px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-faint); }
.breadcrumb .current { color: var(--text-head); font-weight: 500; }
.badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.article-title {
  margin-top: 16px;
  font-size: clamp(30px, 4.5vw, 38px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--text-head);
  max-width: 860px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.meta-divider { color: var(--text-faint); }

/* ========== 正文区域 ========== */
.article-main { padding: 0 0 24px; }
.article-container { max-width: 900px; }
.article-body {
  max-width: 720px;
  margin: 56px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
  word-wrap: break-word;
}
.article-body p { margin: 0 0 24px; }
.article-body > p:first-of-type { font-size: 17px; color: var(--text-head); }
.article-body h2 {
  font-size: 27px;
  font-weight: 700;
  color: var(--text-head);
  margin: 48px 0 18px;
  line-height: 1.35;
}
.article-body h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--text-head);
  margin: 34px 0 14px;
  line-height: 1.4;
}
.article-body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-head);
  margin: 26px 0 12px;
}
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--text-head); font-weight: 700; }
.article-body ul,
.article-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--primary);
  background: rgba(46, 107, 230, .06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-body);
  font-style: normal;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body img {
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin: 28px auto;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
}
.article-body th,
.article-body td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}
.article-body th { background: #F1F5FB; color: var(--text-head); font-weight: 600; }
.article-body tr:nth-child(even) td { background: #FAFBFD; }
.article-body pre {
  background: #16233D;
  color: #E6EDF7;
  border-radius: 12px;
  padding: 22px 24px;
  overflow-x: auto;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.7;
}
.article-body code {
  font-family: "SF Mono", "JetBrains Mono", Consolas, Monaco, monospace;
  font-size: 14px;
  background: rgba(46, 107, 230, .08);
  color: var(--primary-hover);
  padding: 2px 6px;
  border-radius: 5px;
}
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ========== 空状态 ========== */
.not-found {
  max-width: 560px;
  margin: 80px auto;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 64px 32px;
}
.not-found .nf-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(46, 107, 230, .08);
  color: var(--primary);
}
.not-found h2 { font-size: 24px; color: var(--text-head); margin-bottom: 10px; }
.not-found p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

/* ========== 文末操作 ========== */
.post-actions {
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.action-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.action-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-head);
}
.share-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .2s ease;
}
.share-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.share-btn.fav-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-light); }
.share-btn.fav-btn.is-fav { background: var(--gold); border-color: var(--gold); color: #fff; }
.pager-links {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}
.pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  transition: all .2s ease;
}
.pager-link:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.pager-link .pager-label { font-size: 12px; color: var(--text-faint); }
.pager-link .pager-title { font-size: 15px; font-weight: 600; color: var(--text-head); }
.pager-link.pager-back {
  background: var(--primary-light);
  border-color: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  align-items: center;
  min-height: 66px;
}
.pager-link.pager-back:hover { background: rgba(46, 107, 230, .16); }
.pager-link.pager-next { text-align: right; align-items: flex-end; }

/* ========== 通用板块 ========== */
.section { padding: 80px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.section-kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-head);
  letter-spacing: -0.01em;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 4px;
}
.link-more:hover { gap: 10px; }

/* ========== 相关推荐 ========== */
.related-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(227, 233, 242, .7);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.related-cover { aspect-ratio: 4 / 3; overflow: hidden; background: #EDF2F9; }
.related-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-card:hover .related-cover img { transform: scale(1.04); }
.related-body { padding: 18px 20px 20px; }
.related-body h3 { font-size: 15px; font-weight: 600; color: var(--text-head); line-height: 1.5; margin-bottom: 8px; }
.related-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.related-body time { font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums; }

/* ========== CTA ========== */
.cta-section { padding: 0 0 80px; }
.cta-band {
  background: linear-gradient(120deg, #EAF1FD 0%, #F6F8FB 62%, #FFFFFF 100%);
  border-radius: 18px;
  border: 1px solid rgba(227, 233, 242, .8);
  padding: 44px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}
.cta-text h2 { font-size: 24px; font-weight: 700; color: var(--text-head); margin-bottom: 8px; }
.cta-text p { font-size: 15px; color: var(--text-muted); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ========== 页脚 ========== */
.site-footer {
  background: #16233D;
  color: #A6B0C3;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.footer-links h4, .footer-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #A6B0C3; font-size: 14px; transition: color .2s ease; }
.footer-links a:hover { color: #7FA8FF; }
.footer-info p { font-size: 14px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: rgba(166, 176, 195, .75);
}

/* ========== 移动端 ========== */
@media (max-width: 1023px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .site-header { height: 64px; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    box-shadow: var(--shadow-nav);
    border-bottom: 1px solid var(--border);
    display: none;
    z-index: 998;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 14px 16px; font-size: 16px; border-radius: 10px; justify-content: center; }
  .header-actions .icon-btn { display: none; }
  .header-actions .btn-primary { display: none; }
  .nav-burger { display: inline-flex; }
  .breadcrumb { font-size: 12px; gap: 6px; }
  .page-hero { padding: 110px 0 40px; }
  .article-body { margin-top: 40px; font-size: 15px; line-height: 1.85; }
  .article-title { font-size: 28px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .related-grid { grid-template-columns: 1fr; }
  .pager-links { grid-template-columns: 1fr; }
  .pager-link.pager-back { order: -1; }
  .cta-band { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .footer-brand p { max-width: 100%; }
  .action-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .hero-badge { font-size: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
}

/* roulang page: category1 */
:root {
  --primary: #2E6BE6;
  --primary-dark: #2457C2;
  --primary-light: #EAF1FD;
  --gold: #C9A45C;
  --bg: #F6F8FB;
  --white: #FFFFFF;
  --title: #16233D;
  --text: #3D4D66;
  --muted: #6B7A95;
  --faint: #A6B0C3;
  --border: #E3E9F2;
  --success: #2E9E5B;
  --warning: #D97706;
  --error: #D64545;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-badge: 999px;
  --shadow-card: 0 1px 2px rgba(20,30,60,.04), 0 8px 24px -12px rgba(20,50,120,.08);
  --shadow-hover: 0 2px 4px rgba(20,30,60,.05), 0 20px 40px -16px rgba(30,90,220,.16);
  --shadow-nav: 0 4px 24px -8px rgba(20,40,80,.10);
  --container: 1200px;
  --spacer: 80px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: var(--font);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(46,107,230,.45);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(46,107,230,.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(46,107,230,.4);
}

.btn-ghost:hover {
  background: rgba(46,107,230,.08);
  color: var(--primary-dark);
  border-color: rgba(46,107,230,.6);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-badge);
  box-shadow: 0 6px 18px -8px rgba(201,164,92,.5);
}

.btn-gold:hover {
  background: #B8924A;
  color: #fff;
  transform: scale(1.03);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn:focus-visible,
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ========== 导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(255,255,255,.68);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,.7);
  transition: background .3s ease, height .25s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  height: 64px;
  box-shadow: var(--shadow-nav);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--title);
  letter-spacing: -0.01em;
  min-height: 44px;
}

.brand-logo svg {
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--title);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: right .25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  right: 0;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-badge);
  color: var(--muted);
  transition: background .2s ease, color .2s ease;
}

.search-toggle:hover {
  background: rgba(46,107,230,.08);
  color: var(--primary);
}

.search-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  background: rgba(46,107,230,.06);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--title);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.search-panel {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  box-shadow: var(--shadow-nav);
}

.search-panel.open {
  display: block;
}

.search-panel .container {
  display: flex;
  gap: 12px;
}

.search-panel input {
  flex: 1;
  height: 46px;
  border: 1px solid #D7DEE9;
  border-radius: var(--radius-btn);
  padding: 0 16px;
  font-size: 15px;
  color: var(--title);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.search-panel input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(46,107,230,.12);
}

/* ========== Hero ========== */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,.4) 100%),
              url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46,107,230,.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-badge);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--title);
  max-width: 640px;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== 概览数据 ========== */
.section-overview {
  padding: var(--spacer) 0 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.overview-item {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.overview-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.overview-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.overview-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ========== 通用板块 ========== */
.section {
  padding: var(--spacer) 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(46,107,230,.1);
  padding: 6px 16px;
  border-radius: var(--radius-badge);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--title);
  line-height: 1.3;
}

.section-head p {
  max-width: 620px;
  margin: 12px auto 0;
  font-size: 15px;
  color: var(--muted);
}

.section-head .gold-line {
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  margin: 18px auto 0;
}

/* ========== 内容方向 ========== */
.section-direction {
  padding: var(--spacer) 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.direction-card {
  padding: 32px 28px;
  border-radius: var(--radius-card);
  background: var(--bg);
  border: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.direction-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.direction-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(46,107,230,.1);
  margin-bottom: 20px;
}

.direction-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.direction-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 12px;
}

.direction-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ========== 静态条目网格 ========== */
.section-items {
  padding: var(--spacer) 0 0;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.item-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.item-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.item-card:hover .item-cover img {
  transform: scale(1.03);
}

.item-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-badge);
  box-shadow: 0 2px 8px rgba(20,40,80,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 18px;
}

.item-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--title);
  line-height: 1.45;
  margin-bottom: 10px;
}

.item-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}

.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}

.item-date {
  font-size: 13px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 8px;
  margin: -8px -8px -8px 0;
  border-radius: 8px;
  transition: background .2s ease;
}

.card-link:hover {
  background: rgba(46,107,230,.08);
  color: var(--primary-dark);
}

/* ========== 流程 ========== */
.section-steps {
  padding: var(--spacer) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--primary-light);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  counter-increment: step;
}

.step-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}

.step-item::before {
  content: counter(step, decimal-leading-zero);
  font-size: 28px;
  font-weight: 800;
  color: rgba(46,107,230,.25);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========== FAQ ========== */
.section-faq {
  padding: var(--spacer) 0;
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item.open {
  border-color: rgba(46,107,230,.3);
  box-shadow: 0 8px 24px -12px rgba(46,107,230,.15);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--title);
  text-align: left;
  min-height: 56px;
  transition: color .2s ease;
}

.faq-q:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--gold);
  transition: transform .2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.faq-item.open .faq-a {
  max-height: 260px;
}

.faq-a p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ========== CTA ========== */
.section-cta {
  padding: 0 0 var(--spacer);
}

.cta-box {
  background: linear-gradient(120deg, #EAF1FD 0%, #F6F8FB 70%);
  border: 1px solid rgba(46,107,230,.15);
  border-radius: 20px;
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-box h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #16233D;
  color: #A6B0C3;
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  opacity: .06;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #A6B0C3;
  max-width: 280px;
}

.footer-links h4,
.footer-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: #A6B0C3;
  padding: 5px 0;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #7FA8FF;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.7;
  color: #A6B0C3;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #6B7A95;
}

/* ========== 响应式 ========== */
@media (max-width: 1023px) {
  :root {
    --spacer: 64px;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --spacer: 48px;
  }

  .container {
    padding: 0 20px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 340px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 28px 32px;
    box-shadow: -12px 0 32px rgba(20,40,80,.12);
    transition: right .3s ease;
    z-index: 998;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-link {
    min-height: 48px;
    font-size: 16px;
    padding: 0;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--primary);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .page-hero {
    min-height: 420px;
    padding: 120px 0 60px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .overview-item {
    padding: 20px 16px;
  }

  .overview-num {
    font-size: 26px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .items-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 32px 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 27px;
  }
}
