/* roulang page: index */
/* ===== 设计变量 ===== */
:root{
  --bg-primary:#0b1120;
  --bg-secondary:#0f172a;
  --bg-tertiary:#0d1424;
  --bg-card:rgba(17,28,48,0.85);
  --accent-cyan:#00d4ff;
  --accent-cyan-hover:#00b3d9;
  --accent-purple:#7b61ff;
  --accent-gold:#f7c948;
  --text-primary:#e2e8f0;
  --text-secondary:#94a3b8;
  --text-muted:#64748b;
  --border-subtle:rgba(148,163,184,0.18);
  --border-accent:rgba(0,212,255,0.35);
  --font-sans:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;
  --font-display:"DIN Alternate","Bahnschrift",sans-serif;
  --radius-card:12px;
  --radius-btn:8px;
  --radius-badge:4px;
  --shadow-card:0 4px 16px rgba(0,0,0,0.25);
  --shadow-card-hover:0 12px 32px rgba(0,0,0,0.3);
  --shadow-glow:0 0 24px rgba(0,212,255,0.3);
  --transition:0.25s ease;
}

/* ===== Reset / Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-sans);
  background:var(--bg-primary);
  color:var(--text-primary);
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none;transition:color var(--transition)}
ul,ol{list-style:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}
input{font-family:inherit}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.section-block{padding:80px 0}
.section-block-alt{background:var(--bg-secondary)}
.section-title{
  font-size:36px;
  font-weight:700;
  line-height:1.2;
  margin-bottom:12px;
  padding-left:16px;
  border-left:4px solid var(--accent-cyan);
}
.section-subhead{
  font-size:16px;
  color:var(--text-secondary);
  margin-bottom:48px;
  padding-left:20px;
  max-width:760px;
}
.section-head{margin-bottom:16px}
@media screen and (max-width:768px){
  .section-block{padding:48px 0}
  .section-title{font-size:26px}
}

/* ===== 按钮 ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:15px;
  font-weight:600;
  line-height:1;
  padding:14px 28px;
  border-radius:var(--radius-btn);
  transition:all var(--transition);
  border:1px solid transparent;
}
.btn-sm{padding:9px 18px;font-size:13px}
.btn-primary{
  background:linear-gradient(135deg,var(--accent-cyan) 0%,var(--accent-purple) 120%);
  color:#04121a;
  box-shadow:0 0 16px rgba(0,212,255,0.25);
}
.btn-primary:hover,.btn-primary:focus{
  background:linear-gradient(135deg,#33ddff 0%,var(--accent-purple) 120%);
  box-shadow:var(--shadow-glow);
  color:#04121a;
  transform:translateY(-1px);
}
.btn-primary:active{transform:translateY(1px) scale(0.98)}
.btn-outline{
  border-color:rgba(0,212,255,0.4);
  color:var(--accent-cyan);
  background:rgba(0,212,255,0.05);
}
.btn-outline:hover,.btn-outline:focus{
  border-color:var(--accent-cyan);
  background:rgba(0,212,255,0.12);
  box-shadow:0 0 20px rgba(0,212,255,0.15);
  color:#fff;
}
.btn-outline:active{transform:translateY(1px)}
.btn-lg{padding:16px 40px;font-size:17px}
a:focus-visible,button:focus-visible,input:focus-visible{
  outline:2px solid var(--accent-cyan);
  outline-offset:2px;
}

/* ===== 导航 ===== */
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  height:64px;
  background:rgba(11,17,32,0.6);
  border-bottom:1px solid rgba(148,163,184,0.08);
  transition:background 0.3s ease,border-color 0.3s ease,box-shadow 0.3s ease;
}
.site-header.is-scrolled{
  background:rgba(10,15,28,0.85);
  border-bottom-color:rgba(0,212,255,0.15);
  box-shadow:0 4px 24px rgba(0,0,0,0.3);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.header-inner{
  max-width:1200px;
  margin:0 auto;
  height:64px;
  padding:0 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.header-left{
  display:flex;
  align-items:center;
  gap:16px;
}
.header-right{
  display:flex;
  align-items:center;
  gap:32px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:20px;
  font-weight:700;
  color:#fff;
  letter-spacing:0.5px;
}
.logo svg{flex-shrink:0}
.logo span{white-space:nowrap}
.main-nav ul{
  display:flex;
  align-items:center;
  gap:8px;
}
.main-nav a{
  display:block;
  padding:8px 14px;
  font-size:15px;
  color:var(--text-secondary);
  border-radius:6px;
  transition:all var(--transition);
  position:relative;
  white-space:nowrap;
}
.main-nav a:hover{
  color:#fff;
}
.main-nav a.active{
  color:#fff;
}
.main-nav a.active::after{
  content:'';
  position:absolute;
  bottom:2px;
  left:14px;
  right:14px;
  height:2px;
  background:var(--accent-cyan);
  border-radius:2px;
}
.search-trigger{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;
  border-radius:8px;
  color:var(--text-secondary);
  transition:all var(--transition);
}
.search-trigger:hover,.search-trigger:focus{
  color:var(--accent-cyan);
  background:rgba(0,212,255,0.08);
}
.menu-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:40px;height:40px;
  padding:8px;
  border-radius:8px;
  margin-left:8px;
}
.menu-toggle span{
  display:block;
  height:2px;
  background:#e2e8f0;
  border-radius:2px;
  transition:all 0.3s ease;
}
.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.header-search{
  position:absolute;
  top:64px;left:0;right:0;
  background:rgba(10,15,28,0.95);
  border-bottom:1px solid var(--border-accent);
  padding:16px 20px;
  display:none;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.header-search.open{display:block}
.header-search-inner{
  max-width:720px;
  margin:0 auto;
  display:flex;
  gap:12px;
  align-items:center;
}
.header-search input{
  flex:1;
  padding:12px 16px;
  background:rgba(148,163,184,0.08);
  border:1px solid var(--border-subtle);
  border-radius:8px;
  color:#fff;
  font-size:14px;
  transition:border-color 0.3s ease,box-shadow 0.3s ease;
}
.header-search input::placeholder{color:var(--text-muted)}
.header-search input:focus{
  border-color:var(--accent-cyan);
  box-shadow:0 0 0 3px rgba(0,212,255,0.15);
  outline:none;
}
.search-close{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;
  border-radius:8px;
  color:var(--text-secondary);
  transition:all var(--transition);
}
.search-close:hover{color:#fff;background:rgba(148,163,184,0.1)}
@media screen and (max-width:768px){
  .header-inner{padding:0 16px}
  .header-left .btn{display:none}
  .menu-toggle{display:flex}
  .header-right{gap:0;flex:1;justify-content:space-between;align-items:center}
  .header-left{order:2;display:flex;align-items:center}
  .header-right{order:1}
  .main-nav{
    position:fixed;
    top:64px;left:0;right:0;
    background:rgba(10,15,28,0.98);
    border-bottom:1px solid var(--border-accent);
    padding:16px 20px;
    display:none;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  .main-nav.open{display:block}
  .main-nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:4px;
  }
  .main-nav a{
    padding:12px 16px;
    font-size:16px;
    border-radius:8px;
  }
  .main-nav a.active{background:rgba(0,212,255,0.08)}
  .main-nav a.active::after{display:none}
}

/* ===== Hero 分屏 ===== */
.hero-section{
  min-height:100vh;
  display:flex;
  padding-top:64px;
  background:var(--bg-primary);
}
.hero-visual{
  width:60%;
  position:relative;
  background-image:url('/assets/images/backpic/back-1.webp');
  background-size:cover;
  background-position:center;
  min-height:600px;
  overflow:hidden;
}
.hero-visual::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,var(--bg-primary) 0%,transparent 60%);
  z-index:1;
}
.hero-visual::after{
  content:'';
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 18px,
    rgba(0,212,255,0.04) 18px,
    rgba(0,212,255,0.04) 19px
  );
  z-index:2;
  pointer-events:none;
}
.hero-speed-line{
  position:absolute;
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(247,201,72,0.5),transparent);
  z-index:3;
  pointer-events:none;
  border-radius:2px;
}
.hero-speed-line.line-1{
  top:20%;right:-60px;width:70%;
  transform:rotate(-38deg);
}
.hero-speed-line.line-2{
  top:46%;right:-40px;width:50%;
  transform:rotate(-45deg);
  background:linear-gradient(90deg,transparent,rgba(0,212,255,0.4),transparent);
}
.hero-content{
  width:40%;
  display:flex;
  align-items:center;
  padding:80px 60px 100px 48px;
  background:var(--bg-primary);
  position:relative;
}
.hero-content::before{
  content:'';
  position:absolute;
  top:0;bottom:0;left:0;
  width:1px;
  background:linear-gradient(180deg,transparent,var(--border-accent),transparent);
}
.hero-inner{width:100%;max-width:480px}
.hero-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:500;
  color:var(--accent-cyan);
  background:rgba(0,212,255,0.08);
  border:1px solid rgba(0,212,255,0.2);
  padding:6px 14px;
  border-radius:100px;
  margin-bottom:24px;
  letter-spacing:0.5px;
}
.hero-tag::before{
  content:'';
  width:6px;height:6px;
  background:var(--accent-cyan);
  border-radius:50%;
  box-shadow:0 0 8px var(--accent-cyan);
}
.hero-content h1{
  font-size:48px;
  font-weight:700;
  line-height:1.15;
  margin-bottom:20px;
  color:#fff;
  letter-spacing:1px;
}
.hero-subtitle{
  font-size:16px;
  line-height:1.9;
  color:var(--text-secondary);
  margin-bottom:36px;
  max-width:420px;
}
.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:24px;
}
.hero-note{
  font-size:13px;
  color:var(--text-muted);
  display:flex;
  align-items:center;
  gap:8px;
}
.hero-note::before{
  content:'';
  width:18px;height:1px;
  background:var(--border-accent);
}
.scroll-indicator{
  position:absolute;
  bottom:28px;
  left:calc(40% - 14px);
  width:28px;
  height:44px;
  border:2px solid rgba(148,163,184,0.4);
  border-radius:14px;
  z-index:4;
}
.scroll-indicator::before{
  content:'';
  position:absolute;
  top:8px;
  left:50%;
  width:4px;height:8px;
  background:var(--accent-cyan);
  border-radius:2px;
  transform:translateX(-50%);
  animation:scrollDrop 1.6s ease infinite;
}
@keyframes scrollDrop{
  0%{top:8px;opacity:1}
  70%{top:22px;opacity:0}
  100%{top:8px;opacity:0}
}
@media screen and (max-width:768px){
  .hero-section{flex-direction:column;padding-top:64px}
  .hero-visual{
    width:100%;
    min-height:260px;
    order:1;
  }
  .hero-visual::before{background:linear-gradient(180deg,var(--bg-primary) 0%,transparent 100%)}
  .hero-content{
    width:100%;
    order:2;
    padding:36px 20px 48px;
  }
  .hero-content::before{display:none}
  .hero-content h1{font-size:30px}
  .hero-subtitle{font-size:15px}
  .hero-content::after{
    content:'';
    position:absolute;
    top:0;left:20px;right:20px;
    height:1px;
    background:var(--border-accent);
  }
  .scroll-indicator{
    left:50%;
    bottom:16px;
    transform:translateX(-50%);
  }
}

/* ===== 痛点区 ===== */
.pains-grid{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.pain-card{
  flex:1 1 calc(33.333% - 24px);
  min-width:260px;
  background:var(--bg-card);
  border:1px solid var(--border-subtle);
  border-left:4px solid var(--accent-cyan);
  border-radius:var(--radius-card);
  padding:36px 28px;
  transition:all var(--transition);
}
.pain-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
  border-color:var(--border-accent);
}
.pain-icon{
  width:48px;height:48px;
  margin-bottom:20px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(0,212,255,0.08);
  border-radius:12px;
  color:var(--accent-cyan);
}
.pain-title{
  font-size:18px;
  font-weight:600;
  color:#fff;
  margin-bottom:10px;
}
.pain-text{
  font-size:14px;
  color:var(--text-secondary);
  line-height:1.8;
}
@media screen and (max-width:768px){
  .pain-card{flex-basis:100%}
}

/* ===== 解决方案区 ===== */
.solution-grid{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.solution-card{
  flex:1 1 calc(33.333% - 24px);
  min-width:260px;
  background:var(--bg-card);
  border:1px solid var(--border-subtle);
  border-radius:var(--radius-card);
  overflow:hidden;
  transition:all var(--transition);
  display:flex;
  flex-direction:column;
}
.solution-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
  border-color:var(--border-accent);
}
.solution-img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.solution-img-wrap{
  position:relative;
  overflow:hidden;
}
.solution-img-wrap::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 60%,rgba(11,17,32,0.6) 100%);
}
.solution-body{
  padding:28px 24px 32px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.solution-body h3{
  font-size:21px;
  font-weight:600;
  color:#fff;
  margin-bottom:12px;
}
.solution-body p{
  font-size:14px;
  color:var(--text-secondary);
  line-height:1.8;
  flex:1;
  margin-bottom:20px;
}
.solution-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  color:var(--text-secondary);
  transition:all var(--transition);
}
.solution-link:hover{
  color:var(--accent-cyan);
  gap:12px;
}
@media screen and (max-width:768px){
  .solution-card{flex-basis:100%}
}

/* ===== 成果区 ===== */
.outcomes-bar{
  position:relative;
  background:rgba(15,23,42,0.85);
  border-top:1px solid var(--border-accent);
  border-bottom:1px solid var(--border-accent);
  padding:64px 0;
  overflow:hidden;
}
.outcomes-bar::before,.outcomes-bar::after{
  content:'';
  position:absolute;
  top:50%;
  width:12px;height:12px;
  border-radius:50%;
  background:var(--accent-cyan);
  box-shadow:0 0 20px var(--accent-cyan);
  transform:translateY(-50%);
}
.outcomes-bar::before{left:24px}
.outcomes-bar::after{right:24px}
.outcomes-grid{
  display:flex;
  justify-content:space-around;
  flex-wrap:wrap;
  gap:40px 24px;
}
.outcome-item{
  text-align:center;
  padding:8px 16px;
  min-width:200px;
}
.outcome-number{
  font-family:var(--font-display);
  font-size:52px;
  font-weight:700;
  color:var(--accent-gold);
  line-height:1.1;
  display:block;
  letter-spacing:1px;
}
.outcome-label{
  display:block;
  font-size:14px;
  color:var(--text-secondary);
  margin-top:8px;
  letter-spacing:1px;
}
@media screen and (max-width:768px){
  .outcome-number{font-size:38px}
  .outcomes-bar{padding:40px 0}
}

/* ===== 证言区 ===== */
.testimonials-grid{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.testimonial-card{
  flex:1 1 calc(33.333% - 24px);
  min-width:260px;
  background:var(--bg-card);
  border:1px solid var(--border-subtle);
  border-radius:var(--radius-card);
  padding:32px 28px;
  transition:all var(--transition);
}
.testimonial-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
  border-color:var(--border-accent);
}
.t-quote-mark{
  font-size:64px;
  line-height:1;
  color:var(--accent-cyan);
  opacity:0.4;
  font-family:var(--font-display);
  display:block;
  margin-bottom:12px;
  height:36px;
}
.testimonial-text{
  font-size:15px;
  color:var(--text-secondary);
  line-height:1.9;
  font-style:normal;
  margin-bottom:24px;
}
.testimonial-author{
  display:flex;
  align-items:center;
  gap:12px;
  padding-top:16px;
  border-top:1px solid var(--border-subtle);
}
.t-avatar{
  width:40px;height:40px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent-cyan),var(--accent-purple));
  display:flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:700;color:#04121a;
  flex-shrink:0;
}
.t-author-name{
  font-size:14px;
  font-weight:600;
  color:#fff;
  line-height:1.4;
}
.t-author-role{
  font-size:12px;
  color:var(--text-muted);
  line-height:1.4;
}
@media screen and (max-width:768px){
  .testimonial-card{flex-basis:100%}
}

/* ===== 资讯区 ===== */
.news-section{
  background:var(--bg-tertiary);
}
.news-layout{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}
.news-featured{
  flex:1 1 calc(50% - 24px);
  min-width:300px;
}
.news-featured-card{
  display:block;
  background:var(--bg-card);
  border:1px solid var(--border-subtle);
  border-radius:var(--radius-card);
  overflow:hidden;
  transition:all var(--transition);
  height:100%;
}
.news-featured-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
  border-color:var(--border-accent);
}
.news-featured-img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.news-featured-body{
  padding:24px 24px 28px;
}
.news-featured-body h3{
  font-size:20px;
  font-weight:600;
  color:#fff;
  margin:12px 0 12px;
  line-height:1.4;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.news-featured-body p{
  font-size:14px;
  color:var(--text-secondary);
  line-height:1.8;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:16px;
}
.news-side{
  flex:1 1 calc(50% - 24px);
  min-width:300px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.news-item-card{
  display:flex;
  gap:16px;
  align-items:flex-start;
  background:var(--bg-card);
  border:1px solid var(--border-subtle);
  border-radius:var(--radius-card);
  padding:16px;
  transition:all var(--transition);
}
.news-item-card:hover{
  transform:translateX(4px);
  box-shadow:var(--shadow-card-hover);
  border-color:var(--border-accent);
}
.news-item-thumb{
  width:88px;height:66px;
  object-fit:cover;
  border-radius:8px;
  flex-shrink:0;
}
.news-item-body{
  flex:1;
  min-width:0;
}
.news-item-body h4{
  font-size:15px;
  font-weight:600;
  color:#fff;
  line-height:1.4;
  margin-bottom:6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.news-item-meta{
  font-size:12px;
  color:var(--text-muted);
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:3px 10px;
  font-size:12px;
  font-weight:500;
  border-radius:var(--radius-badge);
  background:rgba(0,212,255,0.1);
  border:1px solid rgba(0,212,255,0.25);
  color:var(--accent-cyan);
  line-height:1.6;
  letter-spacing:0.5px;
}
.badge-gold{
  background:rgba(247,201,72,0.1);
  border-color:rgba(247,201,72,0.3);
  color:var(--accent-gold);
}
.news-read-more{
  display:inline-block;
  font-size:14px;
  color:var(--text-secondary);
  margin-top:8px;
  transition:all var(--transition);
}
.news-read-more:hover{
  color:var(--accent-cyan);
  transform:translateX(4px);
}
.news-empty{
  padding:60px 24px;
  text-align:center;
  background:var(--bg-card);
  border:1px dashed var(--border-subtle);
  border-radius:var(--radius-card);
  flex:1 1 100%;
}
.news-empty-icon{
  font-size:48px;
  color:var(--text-muted);
  margin-bottom:12px;
}
.news-empty p{
  color:var(--text-secondary);
  font-size:15px;
}
@media screen and (max-width:768px){
  .news-featured{flex-basis:100%}
  .news-side{flex-basis:100%}
  .news-item-thumb{width:72px;height:54px}
}

/* ===== CTA 区 ===== */
.cta-section{
  position:relative;
  padding:120px 0;
  background-image:url('/assets/images/backpic/back-3.webp');
  background-size:cover;
  background-position:center;
  text-align:center;
}
.cta-section::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(11,17,32,0.75);
  z-index:1;
}
.cta-inner{
  position:relative;
  z-index:2;
  max-width:720px;
  margin:0 auto;
  padding:0 20px;
}
.cta-section h2{
  font-size:40px;
  font-weight:700;
  color:#fff;
  margin-bottom:20px;
  line-height:1.2;
}
.cta-section p{
  font-size:16px;
  color:var(--text-secondary);
  margin-bottom:36px;
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
}
.cta-buttons{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
@media screen and (max-width:768px){
  .cta-section{padding:72px 0}
  .cta-section h2{font-size:28px}
}

/* ===== 页脚 ===== */
.site-footer{
  background:var(--bg-secondary);
  border-top:1px solid var(--border-subtle);
  position:relative;
}
.site-footer::before{
  content:'';
  position:absolute;
  top:-1px;left:0;right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--accent-cyan),transparent);
  opacity:0.5;
}
.footer-grid{
  display:flex;
  flex-wrap:wrap;
  gap:48px 32px;
  padding:64px 0 48px;
  justify-content:space-between;
}
.footer-col{
  flex:1 1 calc(25% - 32px);
  min-width:220px;
}
.footer-brand .logo{
  margin-bottom:16px;
  font-size:22px;
}
.footer-brand-text{
  font-size:14px;
  color:var(--text-secondary);
  line-height:1.8;
  margin-bottom:16px;
}
.footer-keyword{
  font-size:12px;
  color:var(--text-muted);
  background:rgba(0,212,255,0.06);
  border:1px solid rgba(0,212,255,0.15);
  display:inline-block;
  padding:4px 12px;
  border-radius:100px;
}
.footer-title{
  font-size:16px;
  font-weight:600;
  color:#fff;
  margin-bottom:16px;
}
.footer-links li{
  margin-bottom:10px;
}
.footer-links a{
  font-size:14px;
  color:var(--text-secondary);
  transition:color var(--transition);
}
.footer-links a:hover{
  color:var(--accent-cyan);
}
.footer-contact li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:var(--text-secondary);
  margin-bottom:12px;
}
.footer-contact svg{
  flex-shrink:0;
  color:var(--accent-cyan);
}
.footer-bottom{
  border-top:1px solid rgba(148,163,184,0.1);
  padding:20px 0;
  text-align:center;
}
.footer-bottom p{
  font-size:13px;
  color:var(--text-muted);
}
.footer-bottom a{
  color:var(--text-muted);
  transition:color var(--transition);
}
.footer-bottom a:hover{
  color:var(--accent-cyan);
}
@media screen and (max-width:768px){
  .footer-col{flex-basis:100%}
  .footer-grid{padding:40px 0 32px;gap:32px}
}

/* ===== 通用工具 ===== */
.text-cyan{color:var(--accent-cyan)}
.text-gold{color:var(--accent-gold)}
.mt-16{margin-top:16px}
.mb-16{margin-bottom:16px}
.mb-32{margin-bottom:32px}

/* roulang page: category1 */
:root {
  --bg-primary: #0b1120;
  --bg-section: #0f172a;
  --bg-section-alt: #0d1424;
  --bg-card: rgba(17, 28, 48, 0.85);
  --bg-nav: rgba(10, 15, 28, 0.8);
  --accent: #00d4ff;
  --accent-dark: #00b3d9;
  --accent-grad: #7b61ff;
  --gold: #f7c948;
  --tag-color: #6df5ff;
  --text-main: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.18);
  --border-highlight: rgba(0, 212, 255, 0.35);
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-badge: 4px;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 24px rgba(0, 212, 255, 0.3);
  --font-main: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", sans-serif;
  --spacing-section: 80px;
  --spacing-mobile: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.8;
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--tag-color);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--spacing-section) 0;
}

@media (max-width: 768px) {
  section {
    padding: var(--spacing-mobile) 0;
  }
  :root {
    --spacing-section: 48px;
  }
}

/* 区块标题通用 */
.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--accent);
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 640px;
}

/* ================= 导航 ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.25);
  min-height: 64px;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.logo:hover {
  color: #fff;
  opacity: 0.88;
}

.logo svg {
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
}

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a.active {
  color: #fff;
  font-weight: 600;
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--text-secondary);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

.header-search {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-highlight);
  border-radius: 8px;
}

.header-search.active {
  display: flex;
}

.header-search input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  font-size: 14px;
  width: 160px;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search .icon-btn {
  width: 30px;
  height: 30px;
  border: none;
}

/* 移动端汉堡 */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 2px 0;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* 主按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-btn);
  padding: 13px 28px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-grad) 100%);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #26d9ff 0%, #8d77ff 100%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  background: var(--accent-dark);
}

.btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  color: #fff;
  border-color: var(--tag-color);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 42px;
  font-size: 16px;
}

/* ================= 分类 Banner ================= */
.cat-banner {
  position: relative;
  padding: 130px 0 70px;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

.cat-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.88) 0%, rgba(11, 17, 32, 0.92) 100%);
}

.cat-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: linear-gradient(105deg, transparent 0%, rgba(0, 212, 255, 0.08) 40%, transparent 70%);
  transform: rotate(15deg);
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--tag-color);
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.banner-content h1 .highlight {
  color: var(--accent);
}

.banner-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 30px;
}

.scroll-indicator {
  margin-top: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1px;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  transition: border-color 0.25s ease;
}

.scroll-indicator .mouse::after {
  content: "";
  width: 3px;
  height: 7px;
  background: var(--accent);
  border-radius: 3px;
  animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ================= 分类标签 ================= */
.cat-tags {
  padding: 28px 0;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.tag {
  display: inline-block;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.25s ease;
  cursor: pointer;
  user-select: none;
}

.tag:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.06);
}

.tag.active {
  color: #0b1120;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
}

/* ================= 功能模块卡片 ================= */
.cat-modules {
  background: var(--bg-primary);
}

.modules-grid {
  margin-top: 12px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.module-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.module-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.module-card:hover .module-card-img img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--tag-color);
  background: rgba(0, 212, 255, 0.18);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: var(--radius-badge);
  letter-spacing: 0.5px;
}

.module-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.module-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.module-card:hover .module-card-body h3 {
  color: var(--accent);
}

.module-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease, gap 0.25s ease;
}

.card-link:hover {
  color: var(--accent);
  gap: 10px;
}

.card-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ================= 数据亮点 ================= */
.cat-stats {
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.cat-stats::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-highlight) 50%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 20px;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-item::before,
.stat-item::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.7);
  top: -4px;
}

.stat-item::before { left: 16%; }
.stat-item::after { right: 16%; }

.stat-item:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.stat-num {
  font-family: var(--font-num);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ================= 使用流程 ================= */
.cat-process {
  background: var(--bg-primary);
}

.process-grid {
  margin-top: 16px;
}

.step-item {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  height: 100%;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.step-item:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

.step-item:hover .step-num {
  background: var(--accent);
  color: #0b1120;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= FAQ ================= */
.cat-faq {
  background: var(--bg-section-alt);
}

.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-wrap .section-title {
  margin-bottom: 32px;
}

/* 重设 Foundation accordion */
.accordion {
  list-style: none;
  margin: 0;
  border: none;
}

.accordion-item {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.accordion-item:hover {
  border-color: var(--border-highlight);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: none;
  position: relative;
}

.accordion-title:hover {
  background: rgba(0, 212, 255, 0.05);
  color: var(--accent);
}

.accordion-title::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent);
  font-size: 20px;
  font-weight: 500;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.accordion-item.is-active .accordion-title::before {
  content: "−";
  background: var(--accent);
  color: #0b1120;
}

.accordion-content {
  padding: 4px 24px 24px 66px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  background: var(--bg-section);
  border-top: 1px solid rgba(0, 212, 255, 0.12);
}

/* ================= CTA ================= */
.cat-cta {
  position: relative;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 90px 0;
  overflow: hidden;
}

.cat-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, 0.78);
}

.cat-cta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  width: 100%;
  height: 80%;
  background: linear-gradient(0deg, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-inner h2 span {
  color: var(--accent);
}

.cta-inner p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ================= 页脚 ================= */
.site-footer {
  background: #0a0f1c;
  border-top: 1px solid rgba(0, 212, 255, 0.25);
  padding: 64px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-keyword {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--tag-color);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-contact svg {
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 20px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .banner-content h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .header-wrap {
    gap: 12px;
  }

  /* 桌面端左右反转取消 */
  .header-wrap {
    flex-wrap: wrap;
  }

  .header-right {
    order: -1;
    flex: 1;
    justify-content: space-between;
  }

  .header-left {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-bottom: 1px solid var(--border-highlight);
    backdrop-filter: blur(14px);
  }

  .header-left.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-search {
    width: 100%;
  }

  .header-search input {
    width: 100%;
  }

  .banner-content {
    padding-top: 20px;
  }

  .banner-content h1 {
    font-size: 30px;
  }

  .banner-desc {
    font-size: 15px;
  }

  .scroll-indicator {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-item {
    padding: 28px 16px;
  }

  .cta-inner h2 {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-title::before {
    height: 22px;
    top: 6px;
  }
}

@media (max-width: 520px) {
  .banner-content h1 {
    font-size: 26px;
  }

  .module-card-body {
    padding: 18px;
  }

  .module-card-body h3 {
    font-size: 18px;
  }

  .tag {
    padding: 6px 16px;
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* focus 可见性 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.tag:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* roulang page: article */
:root {
  --bg-primary: #0b1120;
  --bg-secondary: #0f172a;
  --bg-tertiary: #0d1424;
  --bg-card: rgba(17, 28, 48, 0.85);
  --accent: #00d4ff;
  --accent-dark: #00b3d9;
  --accent-grad: #7b61ff;
  --gold: #f7c948;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.18);
  --border-accent: rgba(0, 212, 255, 0.35);
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-badge: 4px;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 24px rgba(0, 212, 255, 0.3);
  --spacing-section: 80px;
  --spacing-section-mobile: 48px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--accent-dark); }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
ul { list-style: none; }
section { position: relative; }

/* ===== 通用组件 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  border: 1px solid transparent;
  transition: all .25s ease;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-grad) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #6c5ce7 100%);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary:active { transform: translateY(1px); box-shadow: 0 0 12px rgba(0, 212, 255, 0.2); }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}
.btn-outline:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.btn-outline:active { transform: translateY(1px); }
.btn-outline:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-badge);
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .5px;
}
.badge-gold {
  background: rgba(247, 201, 72, 0.12);
  color: var(--gold);
}
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
  font-size: 13px;
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.tag:hover {
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent);
  border-color: var(--border-accent);
}
.tag:active { transform: scale(.96); }
.tag:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
  padding-left: 20px;
  border-left: 4px solid var(--accent);
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ===== 导航 ===== */
.site-header {
  position: relative;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.site-header.scrolled {
  background: rgba(10, 15, 28, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  gap: 16px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo svg { flex-shrink: 0; }
.logo:hover { color: var(--accent); }
.nav-search-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-secondary);
  transition: all .25s ease;
}
.nav-search-btn:hover { color: var(--accent); border-color: var(--border-accent); background: rgba(0, 212, 255, 0.1); }
.nav-search-btn:active { transform: scale(.95); }
.nav-search-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition: all .25s ease;
  position: relative;
}
.main-nav ul li a:hover {
  color: var(--accent);
  background: rgba(0, 212, 255, 0.08);
}
.main-nav ul li a.active {
  color: #fff;
  background: rgba(0, 212, 255, 0.1);
  border-bottom: 2px solid var(--accent);
}
.main-nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  transition: all .25s ease;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s ease;
}
.menu-toggle:hover { border-color: var(--accent); }
.menu-toggle:hover span { background: var(--accent); }
.menu-toggle:active { transform: scale(.95); }
.menu-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 搜索面板 */
.search-panel {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-accent);
  padding: 20px 0;
  box-shadow: var(--shadow-hover);
}
.search-panel.open { display: block; }
.search-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  padding: 0 20px;
}
.search-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-primary);
  font-size: 15px;
  transition: all .25s ease;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.search-close {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.search-close:hover { color: var(--accent); border-color: var(--accent); background: rgba(0, 212, 255, 0.1); }
.search-close:active { transform: scale(.95); }
.search-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== 面包屑 ===== */
.breadcrumb-wrap {
  padding: 18px 0;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-secondary); max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 文章主体布局 ===== */
.article-section {
  padding: 50px 0 var(--spacing-section);
  background: var(--bg-primary);
}
.article-layout-gap {
  margin-bottom: 24px;
}
.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 44px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s ease;
}
.article-content:hover { box-shadow: var(--shadow-hover); }
.article-content h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-divider { color: var(--border); }

/* ===== 文章正文 ===== */
.article-body {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-primary);
  word-break: break-word;
  max-width: 720px;
}
.article-body p { margin-bottom: 18px; }
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 20px;
  line-height: 1.3;
  color: var(--text-primary);
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}
.article-body h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 34px 0 16px;
  color: var(--text-primary);
}
.article-body ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.article-body ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.article-body ol {
  list-style: none;
  counter-reset: article-ol;
  margin: 0 0 18px;
  padding: 0;
}
.article-body ol li {
  counter-increment: article-ol;
  padding-left: 32px;
  position: relative;
  margin-bottom: 8px;
}
.article-body ol li::before {
  content: counter(article-ol);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  background: rgba(247, 201, 72, 0.05);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  color: var(--text-secondary);
  font-style: normal;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
.article-body a:hover { border-bottom-color: var(--accent); }
.article-body img {
  border-radius: var(--radius-card);
  margin: 24px 0;
  border: 1px solid var(--border);
}
.article-body strong { color: #fff; font-weight: 600; }
.article-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 14.5px;
}
.article-body table th {
  background: rgba(0, 212, 255, 0.08);
  color: var(--text-primary);
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ===== 文末导航 ===== */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all .25s ease;
  min-height: 90px;
}
.post-nav-item:hover {
  border-color: var(--border-accent);
  background: rgba(17, 28, 48, 0.95);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.post-nav-item:active { transform: translateY(0); }
.post-nav-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-nav-item .nav-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.post-nav-item .nav-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav-item:hover .nav-title { color: var(--accent); }
.post-nav-item.next { text-align: right; }

/* ===== 内容未找到 ===== */
.not-found-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.not-found-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.not-found-box h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.not-found-box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 侧栏 ===== */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px;
  margin-bottom: 20px;
  transition: box-shadow .25s ease;
}
.sidebar-widget:hover { box-shadow: var(--shadow-card); }
.widget-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.cat-list li { margin-bottom: 10px; }
.cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 14.5px;
  color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.06);
  transition: all .25s ease;
}
.cat-list li a::after {
  content: '→';
  font-size: 13px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all .25s ease;
  color: var(--accent);
}
.cat-list li a:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
}
.cat-list li a:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.cat-list li a:active { transform: scale(.98); }
.cat-list li a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hot-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hot-list li:last-child { border-bottom: none; padding-bottom: 0; }
.hot-list li a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s ease;
}
.hot-list li a:hover { color: var(--accent); }
.hot-list li a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hot-list .hot-date {
  font-size: 12.5px;
  color: var(--text-muted);
}
.hot-list li::before {
  content: '';
  display: none;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== 相关推荐 ===== */
.related-section {
  padding: var(--spacing-section) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.related-section::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.related-section .section-title { margin-bottom: 36px; }
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}
.related-card:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }
.related-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.related-card:hover .related-card-img img { transform: scale(1.04); }
.related-card-img .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.related-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.related-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-body h3 a { color: var(--text-primary); }
.related-card-body h3 a:hover { color: var(--accent); }
.related-card-body h3 a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.related-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-date {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ===== 返回列表 ===== */
.back-list-wrap {
  text-align: center;
  margin-top: 40px;
}
.back-list-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.back-list-link:hover {
  color: var(--accent);
  border-color: var(--border-accent);
  background: rgba(0, 212, 255, 0.06);
  transform: translateX(-4px);
}
.back-list-link:active { transform: translateX(-2px); }
.back-list-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== 页脚 ===== */
.site-footer {
  background: #0a0f1c;
  border-top: 1px solid rgba(0, 212, 255, 0.25);
  padding: 60px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 320px;
}
.footer-keyword {
  display: inline-block;
  font-size: 12.5px;
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-accent);
  letter-spacing: .5px;
}
.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .25s ease;
}
.footer-links li a:hover { color: var(--accent); padding-left: 4px; }
.footer-links li a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.footer-contact svg { flex-shrink: 0; color: var(--text-muted); }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
  transition: color .25s ease;
}
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  :root {
    --spacing-section: 48px;
  }
  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }
  .header-inner {
    gap: 8px;
  }
  .header-left .nav-cta { display: none; }
  .header-left { order: 2; margin-left: auto; }
  .header-right {
    order: 1;
    flex: 1;
    justify-content: flex-start;
    gap: 0;
  }
  .header-right .logo { font-size: 17px; }
  .header-right .logo svg { width: 22px; height: 22px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-accent);
    box-shadow: var(--shadow-hover);
    padding: 16px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul li a {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 8px;
  }
  .main-nav ul li a.active { background: rgba(0, 212, 255, 0.12); }
  .main-nav ul li a.active::after { display: none; }

  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14.5px; margin-bottom: 28px; }

  .article-section { padding: 30px 0 var(--spacing-section); }
  .article-content { padding: 24px 20px; }
  .article-content h1 { font-size: 26px; }
  .article-meta { gap: 10px; font-size: 13px; }
  .article-body { font-size: 15.5px; }
  .article-body h2 { font-size: 22px; }
  .article-body h3 { font-size: 18px; }

  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item.next { text-align: left; }

  .sidebar-widget { padding: 20px 18px; }

  .related-card-body { padding: 18px 16px; }
  .back-list-wrap { margin-top: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-brand-text { max-width: 100%; }
}
@media (max-width: 520px) {
  .header-right .logo span { font-size: 16px; }
  .search-form { flex-wrap: wrap; }
  .search-form .btn { width: 100%; }
  .article-content { padding: 20px 16px; }
  .article-content h1 { font-size: 23px; }
  .post-nav-item { padding: 16px 18px; }
  .related-card-body h3 { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
