/* roulang page: index */
:root {
  --primary: #5B6CF0;
  --primary-dark: #4250C4;
  --primary-light: #E8ECFE;
  --accent: #FF6B35;
  --accent-light: #FFB26B;
  --dark: #0B0F1E;
  --dark-2: #131A2B;
  --dark-3: #1B2335;
  --bg: #F6F8FE;
  --card: #FFFFFF;
  --text: #1A2233;
  --text-light: #5A6B85;
  --text-lighter: #8A9AB5;
  --border: #E4E9F2;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 8px 32px rgba(11, 15, 30, 0.08);
  --shadow-hover: 0 16px 48px rgba(91, 108, 240, 0.16);
  --shadow-accent: 0 12px 36px rgba(255, 107, 53, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --section-space: 110px;
  --container: 1240px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
a:focus-visible { outline: 3px solid rgba(91, 108, 240, 0.45); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: inherit; border: none; background: none; cursor: pointer; }
input:focus { outline: none; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(11, 15, 30, 0.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  box-shadow: 0 6px 18px rgba(91, 108, 240, 0.35);
}
.brand-text { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; color: var(--text); }
.brand-text span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-item {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-item:hover { color: var(--primary); background: var(--primary-light); }
.nav-item.active { color: var(--primary); background: var(--primary-light); }
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 3px;
  border-radius: 3px;
  background: var(--primary);
}

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

/* Mega Menu */
.mega-trigger { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 680px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(11, 15, 30, 0.18);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1001;
  overflow: hidden;
}
.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
}
.mega-links { padding: 24px; display: grid; gap: 4px; }
.mega-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mega-links a:hover { background: var(--primary-light); transform: translateX(4px); }
.mega-links .mega-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mega-links .mega-title { font-size: 14px; font-weight: 700; color: var(--text); }
.mega-links .mega-desc { font-size: 12px; color: var(--text-lighter); margin-top: 2px; }
.mega-featured {
  background: var(--dark);
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url('/assets/images/coverpic/cover-1.png');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 280px;
}
.mega-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 30, 0.1) 0%, rgba(11, 15, 30, 0.85) 100%);
  border-radius: 0;
}
.mega-featured-content { position: relative; z-index: 1; }
.mega-featured-content h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.mega-featured-content p { font-size: 13px; color: rgba(255, 255, 255, 0.75); line-height: 1.5; }
.mega-featured-content a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.mega-featured-content a:hover { gap: 10px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 30, 0.88) 0%, rgba(19, 26, 43, 0.72) 50%, rgba(91, 108, 240, 0.35) 100%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(255, 107, 53, 0.18) 0%, transparent 60%);
  z-index: -1;
}
.hero-inner {
  width: 100%;
  padding: 100px 0 90px;
  text-align: left;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.hero-badge i { color: var(--accent-light); }
.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 18px;
  max-width: 720px;
}
.hero h1 .gradient-text {
  background: linear-gradient(90deg, var(--accent-light), #FF8A5C, #5B6CF0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(255, 107, 53, 0.4);
}
.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat { text-align: left; }
.hero-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero-stat .num i { font-style: normal; color: var(--accent-light); }
.hero-stat .label { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-top: 4px; }

/* ===== Section base ===== */
.section { padding: var(--section-space) 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--dark); color: #fff; }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255, 255, 255, 0.7); }
.section-dark .section-header .section-tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent-light);
}

/* ===== Category cards ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.cat-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.08); }
.cat-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 15, 30, 0.4) 100%);
}
.cat-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cat-card-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.cat-card-body h3 .cat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.cat-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; flex: 1; }
.cat-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.cat-card-link:hover { gap: 12px; color: var(--primary-dark); }

/* ===== Latest / CMS ===== */
.latest-section { background: var(--bg); }
.latest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card__badge {
  align-self: flex-start;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.post-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}
.post-card__link:hover .post-card__title { color: var(--primary); }
.post-card__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-lighter);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.post-card__more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.post-card__link:hover .post-card__more { gap: 8px; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--card);
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  color: var(--text-light);
  font-size: 16px;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(91, 108, 240, 0.3);
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== Process ===== */
.process-section { background: var(--dark); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(91, 108, 240, 0.6), rgba(255, 107, 53, 0.6));
  border-radius: 2px;
}
.step-card {
  position: relative;
  text-align: center;
  padding: 0 10px;
  z-index: 1;
}
.step-num {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 0 0 6px rgba(91, 108, 240, 0.15);
}
.step-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: rgba(255, 255, 255, 0.6); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary .faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-answer { padding: 0 28px 24px; font-size: 15px; color: var(--text-light); line-height: 1.8; }

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 90px 0;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  isolation: isolate;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 30, 0.82);
  z-index: -1;
}
.cta-section h2 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 50px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, 0.55); }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-light); padding-left: 6px; }
.footer-contact p {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.55);
}
.footer-contact p i { margin-right: 8px; color: var(--accent-light); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { height: 68px; }
  .hero h1 { font-size: 42px; }
  .hero { min-height: 580px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .mega-menu { width: 560px; }
}
@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--card);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 16px 40px rgba(11, 15, 30, 0.12);
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .nav-item { width: 100%; padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .mega-menu { display: none; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-btns .btn { padding: 12px 24px; }
  .cat-grid { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-grid::before { display: none; }
  .section-header h2 { font-size: 28px; }
  .cta-section h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 28px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat .num { font-size: 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .section-header h2 { font-size: 24px; }
  .btn { padding: 12px 20px; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
:root {
    --primary: #4F46E5;
    --primary-light: #6366F1;
    --primary-dark: #4338CA;
    --accent: #06B6D4;
    --warm: #F59E0B;
    --bg: #F6F7FB;
    --bg-deep: #0F172A;
    --surface: #FFFFFF;
    --text: #1E293B;
    --text-soft: #64748B;
    --border: #E2E8F0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset / Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

input, textarea {
    font-family: inherit;
}

h1, h2, h3, h4, h5 {
    line-height: 1.3;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.36);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.4);
    outline-offset: 2px;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-outline:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
}

.btn-light {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.22);
}

/* ===== Header / Nav ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(79, 70, 229, 0.35));
}

.brand-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text);
}

.brand-text span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-soft);
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.06);
}

.nav-item.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    font-weight: 600;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(79, 70, 229, 0.16);
}

.mega-trigger {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 560px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    border: 1px solid var(--border);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: flex;
    gap: 16px;
}

.mega-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mega-links a:hover {
    background: rgba(79, 70, 229, 0.06);
    transform: translateX(4px);
}

.mega-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 10px;
}

.mega-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.mega-desc {
    display: block;
    font-size: 12px;
    color: var(--text-soft);
    margin-top: 2px;
}

.mega-featured {
    width: 200px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mega-featured::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.mega-featured-content {
    position: relative;
    z-index: 1;
}

.mega-featured-content h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.mega-featured-content p {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 12px;
    line-height: 1.6;
}

.mega-featured-content a {
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 2px;
}

.mega-featured-content a:hover {
    border-color: #fff;
}

/* ===== 页面 Hero ===== */
.page-hero {
    position: relative;
    padding: 104px 0 96px;
    background: var(--bg-deep);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-2.png');
    background-size: cover;
    background-position: center 35%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 42, 0.94) 12%, rgba(15, 23, 42, 0.68) 58%, rgba(15, 23, 42, 0.35) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-badge span {
    font-size: 16px;
}

.page-hero h1 {
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 18px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== 通用 Section ===== */
.section {
    padding: 88px 0;
}

.section-light {
    background: var(--surface);
}

.section-tint {
    background: var(--bg);
}

.section-header {
    max-width: 720px;
    margin-bottom: 52px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-soft);
    line-height: 1.8;
}

/* ===== 统计区块 ===== */
.stats-section {
    padding: 56px 0;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 30px;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.stat-number em {
    font-style: normal;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-soft);
    margin-top: 6px;
}

/* ===== 分类网格 ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.25);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.12));
    margin-bottom: 4px;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.category-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.7;
    flex-grow: 1;
}

.category-card .category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.category-card .category-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ===== 精选攻略 ===== */
.guide-section {
    background: var(--surface);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.guide-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

.guide-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.guide-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-card:hover .guide-cover img {
    transform: scale(1.06);
}

.guide-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.guide-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.guide-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guide-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 12px;
    border-radius: 999px;
}

.guide-views {
    font-size: 13px;
    color: var(--text-soft);
}

.guide-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
    transition: var(--transition);
}

.guide-card:hover .guide-title {
    color: var(--primary);
}

.guide-excerpt {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.7;
    flex-grow: 1;
}

.guide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.guide-time {
    font-size: 13px;
    color: var(--text-soft);
}

.guide-read {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.guide-read:hover {
    gap: 8px;
    color: var(--primary-dark);
}

/* ===== 流程步骤 ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-step {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.process-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.7;
}

/* ===== 标签云 ===== */
.tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-soft);
    transition: var(--transition);
    cursor: pointer;
}

.tag-item:hover {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.3);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tag-item span {
    font-weight: 600;
    color: var(--primary);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(79, 70, 229, 0.2);
}

.faq-item details > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.faq-item details > summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item details[open] summary .faq-icon {
    transform: rotate(45deg);
    background: rgba(79, 70, 229, 0.14);
}

.faq-item details[open] summary {
    color: var(--primary);
}

.faq-answer {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.8;
    border-top: 1px solid rgba(226, 232, 240, 0.4);
    padding-top: 18px;
}

/* ===== CTA ===== */
.cta-section {
    position: relative;
    padding: 92px 0;
    background: var(--bg-deep);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(79, 70, 229, 0.4));
}

.cta-box {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}

.cta-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== 页脚 ===== */
.site-footer {
    background: #0B1120;
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-text {
    color: #fff;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 18px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.55);
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-col p {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.55);
}

.footer-col p i {
    font-style: normal;
    margin-right: 6px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .main-nav {
        gap: 4px;
    }
    .nav-item {
        padding: 8px 14px;
        font-size: 14px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-grid,
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mega-menu {
        width: 480px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 70px;
    }
    .page-hero h1 {
        font-size: 34px;
    }
    .section {
        padding: 66px 0;
    }
    .section-title {
        font-size: 26px;
    }
    .header-inner {
        flex-wrap: wrap;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 6px;
    }
    .main-nav.show {
        display: flex;
    }
    .nav-item {
        padding: 12px 16px;
        border-radius: 12px;
    }
    .mega-menu {
        width: 100%;
        right: auto;
        left: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }
    .mega-trigger.open .mega-menu {
        max-height: 480px;
        padding: 16px;
        opacity: 1;
        visibility: visible;
    }
    .mega-grid {
        flex-direction: column;
    }
    .mega-featured {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 18px;
    }
    .brand-text {
        font-size: 17px;
    }
    .brand-icon {
        font-size: 24px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .categories-grid,
    .guide-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .faq-item details > summary {
        padding: 18px 20px;
        font-size: 15px;
    }
    .faq-answer {
        padding: 0 20px 20px;
    }
    .page-hero h1 {
        font-size: 30px;
    }
    .hero-lead {
        font-size: 15px;
    }
    .section-title {
        font-size: 24px;
    }
    .tag-item {
        padding: 7px 14px;
        font-size: 13px;
    }
    .stat-number {
        font-size: 30px;
    }
}

/* roulang page: article */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #818cf8;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --bg: #f5f6fa;
  --surface: #ffffff;
  --text: #1e293b;
  --text-weak: #64748b;
  --border: #e6e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(15,23,42,.07);
  --shadow-lg: 0 16px 44px rgba(15,23,42,.14);
  --transition: .28s cubic-bezier(.4,0,.2,1);
  --header-h: 76px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea { font-family: inherit; }
::selection { background: rgba(79,70,229,.16); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(129,140,248,.7); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 100px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 700;
  border: none; transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; box-shadow: 0 10px 28px rgba(245,158,11,.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(245,158,11,.46); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); transform: translateY(-3px); }
.btn-primary:active, .btn-ghost:active { transform: translateY(-1px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--accent); color: #0f172a;
}
.tag {
  display: inline-block; padding: 6px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; color: var(--text-weak); font-weight: 500; transition: all var(--transition);
}
.tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,23,42,.93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: 0 10px 36px rgba(2,6,23,.38); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon { font-size: 30px; line-height: 1; filter: drop-shadow(0 4px 10px rgba(245,158,11,.35)); }
.brand-text { display: inline-flex; align-items: center; gap: 7px; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: .4px; }
.brand-text span { font-size: 11px; font-weight: 700; color: var(--accent-light); background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); padding: 2px 9px; border-radius: 999px; letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-item {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  color: rgba(255,255,255,.76); font-size: 15px; font-weight: 600;
  transition: all var(--transition);
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav-item.active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 4px 14px rgba(79,70,229,.42); }
.nav-cta { display: flex; align-items: center; }
.mega-trigger { position: relative; }
.nav-toggle {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(255,255,255,.09); color: #fff;
  font-size: 19px; transition: all var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.mega-menu {
  position: absolute; top: calc(100% + 14px); right: 0; width: 500px;
  background: var(--surface); border-radius: 20px; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 20px; z-index: 100;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--transition) .05s;
}
.mega-trigger:hover .mega-menu, .mega-trigger:focus-within .mega-menu, .site-header.menu-open .mega-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.mega-links { display: flex; flex-direction: column; gap: 5px; }
.mega-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; transition: all var(--transition); }
.mega-links a:hover { background: var(--bg); transform: translateX(5px); }
.mega-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(79,70,229,.09); border-radius: 11px; font-size: 19px; }
.mega-title { display: block; font-weight: 700; color: var(--text); font-size: 14.5px; }
.mega-desc { display: block; font-size: 12px; color: var(--text-weak); }
.mega-featured { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: flex-end; padding: 22px; min-height: 158px; }
.mega-featured::before { content: ''; position: absolute; right: -26px; top: -28px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.14); }
.mega-featured-content { position: relative; z-index: 1; }
.mega-featured-content h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.mega-featured-content p { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.6; margin-bottom: 12px; }
.mega-featured-content a { font-size: 13.5px; font-weight: 700; color: var(--accent-light); }
.mega-featured-content a:hover { text-decoration: underline; }

.page-banner {
  position: relative; padding: 188px 0 76px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, rgba(15,23,42,.94) 0%, rgba(49,46,129,.84) 100%), url('/assets/images/backpic/back-2.png') center / cover no-repeat;
}
.page-banner::after {
  content: ''; position: absolute; right: -90px; bottom: -110px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,158,11,.30), transparent 70%); border-radius: 50%; pointer-events: none;
}
.page-banner .container { position: relative; z-index: 2; }
.banner-sub {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,.9); background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 15px; margin-bottom: 20px;
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.62); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.84); }
.breadcrumb a:hover { color: var(--accent-light); }
.bc-sep { opacity: .55; }
.bc-current { color: rgba(255,255,255,.95); }
.page-banner h1 { font-size: 40px; line-height: 1.28; font-weight: 800; max-width: 860px; margin-bottom: 20px; letter-spacing: .4px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,.74); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-section { padding: 64px 0; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 345px; gap: 34px; align-items: start; }
.article-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 44px;
}
.article-content { font-size: 16.5px; line-height: 1.95; color: #334155; }
.article-content h2 { font-size: 26px; color: var(--text); margin: 32px 0 14px; line-height: 1.4; }
.article-content h3 { font-size: 21px; color: var(--text); margin: 26px 0 12px; line-height: 1.45; }
.article-content h4 { font-size: 18px; color: var(--text); margin: 22px 0 10px; }
.article-content p { margin-bottom: 18px; }
.article-content ul { list-style: disc; margin: 0 0 18px; padding-left: 22px; }
.article-content ol { list-style: decimal; margin: 0 0 18px; padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.article-content img { border-radius: var(--radius); margin: 22px 0; box-shadow: var(--shadow); height: auto; }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--primary-dark); }
.article-content blockquote {
  border-left: 4px solid var(--primary); background: var(--bg);
  padding: 16px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0; color: var(--text-weak); font-style: normal;
}
.article-content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.article-content table th, .article-content table td { border: 1px solid var(--border); padding: 11px 15px; text-align: left; }
.article-content table th { background: var(--bg); font-weight: 700; color: var(--text); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border); }
.tags-label { font-size: 14px; font-weight: 700; color: var(--text); }
.article-footer-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.article-footer-nav a {
  flex: 1; min-width: 190px; display: flex; flex-direction: column; gap: 3px;
  padding: 16px 20px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: all var(--transition);
}
.article-footer-nav a small { font-size: 12px; color: var(--text-weak); }
.article-footer-nav a strong { font-size: 15px; font-weight: 700; color: var(--text); }
.article-footer-nav a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(79,70,229,.25); }
.article-footer-nav a:hover small, .article-footer-nav a:hover strong { color: #fff; }

.article-empty { text-align: center; padding: 66px 24px; }
.article-empty .empty-icon { font-size: 60px; line-height: 1; }
.article-empty h2 { font-size: 28px; margin: 18px 0 10px; }
.article-empty p { color: var(--text-weak); margin-bottom: 28px; }

.article-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.sidebar-card h3 { font-size: 17.5px; font-weight: 800; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border); position: relative; }
.sidebar-card h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 42px; height: 2px; background: var(--accent); border-radius: 2px; }
.sidebar-list { display: flex; flex-direction: column; gap: 9px; }
.sidebar-list a { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--bg); border: 1px solid transparent; font-size: 14px; color: var(--text); transition: all var(--transition); }
.sidebar-list a .icon { flex-shrink: 0; font-size: 16px; }
.sidebar-list a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateX(4px); box-shadow: 0 8px 20px rgba(79,70,229,.22); }
.sidebar-cta { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: none; color: #fff; }
.sidebar-cta h3 { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.sidebar-cta h3::after { background: var(--accent); }
.sidebar-cta p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.82); margin-bottom: 20px; }

.related-section { padding: 78px 0; background: var(--surface); border-top: 1px solid var(--border); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 4px; color: var(--primary); margin-bottom: 10px; }
.section-head h2 { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; letter-spacing: .5px; }
.section-head h2 span { color: var(--primary); }
.section-head p { font-size: 15.5px; color: var(--text-weak); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.related-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.related-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.related-card .card-img { position: relative; display: block; height: 185px; overflow: hidden; }
.related-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.related-card:hover .card-img img { transform: scale(1.07); }
.card-badge { position: absolute; top: 14px; left: 14px; display: inline-block; padding: 5px 13px; border-radius: 999px; background: rgba(15,23,42,.62); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); }
.related-card .card-body { padding: 22px 22px 20px; }
.related-card h3 { font-size: 17px; font-weight: 800; line-height: 1.45; margin-bottom: 9px; }
.related-card h3 a:hover { color: var(--primary); }
.related-card .card-body p { font-size: 14px; color: var(--text-weak); line-height: 1.7; }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--text-weak); margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }

.cta-section { position: relative; padding: 88px 0; color: #fff; text-align: center; overflow: hidden; background: linear-gradient(120deg, rgba(15,23,42,.94), rgba(49,46,129,.87)), url('/assets/images/backpic/back-1.png') center / cover no-repeat; }
.cta-section::before { content: ''; position: absolute; left: -70px; top: -80px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.26), transparent 70%); pointer-events: none; }
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; letter-spacing: .6px; }
.cta-section p { max-width: 660px; margin: 0 auto 32px; font-size: 15.5px; color: rgba(255,255,255,.8); line-height: 1.8; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.site-footer { background: #0b1120; color: #94a3b8; padding-top: 68px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: 42px; padding-bottom: 46px; }
.footer-brand .brand-text { font-size: 22px; color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.85; margin-top: 16px; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 16.5px; font-weight: 800; margin-bottom: 16px; padding-bottom: 11px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent); border-radius: 2px; }
.footer-col a { display: block; color: #94a3b8; font-size: 14px; padding: 5.5px 0; transition: all var(--transition); }
.footer-col a:hover { color: var(--accent-light); padding-left: 7px; }
.footer-contact p { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 9px; }
.footer-contact p i { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #64748b; }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner { padding: 170px 0 64px; }
  .page-banner h1 { font-size: 34px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-inner { height: auto; min-height: 70px; flex-wrap: wrap; padding: 12px 20px; }
  .mega-trigger { position: static; }
  .mega-menu { position: fixed; top: 70px; left: 14px; right: 14px; width: auto; max-height: calc(100vh - 92px); overflow-y: auto; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-featured { min-height: 110px; padding: 18px 20px; }
  .article-sidebar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand-text { font-size: 19px; }
  .brand-icon { font-size: 26px; }
  .brand-text span { font-size: 10px; padding: 1px 7px; }
  .page-banner { padding: 140px 0 48px; }
  .page-banner h1 { font-size: 25px; }
  .banner-sub { font-size: 12.5px; }
  .article-section { padding: 40px 0; }
  .article-card { padding: 24px 20px; border-radius: 18px; }
  .article-content { font-size: 15.5px; }
  .article-content h2 { font-size: 21px; }
  .article-content h3 { font-size: 18px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .related-section { padding: 54px 0; }
  .section-head h2 { font-size: 25px; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-footer-nav a { min-width: 100%; }
  .cta-actions .btn { width: 100%; }
}
@media (max-width: 380px) {
  .header-inner { padding: 10px 12px; }
  .brand-text { font-size: 17px; }
  .brand-text span { display: none; }
}

/* roulang page: category2 */
/* ===== 设计变量 ===== */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd1;
  --primary-light: #a29bfe;
  --accent: #fbbf24;
  --accent-dark: #f59e0b;
  --accent-light: #fde68a;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #273549;
  --text: #334155;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.14);
  --shadow-primary: 0 8px 32px rgba(108, 92, 231, 0.28);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --space-section: 96px;
}

/* ===== 基础 Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  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-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108, 92, 231, 0.38);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(251, 191, 36, 0.35);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-lg {
  padding: 15px 38px;
  font-size: 1.05rem;
}

/* ===== 通用标签/徽章 ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  border: 1px solid rgba(108, 92, 231, 0.18);
}

.badge-accent {
  background: rgba(251, 191, 36, 0.14);
  color: #b45309;
  border-color: rgba(251, 191, 36, 0.28);
}

.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.22);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.22);
}

/* ===== Header / 导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 1.7rem;
  line-height: 1;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.brand-text span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
}

.nav-item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  color: var(--white);
  background: rgba(108, 92, 231, 0.28);
  font-weight: 600;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mega-trigger {
  position: relative;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-toggle:hover {
  background: var(--primary);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 480px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}

.mega-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-links a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mega-links a:hover {
  background: rgba(108, 92, 231, 0.08);
  transform: translateX(4px);
}

.mega-icon {
  font-size: 1.4rem;
  line-height: 1.2;
}

.mega-title {
  display: block;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.mega-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

.mega-featured {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  display: flex;
  align-items: center;
}

.mega-featured-content h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.mega-featured-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.mega-featured-content a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.mega-featured-content a:hover {
  color: var(--accent-light);
}

/* ===== 页面 Banner ===== */
.page-banner {
  position: relative;
  padding: 110px 0 100px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.82)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.22) 0%, transparent 70%);
  border-radius: 50%;
}

.banner-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.page-banner h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.page-banner h1 span {
  color: var(--accent);
}

.page-banner .banner-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin-bottom: 32px;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--accent-light);
}

/* ===== 通用板块 ===== */
.section {
  padding: var(--space-section) 0;
}

.section-bg {
  background: var(--white);
}

.section-bg-alt {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.section-dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-header .badge {
  margin-bottom: 14px;
}

.section-header .section-title {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-header .section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== 数据统计 ===== */
.stats-section {
  position: relative;
  margin-top: -40px;
  z-index: 3;
  padding-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stat-card:hover::after {
  transform: scaleX(1);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-number span {
  font-size: 1.2rem;
  color: var(--text-light);
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== 活动分类卡片 ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition);
  position: relative;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img {
  transform: scale(1.06);
}

.category-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.65) 0%, transparent 60%);
}

.category-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.category-card-body {
  padding: 24px;
}

.category-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.category-card-body p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.category-card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-card-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ===== 热门活动列表 ===== */
.activities-section {
  position: relative;
}

.activities-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.activities-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.activity-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 92, 231, 0.3);
}

.activity-item-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  color: var(--white);
}

.activity-item:nth-child(2n) .activity-item-icon {
  background: linear-gradient(135deg, var(--accent), #ea580c);
}

.activity-item:nth-child(3n) .activity-item-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.activity-item-content {
  flex: 1;
  min-width: 0;
}

.activity-item-content h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.activity-item-content p {
  color: var(--text-light);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.activity-item-time {
  font-size: 0.78rem;
  color: var(--text-lighter);
  display: flex;
  align-items: center;
  gap: 4px;
}

.activity-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== 活动日历/侧栏 ===== */
.activity-side {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius);
  padding: 36px 30px;
  color: rgba(255, 255, 255, 0.8);
  position: sticky;
  top: 100px;
  overflow: hidden;
}

.activity-side::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.35) 0%, transparent 70%);
  border-radius: 50%;
}

.activity-side h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
  position: relative;
}

.activity-side > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-bottom: 24px;
  position: relative;
}

.side-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.side-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.side-item-date {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.side-item-date strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.side-item-date span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
}

.side-item-info h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.side-item-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

/* ===== 参与流程 ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px 28px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.step-card::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(108, 92, 231, 0.12);
  line-height: 1;
  z-index: 0;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(108, 92, 231, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  position: relative;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  position: relative;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  position: relative;
}

/* ===== 图文区块 ===== */
.feature-section {
  overflow: hidden;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.2) 0%, transparent 50%);
}

.feature-content h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-content .feature-desc {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1rem;
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  transition: var(--transition);
}

.feature-point:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.feature-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-point-text h4 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.feature-point-text p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== FAQ ===== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  list-style: none;
  transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item summary:hover .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(90deg);
}

.faq-item[open] {
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: var(--shadow);
}

.faq-item[open] summary .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 26px 22px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
  margin: 0 26px 0;
  padding-left: 0;
  padding-right: 0;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(90, 75, 209, 0.85)), url('/assets/images/backpic/back-3.png') center/cover fixed no-repeat;
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.9rem;
}

.footer-contact i {
  font-style: normal;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  :root {
    --space-section: 72px;
  }

  .page-banner h1 {
    font-size: 2.4rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activities-wrap,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .activity-side {
    position: relative;
    top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .mega-menu {
    width: 420px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 60px;
    padding: 12px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 8px 0 4px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-item {
    padding: 6px 14px;
    font-size: 0.88rem;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    margin-left: auto;
  }

  .mega-menu {
    width: calc(100vw - 32px);
    right: -12px;
  }

  .page-banner {
    padding: 80px 0;
  }

  .page-banner h1 {
    font-size: 1.9rem;
  }

  .page-banner .banner-desc {
    font-size: 1rem;
  }

  .section-header .section-title {
    font-size: 1.9rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .activity-item {
    flex-wrap: wrap;
  }

  .activity-item-meta {
    width: 100%;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
  }

  .feature-image {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  :root {
    --space-section: 56px;
  }

  .container {
    padding: 0 18px;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .nav-item {
    padding: 5px 12px;
    font-size: 0.82rem;
  }

  .page-banner {
    padding: 64px 0;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat-card {
    padding: 22px 18px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-header .section-title {
    font-size: 1.55rem;
  }

  .forms {
    font-size: 1.6rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .mega-featured {
    display: none;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    width: calc(100vw - 36px);
    right: -60px;
    padding: 12px;
  }
}

/* roulang page: category3 */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --primary-soft: #eef2ff;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --accent-soft: #ecfeff;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #1e293b;
  --text-body: #475569;
  --text-weak: #94a3b8;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
  --transition: 0.3s ease;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
h1, h2, h3, h4, h5 { color: var(--text); line-height: 1.3; font-weight: 700; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  font-size: 26px;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.brand-text span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  margin: 0 16px;
}
.nav-item {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-item:hover {
  color: var(--primary);
  background: var(--primary-soft);
}
.nav-item.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition);
}
.nav-toggle:hover { background: var(--primary); color: #fff; }
.mega-trigger { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 560px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 99;
}
.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.mega-links { display: flex; flex-direction: column; gap: 4px; }
.mega-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: background var(--transition);
}
.mega-links a:hover { background: var(--primary-soft); }
.mega-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mega-title { display: block; font-weight: 600; color: var(--text); font-size: 14px; }
.mega-desc { display: block; font-size: 12px; color: var(--text-weak); margin-top: 2px; }
.mega-featured {
  background: linear-gradient(145deg, var(--primary), var(--accent));
  border-radius: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mega-featured::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  top: -30px;
  right: -20px;
}
.mega-featured-content h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.mega-featured-content p { font-size: 13px; opacity: 0.9; margin-bottom: 14px; line-height: 1.6; }
.mega-featured-content a {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
  transition: transform var(--transition);
}
.mega-featured-content a:hover { transform: translateX(4px); }

/* ===== Hero ===== */
.hero-simple {
  position: relative;
  background: linear-gradient(135deg, #eef2ff, #f0f9ff 60%, #ecfeff);
  padding: 76px 0 60px;
  overflow: hidden;
}
.hero-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}
.hero-simple::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.12), transparent 70%);
  top: -100px;
  right: -80px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-simple .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero-simple h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--dark);
}
.hero-simple h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-simple p.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 30px;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}
.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #0891b2);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6, 182, 212, 0.4); }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-white); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--text-body); line-height: 1.7; }

/* ===== Stats ===== */
.stats-wrap {
  margin-top: -40px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid var(--border);
}
.stat-item { text-align: center; padding: 12px 0; }
.stat-item .num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.stat-item .label { font-size: 14px; color: var(--text-weak); margin-top: 6px; font-weight: 500; }

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--primary-soft);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-img .img-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 16px;
}
.card-body { padding: 24px; }
.card-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.5; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { font-size: 14px; color: var(--text-body); line-height: 1.7; margin-bottom: 14px; }
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-weak);
}
.card-meta a { color: var(--primary); font-weight: 600; }
.card-meta a:hover { text-decoration: underline; }

/* ===== Feature Text Block ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 0 auto;
  max-width: 1120px;
}
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-img img { width: 100%; height: 400px; object-fit: cover; }
.feature-text h2 { font-size: 30px; margin-bottom: 16px; }
.feature-text .tag { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 10px; display: block; }
.feature-text p { margin-bottom: 16px; line-height: 1.8; }
.check-list { margin-top: 16px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-body);
}
.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.faq-item details > summary {
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.faq-item details > summary::-webkit-details-marker { display: none; }
.faq-item details > summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  font-weight: 400;
  transition: transform var(--transition);
}
.faq-item details[open] > summary::after { transform: rotate(45deg); }
.faq-item details[open] > summary { border-bottom: 1px solid var(--border); }
.faq-answer { padding: 16px 24px 20px; font-size: 14px; line-height: 1.8; color: var(--text-body); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark), #1e1b4b);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-content h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.cta-content p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 16px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  margin-top: 80px;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.7;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.7;
  transition: all var(--transition);
}
.footer-col a:hover { opacity: 1; color: var(--primary-light); transform: translateX(4px); }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.7;
  padding: 6px 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  flex-wrap: wrap;
  font-size: 13px;
  opacity: 0.55;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-nav { gap: 2px; }
  .nav-item { padding: 10px 12px; font-size: 14px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-img img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(15,23,42,0.1);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    margin: 0;
    z-index: 98;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-item { display: block; padding: 14px 16px; font-size: 16px; }
  .mega-trigger .mega-menu { display: none; }
  .section { padding: 56px 0; }
  .hero-simple { padding: 48px 0 52px; }
  .hero-simple h1 { font-size: 32px; }
  .hero-simple p.lead { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px; }
  .stat-item .num { font-size: 30px; }
  .section-head h2 { font-size: 26px; }
  .mega-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .mega-trigger:hover .mega-menu,
  .mega-trigger:focus-within .mega-menu {
    display: none;
  }
  .cards-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .cta-section { padding: 40px 24px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .brand-text { font-size: 17px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section-head p { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .feature-img img { height: 220px; }
}
