/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #6C3EF5;
  --primary-dark: #5A2ED6;
  --primary-light: #8B5CF6;
  --accent: #19E3B1;
  --bg-dark: #0E0C1A;
  --bg-dark-2: #16122B;
  --bg-light: #F6F5FA;
  --text-main: #201E2B;
  --text-inverse: #F0EEF9;
  --text-muted: #6A6780;
  --text-muted-dark: #A29EB8;
  --border-light: rgba(14, 12, 26, 0.06);
  --border-dark: rgba(255, 255, 255, 0.08);
  --success: #22C58B;
  --warning: #F59E0B;
  --error: #EF4444;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 2px 8px rgba(14, 12, 26, 0.06);
  --shadow-hover: 0 12px 32px rgba(14, 12, 26, 0.12);
  --shadow-btn: 0 6px 20px rgba(108, 62, 245, 0.35);
  --spacing-section: 96px;
  --spacing-mobile: 56px;
  --container: 1280px;
  --transition: 0.2s ease;
  --fs-body: 16px;
  --font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Inter", "Roboto", sans-serif;
}

/* ===== Reset / Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text-main);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(108, 62, 245, 0.3);
  outline-offset: 2px;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  line-height: 1.3;
  font-weight: 700;
}

/* ===== 容器 ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 按钮体系 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  line-height: 1.4;
  min-height: 48px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition), border-color var(--transition), opacity var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(108, 62, 245, 0.45);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(108, 62, 245, 0.3);
}
.btn-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
  min-height: 48px;
}
.btn-secondary:hover {
  background: rgba(108, 62, 245, 0.08);
}
.btn-secondary--light {
  border-color: #fff;
  color: #fff;
}
.btn-secondary--light:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  min-height: 44px;
}
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  padding: 4px 0;
  transition: color var(--transition);
}
.btn-text:hover {
  color: var(--primary-dark);
}
.btn-text:hover span {
  transform: translateX(3px);
}
.btn-text span {
  transition: transform var(--transition);
}

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(14, 12, 26, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.logo__text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #EDECF5;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-link.active {
  color: #fff;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-light);
}
.nav-arrow {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.has-mega:hover .nav-arrow {
  transform: rotate(180deg);
}
.nav-cta {
  margin-left: 12px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* ===== Mega Menu 面板 ===== */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 640px;
  background: #FAFAFD;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}
.has-mega {
  position: relative;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mega-panel__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.mega-panel__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-panel__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  transition: background var(--transition);
}
.mega-panel__link:hover {
  background: rgba(108, 62, 245, 0.08);
  color: var(--primary);
}
.mega-panel__link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(108, 62, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  background-color: var(--bg-dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 12, 26, 0.92) 0%, rgba(22, 18, 43, 0.78) 50%, rgba(108, 62, 245, 0.35) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__text {
  max-width: 600px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(25, 227, 177, 0.12);
  border: 1px solid rgba(25, 227, 177, 0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero__badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero__title span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(240, 238, 249, 0.8);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  padding: 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.hero__visual-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}
.hero__visual-card:hover {
  background: rgba(255, 255, 255, 0.14);
}
.hero__visual-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero__visual-text h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.hero__visual-text p {
  color: rgba(240, 238, 249, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== 信任徽标条 ===== */
.trust-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}
.trust-bar__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 40px;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-bar__item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== 板块通用 ===== */
.section {
  padding: var(--spacing-section) 0;
}
.section--light {
  background: var(--bg-light);
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-header__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spiting: -0.01em;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-header--dark h2 {
  color: var(--text-inverse);
}
.section-header--dark p {
  color: var(--text-muted-dark);
}

/* ===== 痛点追问区 ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: #F3F1FA;
  border-top: 4px solid var(--primary);
  padding: 28px 24px;
  border-radius: 0 0 14px 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.pain-card__mark {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(108, 62, 245, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pain-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.pain-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ===== 方案卡片区 ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.solution-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}
.solution-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.solution-card:hover::before {
  transform: scaleX(1);
}
.solution-card--large {
  display: flex;
  flex-direction: column;
}
.solution-card--large .solution-card__img {
  height: 260px;
  overflow: hidden;
  background: var(--bg-dark-2);
}
.solution-card--large .solution-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.solution-card--large:hover .solution-card__img img {
  transform: scale(1.04);
}
.solution-card__body {
  padding: 28px;
  flex: 1;
}
.solution-card__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.solution-card__body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.solution-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(108, 62, 245, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.solution-card__body ul {
  margin-bottom: 16px;
  padding-left: 0;
}
.solution-card__body ul li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}
.solution-card__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.solutions-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.solution-card--compact {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.solution-card--compact h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.solution-card--compact p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ===== 数据区 ===== */
.stats-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.stat-item:last-child {
  border-right: none;
}
.stat-item__number {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  display: block;
  letter-spacing: -0.02em;
}
.stat-item__number::after {
  content: '';
  display: block;
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto;
}
.stat-item__label {
  font-size: 15px;
  color: #B8B3D1;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.stat-item p {
  font-size: 13px;
  color: rgba(184, 179, 209, 0.6);
}

/* ===== 内容动态区（CMS） ===== */
.cms-section {
  background: #fff;
}
.cms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.post-card__img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark-2), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__img img {
  transform: scale(1.05);
}
.post-card__img-fallback {
  color: rgba(255, 255, 255, 0.5);
  font-size: 40px;
}
.post-card__body {
  padding: 20px 24px 24px;
}
.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.post-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(108, 62, 245, 0.08);
  padding: 3px 10px;
  border-radius: 100px;
}
.post-card__date {
  font-size: 13px;
  color: var(--text-muted);
}
.post-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.empty-state__icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--primary-light);
}
.empty-state p {
  font-size: 16px;
}

/* ===== 表单转化区 ===== */
.contact-section {
  background: var(--bg-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.contact-info h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-icon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}
.contact-icon-item svg {
  color: var(--primary);
  flex-shrink: 0;
}
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}
.form-group input,
.form-group select,
.form-group textarea {
  height: 46px;
  border: 1px solid #D6D3E3;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group textarea {
  height: 100px;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 62, 245, 0.12);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A29EB8;
}
.btn-submit {
  width: 100%;
  position: relative;
}
.btn-submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.btn-submit.is-loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
.btn-submit.is-success {
  background: var(--success);
  box-shadow: 0 6px 20px rgba(34, 197, 139, 0.35);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.privacy-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}
.privacy-note a {
  color: var(--primary);
  font-weight: 500;
}
.error-hint {
  font-size: 12px;
  color: var(--error);
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--error);
}
.form-group.has-error .error-hint {
  display: block;
}

/* ===== FAQ ===== */
.faq-section {
  background: #fff;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: background var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.faq-item:hover {
  background: #F3F1FA;
  box-shadow: var(--shadow-card);
}
.faq-item__toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  min-height: 52px;
}
.faq-item__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item__content p {
  padding: 0 24px 20px 58px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.is-open {
  background: #F8F7FC;
  border-color: rgba(108, 62, 245, 0.2);
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item.is-open .faq-item__content {
  max-height: 300px;
}

/* ===== CTA 条 ===== */
.cta-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #4B2DA8 100%);
  padding: 56px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.15;
}
.cta-bar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-bar h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-bar p {
  font-size: 15px;
  opacity: 0.85;
}
.cta-bar .btn-secondary--light {
  border-color: #fff;
  color: #fff;
  flex-shrink: 0;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand__logo .logo__icon {
  background: var(--primary);
}
.footer-brand__logo .logo__text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-dark);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}
.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted-dark);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted-dark);
}
.footer-contact-info svg {
  color: var(--accent);
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(162, 158, 184, 0.7);
}

/* ===== 移动端适配 ===== */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solutions-stack {
    flex-direction: row;
  }
  .solution-card--compact {
    flex: 1;
  }
  .cms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 8px;
    border-radius: 8px;
    color: #EDECF5;
  }
  .nav-link.active::after {
    display: none;
  }
  .has-mega {
    position: static;
  }
  .mega-panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 16px;
    margin-top: 4px;
    display: none;
  }
  .has-mega:hover .mega-panel,
  .has-mega:focus-within .mega-panel {
    transform: none;
  }
  .has-mega.is-open .mega-panel {
    display: block;
  }
  .mega-panel__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mega-panel__title {
    color: var(--text-muted-dark);
  }
  .mega-panel__link {
    color: var(--text-inverse);
  }
  .mega-panel__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
  }
  .nav-cta .btn {
    width: 100%;
  }
  .hero {
    padding: 100px 0 56px;
  }
  .hero__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__visual {
    min-height: auto;
  }
  .hero__title {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }
  .hero__subtitle {
    font-size: 15px;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .solutions-stack {
    flex-direction: column;
  }
  .cms-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item {
    padding: 32px 16px;
  }
  .stat-item:nth-child(3) {
    border-right: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .section {
    padding: var(--spacing-mobile) 0;
  }
  .cta-bar__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .trust-bar__list {
    gap: 12px 24px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item,
  .stat-item:nth-child(2),
  .stat-item:nth-child(3) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 16px;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .solution-card__body {
    padding: 20px;
  }
  .solution-card--large .solution-card__img {
    height: 180px;
  }
  .faq-item__toggle {
    padding: 14px 16px;
    font-size: 15px;
  }
  .faq-item__content p {
    padding: 0 16px 16px 46px;
  }
  .contact-info h2 {
    font-size: 1.6rem;
  }
  .cta-bar {
    padding: 40px 0;
  }
}

/* ===== 减少动效偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: category1 */
:root {
  --primary: #6C3EF5;
  --primary-dark: #5A2ED6;
  --primary-light: #8A63FF;
  --accent: #19E3B1;
  --dark-bg: #0E0C1A;
  --dark-bg-2: #16122B;
  --light-bg: #F6F5FA;
  --text-main: #201E2B;
  --text-body: #3A3748;
  --text-muted: #6A6780;
  --text-light: #F0EEF9;
  --text-light-muted: #B8B3D1;
  --border: rgba(14, 12, 26, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(14, 12, 26, 0.06);
  --shadow-lg: 0 12px 32px rgba(14, 12, 26, 0.12);
  --shadow-primary: 0 6px 20px rgba(108, 62, 245, 0.35);
  --transition: 0.2s ease;
  --container: 1280px;
  --section-space: 96px;
  --section-space-mobile: 56px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  padding: var(--section-space) 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 48px;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108, 62, 245, 0.45);
}

.btn--primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(108, 62, 245, 0.3);
}

.btn--primary:focus-visible,
.btn--ghost:focus-visible,
.btn--light:focus-visible {
  outline: 3px solid rgba(108, 62, 245, 0.3);
  outline-offset: 2px;
}

.btn--ghost {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn--ghost:hover {
  background: rgba(108, 62, 245, 0.08);
}

.btn--ghost--light {
  border-color: #fff;
  color: #fff;
}

.btn--ghost--light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--accent {
  background: var(--accent);
  color: #0E0C1A;
  box-shadow: 0 6px 20px rgba(25, 227, 177, 0.35);
}

.btn--accent:hover {
  background: #0FD4A0;
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark-bg);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(14, 12, 26, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #4A22A8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.nav-brand__text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 64px;
  padding: 0 16px;
  color: #EDECF5;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #fff;
}

.nav-arrow {
  transition: transform 0.2s ease;
  opacity: 0.8;
}

.has-mega:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-cta {
  margin-left: 8px;
  flex-shrink: 0;
}

/* Mega Menu */
.mega-panel {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 640px;
  background: #FAFAFD;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}

.mega-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #FAFAFD;
  rotate: 45deg;
  border-radius: 2px;
}

.has-mega:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mega-panel__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.mega-panel__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-panel__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  transition: background 0.2s ease;
}

.mega-panel__link:hover {
  background: rgba(108, 62, 245, 0.08);
  color: var(--primary);
}

.mega-panel__link-icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
}

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nav-toggle .bar {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
}

.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-toggle .bar::before {
  top: -6px;
}

.nav-toggle .bar::after {
  top: 6px;
}

.nav-toggle.open .bar {
  background: transparent;
}

.nav-toggle.open .bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open .bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- 页头横幅 ---------- */
.page-banner {
  background: var(--dark-bg);
  padding: 160px 0 64px;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 12, 26, 0.92) 20%, rgba(108, 62, 245, 0.65) 70%, rgba(25, 227, 177, 0.25) 100%);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.page-banner__breadcrumb a {
  color: var(--text-light-muted);
  transition: color 0.2s;
}

.page-banner__breadcrumb a:hover {
  color: var(--accent);
}

.page-banner__breadcrumb .sep {
  opacity: 0.5;
}

.page-banner__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.page-banner__desc {
  font-size: 18px;
  color: rgba(240, 238, 249, 0.85);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------- 通用区块标题 ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(108, 62, 245, 0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-main);
}

.section-head p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- 分类说明 ---------- */
.category-intro {
  background: var(--light-bg);
  padding: 56px 0 96px;
  margin-top: -1px;
}

.category-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.category-intro__text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.category-intro__text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.category-intro__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.category-intro__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-body);
}

.category-intro__list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 3px;
}

.category-intro__visual {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  min-height: 280px;
  background: linear-gradient(135deg, var(--dark-bg), #241A45);
}

.category-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 卖点卡片 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(108, 62, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 内容卡片（混合网格） ---------- */
.content-section {
  background: var(--light-bg);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.content-card__media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E8E4F5, #D6CDF0);
}

.content-card__media img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.content-card:hover .content-card__media img {
  transform: scale(1.04);
}

.content-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(108, 62, 245, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
}

.content-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-card__body h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.content-card__body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

.content-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.content-card__link svg {
  transition: transform 0.2s ease;
}

.content-card__link:hover svg {
  transform: translateX(3px);
}

.content-card--main .content-card__media {
  height: 240px;
}

.content-card--sub .content-card__media {
  height: 140px;
}

.content-grid__sub {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- 场景/人群 ---------- */
.scene-section {
  background: var(--dark-bg);
  background-image: linear-gradient(rgba(108, 62, 245, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 62, 245, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.scene-section .section-head h2 {
  color: #fff;
}

.scene-section .section-head p {
  color: var(--text-light-muted);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scene-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.scene-card:hover {
  border-color: rgba(108, 62, 245, 0.5);
  transform: translateY(-3px);
}

.scene-card__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.scene-card h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.scene-card p {
  color: var(--text-light-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 流程 ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: process;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 8px;
}

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-primary);
  position: relative;
  z-index: 2;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
  z-index: 1;
}

.process-step:last-child::after {
  display: none;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--light-bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(108, 62, 245, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-item__question:hover {
  background: rgba(108, 62, 245, 0.03);
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(108, 62, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid var(--border);
  margin: 0 24px 16px 24px;
  padding: 16px 0 0 0;
}

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #241A45 50%, #1A1240 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  color: var(--text-light-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark-bg);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #4A22A8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.logo__text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light-muted);
  font-size: 14px;
}

.footer-contact-info svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(184, 179, 209, 0.6);
}

.footer-bottom a {
  color: rgba(184, 179, 209, 0.6);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid,
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .process-step::after {
    display: none;
  }

  .category-intro__inner {
    grid-template-columns: 1fr;
  }

  .category-intro__visual {
    min-height: 220px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-space: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-link {
    height: auto;
    padding: 14px 12px;
    font-size: 16px;
    justify-content: space-between;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mega-panel {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 12px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    display: none;
  }

  .mega-panel::before {
    display: none;
  }

  .has-mega.open .mega-panel {
    display: block;
  }

  .mega-panel__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 0;
  }

  .mega-panel__title {
    color: var(--text-light-muted);
  }

  .mega-panel__link {
    color: var(--text-light);
  }

  .page-banner {
    padding: 120px 0 48px;
  }

  .page-banner__desc {
    font-size: 16px;
  }

  .content-card--main .content-card__media {
    height: 200px;
  }

  .content-card--sub .content-card__media {
    height: 180px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 576px) {
  .nav-brand__text {
    font-size: 16px;
  }

  .features-grid,
  .scene-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .feature-card {
    padding: 24px;
  }

  .content-card__body {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* roulang page: article */
:root {
  --primary: #6C3EF5;
  --primary-dark: #5A2ED6;
  --primary-light: rgba(108, 62, 245, 0.08);
  --primary-glow: rgba(108, 62, 245, 0.35);
  --accent: #19E3B1;
  --bg-dark: #0E0C1A;
  --bg-dark-2: #16122B;
  --bg-light: #F6F5FA;
  --bg-card: #FFFFFF;
  --text-main: #201E2B;
  --text-secondary: #6A6780;
  --text-on-dark: #F0EEF9;
  --text-dark-secondary: #B8B3D1;
  --border: rgba(14, 12, 26, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 2px 8px rgba(14, 12, 26, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(14, 12, 26, 0.12);
  --shadow-btn: 0 6px 20px rgba(108, 62, 245, 0.35);
  --container-max: 1280px;
  --space-section: 96px;
  --space-section-md: 56px;
  --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "Inter", "Roboto", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background: var(--bg-card);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  color: var(--text-main);
}
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(108, 62, 245, 0.45);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 3px 12px rgba(108, 62, 245, 0.3);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--primary-glow);
  outline-offset: 2px;
}
.btn-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}
.btn-secondary:focus-visible {
  outline: 3px solid var(--primary-glow);
  outline-offset: 2px;
}
.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #4A20B0);
  color: #fff;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-main);
}
.logo__text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.main-nav,
.nav-list {
  display: flex;
  align-items: center;
}
.main-nav {
  flex: 1;
}
.nav-list {
  list-style: none;
  gap: 2px;
  width: 100%;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: #EDECF5;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.nav-link.active {
  color: #fff;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
.nav-arrow {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.has-mega:hover .nav-arrow {
  transform: rotate(180deg);
}
.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 22px;
  font-size: 14px;
}
.nav-cta .btn-primary {
  box-shadow: 0 4px 16px rgba(108, 62, 245, 0.3);
}
.nav-cta .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(108, 62, 245, 0.5);
}
.mega-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 640px;
  background: #FAFAFD;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 60;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mega-panel__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.mega-panel__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-panel__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.mega-panel__link:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.mega-panel__link-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1EFFA;
  border-radius: 8px;
  font-size: 15px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  height: 2px;
  width: 24px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.active::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active::after {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-toggle.active span {
  opacity: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dark-secondary);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--text-dark-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}
.breadcrumb__current {
  color: var(--accent);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-hero {
  background: var(--bg-dark);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center / cover no-repeat;
  opacity: 0.28;
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 12, 26, 0.94) 30%, rgba(42, 28, 110, 0.86) 75%, rgba(108, 62, 245, 0.45));
}
.article-hero .container {
  position: relative;
  z-index: 2;
}
.category-tag {
  display: inline-block;
  background: rgba(108, 62, 245, 0.25);
  color: #C9B8FF;
  border: 1px solid rgba(108, 62, 245, 0.5);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.article-hero h1 {
  color: var(--text-on-dark);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 860px;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: var(--text-dark-secondary);
  font-size: 14px;
}
.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article-meta__item svg {
  color: var(--accent);
}

.article-section {
  background: var(--bg-light);
  padding: var(--space-section) 0;
}
.article-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 48px 56px;
}
.article-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-main);
}
.article-content p {
  margin: 0 0 20px;
}
.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 44px 0 16px;
  line-height: 1.4;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article-content h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text-main);
}
.article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 28px 0;
}
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-light);
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-style: normal;
}
.article-content code {
  background: #F3F1FA;
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.article-content pre {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.7;
}
.article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.article-content ul,
.article-content ol {
  padding-left: 1.4em;
  margin: 0 0 20px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.article-content a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.article-content th {
  background: var(--bg-light);
  font-weight: 600;
}
.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
.article-prev-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-prev,
.article-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s, transform 0.2s;
  min-height: 44px;
}
.article-prev:hover,
.article-next:hover {
  color: var(--primary-dark);
}
.article-prev:hover svg {
  transform: translateX(-3px);
}
.article-next:hover svg {
  transform: translateX(3px);
}
.article-prev svg,
.article-next svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.article-not-found {
  text-align: center;
  padding: 64px 32px 40px;
}
.article-not-found__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
}
.article-not-found h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.article-not-found p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.related-section {
  background: var(--bg-card);
  padding: var(--space-section) 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.related-card__img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), #32207A) center / cover no-repeat;
  overflow: hidden;
}
.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.related-card:hover .related-card__img img {
  transform: scale(1.04);
}
.related-card__body {
  padding: 24px 24px 28px;
}
.related-card__body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 12px 0 8px;
}
.related-card__body h3 a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s;
}
.related-card__body h3 a:hover {
  color: var(--primary);
}
.related-card__body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.related-section__footer {
  text-align: center;
  margin-top: 48px;
}

.cta-banner {
  background: var(--bg-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center / cover no-repeat;
  opacity: 0.25;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 12, 26, 0.94), rgba(108, 62, 245, 0.38));
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner h2 {
  color: var(--text-on-dark);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-banner p {
  color: var(--text-dark-secondary);
  font-size: 15px;
  margin: 0;
  max-width: 520px;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-dark-secondary);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.logo__text--footer {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--text-dark-secondary);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-dark-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  min-height: 20px;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.footer-contact-info svg {
  color: var(--accent);
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .header-inner {
    gap: 20px;
  }
  .nav-link {
    padding: 10px 10px;
    font-size: 14px;
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }
  .mega-panel {
    width: 560px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --space-section: 56px;
  }
  .header-inner {
    height: 64px;
    gap: 12px;
  }
  .logo__text {
    font-size: 16px;
  }
  .logo__icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    padding: 16px 20px 40px;
    border-top: 1px solid var(--border-dark);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    overflow-y: auto;
    z-index: 150;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 8px;
    color: var(--text-on-dark);
  }
  .nav-link.active::after {
    display: none;
  }
  .nav-link.active {
    background: rgba(108, 62, 245, 0.18);
    color: #fff;
  }
  .mega-panel {
    position: static;
    transform: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin: 4px 0 8px;
    padding: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .has-mega.open .mega-panel {
    display: block;
  }
  .has-mega:hover .mega-panel {
    transform: none;
  }
  .mega-panel__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mega-panel__title {
    color: var(--text-dark-secondary);
    margin-bottom: 8px;
  }
  .mega-panel__link {
    color: var(--text-on-dark);
  }
  .mega-panel__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }
  .mega-panel__link-icon {
    background: rgba(255, 255, 255, 0.08);
  }
  .article-hero {
    padding: 48px 0 56px;
  }
  .article-hero h1 {
    font-size: 1.7rem;
  }
  .breadcrumb__current {
    max-width: 200px;
  }
  .article-card {
    padding: 24px 20px;
  }
  .article-prev-next {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 56px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .related-card__img {
    height: 160px;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .article-card {
    padding: 20px 16px;
  }
  .article-content h2 {
    font-size: 1.35rem;
  }
  .article-content h3 {
    font-size: 1.1rem;
  }
  .article-meta {
    gap: 12px;
  }
  .article-prev-next {
    gap: 8px;
  }
  .article-prev,
  .article-next {
    font-size: 14px;
  }
  .cta-banner__inner {
    gap: 24px;
  }
  .cta-banner h2 {
    font-size: 1.4rem;
  }
  .btn-lg {
    padding: 14px 32px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: category2 */
:root {
  --clr-primary: #6C3EF5;
  --clr-primary-dark: #5A2ED6;
  --clr-primary-light: #8A5CF7;
  --clr-accent: #19E3B1;
  --clr-bg-dark: #0E0C1A;
  --clr-bg-dark2: #16122B;
  --clr-bg-light: #F6F5FA;
  --clr-text: #201E2B;
  --clr-text-light: #F0EEF9;
  --clr-text-secondary: #6A6780;
  --clr-text-secondary-light: #B8B3D1;
  --clr-border: rgba(14, 12, 26, 0.08);
  --clr-border-light: rgba(255, 255, 255, 0.08);
  --clr-success: #22C58B;
  --clr-warning: #F59E0B;
  --clr-error: #EF4444;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-badge: 6px;
  --radius-input: 10px;
  --shadow-card: 0 2px 8px rgba(14, 12, 26, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(14, 12, 26, 0.12);
  --shadow-btn: 0 6px 20px rgba(108, 62, 245, 0.35);
  --space-section: 96px;
  --space-section-md: 68px;
  --space-section-sm: 48px;
  --container-max: 1280px;
  --transition: 0.2s ease;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Inter", "Roboto", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--clr-text);
  background: var(--clr-bg-light);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
}
.section {
  padding: var(--space-section) 0;
}
.section--light {
  background: var(--clr-bg-light);
}
.section--white {
  background: #FFFFFF;
}
.section--dark {
  background: var(--clr-bg-dark);
}
.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clr-primary);
  background: rgba(108, 62, 245, 0.08);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
}
.section-title {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  margin-bottom: 16px;
}
.section--dark .section-title {
  color: var(--clr-text-light);
}
.section-subtitle {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--clr-text-secondary);
}
.section--dark .section-subtitle {
  color: var(--clr-text-secondary-light);
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary);
  background: rgba(108, 62, 245, 0.08);
  border: 1px solid rgba(108, 62, 245, 0.15);
  border-radius: 999px;
  padding: 4px 12px;
}
/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 62, 245, 0.3);
}
.btn-primary {
  background: var(--clr-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108, 62, 245, 0.42);
  color: #FFFFFF;
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(108, 62, 245, 0.3);
}
.btn-outline {
  background: transparent;
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
.btn-outline:hover {
  background: rgba(108, 62, 245, 0.08);
  color: var(--clr-primary-dark);
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(1px);
}
.btn-light {
  background: #FFFFFF;
  color: var(--clr-primary);
}
.btn-light:hover {
  background: var(--clr-bg-light);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  min-height: 40px;
}
.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}
.btn .arrow {
  transition: transform var(--transition);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header.is-scrolled {
  background: rgba(14, 12, 26, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--clr-primary), #3D1D96);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(108, 62, 245, 0.4);
}
.brand__text {
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-text-light);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-list > li {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 72px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 500;
  color: #EDECF5;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--clr-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover {
  color: #FFFFFF;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
.nav-link.active {
  color: #FFFFFF;
}
.nav-link.active::after {
  transform: scaleX(1);
  background: var(--clr-primary);
}
.nav-arrow {
  margin-left: 2px;
  transition: transform 0.25s ease;
}
.has-mega:hover .nav-arrow {
  transform: rotate(180deg);
}
.nav-cta {
  margin-left: 20px;
  flex-shrink: 0;
}
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 640px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(14, 12, 26, 0.16);
  border: 1px solid rgba(14, 12, 26, 0.05);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 999;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mega-panel__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-secondary);
  margin-bottom: 16px;
}
.mega-panel__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-panel__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text);
  transition: all var(--transition);
}
.mega-panel__link:hover {
  background: rgba(108, 62, 245, 0.08);
  color: var(--clr-primary-dark);
  transform: translateX(2px);
}
.mega-panel__link-icon {
  font-size: 16px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--clr-text-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--clr-text-secondary-light);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--clr-text-secondary-light);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: #FFFFFF;
}
.breadcrumb .sep {
  opacity: 0.5;
}
.breadcrumb .current {
  color: #FFFFFF;
}
/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 88px 0;
  background-image: linear-gradient(135deg, rgba(14, 12, 26, 0.92) 0%, rgba(108, 62, 245, 0.68) 55%, rgba(22, 18, 43, 0.85) 100%), url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  color: var(--clr-text-light);
}
.page-hero__content {
  max-width: 720px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.page-hero__desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(240, 238, 249, 0.82);
  margin-bottom: 28px;
  max-width: 620px;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
/* ===== Stat bar ===== */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--clr-bg-dark);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  margin-top: 32px;
}
.stat-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1.2;
}
.stat-label {
  font-size: 14px;
  color: var(--clr-text-secondary-light);
  margin-top: 6px;
}
/* ===== Card grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.card:hover::before {
  transform: scaleX(1);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(108, 62, 245, 0.1);
  font-size: 20px;
  margin-bottom: 20px;
}
.card--accent .card__icon {
  background: rgba(25, 227, 177, 0.12);
}
.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}
.card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--clr-text-secondary);
  margin-bottom: 20px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-primary);
}
.card__link .arrow {
  transition: transform var(--transition);
}
.card__link:hover {
  color: var(--clr-primary-dark);
}
.card__link:hover .arrow {
  transform: translateX(3px);
}
/* ===== Scenes ===== */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scene-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.scene-item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.scene-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(108, 62, 245, 0.08);
}
.scene-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 6px;
}
.scene-text p {
  font-size: 14px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}
/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  counter-reset: step;
}
.step-item {
  position: relative;
  text-align: left;
  padding-top: 20px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #FFFFFF;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(108, 62, 245, 0.35);
}
.step-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 8px;
}
.step-item p {
  font-size: 14px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}
/* ===== Featured grid ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.feature-card--wide {
  grid-column: span 2;
  grid-row: span 2;
}
.feature-card__media {
  position: relative;
  flex: 1;
  min-height: 160px;
  background: linear-gradient(135deg, #2A2140, #16122B);
  overflow: hidden;
}
.feature-card__media::before {
  content: "🎮";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  opacity: 0.45;
}
.feature-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.feature-card:hover .feature-card__media img {
  transform: scale(1.04);
}
.feature-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-primary);
  background: rgba(108, 62, 245, 0.08);
  border-radius: 999px;
  padding: 3px 12px;
  width: fit-content;
}
.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.45;
}
.feature-card__desc {
  font-size: 14px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-card__meta {
  font-size: 13px;
  color: var(--clr-text-secondary);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}
.feature-card--wide .feature-card__title {
  font-size: 1.35rem;
}
/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  background: #FFFFFF;
  margin-bottom: 14px;
  transition: all var(--transition);
  overflow: hidden;
}
.faq-item:hover {
  border-color: rgba(108, 62, 245, 0.25);
}
.faq-item.open {
  border-color: rgba(108, 62, 245, 0.3);
  box-shadow: 0 8px 24px rgba(108, 62, 245, 0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  color: var(--clr-text);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover {
  background: rgba(108, 62, 245, 0.04);
}
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(108, 62, 245, 0.12);
  position: relative;
  transition: all 0.3s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--clr-primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.faq-icon::before {
  width: 10px;
  height: 2px;
  top: 11px;
  left: 7px;
}
.faq-icon::after {
  width: 2px;
  height: 10px;
  top: 7px;
  left: 11px;
}
.faq-item.open .faq-icon {
  background: var(--clr-primary);
}
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: #FFFFFF;
}
.faq-item.open .faq-icon::after {
  transform: scaleY(0);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer__inner {
  padding: 4px 24px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--clr-text-secondary);
}
/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: var(--space-section) 0;
  background: linear-gradient(135deg, var(--clr-bg-dark) 0%, #1B1438 60%, var(--clr-bg-dark2) 100%);
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 227, 177, 0.4), transparent);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-content {
  max-width: 620px;
}
.cta-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--clr-text-light);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1rem;
  color: var(--clr-text-secondary-light);
  line-height: 1.8;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* ===== Footer ===== */
.site-footer {
  background: var(--clr-bg-dark);
  color: var(--clr-text-secondary-light);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--clr-primary), #3D1D96);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
}
.logo__text {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-text-light);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--clr-text-secondary-light);
  margin-bottom: 20px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--clr-text-secondary-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text-light);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--clr-text-secondary-light);
  transition: all var(--transition);
}
.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}
.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--clr-text-secondary-light);
  margin-bottom: 12px;
}
.footer-contact-info li svg {
  flex-shrink: 0;
  color: var(--clr-accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--clr-text-secondary-light);
}
.footer-bottom a {
  color: var(--clr-text-secondary-light);
}
.footer-bottom a:hover {
  color: #FFFFFF;
}
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--clr-bg-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--clr-border-light);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .main-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-link {
    height: 48px;
    padding: 0 8px;
    justify-content: space-between;
  }
  .nav-link::after {
    display: none;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }
  .mega-panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 8px 12px;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .has-mega:hover .mega-panel,
  .has-mega:focus-within .mega-panel {
    max-height: 500px;
  }
  .mega-panel__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mega-panel__title {
    color: var(--clr-text-secondary-light);
  }
  .mega-panel__link {
    color: var(--clr-text-light);
  }
  .mega-panel__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
  }
  .mobile-toggle {
    display: inline-flex;
  }
}
@media (max-width: 768px) {
  .section {
    padding: var(--space-section-md) 0;
  }
  .page-hero {
    min-height: 340px;
    padding: 64px 0;
  }
  .card-grid,
  .scenes-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--wide {
    grid-column: span 1;
  }
  .stat-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-item:not(:last-child)::after {
    content: none;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .section {
    padding: var(--space-section-sm) 0;
  }
  .container {
    padding: 0 16px;
  }
  .brand__text {
    font-size: 17px;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  .btn {
    width: 100%;
  }
  .page-hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .nav-container {
    height: 64px;
  }
  .main-nav {
    top: 64px;
    max-height: calc(100vh - 64px);
  }
  .mega-panel__grid {
    gap: 12px;
  }
  .feature-card__body {
    padding: 18px;
  }
  .card {
    padding: 22px;
  }
  .cta-actions {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: category3 */
:root {
  --primary: #6C3EF5;
  --primary-dark: #5A2ED6;
  --accent: #19E3B1;
  --bg-dark: #0E0C1A;
  --bg-dark-2: #16122B;
  --bg-light: #F6F5FA;
  --text-dark: #201E2B;
  --text-light: #F0EEF9;
  --text-muted: #6A6780;
  --border-light: rgba(14, 12, 26, 0.06);
  --border-dark: rgba(255, 255, 255, 0.08);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --radius-hero: 20px;
  --shadow-sm: 0 2px 8px rgba(14, 12, 26, 0.06);
  --shadow-lg: 0 12px 32px rgba(14, 12, 26, 0.12);
  --shadow-btn: 0 6px 20px rgba(108, 62, 245, 0.35);
  --space-section: 96px;
  --space-section-mobile: 56px;
  --container: 1280px;
  --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "Inter", "Roboto", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: var(--font-main);
  border: 0;
  background: none;
  cursor: pointer;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  padding: var(--space-section) 0;
}
@media (max-width: 768px) {
  .section {
    padding: var(--space-section-mobile) 0;
  }
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head .section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(108, 62, 245, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.section-head h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}
.section-head--light h2 {
  color: var(--text-light);
}
.section-head--light p {
  color: #B8B3D1;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  line-height: 1.2;
  min-height: 44px;
  border: 1.5px solid transparent;
}
.btn:focus-visible {
  outline: 3px solid rgba(108, 62, 245, 0.3);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108, 62, 245, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(108, 62, 245, 0.3);
}
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: rgba(108, 62, 245, 0.08);
}
.btn-secondary {
  background: var(--accent);
  color: #0E0C1A;
}
.btn-secondary:hover {
  background: #12d49f;
  transform: translateY(-1px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
  min-height: 40px;
}
.btn-lg {
  padding: 16px 44px;
  font-size: 17px;
}
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.btn-white:hover {
  background: var(--text-light);
  transform: translateY(-1px);
}
.btn-block {
  width: 100%;
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 4px 12px;
  border-radius: 999px;
  line-height: 1.4;
}
.tag--primary {
  color: var(--primary);
  background: rgba(108, 62, 245, 0.08);
}
.tag--accent {
  color: #0e8a6e;
  background: rgba(25, 227, 177, 0.12);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 12, 26, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 8, 20, 0.96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #3d1f8f);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(108, 62, 245, 0.4);
}
.brand__text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.has-mega {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #EDECF5;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
  border: 0;
  background: none;
  min-height: 44px;
}
.nav-link:hover {
  color: #fff;
}
.nav-link.active {
  color: #fff;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-arrow {
  transition: transform 0.25s ease;
}
.has-mega:hover .nav-arrow {
  transform: rotate(180deg);
}
.nav-cta {
  margin-left: 8px;
  padding: 10px 24px;
  font-size: 14px;
  min-height: 40px;
  white-space: nowrap;
}
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 640px;
  background: #FAFAFD;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.mega-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 0 3px 3px;
}
.mega-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mega-panel__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.mega-panel__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-panel__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: background 0.2s ease, color 0.2s ease;
}
.mega-panel__link:hover {
  background: rgba(108, 62, 245, 0.08);
  color: var(--primary);
}
.mega-panel__link-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.page-hero {
  position: relative;
  padding: 180px 0 76px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 12, 26, 0.88) 0%, rgba(22, 18, 43, 0.72) 45%, rgba(108, 62, 245, 0.32) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(240, 238, 249, 0.7);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: rgba(240, 238, 249, 0.7);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb__sep {
  color: rgba(240, 238, 249, 0.4);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(240, 238, 249, 0.85);
  max-width: 560px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(108, 62, 245, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.content-mix-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}
.content-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.content-card--feature {
  display: flex;
  flex-direction: column;
}
.content-card--feature .content-card__media {
  flex: 1;
  min-height: 260px;
  position: relative;
}
.content-card--feature .content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.content-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(14, 12, 26, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 1;
}
.content-card__body {
  padding: 24px;
}
.content-card__body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}
.content-card__body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.content-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.content-card__date {
  font-size: 13px;
  color: var(--text-muted);
}
.content-card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-card--row {
  display: flex;
  gap: 0;
  min-height: 150px;
}
.content-card--row .content-card__media {
  width: 180px;
  flex-shrink: 0;
  position: relative;
  min-height: 150px;
}
.content-card--row .content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.content-card--row .content-card__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.content-card--row .content-card__body h3 {
  font-size: 16px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-card--row .content-card__body p {
  font-size: 13px;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.event-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.event-timeline {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.event-timeline::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.event-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0 24px 72px;
  position: relative;
}
.event-item__date {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 92px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  text-align: center;
  padding: 12px 8px;
  box-shadow: 0 6px 20px rgba(108, 62, 245, 0.35);
  z-index: 1;
}
.event-item__date::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--bg-dark);
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.event-item__day {
  display: block;
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}
.event-item__month {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2px;
}
.event-item__info {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.event-item__info:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(108, 62, 245, 0.4);
}
.event-item__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(25, 227, 177, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.event-item__info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}
.event-item__info p {
  font-size: 14px;
  color: #B8B3D1;
  line-height: 1.7;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step-item {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-item__num {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  background: #fff;
  border: 2px solid rgba(108, 62, 245, 0.2);
  border-radius: 12px;
}
.step-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.step-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-section {
  background: var(--bg-light);
}
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item.active {
  box-shadow: var(--shadow-sm);
  border-color: rgba(108, 62, 245, 0.2);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  min-height: 60px;
  transition: background 0.2s ease;
}
.faq-question:hover {
  background: rgba(108, 62, 245, 0.04);
}
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(108, 62, 245, 0.1);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.cta-banner {
  background: linear-gradient(135deg, #6C3EF5 0%, #3d1f8f 55%, #0E0C1A 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(25, 227, 177, 0.22) 0%, transparent 40%);
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(240, 238, 249, 0.8);
  margin-bottom: 32px;
}
.site-footer {
  background: var(--bg-dark);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.logo__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #3d1f8f);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  border-radius: 10px;
}
.logo__text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: #A29EB8;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: #A29EB8;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: #A29EB8;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #A29EB8;
  line-height: 1.5;
}
.footer-contact-info svg {
  color: var(--primary);
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(162, 158, 184, 0.8);
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-mix-grid {
    grid-template-columns: 1fr;
  }
  .content-card--feature .content-card__media {
    min-height: 220px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 24px 24px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .main-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  .nav-link {
    width: 100%;
    color: #EDECF5;
    font-size: 16px;
    padding: 12px 0;
    justify-content: space-between;
    min-height: 48px;
  }
  .nav-link.active::after {
    left: 0;
    right: auto;
    top: 30%;
    bottom: 30%;
    width: 3px;
    height: auto;
    border-radius: 3px;
  }
  .nav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
  .mega-panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-left: 16px;
    display: none;
    max-height: none;
    background: transparent;
  }
  .has-mega:hover .mega-panel,
  .has-mega:focus-within .mega-panel {
    transform: none;
  }
  .has-mega.mega-open .mega-panel {
    display: block;
  }
  .mega-panel::before {
    display: none;
  }
  .mega-panel__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }
  .mega-panel__title {
    font-size: 12px;
    color: #A29EB8;
    margin-bottom: 8px;
  }
  .mega-panel__link {
    color: #D4D0E8;
    padding: 8px 8px;
  }
  .mega-panel__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }
  .page-hero {
    padding: 130px 0 56px;
  }
  .page-hero h1 {
    font-size: 2.1rem;
  }
  .page-hero p {
    font-size: 15px;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .content-card--row {
    flex-direction: column;
  }
  .content-card--row .content-card__media {
    width: 100%;
    min-height: 160px;
  }
  .event-timeline::before {
    left: 20px;
  }
  .event-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    padding-top: 64px;
  }
  .event-item__date {
    top: 0;
    transform: none;
    width: 72px;
  }
  .event-item__info {
    width: 100%;
  }
  .event-item__tag {
    font-size: 11px;
  }
  .event-item__info h3 {
    font-size: 16px;
  }
  .event-item__info p {
    font-size: 13px;
  }
  .cta-banner {
    padding: 56px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .btn {
    font-size: 15px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand__text {
    font-size: 16px;
  }
  .content-card__body {
    padding: 20px;
  }
  .content-card__body h3 {
    font-size: 17px;
  }
  .event-item__info {
    padding: 18px;
  }
  .event-item__info h3 {
    font-size: 15px;
  }
  .faq-question {
    font-size: 15px;
    padding: 18px 16px;
  }
  .faq-answer {
    padding: 0 16px;
  }
  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
