/* roulang page: index */
:root{
  --primary:#4f46e5;
  --primary-light:#818cf8;
  --secondary:#0ea5e9;
  --accent:#f59e0b;
  --bg:#f6f7fb;
  --bg-deep:#0b1220;
  --card:#ffffff;
  --text:#1e293b;
  --text-muted:#64748b;
  --border:#e6e8f0;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 8px 28px rgba(15,23,42,.07);
  --shadow-lg:0 18px 44px rgba(15,23,42,.14);
  --gradient:linear-gradient(135deg,#4f46e5,#7c3aed);
  --gradient-soft:linear-gradient(135deg,rgba(79,70,229,.12),rgba(14,165,233,.10));
  --space-sm:16px;
  --space-md:32px;
  --space-lg:72px;
  --space-xl:104px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  word-break:break-word;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit;transition:color .25s ease}
button,input{font:inherit;border:none;outline:none}
ul,ol{list-style:none}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.section{padding:var(--space-xl) 0}
.section-head{max-width:600px;margin:0 auto 56px;text-align:center}
.section-tag{
  display:inline-block;
  padding:6px 18px;
  border-radius:999px;
  background:var(--gradient-soft);
  color:var(--primary);
  font-size:14px;
  font-weight:600;
  margin-bottom:16px;
  letter-spacing:.03em;
}
.section-head h2{font-size:36px;font-weight:800;letter-spacing:-.5px;line-height:1.25;color:var(--text)}
.section-head p{color:var(--text-muted);font-size:16px;margin-top:12px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 30px;
  border-radius:999px;
  font-size:15px;
  font-weight:600;
  line-height:1.4;
  cursor:pointer;
  transition:all .3s cubic-bezier(.4,0,.2,1);
  text-align:center;
  white-space:nowrap;
}
.btn-primary{
  background:var(--gradient);
  color:#fff;
  box-shadow:0 10px 28px rgba(79,70,229,.32);
}
.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(79,70,229,.42);
}
.btn-light{
  background:#fff;
  color:var(--text);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.btn-light:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(0,0,0,.14);
}
.btn-outline-light{
  background:transparent;
  color:#fff;
  border:1.5px solid rgba(255,255,255,.75);
}
.btn-outline-light:hover{
  background:rgba(255,255,255,.12);
  transform:translateY(-3px);
}
/* 顶部导航 */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:74px;
  gap:24px;
}
.logo{
  font-size:23px;
  font-weight:800;
  letter-spacing:.02em;
  background:var(--gradient);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  flex-shrink:0;
}
.logo-dot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  margin-left:4px;
  -webkit-text-fill-color:initial;
}
.main-nav{display:flex;align-items:center;gap:36px}
.nav-link{
  position:relative;
  font-size:15px;
  font-weight:500;
  color:var(--text-muted);
  padding:26px 2px;
  transition:color .25s;
}
.nav-link:hover{color:var(--primary)}
.nav-link.active{color:var(--primary);font-weight:600}
.nav-link.active::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:16px;
  height:3px;
  border-radius:3px;
  background:var(--gradient);
}
.nav-cta{padding:10px 22px;font-size:14px}
/* 移动底部 Tab */
.bottom-tab{
  display:none;
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:200;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-top:1px solid var(--border);
  padding:6px 0 calc(6px + env(safe-area-inset-bottom));
  box-shadow:0 -4px 20px rgba(15,23,42,.06);
}
.tab-item{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  font-size:11.5px;
  color:var(--text-muted);
  padding:5px 0 4px;
  transition:color .2s;
  border-radius:12px;
}
.tab-item svg{width:22px;height:22px;stroke-width:2}
.tab-item.active{color:var(--primary);font-weight:600}
/* Hero */
.hero{
  position:relative;
  padding:128px 0 112px;
  background:linear-gradient(135deg,rgba(11,18,32,.92),rgba(79,70,229,.84)),url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  color:#fff;
  text-align:center;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  top:-20%;
  right:-10%;
  width:480px;
  height:480px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(129,140,248,.35),transparent 70%);
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  bottom:-30%;
  left:-10%;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(14,165,233,.28),transparent 70%);
  pointer-events:none;
}
.hero-inner{position:relative;z-index:2}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 20px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(6px);
  font-size:14px;
  font-weight:500;
  margin-bottom:24px;
  letter-spacing:.04em;
}
.hero-badge::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#34d399;
  box-shadow:0 0 0 4px rgba(52,211,153,.25);
}
.hero h1{
  font-size:56px;
  font-weight:800;
  line-height:1.14;
  letter-spacing:-1px;
  margin-bottom:24px;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(135deg,#fbbf24,#f59e0b);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero-sub{
  max-width:560px;
  margin:0 auto 36px;
  font-size:17.5px;
  color:rgba(255,255,255,.86);
  line-height:1.8;
}
.hero-actions{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}
.hero-stats{
  display:flex;
  justify-content:center;
  gap:72px;
  margin-top:72px;
  padding-top:48px;
  border-top:1px solid rgba(255,255,255,.18);
}
.stat-item{text-align:center}
.stat-num{
  display:block;
  font-size:30px;
  font-weight:800;
  background:linear-gradient(135deg,#fff,#c7d2fe);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:4px;
}
.stat-label{font-size:14px;color:rgba(255,255,255,.72);letter-spacing:.04em}
/* 特性 */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.feature-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:34px 26px;
  transition:transform .35s cubic-bezier(.4,0,.2,1),box-shadow .35s;
  position:relative;
  overflow:hidden;
}
.feature-card::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:4px;
  background:var(--gradient);
  opacity:0;
  transition:opacity .3s;
}
.feature-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-lg);
}
.feature-card:hover::before{opacity:1}
.feature-icon{
  width:52px;
  height:52px;
  border-radius:14px;
  background:var(--gradient-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}
.feature-icon svg{width:26px;height:26px;stroke:var(--primary);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.feature-card h3{font-size:18px;font-weight:700;margin-bottom:10px}
.feature-card p{color:var(--text-muted);font-size:14.5px;line-height:1.7}
/* 分类入口 */
.categories{background:linear-gradient(180deg,#fff,#f6f7fb)}
.category-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:32px;
  max-width:980px;
  margin:0 auto;
}
.category-card{
  position:relative;
  background:var(--card);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:block;
  transition:transform .35s cubic-bezier(.4,0,.2,1),box-shadow .35s;
}
.category-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-lg);
}
.category-card img{
  width:100%;
  height:250px;
  object-fit:cover;
  transition:transform .6s cubic-bezier(.4,0,.2,1);
}
.category-card:hover img{transform:scale(1.04)}
.category-card-body{padding:28px 30px 30px}
.category-badge{
  display:inline-block;
  padding:5px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  background:var(--gradient-soft);
  color:var(--primary);
  margin-bottom:14px;
}
.category-card h3{font-size:24px;font-weight:800;margin-bottom:10px}
.category-card p{color:var(--text-muted);font-size:15px;line-height:1.7;margin-bottom:18px}
.category-link{
  font-size:15px;
  font-weight:600;
  color:var(--primary);
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:gap .3s;
}
.category-link:hover{gap:12px}
/* 最新列表 */
.latest-block{background:#fff}
.post-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.post-item{
  display:flex;
  gap:20px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  transition:transform .3s,box-shadow .3s,border-color .3s;
}
.post-item:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow-lg);
  border-color:var(--primary-light);
}
.post-item img{
  width:168px;
  height:128px;
  object-fit:cover;
  border-radius:12px;
  flex-shrink:0;
}
.post-body{flex:1;min-width:0}
.post-cat{
  display:inline-block;
  font-size:12.5px;
  font-weight:600;
  color:var(--primary);
  background:var(--gradient-soft);
  padding:3px 12px;
  border-radius:999px;
  margin-bottom:8px;
}
.post-body h3{
  font-size:17px;
  font-weight:700;
  line-height:1.45;
  margin-bottom:6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.post-body p{
  color:var(--text-muted);
  font-size:14px;
  line-height:1.6;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:8px;
}
.post-body time{
  font-size:12.5px;
  color:#94a3b8;
}
.empty-box{
  grid-column:1/-1;
  background:#fff;
  border:1px dashed var(--border);
  border-radius:var(--radius);
  padding:56px;
  text-align:center;
  color:var(--text-muted);
  font-size:15px;
}
/* 步骤 */
.steps-section{background:var(--bg-deep);position:relative;overflow:hidden}
.steps-section .section-head h2{color:#fff}
.steps-section .section-head p{color:rgba(255,255,255,.7)}
.steps-section .section-tag{background:rgba(255,255,255,.12);color:#c7d2fe}
.steps-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.step-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  padding:40px 32px;
  text-align:center;
  transition:transform .3s,background .3s;
  backdrop-filter:blur(8px);
}
.step-card:hover{
  transform:translateY(-6px);
  background:rgba(255,255,255,.1);
}
.step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  border-radius:50%;
  background:var(--gradient);
  color:#fff;
  font-size:20px;
  font-weight:800;
  margin-bottom:22px;
  box-shadow:0 10px 26px rgba(79,70,229,.45);
}
.step-card h3{color:#fff;font-size:19px;font-weight:700;margin-bottom:10px}
.step-card p{color:rgba(255,255,255,.7);font-size:14.5px;line-height:1.7}
/* FAQ */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  margin-bottom:16px;
  overflow:hidden;
  transition:box-shadow .3s;
}
.faq-item:hover{box-shadow:var(--shadow)}
.faq-item summary{
  padding:22px 26px;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";
  font-size:24px;
  font-weight:400;
  color:var(--primary);
  transition:transform .3s;
  flex-shrink:0;
}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{
  padding:0 26px 24px;
  color:var(--text-muted);
  font-size:15px;
  line-height:1.8;
}
/* CTA */
.cta-box{
  background:linear-gradient(135deg,#4f46e5,#9333ea),url('/assets/images/backpic/back-2.png') center/cover;
  border-radius:26px;
  padding:72px 48px;
  text-align:center;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.cta-box::before{
  content:"";
  position:absolute;
  top:-50%;
  right:-20%;
  width:340px;
  height:340px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  filter:blur(20px);
}
.cta-box h2{font-size:34px;font-weight:800;margin-bottom:14px;position:relative;z-index:2}
.cta-box p{font-size:16.5px;color:rgba(255,255,255,.85);margin-bottom:32px;position:relative;z-index:2}
.cta-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;position:relative;z-index:2}
/* 页脚 */
.site-footer{
  background:var(--bg-deep);
  color:#94a3b8;
  padding:72px 0 0;
}
.footer-inner{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:56px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-logo{
  font-size:22px;
  font-weight:800;
  color:#fff;
  background:var(--gradient);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  display:inline-block;
  margin-bottom:14px;
}
.footer-brand p{font-size:15px;line-height:1.8;max-width:280px}
.link-col h4{color:#fff;font-size:16px;font-weight:600;margin-bottom:18px}
.link-col a{
  display:block;
  color:#94a3b8;
  font-size:14.5px;
  padding:6px 0;
  transition:color .25s,padding-left .25s;
}
.link-col a:hover{color:#fff;padding-left:6px}
.footer-bottom{
  text-align:center;
  padding:24px 0;
  font-size:13.5px;
  color:#64748b;
}
/* 响应式 */
@media(max-width:992px){
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:44px}
  .hero-stats{gap:40px}
  .footer-inner{gap:32px}
}
@media(max-width:768px){
  .section{padding:72px 0}
  .section-head{margin-bottom:40px}
  .section-head h2{font-size:28px}
  .main-nav{display:none}
  .nav-cta{display:none}
  .bottom-tab{display:flex}
  body{padding-bottom:64px}
  .header-inner{justify-content:center}
  .hero{padding:84px 0 68px}
  .hero h1{font-size:33px;letter-spacing:-.5px}
  .hero-sub{font-size:15.5px;line-height:1.7}
  .hero-stats{
    flex-direction:column;
    gap:20px;
    margin-top:48px;
    padding-top:36px;
  }
  .stat-num{font-size:26px}
  .feature-grid,.category-grid,.post-list,.steps-grid,.footer-inner{grid-template-columns:1fr}
  .category-card img{height:190px}
  .post-item{flex-direction:column}
  .post-item img{width:100%;height:180px}
  .cta-box{padding:48px 22px}
  .cta-box h2{font-size:26px}
  .steps-section{padding:72px 0}
  .step-card{padding:32px 24px}
  .footer-inner{gap:40px}
}
@media(max-width:520px){
  .container{padding:0 16px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
  .feature-grid{grid-template-columns:1fr}
  .category-grid{grid-template-columns:1fr}
  .post-list{grid-template-columns:1fr}
  .post-body h3{font-size:16px}
  .section-head h2{font-size:25px}
}

/* roulang page: article */
:root {
  --primary: #7C5CFC;
  --primary-dark: #5B3EE8;
  --primary-light: #EFEAFF;
  --primary-glow: rgba(124, 92, 252, .15);
  --secondary: #FFB547;
  --secondary-light: #FFF3E0;
  --bg: #F8F7FE;
  --surface: #FFFFFF;
  --surface-sun: #FFFBF5;
  --text: #1F1B36;
  --text-weak: #6E6A80;
  --border: #E8E5F2;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 16px rgba(80, 70, 160, .08);
  --shadow: 0 16px 48px rgba(80, 70, 160, .12);
  --shadow-lg: 0 32px 80px rgba(80, 70, 160, .18);
  --container: 1200px;
  --header-h: 72px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(124, 92, 252, .06), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(255, 181, 71, .08), transparent 35%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}
ul, ol {
  list-style: none;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn i {
  font-size: 14px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 92, 252, .28);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-light {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-light:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  transition: var(--transition);
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 13px;
  background: #F1EDFF;
  color: #5B3EE8;
  border: 1px solid #E5DEFF;
  transition: var(--transition);
  cursor: default;
}
.tag:hover {
  background: #E5DEFF;
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 229, 242, .8);
  height: var(--header-h);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: var(--transition);
}
.logo:hover {
  opacity: .85;
}
.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px var(--primary-light);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-weak);
  border-radius: 50px;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--text);
  background: #F4F2FE;
}
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}
.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* Article Banner */
.article-banner {
  position: relative;
  padding: 80px 0 60px;
  background:
    linear-gradient(135deg, rgba(31, 27, 54, .88), rgba(91, 62, 232, .72)),
    url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.article-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: 8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 181, 71, .28), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.article-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 5%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(124, 92, 252, .3), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.article-banner .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, .85);
  transition: var(--transition);
}
.breadcrumb a:hover {
  color: var(--secondary);
}
.breadcrumb-sep {
  color: rgba(255, 255, 255, .4);
}
.article-banner .badge {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
}
.article-banner .badge::before {
  background: var(--secondary);
}
.article-banner h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin: 18px 0 16px;
  letter-spacing: -0.02em;
}
.article-banner-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
}
.article-banner-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.article-banner-meta i {
  color: var(--secondary);
}

/* Main Article Layout */
.article-main-section {
  padding: 60px 0 80px;
  flex: 1;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.article-content {
  min-width: 0;
}
.article-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.article-cover {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.article-body {
  padding: 40px 44px;
  font-size: 16px;
  line-height: 1.95;
  color: #33304A;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  line-height: 1.4;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}
.article-body ul,
.article-body ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
.article-body ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
}
.article-body ol {
  list-style: decimal;
}
.article-body ol li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.article-body blockquote {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
  font-style: italic;
  color: #5B3EE8;
  border-left: 4px solid var(--primary);
}
.article-body img {
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}
.article-body a:hover {
  color: var(--primary-dark);
}

/* Tags & Share */
.article-tags-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-weak);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 14px;
  transition: var(--transition);
}
.share-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Not Found */
.article-not-found {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.article-not-found i {
  font-size: 48px;
  color: var(--border);
  margin-bottom: 16px;
}
.article-not-found h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.article-not-found p {
  color: var(--text-weak);
  margin-bottom: 24px;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidebar-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.sidebar-card:hover {
  box-shadow: var(--shadow);
}
.sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}
.sidebar-card h3 i {
  color: var(--primary);
  font-size: 15px;
}
.sidebar-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-info-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.sidebar-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-info-list span {
  font-size: 14px;
  color: var(--text-weak);
}
.sidebar-info-list strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.sidebar-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.sidebar-link:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateX(3px);
}
.sidebar-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.sidebar-link strong {
  font-size: 15px;
  color: var(--text);
  display: block;
}
.sidebar-link p {
  font-size: 12px;
  color: var(--text-weak);
  line-height: 1.4;
  margin-top: 2px;
}
.sidebar-link > i {
  margin-left: auto;
  color: var(--text-weak);
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}
.sidebar-link:hover > i {
  opacity: 1;
  transform: translateX(0);
}
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Related Section */
.related-section {
  padding: 70px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, #F0EDFF 100%);
}
.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}
.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-weak);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.related-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.related-card-imgwrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.related-card-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.related-card:hover .related-card-imgwrap img {
  transform: scale(1.05);
}
.related-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31, 27, 54, .25) 100%);
  pointer-events: none;
}
.related-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.related-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.related-card-body p {
  color: var(--text-weak);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.related-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  margin-top: 8px;
}
.related-card-link i {
  transition: transform .3s ease;
}
.related-card-link:hover {
  color: var(--primary-dark);
}
.related-card-link:hover i {
  transform: translateX(4px);
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: var(--surface);
}
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}
.faq-question i {
  color: var(--primary);
  font-size: 14px;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--text-weak);
  font-size: 15px;
  line-height: 1.8;
}
.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}

/* CTA */
.cta-section {
  padding: 70px 0 90px;
  background: linear-gradient(135deg, #2D1B69, #7C5CFC);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 181, 71, .3), transparent 70%);
  border-radius: 50%;
  transform: translateX(-50%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  color: #fff;
}
.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-buttons .btn-light {
  border-color: transparent;
}

/* Footer */
.site-footer {
  background: #16122B;
  color: rgba(255, 255, 255, .78);
  padding: 68px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: inline-block;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
  color: rgba(255, 255, 255, .6);
}
.link-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.link-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  transition: var(--transition);
}
.link-col a:hover {
  color: var(--secondary);
  padding-left: 6px;
}
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
}

/* Mobile Tab Bar */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(31, 27, 54, .08);
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px 12px;
  color: var(--text-weak);
  font-size: 11px;
  transition: var(--transition);
  position: relative;
}
.tab-item i {
  font-size: 19px;
  transition: var(--transition);
}
.tab-item.active {
  color: var(--primary);
}
.tab-item.active i {
  transform: translateY(-2px);
}
.tab-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sidebar-card:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .main-nav {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .article-banner {
    padding: 60px 0 48px;
  }
  .article-banner h1 {
    font-size: 30px;
  }
  .article-banner-meta {
    flex-direction: column;
    gap: 8px;
  }
  .article-body {
    padding: 28px 20px;
  }
  .article-body h2 {
    font-size: 22px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mobile-tab-bar {
    display: flex;
  }
  .site-footer {
    padding-bottom: 68px;
  }
  .related-section,
  .faq-section {
    padding: 56px 0;
  }
  .cta-inner h2,
  .section-title {
    font-size: 28px;
  }
  .sidebar-card:last-child {
    grid-column: auto;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .article-layout {
    gap: 24px;
  }
  .article-cover {
    height: 220px;
  }
  .section-title-wrap {
    margin-bottom: 32px;
  }
  .related-card-imgwrap {
    height: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* roulang page: category1 */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-soft: #eef0ff;
  --secondary: #a855f7;
  --accent: #22d3ee;
  --warm: #fbbf24;
  --bg: #f6f7fd;
  --bg-soft: #edeefe;
  --card-bg: #ffffff;
  --dark-bg: #0d1226;
  --dark-bg-2: #171d3d;
  --text: #171b2e;
  --text-soft: #5a6072;
  --text-light: #8a90a6;
  --border: #e6e8f2;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(30, 41, 82, 0.07);
  --shadow-lg: 0 24px 60px rgba(30, 41, 82, 0.13);
  --shadow-indigo: 0 14px 34px rgba(99, 102, 241, 0.28);
  --space: clamp(3rem, 6vw, 5.5rem);
  --header-h: 74px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .25s ease;
}

ul,
ol {
  list-style: none;
}

button,
input,
select {
  font-family: inherit;
}

i[class*="fa-"] {
  color: inherit;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .28s ease;
  white-space: nowrap;
}

.btn i {
  font-size: 13px;
  transition: transform .25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-indigo);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(139, 92, 246, 0.38);
}

.btn-primary:hover i {
  transform: translateY(2px);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.45);
  outline-offset: 3px;
}

/* ===== 通用标题组件 ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.4rem, 5vw, 3.8rem);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--text);
}

.section-head h2 .grad-text {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p {
  color: var(--text-soft);
  margin-top: 14px;
  font-size: 16px;
}

.section {
  padding: var(--space) 0;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 232, 242, 0.8);
  height: var(--header-h);
  transition: box-shadow .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(18, 24, 60, 0.08);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.16);
  display: inline-block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 8px 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .3s ease;
}

.nav-link:hover {
  color: var(--primary-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-dark);
}

.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: auto;
  padding: 11px 26px;
  font-size: 14px;
}

/* ===== 移动端底部 Tab ===== */
.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  height: 62px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}

.tabbar-inner {
  height: 62px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  transition: color .25s ease;
}

.tab-item i {
  font-size: 18px;
  line-height: 1;
}

.tab-item.active {
  color: var(--primary);
}

.tab-item.active i {
  filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.4));
}

/* ===== 内页首屏 ===== */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: calc(var(--header-h) + 56px) 0 70px;
  background-size: cover;
  background-position: center;
  color: #fff;
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 78% 20%, rgba(168, 85, 247, 0.35), transparent 45%),
    radial-gradient(ellipse at 15% 80%, rgba(34, 211, 238, 0.28), transparent 45%);
}

.page-hero .container {
  max-width: 1000px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs i {
  font-size: 11px;
  opacity: 0.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(94, 234, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0);
  }
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.page-hero h1 .grad-text {
  background: linear-gradient(110deg, #c7d2fe, #f0abfc, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: clamp(28px, 6vw, 70px);
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
}

.hero-stats .stat strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  background: linear-gradient(120deg, #fff, #e0e7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-stats .stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 快速上手 ===== */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px 30px;
  transition: all .32s ease;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-no {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-soft), #e9d5ff);
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

/* ===== 功能卡片网格 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .32s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.feature-card:hover .feature-thumb img {
  transform: scale(1.07);
}

.feature-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 18, 38, 0.42), transparent 55%);
}

.feature-level {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(13, 18, 38, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.feature-level i {
  color: var(--warm);
  font-size: 11px;
}

.feature-body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-body p {
  font-size: 14px;
  color: var(--text-soft);
  flex: 1;
}

.feature-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ===== 标签 ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 999px;
  line-height: 1.6;
}

.tag-soft {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.tag-violet {
  background: #f3e8ff;
  color: #7c3aed;
}

.tag-cyan {
  background: #e0f7fe;
  color: #0e7490;
}

.tag-amber {
  background: #fef3c7;
  color: #b45309;
}

.tag-rose {
  background: #ffe4e6;
  color: #be123c;
}

/* ===== 图文设置区 ===== */
.split-section {
  background: linear-gradient(180deg, var(--bg) 0%, #eceefe 100%);
  border-top: 1px solid rgba(230, 232, 242, 0.7);
  border-bottom: 1px solid rgba(230, 232, 242, 0.7);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.split-copy {
  max-width: 540px;
}

.split-copy .section-head {
  text-align: left;
  margin: 0 0 26px;
}

.split-copy .section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(230, 232, 242, 0.9);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(30, 41, 82, 0.04);
  transition: all .28s ease;
}

.check-list li:hover {
  transform: translateX(6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow);
}

.check-list li i {
  margin-top: 5px;
  color: var(--primary);
  background: var(--primary-soft);
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.split-media {
  position: relative;
}

.split-media .main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  width: 100%;
}

.float-badge {
  position: absolute;
  bottom: 26px;
  left: -20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-badge .badge-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.float-badge .badge-text strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.float-badge .badge-text span {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== 教程列表 ===== */
.latest-section {
  background: var(--bg);
}

.guide-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-item {
  display: flex;
  gap: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: all .32s ease;
}

.guide-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.28);
}

.guide-index {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
  min-width: 46px;
}

.guide-main {
  flex: 1;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.guide-date {
  font-size: 13px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-main h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color .25s ease;
}

.guide-item:hover .guide-main h3 {
  color: var(--primary);
}

.guide-main p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.guide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.guide-minutes {
  font-size: 13px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link i {
  font-size: 12px;
  transition: transform .25s ease;
}

.text-link:hover i {
  transform: translateX(4px);
}

/* ===== FAQ ===== */
.faq-section {
  background: linear-gradient(180deg, #eceefe 0%, var(--bg) 100%);
}

.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  transition: color .25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform .35s ease, background .3s ease, color .3s ease;
}

.faq-item details[open] summary .faq-icon {
  transform: rotate(135deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  padding: 0 26px 22px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.85;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  color: #fff;
  text-align: center;
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(13, 18, 38, 0.92), rgba(79, 70, 229, 0.78)), radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.4), transparent 50%);
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.cta-inner h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-inner > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 34px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cta-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cta-note i {
  font-size: 12px;
  color: #5eead4;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.68);
  padding: 70px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 44px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.footer-logo .logo-dot {
  background: linear-gradient(120deg, #818cf8, #c084fc);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.15);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 340px;
}

.link-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.link-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.62);
  transition: all .25s ease;
}

.link-col a:hover {
  color: #c7d2fe;
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .footer-links {
  display: flex;
  gap: 18px;
}

.footer-bottom .footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .footer-links a:hover {
  color: #fff;
}

/* ===== 入场动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .steps-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split-copy {
    max-width: 100%;
  }

  .split-media {
    max-width: 620px;
  }

  .float-badge {
    left: 16px;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 0.9fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  body {
    padding-bottom: 62px;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .main-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .logo {
    font-size: 19px;
  }

  .mobile-tabbar {
    display: block;
  }

  .page-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 44px) 0 56px;
  }

  .hero-stats {
    gap: 28px;
    margin-bottom: 36px;
  }

  .steps-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-thumb {
    height: 210px;
  }

  .guide-item {
    flex-direction: column;
    gap: 12px;
    padding: 22px;
  }

  .guide-index {
    min-width: 0;
  }

  .guide-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cta-note {
    flex-direction: column;
    gap: 10px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 520px) {
  .container {
    width: 90%;
  }

  .section-head h2 {
    font-size: 1.6rem;
  }

  .split-media .main-img {
    aspect-ratio: 1 / 1;
  }

  .float-badge {
    bottom: 16px;
    left: 12px;
    padding: 11px 15px;
  }

  .faq-item summary {
    padding: 18px 18px;
    font-size: 14.5px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .guide-meta {
    gap: 10px;
  }

  .step-card {
    padding: 26px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* roulang page: category2 */
/* ===== 设计变量 ===== */
:root {
  --primary: #6C5CE7;
  --primary-dark: #4E3FCB;
  --primary-light: #A29BFE;
  --primary-soft: #EDEBFF;
  --secondary: #FD79A8;
  --secondary-light: #FFE3ED;
  --accent: #FDCB6E;
  --bg: #F6F7FE;
  --surface: #FFFFFF;
  --text: #2D3436;
  --text-weak: #6B7280;
  --border: #E6E9F2;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(76, 63, 203, 0.06);
  --shadow: 0 8px 30px rgba(76, 63, 203, 0.08);
  --shadow-lg: 0 20px 50px rgba(76, 63, 203, 0.12);
  --gradient-primary: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
  --gradient-soft: linear-gradient(135deg, #EDEBFF 0%, #FEF6FA 100%);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ===== 基础 Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 96px 0; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all .3s ease;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn i { font-size: 14px; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1); }
.btn-light:hover { background: var(--primary-soft); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid rgba(108, 92, 231, 0.4); outline-offset: 2px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header:hover { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
}
.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: inline-block;
}
.main-nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-weak);
  padding: 6px 2px;
  position: relative;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width .3s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after { width: 100%; }
.nav-cta { padding: 10px 24px; font-size: 14px; }

/* ===== Mobile Tabbar ===== */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-weak);
  padding: 6px 16px;
  border-radius: 14px;
  transition: all .3s ease;
}
.tab-item i { font-size: 18px; transition: transform .3s ease; }
.tab-item:hover { color: var(--primary); }
.tab-item:hover i { transform: scale(1.1); }
.tab-item.active {
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-soft);
}
.tab-item.active i { color: var(--primary); }
.tab-item:active i { transform: scale(0.95); }

/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  background: url('/assets/images/backpic/back-2.png') center / cover no-repeat;
  padding: 120px 0 100px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 38, 90, 0.92) 0%, rgba(42, 38, 90, 0.72) 50%, rgba(42, 38, 90, 0.45) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 720px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-tag i { font-size: 13px; color: var(--accent); }
.page-hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.page-hero .hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 30px; font-size: 15px; }

/* ===== Section Head 通用 ===== */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-head p { font-size: 16px; color: var(--text-weak); line-height: 1.7; }
.section-head.center .section-eyebrow { background: var(--secondary-light); color: var(--secondary); }

/* ===== 技巧分类卡片 ===== */
.tip-categories { background: var(--surface); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-media {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.card-body p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.card-meta {
  font-size: 13px;
  color: var(--text-weak);
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-meta i { color: var(--primary-light); font-size: 14px; }

/* ===== 精选技巧 ===== */
.featured-tips { background: var(--gradient-soft); }
.tips-list { display: flex; flex-direction: column; gap: 20px; max-width: 860px; }
.tip-list-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.tip-list-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  transform: translateX(6px);
}
.tip-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.tip-content { flex: 1; }
.tip-tags { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}
.tag.tag-warm { background: var(--secondary-light); color: var(--secondary); }
.tag.tag-gold { background: rgba(253, 203, 110, 0.18); color: #B7791F; }
.tag.tag-green { background: rgba(46, 204, 113, 0.15); color: #27AE60; }
.tip-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  transition: color .2s ease;
}
.tip-list-item:hover .tip-content h3 { color: var(--primary); }
.tip-content p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.65;
  margin-bottom: 12px;
}
.tip-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-weak);
}
.tip-meta i { font-size: 13px; color: var(--primary-light); margin-right: 4px; }

/* ===== 数据统计 ===== */
.stats-section {
  background: linear-gradient(135deg, #2D2B4E 0%, #4E3FCB 60%, #6C5CE7 100%);
  padding: 80px 0;
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-number {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, #E9E7FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* ===== 上手流程 ===== */
.steps-section { background: var(--surface); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step-item {
  text-align: center;
  padding: 36px 28px;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .3s ease;
  position: relative;
}
.step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.3);
}
.step-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-item p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.65;
}

/* ===== FAQ ===== */
.faq-section { background: var(--gradient-soft); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .3s ease;
  box-shadow: var(--shadow-sm);
}
.faq-item:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.faq-item summary {
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-item .faq-answer {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-weak);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 18px;
}

/* ===== CTA ===== */
.cta-section { background: var(--surface); }
.cta-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta-card h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-card p { font-size: 16px; color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== Footer ===== */
.site-footer {
  background: #1F1E2E;
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: inline-block;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}
.link-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.link-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  transition: color .2s ease, padding-left .2s ease;
}
.link-col a:hover { color: var(--secondary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 42px; }
  .section-padding { padding: 72px 0; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .header-inner { justify-content: flex-start; height: 64px; }
  .mobile-tabbar { display: flex; }
  body { padding-bottom: 72px; }
  .page-hero { padding: 88px 0 72px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero .hero-desc { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section-head h2 { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .cta-card { padding: 44px 28px; }
  .cta-card h2 { font-size: 26px; }
  .cta-actions .btn { width: 100%; }
  .tip-list-item { padding: 20px; flex-direction: column; }
  .tip-icon { width: 40px; height: 40px; min-width: 40px; font-size: 16px; }
  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-item .faq-answer { padding: 0 20px 20px; }
  .stats-grid { gap: 20px; }
  .stat-number { font-size: 36px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .section-padding { padding: 56px 0; }
  .category-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 28px; }
  .hero-tag { font-size: 12px; padding: 6px 14px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 24px; }
  .cta-card { padding: 36px 20px; }
  .footer-inner { gap: 24px; }
  .footer-bottom { font-size: 13px; }
  .step-item { padding: 28px 20px; }
  .tip-meta { flex-wrap: wrap; gap: 12px; }
}

/* ===== 动效 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-hero .hero-inner { animation: fadeInUp .8s ease both; }
.section-padding { position: relative; }

/* ===== 分隔线 ===== */
.divider {
  width: 56px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 20px 0;
}
.section-head.center .divider { margin: 20px auto; }
