/* roulang page: index */
/* ========== Design Tokens ========== */
:root {
  --primary: #5B5BD6;
  --primary-2: #8B6CE8;
  --accent: #F0A83A;
  --bg-deep: #0C0F1A;
  --bg-panel: #131729;
  --bg-elevated: #1A1F33;
  --bg-footer: #080A12;
  --text-white: #F2F5FA;
  --text-body: #A0A8BC;
  --text-muted: #6B7387;
  --border-dim: rgba(255,255,255,0.06);
  --border-hover: rgba(91,91,214,0.4);
  --success: #2DD4BF;
  --warning: #F59E0B;
  --error: #EF4444;
  --radius-card: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 30px rgba(91,91,214,0.08);
  --shadow-hover: 0 12px 40px rgba(91,91,214,0.15);
  --max-w: 1200px;
  --gutter: 24px;
  --font-cn: 'PingFang SC','Microsoft YaHei','Noto Sans SC','Helvetica Neue',sans-serif;
  --font-num: 'Inter','DIN Alternate','PingFang SC',sans-serif;
}

/* ========== 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-cn);
  background: var(--bg-deep);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; cursor: pointer; }
input,textarea,select { font-family: inherit; font-size: 0.9375rem; }
ul,ol { list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ========== Container & Layout ========== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: 88px 0; position: relative; }
.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.section-head .section-tag {
  display: inline-block;
  background: rgba(91,91,214,0.12);
  color: var(--primary-2);
  font-size: 0.875rem;
  padding: 5px 18px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.4;
  margin-bottom: 12px;
}
.section-head .section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, #5B5BD6 0%, #8B6CE8 50%, #F0A83A 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(91,91,214,0.3);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(91,91,214,0.4);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0) scale(0.98); }
.btn-lg { height: 50px; padding: 0 32px; font-size: 1rem; border-radius: 10px; }
.btn-sm { height: 36px; padding: 0 18px; font-size: 0.875rem; border-radius: var(--radius-sm); }
.btn-nav { height: 36px; padding: 0 20px; font-size: 0.875rem; }

/* ========== Tags & Badges ========== */
.tag {
  display: inline-block;
  background: rgba(91,91,214,0.12);
  color: var(--primary-2);
  font-size: 0.8125rem;
  padding: 3px 14px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.tag-accent {
  background: rgba(240,168,58,0.14);
  color: var(--accent);
}

/* ========== Header & Nav ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 64px;
  background: rgba(12,15,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5B5BD6, #8B6CE8);
  border-radius: 10px;
  color: #fff;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  font-size: 0.9375rem;
  color: rgba(242,245,250,0.7);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 400;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text-white);
}
.nav-link.active {
  color: var(--primary-2);
  font-weight: 500;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #5B5BD6, #8B6CE8);
  border-radius: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input {
  width: 190px;
  height: 40px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0 46px 0 16px;
  font-size: 0.875rem;
  color: var(--text-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,91,214,0.15);
}
.search-btn {
  position: absolute;
  right: 3px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5B5BD6, #8B6CE8);
  border: none;
  border-radius: 6px;
  color: #fff;
  transition: filter 0.2s ease;
}
.search-btn:hover { filter: brightness(1.15); }
.login-link {
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 6px 4px;
  transition: color 0.2s ease;
}
.login-link:hover { color: var(--text-white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
  z-index: 210;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  margin-top: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(91,91,214,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 65%, rgba(240,168,58,0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 55% 90%, rgba(139,108,232,0.14) 0%, transparent 50%),
    var(--bg-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,15,26,0.72) 0%, rgba(12,15,26,0.82) 60%, var(--bg-deep) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.8125rem;
  color: var(--text-white);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; fill: var(--accent); }
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num {
  font-family: var(--font-num);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(242,245,250,0.6);
  letter-spacing: 0.3px;
}

/* ========== Pain Section ========== */
.pain-section {
  background: var(--bg-deep);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: all 0.25s ease;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
  opacity: 0.8;
}
.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.pain-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(91,91,214,0.14);
  margin-bottom: 18px;
  color: var(--primary-2);
}
.pain-icon svg { width: 22px; height: 22px; }
.pain-card h3 {
  color: var(--text-white);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.pain-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========== Solution Section ========== */
.solution-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0E1220 55%, var(--bg-deep) 100%);
}
.solution-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.solution-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.solution-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.solution-media:hover img { transform: scale(1.03); }
.solution-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,91,214,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.solution-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.solution-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}
.solution-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(91,91,214,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-2);
  margin-top: 2px;
}
.check-icon svg { width: 13px; height: 13px; }
.solution-item h3 {
  color: var(--text-white);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.solution-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ========== Results Section ========== */
.results-section {
  padding: 72px 0;
}
.results-panel {
  background: linear-gradient(135deg, rgba(91,91,214,0.18) 0%, rgba(139,108,232,0.14) 50%, rgba(240,168,58,0.12) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.results-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(240,168,58,0.14) 0%, transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(91,91,214,0.2) 0%, transparent 40%);
  pointer-events: none;
}
.results-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.result-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B5BD6, #F0A83A);
  margin-bottom: 2px;
}
.result-number {
  font-family: var(--font-num);
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.result-label {
  font-size: 0.9375rem;
  color: rgba(242,245,250,0.6);
  letter-spacing: 0.5px;
}

/* ========== News / CMS Section ========== */
.news-section {
  background: var(--bg-deep);
}
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 40px;
  gap: 16px;
}
.news-head .section-tag { margin-bottom: 10px; }
.news-head h2 { margin-bottom: 0; }
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-body);
  font-size: 0.9375rem;
  transition: color 0.2s ease, gap 0.2s ease;
  white-space: nowrap;
}
.view-all:hover { color: var(--primary-2); gap: 10px; }
.news-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.news-main-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.news-main-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.news-main-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}
.news-main-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-main-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.5;
  transition: color 0.2s ease;
}
.news-main-title a:hover { color: var(--primary-2); }
.news-main-excerpt {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-dim);
}
.post-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.8125rem;
}
.post-date svg { width: 14px; height: 14px; }
.read-more {
  color: var(--primary-2);
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.read-more:hover { gap: 8px; }
.news-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.news-small-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.news-small-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.news-small-thumb {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}
.news-small-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.news-small-title {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.news-small-title a:hover { color: var(--primary-2); }
.empty-state {
  background: var(--bg-panel);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-card);
  padding: 60px 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}
.empty-state svg { width: 40px; height: 40px; margin-bottom: 12px; opacity: 0.4; }

/* ========== Testimonials ========== */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0E1220 60%, var(--bg-deep) 100%);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.stars {
  display: flex;
  gap: 4px;
}
.stars svg { width: 16px; height: 16px; fill: var(--accent); }
.testimonial-card blockquote {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dim);
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.avatar-amber { background: linear-gradient(135deg, #F0A83A, #D97706); }
.avatar-purple { background: linear-gradient(135deg, #5B5BD6, #8B6CE8); }
.avatar-teal { background: linear-gradient(135deg, #2DD4BF, #0D9488); }
.testimonial-author strong {
  display: block;
  color: var(--text-white);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}
.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* ========== FAQ ========== */
.faq-section {
  background: var(--bg-deep);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.active {
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: var(--text-white);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--primary-2); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(91,91,214,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--primary-2);
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 320px;
  padding: 0 24px 20px;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 64px 0 80px;
}
.cta-panel {
  position: relative;
  text-align: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: 28px;
  padding: 72px 40px;
  overflow: hidden;
  background-image: url('/assets/images/backpic/back-2.webp');
  background-size: cover;
  background-position: center;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,15,26,0.85) 0%, rgba(19,23,41,0.9) 100%);
}
.cta-panel::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  top: 35%;
  left: 18%;
  box-shadow:
    90px 30px 0 rgba(255,255,255,0.3),
    180px -20px 0 rgba(240,168,58,0.5),
    -120px 60px 0 rgba(255,255,255,0.2),
    200px 90px 0 rgba(255,255,255,0.25),
    -60px -40px 0 rgba(255,255,255,0.3);
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.cta-panel > * {
  position: relative;
  z-index: 2;
}
.cta-panel h2 {
  color: var(--text-white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.cta-panel p {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-dim);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .footer-logo {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.footer-brand .footer-logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5B5BD6, #8B6CE8);
  border-radius: 8px;
  color: #fff;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-links h3,
.footer-contact h3 {
  color: var(--text-white);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li,
.footer-contact li {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--primary-2); }
.footer-contact a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--primary-2); }
.footer-bottom {
  border-top: 1px solid var(--border-dim);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom > span {
  color: var(--text-muted);
  font-size: 0.8125rem;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--text-white); }

/* ========== Responsive ========== */
@media (max-width: 1023px) {
  .header-right {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(12,15,26,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dim);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 24px 28px;
    display: none;
    z-index: 199;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  .header-right.open { display: flex; }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-link {
    padding: 13px 4px;
    border-bottom: 1px solid var(--border-dim);
    font-size: 0.9375rem;
  }
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--primary-2); }
  .header-actions {
    margin-top: 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .search-wrap { flex: 1; min-width: 200px; }
  .search-input { width: 100%; }
  .hamburger { display: flex; }
  .hero { min-height: 70vh; }
  .solution-wrap { gap: 36px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-side { display: grid; grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 20px; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .container { padding-left: var(--gutter); padding-right: var(--gutter); }
  .header-actions {
    flex-wrap: wrap;
  }
  .search-wrap { width: 100%; flex: none; min-width: 0; order: 1; }
  .login-link { order: 2; }
  .btn-nav { order: 3; margin-left: auto; }
  .hero { margin-top: 64px; min-height: auto; }
  .hero-content { padding: 48px 0; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr; width: 100%; text-align: center; }
  .hero-stat { align-items: center; }
  .pain-grid { grid-template-columns: 1fr; }
  .solution-wrap { grid-template-columns: 1fr; gap: 32px; }
  .solution-media img { aspect-ratio: 16 / 10; }
  .results-panel { padding: 36px 20px; }
  .results-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-side { grid-template-columns: 1fr; }
  .news-main-thumb { height: 180px; }
  .news-small-thumb { height: 160px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 48px 0 64px; }
  .cta-panel { padding: 52px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { flex-wrap: wrap; gap: 14px; }
  .section-head { margin-bottom: 36px; }
}

/* roulang page: article */
:root {
  --primary: #5B5BD6;
  --primary-light: #8B6CE8;
  --accent: #F0A83A;
  --bg-deep: #0C0F1A;
  --bg-panel: #131729;
  --bg-panel-light: #1A1F33;
  --text-body: #A0A8BC;
  --text-muted: #6B7387;
  --text-title: #F2F5FA;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(91,91,214,0.4);
  --primary-gradient: 135deg, #5B5BD6, #8B6CE8, #F0A83A;
  --success: #2DD4BF;
  --warning: #F59E0B;
  --error: #EF4444;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 30px rgba(91,91,214,0.08);
  --shadow-hover: 0 12px 40px rgba(91,91,214,0.15);
  --transition: 0.25s ease;
  --max-width: 1200px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===== 导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(12, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-title);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary-gradient);
  border-radius: 8px;
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(160, 168, 188, 0.7);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--text-title);
  background: rgba(255,255,255,0.04);
}

.nav-link.active {
  color: var(--primary-light);
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-panel-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 40px;
  padding-left: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,91,214,0.15);
}

.search-box input {
  width: 160px;
  background: transparent;
  border: none;
  color: var(--text-title);
  font-size: 0.875rem;
  height: 100%;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.search-btn:hover {
  filter: brightness(1.1);
}

.nav-login {
  font-size: 0.875rem;
  color: var(--text-body);
  white-space: nowrap;
}

.nav-login:hover {
  color: var(--text-title);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

.btn-nav {
  height: 36px;
  padding: 0 18px;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-title);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 28px 0 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

.breadcrumb .sep {
  color: rgba(255,255,255,0.2);
}

.breadcrumb .breadcrumb-current {
  color: var(--text-body);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== 文章页面 ===== */
.article-page {
  min-height: 60vh;
  padding-bottom: 60px;
}

.article-container {
  max-width: 880px;
}

.article-header {
  margin-bottom: 32px;
}

.article-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item svg {
  width: 14px;
  height: 14px;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  background: rgba(91,91,214,0.15);
  color: var(--primary-light);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.article-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  aspect-ratio: 16/6;
  box-shadow: var(--shadow-card);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-hero:hover img {
  transform: scale(1.02);
}

/* ===== 正文内容 ===== */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-body);
}

.article-content p {
  margin-bottom: 16px;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-title);
  margin-top: 40px;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  line-height: 1.4;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-title);
  margin-top: 32px;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  display: inline-block;
}

.article-content h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-title);
  margin-top: 24px;
  margin-bottom: 12px;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  color: var(--text-body);
  font-style: italic;
}

.article-content pre {
  margin: 24px 0;
  padding: 20px;
  background: #0a0d16;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 0.9rem;
  color: #d4d4d8;
}

.article-content code {
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 0.9em;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

.article-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.article-content img {
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: var(--shadow-card);
}

.article-content ul,
.article-content ol {
  margin: 16px 0 16px 20px;
}

.article-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.article-content ol li {
  list-style: decimal;
  margin-bottom: 8px;
  padding-left: 4px;
}

.article-content a {
  color: var(--primary-light);
  border-bottom: 1px solid rgba(139,108,232,0.3);
}

.article-content a:hover {
  border-bottom-color: var(--primary-light);
}

.article-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-content th {
  background: var(--bg-panel);
  color: var(--text-title);
  font-weight: 600;
}

/* ===== 内容底部 ===== */
.article-bottom {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.share-bar span {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-body);
  transition: all var(--transition);
  cursor: pointer;
}

.share-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-title);
  background: var(--bg-panel-light);
  transform: translateY(-1px);
}

.article-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-body);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.pagination-link:hover {
  color: var(--text-title);
  border-color: var(--border-hover);
  background: var(--bg-panel-light);
  transform: translateY(-1px);
}

/* ===== 相关推荐 ===== */
.related-posts {
  max-width: 880px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.related-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.related-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card:hover img {
  transform: scale(1.03);
}

.related-card-body {
  padding: 16px 18px 20px;
}

.related-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 6px;
  transition: color var(--transition);
}

.related-card:hover .related-card-body h3 {
  color: var(--primary-light);
}

.related-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== 内容未找到 ===== */
.article-not-found {
  max-width: 720px;
  margin: 120px auto;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.article-not-found p {
  font-size: 1.25rem;
  color: var(--text-title);
  margin-bottom: 24px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #080A12;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 12px;
}

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--primary-gradient);
  border-radius: 7px;
  color: #fff;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 360px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a,
.footer-contact li {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links li a:hover {
  color: var(--primary-light);
}

.footer-contact li a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-contact li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-inner {
    gap: 16px;
  }

  .search-box {
    display: none;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(12, 15, 26, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-link {
    padding: 14px 12px;
    font-size: 1rem;
  }

  .nav-link.active::after {
    bottom: auto;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
  }

  .nav-actions {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(12, 15, 26, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
    z-index: 98;
  }

  .nav-actions.open {
    transform: translateY(0);
  }

  .search-box {
    display: flex;
    width: 100%;
  }

  .search-box input {
    width: 100%;
    flex: 1;
  }

  .nav-login {
    text-align: center;
    padding: 10px 0;
  }

  .btn-nav {
    width: 100%;
  }

  .article-header h1 {
    font-size: 1.7rem;
  }

  .article-hero {
    aspect-ratio: 16/7;
  }

  .article-bottom {
    margin-top: 36px;
  }

  .article-pagination {
    flex-direction: column;
    gap: 10px;
  }

  .pagination-link {
    justify-content: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-icon {
    width: 24px;
    height: 24px;
  }

  .breadcrumb {
    font-size: 0.8125rem;
    padding-top: 20px;
  }

  .article-header h1 {
    font-size: 1.5rem;
  }

  .article-meta {
    gap: 8px;
    font-size: 0.8125rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.3rem;
  }

  .article-content h3 {
    font-size: 1.1rem;
  }

  .share-bar {
    flex-wrap: wrap;
  }

  .related-card img {
    aspect-ratio: 16/8;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* roulang page: category1 */
:root {
  --primary: #5B5BD6;
  --primary-light: #8B6CE8;
  --accent: #F0A83A;
  --bg-deep: #0C0F1A;
  --bg-panel: #131729;
  --bg-elevated: #1A1F33;
  --text-title: #F2F5FA;
  --text-body: #A0A8BC;
  --text-muted: #6B7387;
  --border-color: rgba(255,255,255,0.06);
  --hover-border: rgba(91,91,214,0.4);
  --gradient-main: linear-gradient(135deg, #5B5BD6 0%, #8B6CE8 50%, #F0A83A 100%);
  --success: #2DD4BF;
  --warning: #F59E0B;
  --error: #EF4444;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 30px rgba(91, 91, 214, 0.08);
  --shadow-hover: 0 12px 40px rgba(91, 91, 214, 0.15);
  --transition: 0.25s ease;
  --header-height: 64px;
  --container-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

h1, h2, h3, h4 {
  color: var(--text-title);
  line-height: 1.35;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 12px auto 0;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(240, 168, 58, 0.1);
  border: 1px solid rgba(240, 168, 58, 0.2);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 18px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(12, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}

.site-logo:hover { opacity: 0.85; }

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-main);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(91, 91, 214, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9375rem;
  color: rgba(242, 245, 250, 0.7);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover { color: var(--text-title); }
.nav-link:hover::after { width: 60%; }
.nav-link.active { color: var(--primary-light); }
.nav-link.active::after { width: 60%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-search {
  display: flex;
  align-items: center;
  background: rgba(26, 31, 51, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 40px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,91,214,0.15);
}

.header-search input {
  width: 180px;
  padding: 0 12px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-title);
  font-size: 0.875rem;
}

.header-search input::placeholder { color: var(--text-muted); }

.header-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  color: #fff;
  transition: filter 0.2s ease;
}

.header-search button:hover { filter: brightness(1.1); }

.header-login {
  font-size: 0.9375rem;
  color: var(--text-body);
  transition: color 0.2s ease;
}

.header-login:hover { color: var(--text-title); }

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: filter 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-header:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-header:active { transform: scale(0.98); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-title);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(180deg, rgba(12,15,26,0.7) 0%, rgba(12,15,26,0.9) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91,91,214,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240,168,58,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--accent);
  background: rgba(240, 168, 58, 0.12);
  border: 1px solid rgba(240, 168, 58, 0.25);
  padding: 6px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-badge svg { width: 14px; height: 14px; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(91, 91, 214, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(91, 91, 214, 0.35);
}

.btn-primary:active { transform: translateY(1px) scale(0.99); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-title);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Inter', 'DIN Alternate', sans-serif;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero-stat-label {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--hover-border);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(91, 91, 214, 0.15);
  color: var(--primary-light);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-title);
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ===== Audience ===== */
.section-audience {
  background: rgba(19, 23, 41, 0.4);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.audience-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.audience-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.audience-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--gradient-main);
  box-shadow: 0 0 12px rgba(91, 91, 214, 0.5);
}

.audience-item h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-title);
}

.audience-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Guide List ===== */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guide-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.guide-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--hover-border);
}

.guide-card-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.guide-card:hover .guide-card-media img { transform: scale(1.04); }

.guide-season-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(12, 15, 26, 0.8);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 168, 58, 0.3);
}

.guide-card-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-card-body h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-title);
}

.guide-card-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.guide-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.guide-tag {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--primary-light);
  background: rgba(91, 91, 214, 0.12);
  border: 1px solid rgba(91, 91, 214, 0.2);
  border-radius: 999px;
  padding: 3px 14px;
  transition: background 0.2s ease;
}

.guide-tag:hover { background: rgba(91, 91, 214, 0.2); }

.guide-link {
  margin-left: auto;
  font-size: 0.9375rem;
  color: var(--primary-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.guide-link:hover { gap: 8px; }

/* ===== Steps ===== */
.section-steps {
  background: rgba(19, 23, 41, 0.3);
  position: relative;
  overflow: hidden;
}

.section-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,91,214,0.4), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-item {
  position: relative;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px 24px 32px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.step-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: 0 4px 16px rgba(91, 91, 214, 0.35);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 8px auto 18px;
  border-radius: var(--radius-md);
  background: rgba(91, 91, 214, 0.1);
  color: var(--primary-light);
}

.step-item h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-title);
}

.step-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.open {
  border-color: rgba(91, 91, 214, 0.4);
  box-shadow: 0 4px 20px rgba(91, 91, 214, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-title);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover { color: var(--primary-light); }

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(91, 91, 214, 0.15);
  color: var(--primary-light);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== CTA ===== */
.section-cta {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(91,91,214,0.15), rgba(139,108,232,0.1), rgba(240,168,58,0.08)), var(--bg-deep);
  text-align: center;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.4;
  box-shadow: 120px 40px 0 #fff, 240px 80px 0 rgba(255,255,255,0.6), 80px 120px 0 rgba(255,255,255,0.3), 320px 20px 0 rgba(255,255,255,0.5), 180px 100px 0 rgba(255,255,255,0.2);
}

.section-cta h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 12px;
}

.section-cta p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 32px;
}

/* ===== Footer ===== */
.site-footer {
  background: #080A12;
  border-top: 1px solid var(--border-color);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
}

.footer-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient-main);
  color: #fff;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--primary-light); }

.footer-contact li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover { color: var(--text-title); }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-card { grid-template-columns: 260px 1fr; }
  .guide-card-body { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-search { display: none; }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }

  /* Header mobile */
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(12, 15, 26, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 4px;
  }

  .main-nav.open { display: flex; }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-login { display: none; }

  .btn-header { padding: 0 14px; font-size: 0.875rem; }

  .header-search {
    display: none;
  }

  .nav-toggle { display: flex; }
  .nav-toggle span { display: block; }

  /* Hero */
  .page-hero { padding: 80px 0 56px; }
  .hero-stats { gap: 24px; }
  .hero-stat-number { font-size: 1.625rem; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px; }

  /* Audience */
  .audience-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Guide */
  .guide-card { grid-template-columns: 1fr; }
  .guide-card-media { min-height: 160px; max-height: 200px; }
  .guide-card-body { padding: 20px; }
  .guide-card-meta { gap: 8px; }
  .guide-link { margin-left: 0; margin-top: 8px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .step-item { padding: 28px 20px 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { gap: 12px; flex-wrap: wrap; justify-content: center; }

  /* Section subtitle */
  .section-sub { font-size: 0.9375rem; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
  }
  .hero-stats {
    gap: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat { text-align: center; }
}

/* roulang page: category2 */
:root {
  --primary: #5B5BD6;
  --primary-light: #8B6CE8;
  --accent: #F0A83A;
  --bg: #0C0F1A;
  --bg-deep: #080A12;
  --panel: #131729;
  --panel-light: #1A1F33;
  --text: #A0A8BC;
  --text-weak: #6B7387;
  --title: #F2F5FA;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(91, 91, 214, 0.4);
  --gradient: linear-gradient(135deg, #5B5BD6, #8B6CE8, #F0A83A);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(91, 91, 214, 0.08);
  --shadow-hover: 0 12px 40px rgba(91, 91, 214, 0.15);
  --font-cn: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-en: 'Inter', 'DIN Alternate', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-cn);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(12, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--title);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  color: rgba(242, 245, 250, 0.7);
  border-radius: 6px;
  transition: color .2s, background .2s;
  position: relative;
}

.nav-link:hover {
  color: var(--title);
}

.nav-link.active {
  color: var(--primary-light);
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0;
  width: 200px;
}

.search-box input {
  width: 100%;
  height: 40px;
  background: var(--panel-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 12px;
  color: var(--title);
  font-size: 0.875rem;
  transition: border-color .2s, box-shadow .2s;
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.15);
}

.search-box input::placeholder {
  color: var(--text-weak);
}

.search-btn {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: filter .2s;
}

.search-btn:hover {
  filter: brightness(1.1);
}

.login-link {
  color: var(--text);
  font-size: 0.875rem;
  padding: 6px 4px;
  transition: color .2s;
}

.login-link:hover {
  color: var(--title);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
}

.btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-gradient:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-gradient:active {
  transform: translateY(0) scale(0.99);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--title);
  transition: background .2s, transform .2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.99);
}

.btn-lg {
  height: 52px;
  padding: 0 40px;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  padding: 9px;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--title);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
  opacity: 0.35;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 91, 214, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: rgba(91, 91, 214, 0.15);
  border: 1px solid rgba(91, 91, 214, 0.3);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--title);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text);
  max-width: 660px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  padding-top: 8px;
}

.stat-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.stat-number {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(242, 245, 250, 0.6);
}

/* ===== Section ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--title);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Grid ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== Card ===== */
.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(91, 91, 214, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--title);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
}

/* ===== Info Card ===== */
.info-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.info-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.info-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.info-card:hover .info-card-media img {
  transform: scale(1.05);
}

.info-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(91, 91, 214, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--primary-light);
  align-self: flex-start;
}

.info-card-body h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--title);
  line-height: 1.5;
}

.info-card-body p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 0.8125rem;
  color: var(--text-weak);
  margin-top: auto;
  padding-top: 8px;
}

/* ===== Audience ===== */
.audience-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 32px 28px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.audience-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(240, 168, 58, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.audience-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--title);
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
}

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-item {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 32px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.step-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-item h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--title);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.8125rem;
  color: var(--text);
  line-height: 1.65;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .3s;
}

.faq-item.open {
  border-left: 3px solid var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--title);
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background .2s;
}

.faq-question:hover {
  background: rgba(91, 91, 214, 0.05);
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text);
  transition: transform .3s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  background: var(--bg);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.06;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 200px 60px 0 var(--primary-light), 400px 120px 0 var(--accent), 550px 30px 0 var(--primary-light), 300px 180px 0 var(--accent), 100px 140px 0 var(--primary-light), 700px 90px 0 var(--accent);
  opacity: 0.6;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--title);
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 32px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 30px;
  height: 30px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-weak);
  line-height: 1.75;
  max-width: 320px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--title);
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.875rem;
  color: var(--text-weak);
  transition: color .2s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary-light);
}

.footer-contact li {
  font-size: 0.875rem;
  color: var(--text-weak);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-weak);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  color: var(--text-weak);
  transition: color .2s;
}

.footer-bottom-links a:hover {
  color: var(--title);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .header-actions .search-box {
    display: none;
  }

  .hero {
    min-height: 70vh;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 4px;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 8px;
    width: 100%;
    font-size: 1rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .login-link {
    display: none;
  }

  .header-actions .btn-gradient {
    display: none;
  }

  .header-actions .search-box {
    display: flex;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    width: auto;
    z-index: 99;
    display: none;
  }

  .header-actions .search-box.open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 60px 0 48px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section {
    padding: 56px 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-links {
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    gap: 16px;
  }

  .hero-stats .stat-badge {
    min-width: 40%;
  }

  .hero-actions {
    gap: 12px;
  }

  .section-head h2 {
    font-size: 1.4rem;
  }

  .card {
    padding: 24px 20px;
  }

  .audience-card {
    padding: 24px 20px;
  }

  .step-item {
    padding: 24px 20px;
  }

  .faq-question {
    padding: 16px 18px;
  }
}

/* roulang page: category3 */
:root {
  --primary: #5B5BD6;
  --primary-light: #8B6CE8;
  --accent: #F0A83A;
  --bg-deep: #0C0F1A;
  --bg-card: #131729;
  --bg-soft: #1A1F33;
  --text-title: #F2F5FA;
  --text-body: #A0A8BC;
  --text-muted: #6B7387;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(91, 91, 214, 0.4);
  --success: #2DD4BF;
  --warning: #F59E0B;
  --error: #EF4444;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 30px rgba(91, 91, 214, 0.08);
  --shadow-hover: 0 12px 40px rgba(91, 91, 214, 0.15);
  --gradient-main: linear-gradient(135deg, #5B5BD6 0%, #8B6CE8 50%, #F0A83A 100%);
  --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "Inter", "DIN Alternate", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  background: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.8;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border: none; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-light); }
button, input { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(12, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.header-inner { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 600; color: var(--text-title); white-space: nowrap; }
.logo:hover { color: var(--text-title); }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--gradient-main); color: #fff; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 6px 14px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: var(--primary-light); font-weight: 500; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box { position: relative; }
.search-box input {
  width: 200px;
  height: 40px;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0 44px 0 14px;
  font-size: 0.875rem;
  color: var(--text-title);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.15); }
.search-box button {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.search-box button:hover { filter: brightness(1.1); }
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.15s ease;
}
.nav-btn:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.nav-btn:active { transform: translateY(1px); }
.mobile-toggle { display: none; flex-direction: column; gap: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
.mobile-toggle span { display: block; width: 20px; height: 2px; background: var(--text-title); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ========== PAGE HERO ========== */
.page-hero {
  margin-top: 64px;
  padding: 72px 0 72px;
  background: linear-gradient(135deg, rgba(12,15,26,0.88) 0%, rgba(19,23,41,0.72) 60%, rgba(91,91,214,0.25) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(91, 91, 214, 0.15);
  border: 1px solid rgba(91, 91, 214, 0.35);
  color: #b8b8f0;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.page-hero-label svg { width: 14px; height: 14px; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.page-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.page-hero-cta { display: flex; gap: 12px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn-primary:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(91, 91, 214, 0.3); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); color: #fff; transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(1px); }
.page-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-num);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.stat-label { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); margin-top: 4px; }

/* ========== CONTENT + SIDEBAR ========== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.content-main { min-width: 0; }
.content-section { margin-bottom: 48px; }
.content-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}
.content-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: var(--gradient-main);
}
.section-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 640px;
}

/* ========== SIDEBAR TOC ========== */
.sidebar-toc {
  position: sticky;
  top: 84px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.sidebar-toc h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-toc ul { list-style: none; }
.sidebar-toc li { margin-bottom: 2px; }
.sidebar-toc a {
  display: block;
  padding: 6px 10px;
  font-size: 0.875rem;
  color: var(--text-body);
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-toc a:hover { background: rgba(91, 91, 214, 0.1); color: var(--primary-light); }

/* ========== STATS GRID ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.stat-card .stat-num {
  font-family: var(--font-num);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.stat-card .stat-item-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }

/* ========== TYPE CARDS ========== */
.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.type-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.type-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 3px;
  background: var(--primary);
  opacity: 0.6;
}
.type-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.type-card .card-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(91, 91, 214, 0.15); display: flex; align-items: center; justify-content: center; color: var(--primary-light); margin-bottom: 12px; }
.type-card h3 { font-size: 1.0625rem; font-weight: 500; color: var(--text-title); margin-bottom: 6px; }
.type-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ========== COORDINATE TABLE ========== */
.coord-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.coord-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.coord-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}
.coord-info { min-width: 0; }
.coord-name { font-size: 0.9375rem; font-weight: 600; color: var(--text-title); }
.coord-type { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }
.coord-data { text-align: right; flex-shrink: 0; }
.coord-data .ra-dec { font-family: var(--font-num); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }
.coord-data .mag { font-size: 0.8125rem; color: var(--accent); margin-top: 2px; }
.coord-data .season { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ========== STEPS ========== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.step-index {
  font-family: var(--font-num);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(91, 91, 214, 0.4);
  line-height: 1;
  margin-bottom: 10px;
}
.step-card h3 { font-size: 1rem; font-weight: 500; color: var(--text-title); margin-bottom: 6px; }
.step-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

/* ========== FEATURED CARDS ========== */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.feat-card .feat-img { width: 100%; height: 160px; object-fit: cover; }
.feat-card .feat-body { padding: 18px 20px 20px; }
.feat-card h3 { font-size: 1rem; font-weight: 500; color: var(--text-title); margin-bottom: 6px; }
.feat-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.feat-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(91, 91, 214, 0.12);
  color: var(--primary-light);
  font-size: 0.75rem;
  border-radius: 999px;
}

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.faq-item.active {
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: var(--shadow-card);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-title);
  transition: color 0.2s ease;
  user-select: none;
}
.faq-q:hover { color: var(--primary-light); }
.faq-icon { flex-shrink: 0; font-size: 1.25rem; color: var(--text-muted); transition: transform 0.3s ease; line-height: 1; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 20px 16px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ========== CTA SECTION ========== */
.cta-section {
  margin-top: 60px;
  padding: 72px 0;
  background: linear-gradient(135deg, rgba(91,91,214,0.08) 0%, rgba(11,13,22,0.5) 50%, rgba(240,168,58,0.05) 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,91,214,0.1) 0%, transparent 70%);
  top: -80px;
  left: 20%;
  pointer-events: none;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,168,58,0.08) 0%, transparent 70%);
  bottom: -40px;
  right: 15%;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 12px;
}
.cta-inner p { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 28px; }

/* ========== FOOTER ========== */
.site-footer {
  background: #080A12;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 12px;
}
.footer-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--gradient-main);
  color: #fff;
}
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; max-width: 320px; }
.footer-links h3, .footer-contact h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 14px;
}
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom span { font-size: 0.8125rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8125rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-toc { position: static; display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .site-header { height: auto; min-height: 60px; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 8px 0; gap: 8px; }
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 16px;
    gap: 2px;
    margin-left: 0;
    order: 3;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 10px 12px; width: 100%; }
  .nav-link.active::after { display: none; }
  .header-actions { margin-left: auto; display: flex; gap: 8px; }
  .search-box input { width: 160px; }
  .mobile-toggle { display: flex; }
  .page-hero { margin-top: 60px; padding: 48px 0; }
  .page-hero-desc { font-size: 0.9375rem; }
  .page-hero-cta { flex-direction: column; }
  .page-hero-cta .btn-primary, .page-hero-cta .btn-ghost { width: 100%; }
  .page-hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-number { font-size: 1.625rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: 1fr; }
  .coord-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .content-section h2 { font-size: 1.375rem; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .header-actions .search-box { display: none; }
  .nav-btn { padding: 0 16px; font-size: 0.8125rem; }
  .content-with-sidebar { gap: 24px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 16px 12px; }
  .stat-card .stat-num { font-size: 1.5rem; }
  .coord-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .coord-data { text-align: left; }
  .page-hero-stats { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .stat-item { flex: 1 1 calc(50% - 16px); }
}
