/* roulang page: index */
:root {
  --bg-primary: #05070F;
  --bg-secondary: #0A1024;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(255, 255, 255, 0.18);
  --accent-blue: #3B82F6;
  --accent-cyan: #22D3EE;
  --accent-purple: #8B5CF6;
  --glow: rgba(99, 102, 241, 0.45);
  --text-primary: #F1F5F9;
  --text-secondary: #A7B4C9;
  --text-muted: #64748B;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.4);
  --transition: 0.25s ease;
  --font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Inter", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-cyan);
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  padding-left: 20px;
}

.section-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 14px var(--glow);
}

.more-link {
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 8px 20px;
  transition: all var(--transition);
  background: var(--bg-card);
}

.more-link:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo .logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 12px var(--glow);
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: all var(--transition);
}

.nav-list li a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-list li.active a {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.btn-nav {
  margin-left: 16px;
  padding: 10px 24px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(5, 7, 15, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-card);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 16px;
  color: var(--text-secondary);
  font-size: 16px;
  border-radius: 12px;
  transition: all var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu a.active {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.12);
}

.mobile-menu .btn {
  margin-top: 12px;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(99, 102, 241, 0.55);
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.3);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 2px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-primary);
}

.btn-ghost:active {
  transform: scale(0.97);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
  animation: heroSlowZoom 20s ease-in-out infinite alternate;
}

@keyframes heroSlowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 15, 0.92) 0%, rgba(5, 7, 15, 0.7) 50%, rgba(5, 7, 15, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge i {
  font-size: 12px;
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 2px;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-hint i {
  font-size: 16px;
}

/* Horizontal Scroll Library */
.scroll-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
  margin: 0 -24px;
}

.scroll-wrap::-webkit-scrollbar {
  height: 6px;
}

.scroll-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 4px;
}

.scroll-track {
  display: flex;
  gap: 20px;
  padding: 0 24px;
  min-width: min-content;
}

.movie-card {
  flex: 0 0 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.movie-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-hover);
}

.movie-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}

.movie-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.movie-card:hover .movie-card-cover img {
  transform: scale(1.04);
}

.movie-card-cover .cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 15, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
}

.movie-card:hover .cover-overlay {
  opacity: 1;
}

.cover-overlay span {
  font-size: 13px;
  color: #fff;
  background: rgba(59, 130, 246, 0.6);
  padding: 4px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.movie-card-body {
  padding: 16px;
}

.movie-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card-body .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.hot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #ffb86b;
  background: rgba(255, 184, 107, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

.hot-badge.new {
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
}

/* Hot Ranking */
.hot-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hot-item {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  gap: 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.hot-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.hot-num {
  font-size: 44px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  font-style: italic;
  width: 72px;
  text-align: center;
  flex-shrink: 0;
}

.hot-cover {
  width: 120px;
  height: 74px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111827;
}

.hot-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hot-info {
  flex: 1;
  min-width: 0;
}

.hot-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.hot-info .meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hot-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Zones */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.zone {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.zone:hover {
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-hover);
}

.zone-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  margin-bottom: 16px;
  font-size: 20px;
  color: var(--accent-cyan);
}

.zone h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.zone p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.zone-list {
  list-style: none;
  padding: 0;
}

.zone-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}

.zone-list li:last-child {
  border-bottom: none;
}

.zone-list li:hover {
  color: var(--text-primary);
  padding-left: 6px;
}

.zone-list li i {
  font-size: 12px;
  color: var(--accent-blue);
}

/* News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  border-radius: 12px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.03);
  padding-left: 24px;
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 120px;
  flex-shrink: 0;
}

.news-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  width: fit-content;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
}

.news-body {
  flex: 1;
  min-width: 0;
}

.news-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.5;
  transition: color var(--transition);
}

.news-item:hover .news-title {
  color: var(--accent-cyan);
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.news-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}

.news-item:hover .news-arrow {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  border-color: rgba(59, 130, 246, 0.3);
}

.empty-tip {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--border-card-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-question .faq-icon i {
  font-size: 13px;
  color: var(--text-secondary);
  transition: transform 0.3s;
}

.faq-item.open .faq-question .faq-icon i {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* CTA */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 7, 15, 0.9) 0%, rgba(37, 6, 72, 0.7) 50%, rgba(5, 7, 15, 0.85) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.cta-feature i {
  color: var(--accent-cyan);
  font-size: 16px;
}

/* Footer */
.site-footer {
  background: rgba(3, 5, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 40px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom .footer-links-inline {
  display: flex;
  gap: 20px;
}

.footer-bottom .footer-links-inline a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom .footer-links-inline a:hover {
  color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 1024px) {
  .section { padding: 60px 0; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 44px; }
}

@media (max-width: 768px) {
  .site-nav .nav-list { display: none; }
  .menu-toggle { display: flex; }
  .btn-nav { display: none; }
  .hero h1 { font-size: 36px; }
  .hero { min-height: 80vh; padding: 100px 0 60px; }
  .section-header h2 { font-size: 26px; }
  .zone-grid { grid-template-columns: 1fr; }
  .hot-item { flex-wrap: wrap; }
  .hot-num { width: 44px; font-size: 32px; }
  .hot-cover { width: 100px; height: 64px; }
  .news-item { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 16px; }
  .news-meta { flex-direction: row; justify-content: space-between; width: 100%; }
  .news-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-content h2 { font-size: 30px; }
}

@media (max-width: 640px) {
  .movie-card { flex: 0 0 170px; }
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 24px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hot-item { padding: 12px; }
  .hot-cover { width: 80px; height: 52px; }
  .hot-num { font-size: 26px; width: 32px; }
  .hot-info h3 { font-size: 15px; }
  .cta-features { flex-direction: column; gap: 16px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Foundation override */
.top-bar, .top-bar ul {
  background: transparent;
}

.accordion-title {
  border: none;
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
}

.accordion-title:hover {
  background: var(--bg-card-hover);
  color: var(--accent-cyan);
}

.accordion-content {
  border: none;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-family);
}

.grid-container {
  max-width: 1200px;
}

/* roulang page: article */
:root {
  --bg-primary: #05070F;
  --bg-secondary: #0A1024;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-solid: #111a35;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --accent-blue: #2E6BFF;
  --accent-cyan: #22D3EE;
  --accent-purple: #8B5CF6;
  --glow: rgba(99, 102, 241, 0.45);
  --text-main: #F1F5F9;
  --text-sub: #A7B4C9;
  --text-muted: #64748B;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-base: 0 16px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.4);
  --container: 1200px;
  --content-max: 820px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Inter", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(ellipse at 20% 0%, rgba(46, 107, 255, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 100% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-main);
  line-height: 1.8;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: #67e8f9;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.article-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========= Header ========= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 7, 15, 0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 72px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.logo:hover {
  opacity: 0.85;
  color: var(--text-main);
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 16px var(--glow);
  flex-shrink: 0;
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  line-height: 1.4;
  transition: all 0.25s ease;
}

.nav-list li a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-list li.active a {
  color: var(--text-main);
  background: rgba(46, 107, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(46, 107, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}

.btn:focus-visible {
  outline: 3px solid rgba(46, 107, 255, 0.6);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #ffffff;
  padding: 14px 28px;
  box-shadow: 0 0 24px var(--glow), 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.6), 0 8px 28px rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  padding: 12px 26px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 12px 22px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ========= Article Hero ========= */
.article-hero {
  padding: 140px 0 48px;
  background: radial-gradient(ellipse at 80% 20%, rgba(46, 107, 255, 0.15) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.breadcrumb a {
  color: var(--text-sub);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.breadcrumb .sep {
  color: var(--text-muted);
  opacity: 0.6;
}

.article-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: 0;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: var(--text-sub);
}

.article-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta .meta-item i {
  color: var(--accent-cyan);
  font-size: 13px;
}

.article-meta .tag-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(46, 107, 255, 0.15);
  border: 1px solid rgba(46, 107, 255, 0.25);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

/* ========= Article Content ========= */
.article-main {
  padding: 48px 0 80px;
}

.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 1.4em;
  color: var(--text-main);
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin: 1.8em 0 0.8em;
  color: var(--text-main);
  padding-left: 16px;
  border-left: 3px solid var(--accent-blue);
}

.article-content h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin: 1.6em 0 0.6em;
  color: var(--text-main);
}

.article-content ul,
.article-content ol {
  margin: 1.2em 0;
  padding-left: 1.6em;
  color: var(--text-sub);
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.article-content ul li::marker {
  color: var(--accent-cyan);
}

.article-content blockquote {
  margin: 1.8em 0;
  padding: 20px 24px;
  background: rgba(46, 107, 255, 0.08);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}

.article-content blockquote p {
  margin-bottom: 0;
  color: var(--text-sub);
}

.article-content img {
  border-radius: 12px;
  box-shadow: var(--shadow-base);
  margin: 1.8em auto;
  background: var(--bg-card-solid);
}

.article-content a {
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  padding-bottom: 1px;
}

.article-content a:hover {
  border-bottom-color: var(--accent-cyan);
}

.article-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--accent-cyan);
}

.article-content pre {
  background: #0a1024;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow-x: auto;
  margin: 1.6em 0;
}

.article-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.7;
}

.article-empty {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

.article-empty h3 {
  font-size: 22px;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.article-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ========= Article End ========= */
.article-footer-zone {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  font-size: 13px;
  transition: all 0.25s ease;
}

.tag:hover {
  background: rgba(46, 107, 255, 0.12);
  border-color: rgba(46, 107, 255, 0.3);
  color: var(--text-main);
}

.article-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.pagination-btn {
  display: block;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.3s ease;
  overflow: hidden;
}

.pagination-btn .label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pagination-btn .title {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pagination-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-base);
}

.pagination-btn.next {
  text-align: right;
}

.pagination-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* ========= Related ========= */
.related-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-title::before {
  content: "";
  width: 5px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 10px var(--glow);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-hover);
}

.related-card .related-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1b3d, #1a1f35);
}

.related-card .related-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  background: var(--bg-card-solid);
}

.related-card:hover .related-cover img {
  transform: scale(1.03);
}

.related-card .related-body {
  padding: 16px;
}

.related-card .related-body h4 {
  font-size: 15px;
  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;
}

.related-card .related-body .related-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========= CTA Section ========= */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(5, 7, 15, 0.7), rgba(5, 7, 15, 0.7)),
              url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(46, 107, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  position: relative;
}

.cta-section p {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}

/* ========= FAQ ========= */
.faq-section {
  padding: 80px 0;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-sub);
  font-size: 16px;
}

.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.faq-item.active {
  border-color: rgba(46, 107, 255, 0.3);
  background: rgba(46, 107, 255, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  line-height: 1.5;
  gap: 16px;
}

.faq-question .faq-icon {
  color: var(--accent-cyan);
  font-size: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 20px;
}

/* ========= Footer ========= */
.site-footer {
  background: #04060d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 0 28px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 107, 255, 0.4), rgba(139, 92, 246, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 28px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 18px;
  text-transform: none;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col li a {
  color: var(--text-sub);
  font-size: 14px;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col li a:hover {
  color: var(--accent-cyan);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ========= Responsive ========= */
@media (max-width: 1024px) {
  .site-nav {
    gap: 16px;
  }

  .nav-list li a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .btn-nav {
    padding: 10px 16px;
    font-size: 13px;
  }

  .article-title {
    font-size: 36px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }

  .site-nav {
    position: relative;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(5, 7, 15, 0.92);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
  }

  .nav-list li.active a {
    background: rgba(46, 107, 255, 0.15);
  }

  .nav-list li a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .article-hero {
    padding: 110px 0 36px;
  }

  .breadcrumb {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .article-title {
    font-size: 30px;
  }

  .article-meta {
    gap: 12px;
    font-size: 13px;
    padding-bottom: 20px;
  }

  .article-main {
    padding: 32px 0 56px;
  }

  .article-content {
    font-size: 15px;
    line-height: 1.85;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .article-content h3 {
    font-size: 19px;
  }

  .article-pagination {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 15px;
  }

  .faq-section {
    padding: 56px 0;
  }

  .faq-question {
    font-size: 15px;
    padding: 18px 18px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .container,
  .article-container {
    padding: 0 18px;
  }

  .logo {
    font-size: 18px;
  }

  .article-title {
    font-size: 25px;
    line-height: 1.4;
  }

  .article-meta {
    gap: 10px;
    font-size: 12px;
  }

  .article-meta .meta-item i {
    font-size: 12px;
  }

  .btn-nav {
    display: none;
  }

  .cta-section {
    padding: 56px 0;
  }

  .cta-section h2 {
    font-size: 21px;
  }

  .faq-question {
    font-size: 14px;
    padding: 16px;
    line-height: 1.5;
  }

  .faq-answer p {
    font-size: 13px;
    line-height: 1.7;
  }

  .article-content pre {
    padding: 14px;
    font-size: 13px;
  }

  .footer-brand p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: category1 */
:root {
  --bg-primary: #05070F;
  --bg-secondary: #0A1024;
  --bg-elevated: rgba(255, 255, 255, 0.05);
  --bg-elevated-solid: #10172e;
  --accent-blue: #2E6BFF;
  --accent-cyan: #22D3EE;
  --accent-purple: #7C3AED;
  --accent-gradient: linear-gradient(135deg, #2E6BFF 0%, #7C3AED 100%);
  --glow: rgba(99, 102, 241, 0.45);
  --text-primary: #F1F5F9;
  --text-secondary: #A7B4C9;
  --text-muted: #64748B;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-base: 0 16px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.4);
  --transition: 0.25s ease;
  --header-height: 72px;
  --container-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-blue);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo:hover {
  color: var(--text-primary);
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 14px var(--glow);
  display: inline-block;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-list a:hover {
  color: var(--text-primary);
}

.nav-list li.active a {
  color: var(--text-primary);
  border-bottom-color: var(--accent-cyan);
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.45), 0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b78ff, #8b5cf6);
  box-shadow: 0 0 36px rgba(99, 102, 241, 0.65), 0 12px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-ghost:focus-visible {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 3px;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.btn-outline:active {
  transform: scale(0.97);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-nav {
  padding: 10px 22px;
  font-size: 14px;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.35);
}

.btn-nav:hover {
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.55);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
  transition: border-color var(--transition);
}

.menu-toggle:hover {
  border-color: var(--border-hover);
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  margin-top: 0;
  padding: 140px 0 80px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(5, 7, 15, 0.92) 0%, rgba(5, 7, 15, 0.65) 45%, rgba(5, 7, 15, 0.25) 100%);
  z-index: 1;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.breadcrumb .breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumb .current {
  color: var(--text-secondary);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  max-width: 720px;
  margin-bottom: 20px;
}

.hero-title .accent-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== Section ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: rgba(10, 16, 36, 0.35);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-base);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.18);
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated-solid);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-cover img {
  transform: scale(1.03);
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 15, 0.35) 100%);
  pointer-events: none;
}

.card-cover .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.card-link:hover {
  color: var(--accent-purple);
  gap: 10px;
}

/* ===== Tag ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.tag-purple {
  background: rgba(124, 58, 237, 0.14);
  color: #a78bfa;
  border-color: rgba(124, 58, 237, 0.3);
}

/* ===== Feature / List ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-item {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-base);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  margin-bottom: 20px;
}

.feature-icon.purple {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
}

.feature-icon.blue {
  color: #60a5fa;
  background: rgba(46, 107, 255, 0.1);
  border-color: rgba(46, 107, 255, 0.2);
}

.feature-item h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.step-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.step-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  display: block;
  margin-bottom: 20px;
  -webkit-text-stroke: 1px rgba(34, 211, 238, 0.4);
}

.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== Recommend Grid ===== */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== FAQ ===== */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-question .faq-icon {
  font-size: 18px;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}

.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background-image: url('/assets/images/backpic/back-2.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 15, 0.94) 0%, rgba(10, 16, 36, 0.85) 100%);
  z-index: 1;
}

.cta-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, rgba(5, 7, 15, 0.95), rgba(3, 5, 11, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 0;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer-links-inline {
  display: flex;
  gap: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 28px;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 767px) {
  .site-header .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(5, 7, 15, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99;
  }

  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .nav-list a {
    font-size: 16px;
    padding: 8px 0;
    border-bottom: none;
  }

  .nav-list li.active a {
    border-bottom: none;
    color: var(--accent-cyan);
  }

  .btn-nav {
    width: 100%;
    text-align: center;
  }

  .page-hero {
    min-height: 400px;
    padding: 110px 0 60px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 24px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 26px;
  }
}

@media (max-width: 520px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .card-grid {
    gap: 18px;
  }

  .feature-item {
    padding: 26px 20px;
  }

  .step-item {
    padding: 24px 20px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .footer-bottom {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* roulang page: category2 */
:root {
  --bg-primary: #05070F;
  --bg-secondary: #0A1024;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-solid: #111831;
  --border-light: rgba(255,255,255,0.09);
  --border-hover: rgba(255,255,255,0.18);
  --accent-blue: #3B82F6;
  --accent-cyan: #22D3EE;
  --accent-purple: #7C3AED;
  --glow: rgba(99,102,241,0.45);
  --text-primary: #F1F5F9;
  --text-secondary: #A7B4C9;
  --text-muted: #64748B;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-card: 0 16px 40px rgba(0,0,0,0.3);
  --shadow-hover: 0 24px 60px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC','Microsoft YaHei','Noto Sans CJK SC','Source Han Sans SC',sans-serif;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 55%, var(--bg-primary) 100%);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ffffff; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(5,7,15,0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.88; color: #fff; }
.logo-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 14px var(--glow);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-list li { position: relative; }
.nav-list a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 2px;
  position: relative;
  transition: color var(--transition);
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 2px;
  transition: right 0.3s ease;
}
.nav-list a:hover { color: #fff; }
.nav-list a:hover::after { right: 0; }
.nav-list li.active a { color: #fff; }
.nav-list li.active a::after { right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  box-shadow: 0 8px 28px rgba(99,102,241,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(99,102,241,0.5);
  color: #fff;
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary:focus-visible { outline: 3px solid rgba(34,211,238,0.5); outline-offset: 2px; }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.btn-ghost:active { transform: scale(0.97); }
.btn-ghost:focus-visible { outline: 3px solid rgba(34,211,238,0.4); outline-offset: 2px; }
.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: 0 0 18px rgba(99,102,241,0.3);
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: border-color var(--transition);
}
.menu-toggle:hover { border-color: rgba(255,255,255,0.22); }
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle:focus-visible { outline: 3px solid rgba(34,211,238,0.4); outline-offset: 2px; }

.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: url('/assets/images/backpic/back-2.webp') center center / cover no-repeat;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,7,15,0.94) 0%, rgba(5,7,15,0.84) 38%, rgba(10,16,36,0.45) 100%);
}
.page-hero-content { max-width: 780px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.page-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.4);
}
.page-hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.section-block { padding: 88px 0; }
.section-block-alt {
  background: rgba(10,16,36,0.35);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.section-head {
  margin-bottom: 48px;
  max-width: 720px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(34,211,238,0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(34,211,238,0.15);
}
.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-head h2 strong {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-head p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.grid-padding-x > .cell {
  padding-left: 12px;
  padding-right: 12px;
}
.grid-x { margin-left: -12px; margin-right: -12px; }

.access-feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.access-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,255,255,0.18);
}
.feature-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-card-solid);
}
.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.feature-card-media:hover img { transform: scale(1.03); }
.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,15,0) 55%, rgba(5,7,15,0.65) 100%);
}
.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(5,7,15,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.feature-card-body { padding: 28px; }
.feature-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.feature-card-body p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 15px;
  transition: gap var(--transition);
}
.text-link:hover { color: #fff; gap: 12px; }

.access-mini-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.mini-item {
  position: relative;
  padding: 24px 26px 24px 72px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  flex: 1;
}
.mini-item:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}
.mini-index {
  position: absolute;
  left: 22px;
  top: 22px;
  font-size: 28px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.35);
  line-height: 1;
}
.mini-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.mini-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}
.mini-item > .fa-chevron-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  transition: color var(--transition), transform var(--transition);
}
.mini-item:hover > .fa-chevron-right {
  color: var(--accent-cyan);
  transform: translateY(-50%) translateX(3px);
}

.device-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.device-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.device-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.device-card:hover::before { opacity: 1; }
.device-card .device-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(59,130,246,0.15));
  border: 1px solid rgba(34,211,238,0.2);
  color: var(--accent-cyan);
  font-size: 24px;
  margin-bottom: 20px;
}
.device-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.device-card .device-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.device-list { margin: 0; padding: 0; }
.device-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
}
.device-list li i { color: var(--accent-cyan); font-size: 12px; }
.device-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  color: #c4b5fd;
}

.step-item {
  position: relative;
  padding: 32px 24px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  height: 100%;
  transition: all var(--transition);
}
.step-item:hover {
  border-color: rgba(34,211,238,0.25);
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
}
.step-num {
  display: inline-block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.3);
  margin-bottom: 16px;
  transition: -webkit-text-stroke var(--transition);
}
.step-item:hover .step-num { -webkit-text-stroke-color: var(--accent-cyan); }
.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.step-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}
.faq-item.active {
  border-color: rgba(34,211,238,0.25);
  background: rgba(255,255,255,0.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: #fff; }
.faq-question:focus-visible { outline: 3px solid rgba(34,211,238,0.4); outline-offset: -3px; border-radius: var(--radius-md); }
.faq-question i {
  flex-shrink: 0;
  font-size: 15px;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  margin: 0;
}

.cta-section {
  position: relative;
  padding: 96px 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  isolation: isolate;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(5,7,15,0.88), rgba(10,16,36,0.8));
}
.cta-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99,102,241,0.22), transparent 70%);
  pointer-events: none;
}
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-content h2 span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.cta-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}
.cta-note a { color: var(--text-secondary); }
.cta-note a:hover { color: var(--accent-cyan); }

.site-footer {
  background: #03050B;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent-cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); margin: 0; }

@media (max-width: 1023px) {
  .section-block { padding: 68px 0; }
  .page-hero { padding: 150px 0 76px; }
  .page-hero h1 { font-size: 40px; }
  .section-head h2 { font-size: 27px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .site-nav { gap: 10px; }
  .site-nav .nav-list {
    display: none;
  }
  .site-nav .btn-nav { display: none; }
  .site-nav.nav-open .nav-list {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5,7,15,0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 18px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  }
  .site-nav.nav-open .nav-list li { width: 100%; }
  .site-nav.nav-open .nav-list a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .site-nav.nav-open .nav-list li.active a { color: var(--accent-cyan); }
  .site-nav.nav-open .btn-nav {
    display: inline-flex;
    margin-top: 18px;
    width: 100%;
  }
  .hero-actions { width: 100%; }
  .access-layout .cell { margin-bottom: 20px; }
  .mini-item { padding-left: 66px; }
}

@media (max-width: 640px) {
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 31px; line-height: 1.25; }
  .hero-sub { font-size: 15px; }
  .section-block { padding: 52px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: 24px; }
  .btn-lg { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .feature-card-body { padding: 20px; }
  .device-card { padding: 24px 20px; }
  .step-item { padding: 24px 18px 20px; }
  .faq-question { padding: 18px 18px; font-size: 15px; }
  .faq-answer p { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
