/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --bg-main: #0B1026;
  --bg-card: #151B36;
  --bg-panel: #1A2142;
  --bg-deep: #080C1C;
  --brand: #4C6FFF;
  --brand-purple: #8B7EF7;
  --brand-teal: #2AD4C7;
  --accent: #F5B84B;
  --text-main: #C7CDE4;
  --text-secondary: #8B93AD;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --radius-card: 24px;
  --radius-panel: 16px;
  --radius-small: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 40px -12px rgba(0,0,0,0.6);
  --shadow-card-hover: 0 16px 48px -12px rgba(0,0,0,0.7);
  --shadow-btn: 0 4px 16px rgba(76,111,255,0.3);
  --shadow-btn-hover: 0 8px 28px rgba(76,111,255,0.45);
  --container: 1200px;
  --gap-section: 104px;
  --gap-section-mobile: 72px;
  --font: system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ===== 基础 Reset ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; transition:color .25s ease; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
input { font-family:inherit; border:none; outline:none; }
ul, ol { list-style:none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 双层导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,16,38,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: all .35s ease;
}
.site-header.scrolled {
  background: rgba(11,16,38,0.97);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(76,111,255,0.35);
}
.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text span {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  width: 220px;
  height: 38px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 38px 0 16px;
  color: var(--text-main);
  font-size: 0.875rem;
  transition: border-color .3s, box-shadow .3s;
}
.header-search input::placeholder { color: var(--text-secondary); }
.header-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(76,111,255,0.15);
}
.header-search button {
  position: absolute;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color .3s;
}
.header-search button:hover { color: var(--accent); }
.header-cta {
  height: 38px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand), var(--brand-purple));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-btn);
  transition: transform .3s, box-shadow .3s;
  white-space: nowrap;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}
.channel-nav-wrap {
  border-top: 1px solid var(--border);
}
.channel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.channel-nav::-webkit-scrollbar { display:none; }
.channel-nav a {
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all .3s ease;
}
.channel-nav a:hover {
  color: var(--text-main);
  background: rgba(245,184,75,0.08);
  border-color: rgba(245,184,75,0.25);
}
.channel-nav a.active {
  color: #0B1026;
  background: linear-gradient(135deg, var(--accent), #FFD27D);
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(245,184,75,0.3);
}

/* ===== Hero 首屏 ===== */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0B1026 0%, #141C3F 50%, #1D1B4B 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(139,126,247,0.18), transparent 350px),
    radial-gradient(circle at 80% 20%, rgba(245,184,75,0.12), transparent 300px),
    radial-gradient(circle at 60% 85%, rgba(76,111,255,0.15), transparent 400px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  min-height: 720px;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(245,184,75,0.1);
  border: 1px solid rgba(245,184,75,0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero-tag i { font-size: 0.7rem; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 .accent-text {
  background: linear-gradient(135deg, var(--accent), #FFD27D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 32px;
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, var(--brand), var(--brand-purple));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
  transition: transform .3s, box-shadow .3s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-hover);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 32px;
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--border-hover);
  transition: all .3s ease;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hero-stat-card {
  background: rgba(26,33,66,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 24px 20px;
  text-align: center;
  transition: all .3s ease;
}
.hero-stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--brand), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
}
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 3;
}
.scroll-indicator::after {
  content: "";
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ===== 通用板块标题 ===== */
.section {
  padding: var(--gap-section) 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-tag::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 640px;
  margin-top: 12px;
  line-height: 1.7;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color .3s;
  white-space: nowrap;
}
.section-link:hover {
  color: var(--accent);
}
.section-link i { font-size: 0.8rem; }

/* ===== 理念区 ===== */
.story-section {
  background: var(--bg-main);
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.story-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.story-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform .6s ease;
}
.story-media:hover img { transform: scale(1.03); }
.story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,16,38,0.6));
}
.story-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}
.story-content p {
  color: var(--text-main);
  line-height: 1.9;
  margin-bottom: 16px;
}
.story-mini-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.mini-stat {
  display: flex;
  flex-direction: column;
}
.mini-stat .value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--accent), #FFD27D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mini-stat .label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== 最新资讯卡片 ===== */
.news-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #0D1230 100%);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: all .35s ease;
  overflow: hidden;
  min-height: 260px;
}
.news-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-purple));
  opacity: 0;
  transition: opacity .3s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}
.news-card:hover::before { opacity: 1; }
.news-card-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(76,111,255,0.12);
  border: 1px solid rgba(76,111,255,0.3);
  color: #A7B8FF;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  transition: background .3s, color .3s;
}
.news-card:hover .news-card-tag {
  background: rgba(245,184,75,0.15);
  border-color: rgba(245,184,75,0.4);
  color: var(--accent);
}
.news-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.news-card-time i { font-size: 0.75rem; color: var(--brand-teal); }
.news-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius-card);
  font-size: 0;
}
.empty-state {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-card);
  padding: 64px 24px;
  text-align: center;
}
.empty-state i {
  font-size: 3rem;
  color: var(--text-secondary);
  opacity: 0.4;
  margin-bottom: 16px;
}
.empty-state p {
  font-size: 1rem;
  color: var(--text-secondary);
}
.empty-state .sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-top: 8px;
}

/* ===== 服务板块 ===== */
.services-section {
  background: var(--bg-main);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: all .35s ease;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(139,126,247,0.12), transparent 70%);
  border-radius: 0 0 0 80px;
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
}
.service-icon.blue {
  background: rgba(76,111,255,0.15);
  color: #A7B8FF;
}
.service-icon.purple {
  background: rgba(139,126,247,0.15);
  color: #C9BFFF;
}
.service-icon.teal {
  background: rgba(42,212,199,0.12);
  color: #7DE8DD;
}
.service-icon.gold {
  background: rgba(245,184,75,0.12);
  color: var(--accent);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 信任区 ===== */
.trust-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #0D1230 100%);
}
.trust-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 56px 48px;
  box-shadow: var(--shadow-card);
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-stat {
  padding: 16px 0;
}
.trust-stat + .trust-stat {
  border-left: 1px solid var(--border);
}
.trust-stat .value {
  font-size: 2.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--accent), #FFD27D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.trust-stat .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}
.trust-logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.6;
  transition: all .35s ease;
  text-align: center;
  padding: 0 12px;
}
.trust-logo:hover {
  opacity: 1;
  border-color: var(--border-hover);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* ===== FAQ 区 ===== */
.faq-section {
  background: var(--bg-main);
}
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 28px;
  box-shadow: var(--shadow-card);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  color: #E7EAF6;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  transition: color .3s;
}
.faq-toggle:hover { color: var(--accent); }
.faq-toggle .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all .35s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-toggle .icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-content-inner {
  padding: 8px 0 4px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===== CTA 订阅 ===== */
.cta-section {
  background: linear-gradient(135deg, #0D1230 0%, #1A2142 50%, #141C3F 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,126,247,0.2), transparent 70%);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-size: 0.9rem;
}
.cta-contact-item i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(76,111,255,0.12);
  color: #A7B8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.cta-form-wrap {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.cta-form-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.cta-form-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input {
  width: 100%;
  height: 48px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  padding: 0 16px;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(76,111,255,0.15);
}
.form-group input::placeholder { color: var(--text-secondary); }
.form-error {
  color: #FF6B6B;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(42,212,199,0.1);
  border: 1px solid rgba(42,212,199,0.3);
  border-radius: var(--radius-small);
  padding: 14px 16px;
  color: var(--brand-teal);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.form-success.show { display: flex; }
.form-success i { font-size: 1.1rem; }
.btn-submit {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, var(--brand), var(--brand-purple));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-btn);
  transition: transform .3s, box-shadow .3s;
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-hover);
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 56px;
  padding-bottom: 48px;
}
.footer-brand .logo-text {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 320px;
}
.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color .3s, padding-left .3s;
}
.footer-links ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-contact h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact p i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(76,111,255,0.1);
  color: #A7B8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #6B7290;
}

/* ===== 移动端响应式 ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 0.7fr;
    gap: 32px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-media img { height: 340px; }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --gap-section: var(--gap-section-mobile);
  }
  .container {
    padding: 0 16px;
  }
  .header-top {
    height: 58px;
  }
  .header-search {
    display: none;
  }
  .header-search.mobile-visible {
    display: flex;
    position: absolute;
    top: 58px;
    left: 16px;
    right: 16px;
    z-index: 110;
  }
  .header-search.mobile-visible input {
    width: 100%;
    height: 44px;
  }
  .mobile-search-trigger {
    display: flex !important;
  }
  .header-cta span {
    display: none;
  }
  .header-cta {
    padding: 0 16px;
  }
  .hero {
    min-height: auto;
  }
  .hero .container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 80px 16px 60px;
    gap: 36px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .scroll-indicator { display: none; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .trust-panel {
    padding: 36px 24px;
  }
  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .trust-stat + .trust-stat {
    border-left: none;
  }
  .trust-stat:nth-child(3) {
    border-left: 1px solid var(--border);
  }
  .trust-logo-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .faq-wrap {
    padding: 12px 20px;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-form-wrap {
    padding: 28px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .logo-text {
    font-size: 1.05rem;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    justify-content: center;
  }
  .story-mini-stats {
    flex-direction: column;
    gap: 16px;
  }
  .trust-stats {
    grid-template-columns: 1fr;
  }
  .trust-stat:nth-child(3) {
    border-left: none;
  }
  .trust-logo-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-cta {
    display: none;
  }
  .channel-nav a {
    padding: 5px 16px;
    font-size: 0.82rem;
  }
}

/* roulang page: article */
:root {
  --bg-primary: #0B1026;
  --bg-secondary: #151B36;
  --bg-tertiary: #1A2142;
  --brand-blue: #4C6FFF;
  --brand-purple: #8B7EF7;
  --brand-cyan: #2AD4C7;
  --accent-gold: #F5B84B;
  --text-primary: #C7CDE4;
  --text-secondary: #8B93AD;
  --text-muted: #6B7290;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 12px 40px -12px rgba(0,0,0,0.6);
  --shadow-card-hover: 0 16px 48px -12px rgba(0,0,0,0.7);
  --shadow-btn: 0 4px 16px rgba(76,111,255,0.3);
  --shadow-btn-hover: 0 8px 28px rgba(76,111,255,0.45);
  --container-max: 1200px;
  --header-h: 112px;
  --header-scroll-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
ul, ol { list-style-position: inside; }
.container { max-width: var(--container-max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.main { min-height: 70vh; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
  color: #fff; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm); padding: 12px 28px; border: none;
  box-shadow: var(--shadow-btn); transition: all .3s ease; white-space: nowrap;
}
.btn-primary:hover { box-shadow: var(--shadow-btn-hover); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--text-primary); font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm); padding: 12px 28px; border: 1px solid var(--border);
  transition: all .3s ease; white-space: nowrap;
}
.btn-outline:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.04); color: #fff; transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,16,38,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all .35s ease;
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; transition: height .35s ease;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px;
  box-shadow: 0 4px 16px rgba(76,111,255,0.4);
}
.logo-text { font-size: 1.2rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0 12px; height: 40px;
  width: 280px; transition: border-color .25s ease, box-shadow .25s ease;
}
.header-search:focus-within { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(76,111,255,0.15); }
.header-search input { background: transparent; border: none; outline: none; color: var(--text-primary); flex: 1; font-size: 0.875rem; }
.header-search input::placeholder { color: var(--text-muted); }
.header-search button { background: transparent; border: none; color: var(--text-secondary); font-size: 15px; padding: 4px; transition: color .2s; }
.header-search button:hover { color: var(--accent-gold); }
.mobile-search-trigger {
  display: none; width: 40px; height: 40px; background: var(--bg-tertiary);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text-primary);
  align-items: center; justify-content: center; font-size: 16px;
}
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
  color: #fff; border-radius: var(--radius-sm); padding: 10px 20px;
  font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow-btn);
  transition: all .3s ease; white-space: nowrap;
}
.header-cta:hover { box-shadow: var(--shadow-btn-hover); transform: translateY(-2px); }
.channel-nav-wrap {
  border-top: 1px solid var(--border); height: 48px;
  display: flex; align-items: center; transition: height .35s ease;
}
.channel-nav { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.channel-nav::-webkit-scrollbar { display: none; }
.channel-nav a {
  padding: 7px 18px; border-radius: 999px; font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary); white-space: nowrap; transition: all .25s ease;
}
.channel-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.channel-nav a.active { background: var(--accent-gold); color: #0B1026; font-weight: 700; }
.site-header.scrolled .header-top { height: 48px; }
.site-header.scrolled .channel-nav-wrap { height: 28px; }
.site-header.scrolled { background: rgba(11,16,38,0.97); }

/* ===== Page Banner ===== */
.page-banner {
  position: relative; background-size: cover; background-position: center;
  padding: 64px 0 56px; background-color: var(--bg-secondary);
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,16,38,0.55) 0%, rgba(11,16,38,0.85) 100%);
}
.page-banner .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.breadcrumb a { color: var(--text-secondary); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb i { font-size: 10px; color: var(--text-muted); }
.breadcrumb .current { color: #fff; font-weight: 500; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Article Layout ===== */
.article-main { padding-bottom: clamp(64px, 8vw, 110px); }
.article-wrap { max-width: 920px; margin: 0 auto; }
.article-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: clamp(28px, 5vw, 56px); margin-top: -40px; position: relative; z-index: 2;
}
.article-head { text-align: center; margin-bottom: 32px; }
.article-head .category-badge {
  display: inline-block; background: rgba(245,184,75,0.12); color: var(--accent-gold);
  border-radius: 999px; padding: 5px 16px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 16px; letter-spacing: 0.03em;
}
.article-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.3;
  color: #fff; letter-spacing: -0.02em; margin-bottom: 16px;
}
.article-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; font-size: 0.875rem; color: var(--text-secondary); }
.article-meta .meta-item { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .meta-item i { color: var(--text-muted); font-size: 14px; }
.article-divider { height: 1px; background: var(--border); margin: 28px 0 32px; }

/* ===== Article Content ===== */
.article-content { max-width: 760px; margin: 0 auto; font-size: 1rem; line-height: 1.8; color: var(--text-primary); }
.article-content p { margin: 0 0 1.25rem; }
.article-content h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 2.5rem 0 1rem; line-height: 1.4; }
.article-content h3 { font-size: 1.25rem; font-weight: 600; color: #fff; margin: 2rem 0 0.75rem; line-height: 1.4; }
.article-content h4 { font-size: 1.05rem; font-weight: 600; color: #fff; margin: 1.6rem 0 0.6rem; }
.article-content blockquote { border-left: 4px solid var(--accent-gold); background: rgba(245,184,75,0.05); padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 1.5rem 0; color: var(--text-secondary); font-style: italic; }
.article-content blockquote p { margin: 0; }
.article-content pre { background: #0D1225; border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 18px 20px; overflow-x: auto; margin: 1.5rem 0; font-size: 0.875rem; }
.article-content code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 0.9em; color: var(--brand-cyan); }
.article-content pre code { color: var(--text-primary); }
.article-content img { border-radius: var(--radius-md); margin: 2rem auto; box-shadow: var(--shadow-card); }
.article-content ul, .article-content ol { margin: 1rem 0 1.25rem; padding-left: 1.5em; }
.article-content li { margin: 0.5rem 0; }
.article-content a { color: var(--accent-gold); text-decoration: underline; text-underline-offset: 4px; }
.article-content a:hover { color: #ffd88a; }
.article-content figure { margin: 2rem 0; }
.article-content figcaption { text-align: center; font-size: 0.8125rem; color: var(--text-muted); margin-top: 8px; }

/* ===== Article Footer ===== */
.article-footer-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-footer-nav a { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 8px; }
.article-footer-nav a:hover { color: var(--accent-gold); }
.article-footer-nav .back-guide { color: var(--accent-gold); }

/* ===== Not Found ===== */
.not-found-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 64px 40px; text-align: center; margin-top: -40px; position: relative; z-index: 2;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.not-found-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(245,184,75,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: var(--accent-gold); }
.not-found-card h1 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.not-found-card p { color: var(--text-secondary); margin-bottom: 24px; }

/* ===== Related Section ===== */
.related-section { max-width: 920px; margin: 56px auto 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-head h2 { font-size: 1.5rem; font-weight: 700; color: #fff; }
.section-more { font-size: 0.875rem; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 6px; transition: all .25s; }
.section-more:hover { color: var(--accent-gold); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card);
  transition: all .3s ease; display: block;
}
.related-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: var(--border-hover); }
.related-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-card:hover .related-thumb img { transform: scale(1.04); }
.related-info { padding: 16px 18px 18px; }
.related-info h3 { font-size: 0.95rem; font-weight: 600; color: #fff; line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-date { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* ===== Footer ===== */
.site-footer { background: #080C1C; border-top: 1px solid var(--border); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 280px 1fr 1fr; gap: 40px; padding: 48px 0 36px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin-top: 12px; }
.footer-links h4, .footer-contact h4 { font-size: 0.9375rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.875rem; color: var(--text-secondary); transition: color .2s; }
.footer-links a:hover { color: var(--accent-gold); }
.footer-contact p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact p i { color: var(--text-muted); width: 16px; text-align: center; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #6B7290; }
.footer-bottom a { color: #6B7290; }
.footer-bottom a:hover { color: var(--accent-gold); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header-search { width: 210px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .header-search { display: none; }
  .mobile-search-trigger { display: inline-flex; }
  .header-search.mobile-open { display: flex; position: absolute; top: 56px; left: 16px; right: 16px; width: auto; z-index: 5; box-shadow: var(--shadow-card); }
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-card { padding: 24px 20px; margin-top: -24px; }
  .article-head h1 { font-size: 1.5rem; }
  .page-banner { padding: 48px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .channel-nav a { padding: 6px 14px; font-size: 0.8125rem; }
}
@media (max-width: 520px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .logo-text { font-size: 1.05rem; }
  .header-top { height: 56px; }
  .site-header.scrolled .header-top { height: 48px; }
  .article-meta { gap: 12px; font-size: 0.8125rem; }
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .breadcrumb .current { max-width: 200px; }
  .btn-primary, .btn-outline { padding: 10px 20px; font-size: 0.875rem; }
}

/* roulang page: category1 */
:root {
  --bg-primary: #0B1026;
  --bg-card: #151B36;
  --bg-panel: #1A2142;
  --bg-deep: #080C1C;
  --brand-primary: #4C6FFF;
  --brand-purple: #8B7EF7;
  --brand-teal: #2AD4C7;
  --accent-gold: #F5B84B;
  --text-primary: #C7CDE4;
  --text-secondary: #8B93AD;
  --text-weak: #6B7290;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 16px 48px -12px rgba(0, 0, 0, 0.7);
  --shadow-btn: 0 4px 16px rgba(76, 111, 255, 0.3);
  --shadow-btn-hover: 0 8px 28px rgba(76, 111, 255, 0.45);
  --container-max: 1200px;
  --font-sans: system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: relative;
  background: rgba(11, 16, 38, 0.98);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(11, 16, 38, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.site-header.scrolled .header-top {
  min-height: 44px;
}

.site-header.scrolled .channel-nav-wrap {
  min-height: 36px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
  transition: min-height 0.3s ease;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-purple));
  border-radius: 12px;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(76, 111, 255, 0.35);
  transition: var(--transition);
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.05);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(90deg, #fff, var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 6px 0 14px;
  height: 42px;
  width: 260px;
  transition: var(--transition);
}

.header-search:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(76, 111, 255, 0.15);
}

.header-search input {
  flex: 1;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.875rem;
  min-width: 0;
}

.header-search input::placeholder {
  color: var(--text-secondary);
}

.header-search button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.header-search button:hover {
  color: var(--brand-primary);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-purple));
  color: #fff;
  padding: 0 18px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
  transition: var(--transition);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.mobile-search-trigger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-search-trigger:hover {
  border-color: var(--brand-primary);
}

.channel-nav-wrap {
  border-top: 1px solid var(--border-light);
  background: rgba(11, 16, 38, 0.6);
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: min-height 0.3s ease;
}

.channel-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0;
}

.channel-nav::-webkit-scrollbar {
  display: none;
}

.channel-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.channel-nav a i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.channel-nav a:hover {
  color: #fff;
  background: var(--bg-panel);
  border-color: var(--border-light);
}

.channel-nav a.active {
  background: linear-gradient(135deg, rgba(245, 184, 75, 0.18), rgba(245, 184, 75, 0.08));
  color: var(--accent-gold);
  border-color: rgba(245, 184, 75, 0.3);
}

/* ===== Category Hero ===== */
.category-hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(ellipse at 18% 30%, rgba(139, 126, 247, 0.22), transparent 48%),
    radial-gradient(ellipse at 85% 20%, rgba(245, 184, 75, 0.12), transparent 36%),
    linear-gradient(135deg, #0B1026, #141C3F 55%, #1D1B4B);
  overflow: hidden;
}

.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.category-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(11, 16, 38, 0.4), rgba(11, 16, 38, 0.92));
}

.category-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.category-hero-content {
  max-width: 640px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76, 111, 255, 0.16);
  border: 1px solid rgba(76, 111, 255, 0.26);
  color: var(--brand-purple);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-tag i {
  font-size: 0.75rem;
}

.category-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}

.category-hero h1 span {
  background: linear-gradient(120deg, var(--accent-gold), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-hero .hero-sub {
  font-size: 1.05rem;
  color: var(--text-primary);
  max-width: 560px;
  margin-bottom: 36px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-purple));
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: #fff;
  background: rgba(76, 111, 255, 0.1);
}

.hero-stat-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(21, 27, 54, 0.72);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  gap: 16px;
}

.hero-stat-item {
  text-align: center;
  padding: 12px 8px;
}

.hero-stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: linear-gradient(180deg, var(--accent-gold), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.hero-stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ===== Quick links ===== */
.quick-links {
  padding: 0;
  border-bottom: 1px solid var(--border-light);
  background: rgba(21, 27, 54, 0.35);
}

.quick-links .container {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 16px;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.quick-links .container::-webkit-scrollbar {
  display: none;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}

.quick-links a i {
  color: var(--brand-purple);
  font-size: 0.8rem;
}

.quick-links a:hover {
  color: #fff;
  border-color: var(--brand-primary);
  background: rgba(76, 111, 255, 0.12);
  transform: translateY(-2px);
}

/* ===== Section base ===== */
.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--bg-deep);
}

.section-head {
  margin-bottom: 52px;
  max-width: 640px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 16px;
}

.section-head p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Guide split ===== */
.guide-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.guide-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.guide-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.guide-media:hover img {
  transform: scale(1.03);
}

.guide-media .media-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(11, 16, 38, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

.guide-text .guide-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-purple);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.guide-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.guide-text > p {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.85;
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
}

.check-list li:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.check-list .check-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 212, 199, 0.14);
  border-radius: 10px;
  color: var(--brand-teal);
  font-size: 0.9rem;
}

.check-list .check-text strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.check-list .check-text span {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===== Location cards ===== */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.location-card .loc-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.location-card .loc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover .loc-img img {
  transform: scale(1.05);
}

.loc-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(11, 16, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.location-card .loc-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-card .loc-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.loc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.loc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-panel);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.loc-meta span i {
  color: var(--brand-purple);
  font-size: 0.7rem;
}

.location-card .loc-body p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
}

/* ===== Skill grid ===== */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-purple));
  opacity: 0;
  transition: var(--transition);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.skill-card.featured {
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-card));
}

.skill-card .skill-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 111, 255, 0.14);
  border-radius: 14px;
  color: var(--brand-primary);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.skill-card.featured .skill-icon {
  background: rgba(245, 184, 75, 0.16);
  color: var(--accent-gold);
}

.skill-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.skill-card .skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.skill-card .skill-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ===== FAQ ===== */
.faq-section {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-primary));
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.open {
  border-color: rgba(76, 111, 255, 0.35);
  box-shadow: var(--shadow-card);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
}

.faq-q h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.faq-item.open .faq-q h3,
.faq-q:hover h3 {
  color: #fff;
}

.faq-q .faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border-radius: 10px;
  color: var(--brand-purple);
  font-size: 0.85rem;
  transition: transform 0.4s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-q .faq-icon {
  transform: rotate(135deg);
  background: var(--brand-primary);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 2px;
}

/* ===== CTA panel ===== */
.cta-panel {
  background: linear-gradient(135deg, #141C3F, #1D1B4B);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card-hover);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(139, 126, 247, 0.12);
  filter: blur(40px);
}

.cta-panel::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 30%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(245, 184, 75, 0.07);
  filter: blur(36px);
}

.cta-text {
  position: relative;
  z-index: 2;
}

.cta-text .cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.cta-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 440px;
}

.subscribe-form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.subscribe-form .form-group {
  position: relative;
}

.subscribe-form input[type="email"] {
  width: 100%;
  height: 52px;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 18px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.subscribe-form input[type="email"]::placeholder {
  color: var(--text-secondary);
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(76, 111, 255, 0.15);
}

.subscribe-form .form-error {
  color: #FF6B6B;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.subscribe-form .form-success {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--brand-teal);
  font-size: 0.9rem;
  padding: 14px 18px;
  background: rgba(42, 212, 199, 0.1);
  border: 1px solid rgba(42, 212, 199, 0.3);
  border-radius: var(--radius-sm);
}

.subscribe-form .form-success i {
  font-size: 1.1rem;
}

.subscribe-form.has-success .form-row,
.subscribe-form.has-error .form-row {
  visibility: hidden;
  height: 0;
  margin: 0;
}

.subscribe-form.has-success .form-success {
  display: flex;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input[type="email"] {
  flex: 1;
}

.form-row .btn-primary {
  height: 52px;
  padding: 0 24px;
  white-space: nowrap;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links ul {
  display: grid;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact p i {
  color: var(--brand-purple);
  font-size: 0.85rem;
  width: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-weak);
}

.footer-bottom a {
  color: var(--text-weak);
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

/* ===== Scroll indicator ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-hero-content {
  animation: fadeInUp 0.7s ease-out;
}

.hero-stat-panel {
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .section {
    padding: 72px 0;
  }

  .category-hero {
    padding: 64px 0 56px;
  }

  .category-hero .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-stat-panel {
    max-width: 540px;
    width: 100%;
  }

  .guide-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .guide-media img {
    height: 340px;
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-top {
    min-height: 56px;
  }

  .header-search {
    width: 200px;
  }

  .header-actions .header-cta span {
    display: none;
  }

  .header-cta {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .channel-nav {
    padding: 4px 0;
  }

  .channel-nav a {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  .category-hero {
    padding: 48px 0 40px;
  }

  .category-hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .category-hero .hero-sub {
    font-size: 0.95rem;
  }

  .hero-stat-panel {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 12px;
    border-radius: var(--radius-md);
  }

  .hero-stat-item .stat-num {
    font-size: 1.6rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .guide-media img {
    height: 260px;
    border-radius: var(--radius-md);
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .faq-q {
    padding: 18px 16px;
  }

  .faq-a-inner {
    padding: 0 16px 18px;
  }

  .cta-panel {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .btn-primary {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .header-top .header-search {
    display: none;
  }

  .mobile-search-trigger {
    display: flex;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .channel-nav-wrap {
    overflow: hidden;
  }

  .channel-nav {
    overflow-x: auto;
  }

  .category-hero {
    padding: 40px 0 36px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    justify-content: center;
  }

  .hero-stat-panel {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .guide-split {
    gap: 28px;
  }

  .guide-media img {
    height: 200px;
  }

  .quick-links a {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .location-card .loc-img {
    height: 180px;
  }

  .cta-text h2 {
    font-size: 1.4rem;
  }

  .scroll-top-btn {
    bottom: 18px;
    right: 18px;
  }
}
