/* roulang page: index */
:root {
  --color-primary: #142A24;
  --color-secondary: #1F4A3A;
  --color-accent: #FF6B35;
  --color-bg: #F7F4EF;
  --color-card: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-sub: #66736B;
  --color-border: rgba(20,42,36,0.12);
  --color-border-dark: rgba(255,255,255,0.12);
  --color-star: #E8A13A;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(20,42,36,0.06);
  --shadow-lg: 0 12px 32px rgba(20,42,36,0.12);
  --space-section: 100px;
  --font-main: 'PingFang SC', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--color-accent); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.grid-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ======== Header / Nav ======== */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(255,107,53,0.3);
}
.brand-name {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}
.brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  display: block;
  letter-spacing: 2px;
}
.header-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.header-search input {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 0 46px 0 18px;
  font-size: 14px;
  transition: all .3s ease;
}
.header-search input::placeholder { color: rgba(255,255,255,0.5); }
.header-search input:focus {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
  outline: none;
}
.header-search .search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background .3s ease;
}
.header-search .search-btn:hover { background: #e55a2b; }
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-login-nav {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
.btn-login-nav:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,107,53,0.4);
}
.nav-tabs-wrap {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--color-secondary);
}
.nav-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tab {
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all .3s ease;
  border: 1px solid transparent;
}
.nav-tab:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-tab.active {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-tab .fa { margin-right: 6px; font-size: 13px; }

/* ======== Hero ======== */
.hero {
  background: var(--color-primary);
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: luminosity;
  position: relative;
  padding: 90px 0 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.2), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(20,42,36,0.6));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,53,0.18);
  border: 1px solid rgba(255,107,53,0.4);
  color: #ffb59d;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero-badge .fa {
  font-size: 12px;
  color: var(--color-accent);
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 2px;
  margin: 0 0 20px;
}
.hero h1 .brand-white { color: #fff; }
.hero h1 .brand-orange {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}
.hero h1 .brand-orange::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255,107,53,0.25);
  border-radius: 4px;
  z-index: -1;
}
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}
.btn-accent:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,53,0.45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-pill);
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px 0 0;
}
.hero-phone {
  width: 260px;
  height: 520px;
  background: #111;
  border-radius: 30px;
  border: 4px solid #2d2d2d;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}
.hero-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #333;
  border-radius: 4px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-bg);
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,42,36,0.2), transparent 30%);
}
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 30px;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
}
.hero-stat .stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-top: 6px;
  letter-spacing: 2px;
}

/* ======== Section通用 ======== */
.section {
  padding: var(--space-section) 0;
}
.section-title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.section-sub {
  color: var(--color-text-sub);
  font-size: 16px;
  line-height: 1.8;
  max-width: 560px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head-center {
  justify-content: center;
  text-align: center;
}
.section-head-center .section-sub { margin: 0 auto; }

/* ======== 功能价值区 ======== */
.features-section { background: var(--color-bg); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-item {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-num {
  font-size: 56px;
  font-weight: 800;
  color: rgba(20,42,36,0.08);
  line-height: 1;
  margin-bottom: 16px;
  transition: all .3s ease;
  display: block;
}
.feature-item:hover .feature-num {
  color: var(--color-accent);
  transform: translateX(4px);
}
.feature-divider {
  width: 32px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 4px;
  margin-bottom: 20px;
}
.feature-item h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}
.feature-item p {
  color: var(--color-text-sub);
  font-size: 14px;
  line-height: 1.7;
}

/* ======== 截图轮播 ======== */
.screenshot-section {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.screenshot-frame {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(20,42,36,0.1);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.frame-bar {
  background: #f5f5f5;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #eee;
}
.frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.frame-dot.red { background: #ff5f57; }
.frame-dot.yellow { background: #febc2e; }
.frame-dot.green { background: #28c840; }
.frame-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #999;
  background: #e8e8e8;
  border-radius: 20px;
  padding: 4px 12px;
  margin-left: 12px;
}
.frame-body .orbit { position: relative; }
.frame-body .orbit-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.orbit-caption {
  background: linear-gradient(to top, rgba(20,42,36,0.7), transparent);
  color: #fff;
  font-size: 14px;
  padding: 20px;
  text-align: center;
}
.orbit-controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.orbit-controls button:hover { background: var(--color-accent); opacity: 1; }
.orbit-previous { left: 16px; }
.orbit-next { right: 16px; }
.orbit-bullets {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 20px 0;
  position: relative;
}
.orbit-bullets button {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
}
.orbit-bullets button.is-active {
  width: 18px;
  background: var(--color-accent);
}

/* ======== 系统要求 ======== */
.system-section {
  background: var(--color-primary);
  background-image: url('/assets/images/backpic/back-2.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.system-section .section-title { color: #fff; }
.system-section .section-sub { color: rgba(255,255,255,0.7); }
.system-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 50px;
}
.system-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.system-card-head {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
}
.system-card-head .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.icon-wrap.min {
  background: rgba(20,42,36,0.08);
  color: var(--color-primary);
}
.icon-wrap.rec {
  background: rgba(255,107,53,0.12);
  color: var(--color-accent);
}
.system-card-head h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
}
.system-spec-list {
  padding: 8px 28px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--color-text-sub); }
.spec-value { font-weight: 500; color: var(--color-text); }

/* ======== 评价墙 ======== */
.reviews-section { background: var(--color-bg); }
.review-brief {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.review-score {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.score-stars {
  color: var(--color-star);
  font-size: 18px;
  letter-spacing: 3px;
}
.review-brief-text {
  color: var(--color-text-sub);
  font-size: 15px;
  max-width: 300px;
  line-height: 1.7;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.review-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all .35s ease;
  position: relative;
}
.review-card::before {
  content: '“';
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 56px;
  font-weight: 800;
  color: rgba(20,42,36,0.06);
  line-height: 1;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.review-card .review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.avatar-1 { background: var(--color-primary); }
.avatar-2 { background: #4A90D9; }
.avatar-3 { background: #D94F6B; }
.review-card .user-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}
.review-card .stars {
  color: var(--color-star);
  font-size: 13px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.review-card p {
  color: var(--color-text-sub);
  font-size: 14px;
  line-height: 1.75;
}

/* ======== 下载按钮组 ======== */
.download-section { background: var(--color-bg); }
.download-card {
  background: var(--color-primary);
  background-image: url('/assets/images/backpic/back-3.webp');
  background-size: cover;
  background-blend-mode: overlay;
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.15), transparent 70%);
  pointer-events: none;
}
.download-card h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.download-card .download-sub {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-bottom: 40px;
}
.download-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 24px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  min-width: 150px;
  justify-content: center;
}
.download-btn:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.4);
}
.download-btn .fa {
  font-size: 22px;
}
.download-btn small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: inherit;
  opacity: 0.7;
}
.download-btn .btn-text {
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}

/* ======== 最新动态 / CMS ======== */
.news-section { background: #fff; }
.news-list {
  max-width: 820px;
  margin: 0 auto;
}
.news-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: all .3s ease;
  border-radius: var(--radius-md);
}
.news-row:hover {
  background: var(--color-bg);
  transform: translateX(4px);
}
.news-row:hover .news-title { color: var(--color-accent); }
.news-date {
  flex-shrink: 0;
  width: 64px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: 10px 0;
  text-align: center;
  color: #fff;
  line-height: 1.2;
}
.news-day {
  display: block;
  font-size: 22px;
  font-weight: 700;
}
.news-month {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}
.news-main {
  flex: 1;
  min-width: 0;
}
.news-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  transition: color .3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-excerpt {
  color: var(--color-text-sub);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.news-badge {
  background: rgba(31,74,58,0.1);
  color: var(--color-secondary);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.news-arrow {
  color: var(--color-text-sub);
  font-size: 14px;
  transition: all .3s ease;
}
.news-row:hover .news-arrow {
  color: var(--color-accent);
  transform: translateX(3px);
}
.empty-state {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  color: var(--color-text-sub);
  background: var(--color-bg);
}
.empty-state .fa {
  font-size: 40px;
  color: var(--color-border);
  margin-bottom: 16px;
  display: block;
}
.empty-state p { font-size: 15px; }

/* ======== FAQ ======== */
.faq-section { background: var(--color-bg); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--color-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all .3s ease;
  position: relative;
}
.accordion-item.is-active {
  box-shadow: var(--shadow-sm);
  border-color: rgba(255,107,53,0.3);
}
.accordion-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
}
.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  gap: 16px;
}
.accordion-title:hover { color: var(--color-accent); }
.accordion-title .fa {
  font-size: 14px;
  transition: all .3s ease;
  color: var(--color-text-sub);
  flex-shrink: 0;
}
.accordion-item.is-active .accordion-title .fa {
  transform: rotate(180deg);
  color: var(--color-accent);
}
.accordion-content {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-sub);
  font-size: 14px;
  line-height: 1.8;
}
.accordion-item.is-active .accordion-content { display: block; }

/* ======== Footer ======== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name { margin-bottom: 16px; display: inline-block; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}
.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: all .3s ease;
}
.footer-links a:hover { color: var(--color-accent); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-contact .fa {
  color: var(--color-accent);
  font-size: 13px;
  width: 16px;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}

/* ======== Responsive ======== */
@media (max-width: 1023px) {
  :root { --space-section: 72px; }
  .header-search { max-width: 260px; }
  .hero { padding: 60px 0 0; }
  .hero-phone-wrap { display: none; }
  .hero-stats { gap: 30px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  :root { --space-section: 48px; }
  .header-search { display: none; }
  .brand-name { font-size: 17px; }
  .btn-login-nav { padding: 8px 16px; font-size: 13px; }
  .nav-tabs { padding: 8px 16px; }
  .hero { padding: 48px 0 0; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .features-grid { grid-template-columns: 1fr; }
  .system-cards { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .download-card { padding: 56px 24px; }
  .download-btns { flex-direction: column; align-items: stretch; }
  .download-btn { width: 100%; }
  .news-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .news-meta { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stat .stat-num { font-size: 30px; }
  .hero-stats { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* roulang page: category1 */
:root {
  --primary: #142A24;
  --primary-2: #1F4A3A;
  --accent: #FF6B35;
  --bg: #F7F4EF;
  --card-bg: #FFFFFF;
  --text: #1A1A1A;
  --text-2: #66736B;
  --border: rgba(20,42,36,0.12);
  --border-dark: rgba(255,255,255,0.14);
  --star: #E8A13A;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 16px rgba(20,42,36,0.06);
  --shadow-lg: 0 12px 32px rgba(20,42,36,0.12);
  --font: 'PingFang SC', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.grid-container { max-width: 1200px; }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  white-space: nowrap;
}
.btn i { font-size: 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #E85A26; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.3); color: #fff; }
.btn-accent:active { transform: translateY(0); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); color: #fff; }
.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-block { width: 100%; }

/* ========== 头部导航 ========== */
.site-header {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  position: relative;
  z-index: 100;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
  flex-wrap: nowrap;
}
.brand-logo { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }
.brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  margin-top: -2px;
}
.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0 6px 0 18px;
  max-width: 380px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.2);
  background: rgba(255,255,255,0.14);
}
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  height: 38px;
}
.header-search input::placeholder { color: rgba(255,255,255,0.5); }
.search-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.search-btn:hover { background: #E85A26; }
.header-cta { flex-shrink: 0; }
.btn-login-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-login-nav:hover { background: #E85A26; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,107,53,0.3); color: #fff; }

.nav-tabs-wrap {
  background: rgba(0,0,0,0.18);
  border-top: 1px solid var(--border-dark);
  overflow-x: auto;
}
.nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  padding: 8px 24px;
  min-width: max-content;
}
.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-tab i { font-size: 13px; }
.nav-tab:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-tab.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255,107,53,0.25);
}
.nav-tab.active:hover { background: #E85A26; color: #fff; }

/* ========== 分类页 Hero ========== */
.cat-hero {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: 72px 0 56px;
  overflow: hidden;
}
.cat-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  opacity: 0.18;
}
.cat-hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,107,53,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.cat-hero .grid-container { position: relative; z-index: 2; }
.cat-hero-inner { max-width: 860px; }
.cat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.cat-hero-badge i { color: var(--accent); }
.cat-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.cat-hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin-bottom: 32px;
}
.cat-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.cat-hero-stats {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.hero-stat-label { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ========== 板块通用 ========== */
.section-head {
  margin-bottom: 48px;
  max-width: 720px;
}
.section-kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ========== 内容主区 ========== */
.cat-main-section { padding: 90px 0 60px; }
.cat-group {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 40px 36px;
  margin-bottom: 36px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.cat-group:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cat-group-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.cat-group-num {
  font-size: 56px;
  font-weight: 800;
  color: rgba(20,42,36,0.09);
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.3s ease, transform 0.3s ease;
  font-family: Georgia, serif;
  letter-spacing: -2px;
}
.cat-group:hover .cat-group-num { color: var(--accent); transform: translateX(4px); }
.cat-group-title h2 { font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cat-group-title p { font-size: 15px; color: var(--text-2); }
.cat-group-desc { font-size: 16px; color: var(--text); opacity: 0.92; margin-bottom: 18px; }
.cat-points { margin-bottom: 24px; }
.cat-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.cat-points li:last-child { border-bottom: none; }
.cat-points i { color: var(--accent); font-size: 16px; margin-top: 3px; }
.cat-figure { margin-top: 10px; border-radius: var(--radius-sm); overflow: hidden; }
.cat-figure img { width: 100%; border-radius: var(--radius-sm); aspect-ratio: 16/9; object-fit: cover; }
.cat-figure figcaption {
  font-size: 13px;
  color: var(--text-2);
  padding: 8px 4px 0;
  line-height: 1.5;
}

/* ========== 侧边栏 ========== */
.cat-sidebar { position: sticky; top: 60px; }
.sidebar-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 28px;
}
.sidebar-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card h3 i { color: var(--accent); font-size: 16px; }
.hot-list li { border-bottom: 1px dashed var(--border); }
.hot-list li:last-child { border-bottom: none; }
.hot-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 2px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.25s ease;
}
.hot-list a:hover { color: var(--accent); padding-left: 6px; }
.hot-tag {
  flex-shrink: 0;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.hot-football { background: rgba(255,107,53,0.1); color: var(--accent); }
.hot-basketball { background: rgba(31,74,58,0.1); color: var(--primary-2); }
.hot-tennis { background: rgba(232,161,58,0.12); color: #B97D1E; }
.hot-esports { background: rgba(20,42,36,0.08); color: var(--primary); }
.hot-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.25s ease;
}
.tag-cloud a:hover {
  background: var(--primary-2);
  border-color: var(--primary-2);
  color: #fff;
  transform: translateY(-2px);
}

.sidebar-download { background: var(--primary); border-color: var(--primary); }
.sidebar-download h3 { color: #fff; }
.sidebar-download h3 i { color: var(--accent); }
.sidebar-download p { color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 18px; line-height: 1.7; }

/* ========== 流程区块 ========== */
.cat-process-section { background: var(--primary); padding: 90px 0; }
.cat-process-section .section-head h2 { color: #fff; }
.cat-process-section .section-head p { color: rgba(255,255,255,0.65); }
.cat-process-section .section-kicker { color: var(--accent); }
.process-step {
  padding: 24px 20px;
  border-left: 1px solid var(--border-dark);
  transition: border-color 0.3s ease;
}
.process-step:hover { border-left-color: var(--accent); }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,107,53,0.18);
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ========== FAQ ========== */
.cat-faq-section { padding: 90px 0 60px; }
.faq-wrap { max-width: 860px; }
.faq-accordion { list-style: none; }
.faq-accordion .accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.faq-accordion .accordion-item:hover { box-shadow: var(--shadow); border-color: rgba(20,42,36,0.2); }
.faq-accordion .accordion-item.is-active {
  border-color: rgba(255,107,53,0.35);
  box-shadow: var(--shadow);
}
.faq-accordion .accordion-item.is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  z-index: 2;
}
.faq-accordion .accordion-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  position: relative;
}
.faq-accordion .accordion-title::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  color: var(--text-2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-accordion .accordion-item.is-active .accordion-title::after { transform: rotate(180deg); color: var(--accent); }
.faq-accordion .accordion-title:hover { color: var(--accent); }
.faq-accordion .accordion-title:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq-accordion .accordion-content {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}
.faq-accordion .accordion-content p { margin: 0; }

/* ========== CTA ========== */
.cat-cta-section { padding: 70px 0 90px; }
.cta-card {
  background: var(--primary);
  border-radius: 24px;
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(20,42,36,0.25);
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%);
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,74,58,0.4) 0%, transparent 70%);
}
.cta-card h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-brand .brand-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-top: 10px; max-width: 340px; }
.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all 0.25s ease;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.footer-contact i { color: var(--accent); font-size: 13px; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ========== 动效 ========== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ========== 响应式 ========== */
@media screen and (max-width: 1024px) {
  .cat-hero h1 { font-size: 44px; }
  .section-head h2 { font-size: 32px; }
  .cta-card h2 { font-size: 30px; }
  .footer-grid { gap: 30px; }
}

@media screen and (max-width: 768px) {
  .cat-hero { padding: 52px 0 42px; }
  .cat-hero h1 { font-size: 36px; }
  .cat-hero-desc { font-size: 16px; }
  .hero-stat-num { font-size: 36px; }
  .cat-hero-stats { gap: 30px; }
  .cat-main-section { padding: 60px 0 40px; }
  .cat-group { padding: 28px 22px; }
  .cat-group-num { font-size: 44px; }
  .cat-sidebar { position: static; margin-top: 10px; }
  .cat-process-section { padding: 60px 0; }
  .cat-faq-section { padding: 60px 0 40px; }
  .cta-card { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media screen and (max-width: 640px) {
  .header-search { display: none; }
  .header-top { justify-content: space-between; }
  .btn-login-nav { padding: 8px 16px; font-size: 13px; }
  .brand-name { font-size: 18px; }
  .nav-tabs { padding: 6px 16px; }
  .nav-tab { padding: 7px 14px; font-size: 13px; }
  .cat-hero { padding: 42px 0 36px; }
  .cat-hero h1 { font-size: 30px; }
  .cat-hero-desc { font-size: 15px; margin-bottom: 24px; }
  .cat-hero-actions { flex-direction: column; gap: 10px; }
  .btn, .btn-lg { width: 100%; }
  .cat-hero-actions .btn { width: 100%; }
  .cat-hero-stats { gap: 22px; flex-direction: column; }
  .hero-stat-num { font-size: 32px; }
  .cat-main-section { padding: 44px 0 30px; }
  .cat-group { padding: 22px 16px; margin-bottom: 24px; }
  .cat-group-header { flex-direction: column; gap: 8px; }
  .cat-group-num { font-size: 36px; }
  .cat-group-title h2 { font-size: 22px; }
  .cat-points li { font-size: 14px; }
  .cat-figure img { aspect-ratio: 4/3; }
  .sidebar-card { padding: 22px 18px; margin-bottom: 20px; }
  .cat-process-section { padding: 44px 0; }
  .process-step { padding: 18px 14px; }
  .cat-faq-section { padding: 44px 0 28px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 26px; }
  .faq-accordion .accordion-title { font-size: 15px; padding: 16px 18px; }
  .faq-accordion .accordion-content { padding: 0 18px 16px; font-size: 14px; }
  .cat-cta-section { padding: 44px 0 56px; }
  .cta-card { padding: 36px 20px; border-radius: 18px; }
  .cta-card h2 { font-size: 24px; }
  .cta-card p { font-size: 14px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { font-size: 12px; }
}

/* roulang page: article */
:root {
  --primary: #142A24;
  --primary-light: #1F4A3A;
  --primary-dark: #0D1F1A;
  --accent: #FF6B35;
  --accent-hover: #E85A2A;
  --accent-soft: rgba(255, 107, 53, 0.12);
  --bg: #F7F4EF;
  --card-bg: #FFFFFF;
  --text-main: #1A1A1A;
  --text-secondary: #66736B;
  --text-light: #8A948E;
  --white: #FFFFFF;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --border: rgba(20, 42, 36, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 16px rgba(20, 42, 36, 0.06);
  --shadow-hover: 0 12px 32px rgba(20, 42, 36, 0.12);
  --shadow-accent: 0 6px 20px rgba(255, 107, 53, 0.25);
  --font-sans: 'PingFang SC', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  --fs-body: 17px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text-main);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all var(--transition); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style-position: inside; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 107, 53, 0.35); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== 页头 ===== */
.site-header {
  background: var(--primary);
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 10px 0;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.brand-logo:hover { opacity: 0.88; }
.brand-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--white-70);
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  vertical-align: middle;
}
.header-search {
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  transition: border 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}
.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  padding: 10px 16px;
  font-size: 14px;
  min-width: 0;
}
.header-search input::placeholder { color: var(--white-50); }
.search-btn {
  background: transparent;
  border: none;
  color: var(--white-50);
  padding: 10px 14px;
  cursor: pointer;
  transition: color 0.3s;
}
.search-btn:hover { color: var(--accent); }
.header-cta { flex-shrink: 0; }
.btn-login-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
  box-shadow: var(--shadow-accent);
}
.btn-login-nav:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
}
.btn-login-nav:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ===== 导航 Tabs ===== */
.nav-tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs-wrap::-webkit-scrollbar { display: none; }
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  white-space: nowrap;
}
.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  color: var(--white-70);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.nav-tab.active {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}
.nav-tab:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* ===== 文章 Hero ===== */
.article-hero {
  background-color: var(--primary);
  background-image: linear-gradient(rgba(20, 42, 36, 0.9), rgba(20, 42, 36, 0.94)), url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 96px 0 72px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.article-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent 70%);
  pointer-events: none;
}
.article-hero-inner { max-width: 840px; position: relative; z-index: 2; }
.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.article-kicker i { color: var(--accent); }
.article-hero h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 22px;
  color: var(--white);
  word-break: break-word;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 14px;
  color: var(--white-70);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.meta-item i { color: var(--accent); font-size: 13px; }
.article-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* ===== 面包屑 ===== */
.breadcrumb-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep {
  color: #B0B7B2;
  font-size: 12px;
}
.breadcrumb .current {
  color: var(--text-light);
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 文章正文区 ===== */
.article-section {
  padding: 64px 0 72px;
  background: var(--bg);
}
.article-reader {
  max-width: 760px;
  margin: 0 auto;
}
.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: #2A2A2A;
}
.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}
.article-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  margin: 32px 0 14px;
}
.article-content p {
  margin-bottom: 18px;
}
.article-content img {
  width: 100%;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: var(--shadow-card);
}
.article-content figure {
  margin: 24px 0;
}
.article-content figcaption {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
}
.article-content blockquote {
  background: var(--card-bg);
  border-left: 4px solid var(--accent);
  padding: 22px 26px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  color: var(--text-secondary);
  font-style: normal;
  box-shadow: var(--shadow-card);
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin: 16px 0 24px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content li::marker { color: var(--accent); }
.article-content a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.3s;
}
.article-content a:hover { opacity: 0.75; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.article-content th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.article-content tr:last-child td { border-bottom: none; }

/* 空状态 */
.article-not-found {
  text-align: center;
  padding: 80px 32px;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--border);
  box-shadow: var(--shadow-card);
}
.article-not-found i {
  font-size: 52px;
  color: var(--text-light);
  margin-bottom: 18px;
}
.article-not-found h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.article-not-found p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* 文末返回 */
.article-back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

/* ===== 相关推荐 ===== */
.related-section {
  padding: 72px 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  padding-left: 16px;
}
.section-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
}
.section-more {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.section-more:hover { color: var(--accent); }
.related-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.related-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.related-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-card:hover .card-img { transform: scale(1.05); }
.related-card .card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 12px;
}
.related-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 8px;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card a.card-link:hover h3 { color: var(--accent); }
.related-card .card-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.related-card .card-date {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ===== CTA ===== */
.cta-section {
  padding: 88px 0;
  background: var(--bg);
}
.cta-card {
  background-color: var(--primary);
  background-image: linear-gradient(rgba(20, 42, 36, 0.82), rgba(20, 42, 36, 0.9)), url('/assets/images/backpic/back-2.webp');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  padding: 68px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(20, 42, 36, 0.25);
}
.cta-card::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.cta-card p {
  font-size: 16px;
  color: var(--white-70);
  max-width: 560px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--primary-dark);
  color: var(--white-70);
  font-size: 14px;
}
.site-footer .grid-container { padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
}
.site-footer .brand-logo { margin-bottom: 10px; }
.footer-brand p {
  margin-top: 14px;
  line-height: 1.8;
  color: var(--white-50);
  max-width: 380px;
  font-size: 14px;
}
.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--white-50);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-links a i { font-size: 12px; color: var(--accent); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-50);
}
.footer-contact i {
  color: var(--accent);
  width: 16px;
  text-align: center;
  font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: var(--white-50);
}

/* ===== 动效 ===== */
.js-ready .fade-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.js-ready .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== 响应式 ===== */
@media (max-width: 1023px) {
  .header-search { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .header-top { min-height: 58px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10px; }
  .brand-icon { width: 34px; height: 34px; font-size: 14px; }
  .btn-login-nav { padding: 8px 16px; font-size: 13px; }
  .article-hero { min-height: 320px; padding: 72px 0 56px; }
  .article-hero h1 { font-size: 28px; }
  .article-section { padding: 48px 0 56px; }
  .related-section { padding: 56px 0; }
  .section-header h2 { font-size: 24px; }
  .cta-card { padding: 44px 24px; }
  .cta-card h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .grid-container { padding-top: 44px; }
}

@media (max-width: 520px) {
  .article-meta { gap: 10px; font-size: 13px; }
  .article-back .btn { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .breadcrumb .current { max-width: 160px; }
  .article-kicker { font-size: 12px; }
}

/* roulang page: category2 */
:root {
  --primary: #142A24;
  --primary-2: #1F4A3A;
  --accent: #FF6B35;
  --bg: #F7F4EF;
  --card-bg: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #66736B;
  --border: rgba(20,42,36,0.12);
  --border-light: rgba(255,255,255,0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(20,42,36,0.06);
  --shadow-hover: 0 12px 32px rgba(20,42,36,0.12);
  --space-section: 100px;
  --space-section-md: 72px;
  --space-section-sm: 48px;
  --font-family: 'PingFang SC', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: inline-block; }
a { color: inherit; text-decoration: none; transition: color .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
button, input { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

.grid-container { max-width: 1200px; width: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-header { background: var(--primary); color: #fff; position: relative; z-index: 200; box-shadow: 0 4px 24px rgba(0,0,0,0.18); }
.header-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; padding: 10px 0; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: 0 4px 12px rgba(255,107,53,0.35);
}
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: .5px; color: #fff; line-height: 1.2; }
.brand-sub { display: block; font-size: 11px; font-weight: 400; opacity: .7; letter-spacing: 1px; }
.header-search { display: flex; align-items: center; background: rgba(255,255,255,0.1); border-radius: 999px; padding: 4px 6px; max-width: 420px; flex: 1; border: 1px solid rgba(255,255,255,0.08); }
.header-search input { flex: 1; background: transparent; border: none; outline: none; color: #fff; padding: 8px 16px; font-size: 14px; border-radius: 999px; }
.header-search input::placeholder { color: rgba(255,255,255,0.55); }
.search-btn { background: transparent; border: none; color: rgba(255,255,255,0.8); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; transition: background .3s; }
.search-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.header-cta { flex-shrink: 0; }
.btn-login-nav {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  border: 2px solid transparent;
  transition: all .3s ease;
}
.btn-login-nav:hover { background: #e85a2a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.4); }

.nav-tabs-wrap {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: sticky; top: 0; z-index: 150;
}
.nav-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 24px; }
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 999px;
  font-size: 14px; color: rgba(255,255,255,0.8);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all .3s ease;
}
.nav-tab:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-tab.active { background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 4px 14px rgba(255,107,53,0.35); }

/* Hero */
.cat-hero {
  background: var(--primary);
  background-image: linear-gradient(rgba(20,42,36,0.88), rgba(20,42,36,0.94)), url('/assets/images/backpic/back-1.png');
  background-size: cover; background-position: center;
  color: #fff; padding: 88px 0 80px;
  position: relative; overflow: hidden;
}
.cat-hero::after {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 16px; border-radius: 999px;
  font-size: 13px; letter-spacing: 1px; margin-bottom: 20px;
}
.cat-hero h1 { font-size: 48px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; letter-spacing: 1px; }
.cat-hero h1 .h1-accent { color: var(--accent); }
.cat-hero .hero-subtitle { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.75); margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600;
  box-shadow: 0 6px 22px rgba(255,107,53,0.35);
  transition: all .3s ease;
}
.btn-primary:hover { background: #e85a2a; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,107,53,0.45); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  padding: 14px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all .3s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.hero-visual { text-align: center; position: relative; }
.hero-visual img { border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); max-height: 480px; object-fit: cover; width: 100%; }

/* Section base */
.section-block { padding: var(--space-section) 0; }
.section-block.alt { background: #fff; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-tag { display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--accent); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; }
.section-header h2 { font-size: 36px; font-weight: 700; line-height: 1.3; color: var(--text); letter-spacing: 1px; }
.section-header .section-desc { font-size: 16px; color: var(--text-secondary); max-width: 620px; margin: 16px auto 0; }

/* Download channels */
.channels-wrap { background: var(--bg); }
.channel-item {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px; margin-bottom: 20px;
  display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow);
  transition: all .4s ease;
  height: calc(100% - 20px);
}
.channel-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(20,42,36,0.2); }
.channel-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
}
.channel-icon.brand-ios { background: #1F4A3A; }
.channel-icon.brand-google { background: #2E7D32; }
.channel-icon.brand-android { background: #388E3C; }
.channel-icon.brand-scan { background: var(--accent); }
.channel-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.channel-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }
.channel-info .channel-link { font-size: 13px; color: var(--accent); font-weight: 600; }
.channel-info .channel-link i { font-size: 12px; margin-left: 4px; }

/* Steps flow */
.steps-wrap { background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 48px; left: 12%; right: 12%;
  border-top: 2px dashed var(--border); pointer-events: none;
}
.step-item { text-align: center; position: relative; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 26px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative; z-index: 1;
  box-shadow: 0 8px 24px rgba(20,42,36,0.2);
}
.step-item:nth-child(2) .step-num { background: var(--primary-2); }
.step-item:nth-child(3) .step-num { background: var(--accent); }
.step-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 260px; margin: 0 auto; }

/* Requirements */
.requirements-wrap { background: var(--primary); color: #fff; background-image: linear-gradient(rgba(20,42,36,0.95), rgba(20,42,36,0.95)), url('/assets/images/backpic/back-2.webp'); background-size: cover; background-position: center; }
.requirements-wrap .section-header h2 { color: #fff; }
.requirements-wrap .section-header .section-desc { color: rgba(255,255,255,0.65); }
.req-card {
  background: #fff; border-radius: var(--radius);
  padding: 36px; height: 100%;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.req-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.req-card h3 i { color: var(--accent); }
.req-list { border-top: 1px solid var(--border); }
.req-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  gap: 16px;
}
.req-item .req-label { font-size: 14px; color: var(--text-secondary); }
.req-item .req-value { font-size: 15px; font-weight: 600; color: var(--text); text-align: right; }

/* Scenarios */
.scenario-image img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-hover); max-height: 420px; }
.scenario-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.scenario-item { display: flex; gap: 16px; padding: 20px; background: #fff; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all .3s ease; }
.scenario-item:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.scenario-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(31,74,58,0.1); color: var(--primary-2); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.scenario-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.scenario-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Security */
.security-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.security-item:last-child { border-bottom: none; }
.security-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(20,42,36,0.06); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.security-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.security-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* FAQ */
.faq-wrap { background: #fff; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list .accordion-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: border-color .3s; }
.faq-list .accordion-item.is-active { border-left: 3px solid var(--accent); border-color: var(--border); box-shadow: var(--shadow); }
.faq-list .accordion-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text);
  cursor: pointer; position: relative; outline: none;
  transition: background .3s;
}
.faq-list .accordion-title::before { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 13px; color: var(--text-secondary); transition: transform .3s; }
.faq-list .accordion-item.is-active .accordion-title::before { transform: rotate(180deg); color: var(--accent); }
.faq-list .accordion-content { padding: 0 24px 20px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.75; }
.faq-list .accordion-content p { margin-bottom: 8px; }
.faq-list .accordion-content p:last-child { margin-bottom: 0; }
.faq-item { margin-bottom: 14px; }
.faq-item .faq-q { font-size: 16px; font-weight: 600; cursor: pointer; padding: 20px 24px; background: #fff; border-radius: 12px; border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; transition: all .3s; }
.faq-item .faq-q:hover { border-color: var(--accent); }
.faq-item .faq-q i { font-size: 14px; color: var(--text-secondary); transition: transform .3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--accent); }
.faq-item .faq-a { display: none; padding: 0 24px 20px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* CTA */
.cta-block {
  background: var(--primary);
  background-image: linear-gradient(rgba(20,42,36,0.92), rgba(20,42,36,0.92)), url('/assets/images/backpic/back-3.webp');
  background-size: cover; background-position: center;
  border-radius: 24px; padding: 64px 48px;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-block::after {
  content: ''; position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%);
}
.cta-block h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-block p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 32px; position: relative; z-index: 1; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary);
  padding: 14px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 700;
  transition: all .3s ease;
}
.btn-white:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.4); }

/* Footer */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 320px; }
.footer-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color .3s, padding-left .3s; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { font-size: 14px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--accent); width: 16px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* Reveal animation */
.reveal-on-scroll { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1023px) {
  .section-block { padding: var(--space-section-md) 0; }
  .cat-hero h1 { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-visual { margin-top: 40px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 767px) {
  .header-top { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .header-search { order: 3; max-width: 100%; flex-basis: 100%; }
  .header-cta .btn-login-nav { padding: 8px 18px; font-size: 13px; }
  .cat-hero { padding: 56px 0 48px; }
  .cat-hero h1 { font-size: 32px; }
  .cat-hero .hero-subtitle { font-size: 15px; }
  .section-block { padding: var(--space-section-sm) 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 28px; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .step-item p { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-block { padding: 40px 24px; }
  .cta-block h2 { font-size: 28px; }
  .channel-item { flex-direction: column; gap: 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { justify-content: center; }
  .req-card { padding: 24px; margin-bottom: 20px; }
}

@media (max-width: 520px) {
  .nav-tab { padding: 6px 14px; font-size: 13px; }
  .cat-hero h1 { font-size: 28px; }
  .section-header h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary, .cta-actions .btn-white { justify-content: center; }
}
