/* roulang page: index */
:root {
  --primary: #1B6DF2;
  --primary-dark: #1557C4;
  --accent: #2F9E6E;
  --ink: #17191C;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --muted: #6B7280;
  --line: #E5E7EB;
  --dark: #12161D;
  --dark-2: #1A1F27;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 20px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 32px rgba(15,23,42,0.12);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

button { font-family: inherit; border: none; background: none; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.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), #0E3E8F);
  border-radius: 10px;
  color: #fff;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  padding: 8px 2px;
  transition: color 0.25s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  background: var(--bg);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn:active { transform: translateY(1px); }

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 20px rgba(27,109,242,0.4);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-glow {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(27,109,242,0.4);
  animation: glowPulse 3s ease-in-out infinite;
}

.btn-glow:hover {
  box-shadow: 0 6px 32px rgba(27,109,242,0.6);
  transform: translateY(-2px);
}

.btn-ghost-light {
  border-color: rgba(255,255,255,0.5);
  color: #E5E7EB;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.btn-sm { padding: 9px 20px; font-size: 14px; }

.btn-lg { padding: 14px 40px; font-size: 17px; }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(27,109,242,0.4); }
  50% { box-shadow: 0 6px 40px rgba(47,158,110,0.45); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  padding: 96px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(27,109,242,0.35), rgba(18,22,29,0.92) 80%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18,22,29,0.55) 20%, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #D1D5DB;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 1.8s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero-sub {
  font-size: 17px;
  color: #C0C8D4;
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.hero-card-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 16 / 9;
}

.hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.stat {
  text-align: center;
  padding: 12px 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

.hero-card-note {
  font-size: 13px;
  color: #D1D5DB;
  text-align: center;
  opacity: 0.85;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-inner span {
  color: #9CA3AF;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-inner span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== Section Common ===== */
.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

/* ===== Features ===== */
.features {
  padding: 96px 0;
  background: var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 0 4px 4px 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,109,242,0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,109,242,0.08);
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(47,158,110,0.08);
  color: var(--accent);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(18,22,29,0.06);
  color: var(--ink);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}

.feature-more:hover { gap: 8px; }

/* ===== Scenario ===== */
.scenario {
  background: var(--dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.scenario::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,109,242,0.25), transparent 70%);
  top: -200px;
  right: -200px;
}

.scenario-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.scenario-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.scenario-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.scenario-float {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(18,22,29,0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scenario-float::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.scenario-list h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.scenario-list > p {
  color: #9CA3AF;
  font-size: 16px;
  margin-bottom: 28px;
}

.scenario-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.scenario-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 18px 20px;
  transition: background 0.3s, border-color 0.3s;
}

.scenario-list li:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(27,109,242,0.4);
}

.s-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,109,242,0.15);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.scenario-list li h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.scenario-list li p {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.6;
}

/* ===== Social Proof ===== */
.proof {
  background: var(--dark);
  padding: 0 0 96px;
  margin-top: -1px;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.proof-stat {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: transform 0.3s;
}

.proof-stat:hover { transform: scale(1.02); }

.proof-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff, #7FA8F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proof-label {
  display: block;
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 6px;
}

.proof-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}

.review-card:hover {
  border-color: rgba(27,109,242,0.4);
  background: rgba(255,255,255,0.1);
}

.review-card::before {
  content: "“";
  font-size: 56px;
  font-weight: 800;
  color: rgba(27,109,242,0.5);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

.review-card p {
  font-size: 15px;
  color: #D1D5DB;
  line-height: 1.7;
  margin-bottom: 14px;
  padding-top: 12px;
}

.review-card span {
  font-size: 13px;
  color: #6B7280;
}

/* ===== News Section ===== */
.news-section {
  padding: 96px 0;
  background: var(--bg);
}

.news-list {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.news-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
  opacity: 0.3;
  border-radius: 2px;
}

.news-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 28px;
}

.news-item:last-child { padding-bottom: 0; }

.news-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  z-index: 1;
  transition: background 0.3s;
}

.news-item:hover::before { background: var(--primary); }

.news-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.news-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: block;
}

.news-item:hover .news-content {
  border-color: rgba(27,109,242,0.3);
  box-shadow: var(--shadow-sm);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(27,109,242,0.08);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.5;
}

.news-content h3 a { transition: color 0.2s; }

.news-content h3 a:hover { color: var(--primary); }

.news-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.news-read {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s, gap 0.3s;
}

.news-item:hover .news-read { opacity: 1; gap: 8px; }

.news-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 16px;
}

.news-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.3;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 96px 0;
  background: var(--white);
}

.faq-container { max-width: 800px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover { border-color: rgba(27,109,242,0.3); }

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(27,109,242,0.08);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  gap: 16px;
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(27,109,242,0.08);
  transition: background 0.3s, transform 0.3s;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: opacity 0.3s;
}

.faq-icon::before {
  left: 10px;
  top: 5px;
  width: 2px;
  height: 12px;
}

.faq-icon::after {
  left: 5px;
  top: 10px;
  width: 12px;
  height: 2px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-icon::before { opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== CTA ===== */
.cta-banner {
  background: var(--dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(27,109,242,0.3), transparent 60%);
  animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.cta-inner p {
  font-size: 17px;
  color: #C0C8D4;
  margin-bottom: 32px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--accent)) 1;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand-text {
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.8;
  max-width: 320px;
}

.footer-nav h3,
.footer-contact h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}

.footer-nav a {
  display: block;
  font-size: 14px;
  color: #9CA3AF;
  padding: 6px 0;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-nav a:hover {
  color: #7FA8F7;
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  color: #9CA3AF;
  padding: 6px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #6B7280;
}

/* ===== Mobile Bottom Tab ===== */
.bottom-tab {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  background: rgba(18,22,29,0.88);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 6px 8px;
  justify-content: space-around;
  align-items: center;
  height: 60px;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  color: #9CA3AF;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s;
}

.tab-item svg {
  width: 20px;
  height: 20px;
}

.tab-item.active { color: var(--primary); }
.tab-item.active svg { color: var(--primary); }

.tab-cta {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 8px 18px;
}

.tab-cta svg { color: #fff; }
.tab-cta.active { color: #fff; }
.tab-cta.active svg { color: #fff; }

.tab-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-tab { display: none; }
}

@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 { font-size: 34px; }

  .hero-card { max-width: 480px; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proof-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-reviews {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }

  .header-inner { height: 64px; }

  .brand-text { font-size: 16px; }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    display: none;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  }

  .main-nav.open { display: flex; }

  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 8px;
    font-size: 16px;
    border-radius: 8px;
  }

  .nav-link.active {
    background: rgba(27,109,242,0.06);
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn-sm { display: none; }

  .hero { padding: 64px 0; }

  .hero h1 { font-size: 30px; }

  .hero-sub { font-size: 15px; }

  .bottom-tab { display: flex; }

  .trust-inner { gap: 20px; }

  .features { padding: 64px 0; }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .scenario { padding: 64px 0; }

  .scenario-list h2 { font-size: 26px; }

  .proof { padding-bottom: 64px; }

  .proof-stats { gap: 12px; }

  .proof-num { font-size: 30px; }

  .proof-reviews { gap: 16px; }

  .news-section { padding: 64px 0; }

  .news-list::before { left: 8px; }

  .news-item { padding-left: 30px; }

  .news-content { padding: 18px; }

  .news-content h3 { font-size: 16px; }

  .faq-section { padding: 64px 0; }

  .cta-banner { padding: 64px 0; }

  .cta-inner h2 { font-size: 28px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom { margin-top: 16px; }
}

@media (max-width: 520px) {
  .section-head h2 { font-size: 26px; }

  .hero h1 { font-size: 27px; }

  .hero-card-stats { gap: 6px; }

  .stat { padding: 10px 2px; }

  .stat-num { font-size: 20px; }

  .hero-card-note { font-size: 12px; }

  .proof-stats { grid-template-columns: 1fr 1fr; gap: 10px; }

  .review-card { padding: 20px; }

  .faq-q { font-size: 15px; padding: 16px 16px; }

  .faq-a p { padding: 0 16px 16px; font-size: 14px; }

  .footer-nav a { font-size: 15px; }
}

/* roulang page: category1 */
:root {
    --primary: #1B6DF2;
    --primary-light: #3B82F6;
    --accent: #2F9E6E;
    --dark: #12161D;
    --dark-2: #1A2029;
    --light: #F7F8FA;
    --white: #FFFFFF;
    --text: #1F2937;
    --muted: #6B7280;
    --border: #E5E7EB;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--light);
    padding-bottom: 70px;
  }
  @media (min-width: 768px) { body { padding-bottom: 0; } }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  ul, ol { list-style: none; }

  .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  @media (max-width: 640px) { .container { padding: 0 16px; } }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 16px;
  }
  .header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B6DF2, #2F9E6E);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(27, 109, 242, 0.3);
  }
  .brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--dark);
    white-space: nowrap;
  }
  .main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
  }
  .nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    padding: 6px 4px;
    transition: color .3s;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width .3s;
  }
  .nav-link:hover { color: var(--primary); }
  .nav-link:hover::after { width: 100%; }
  .nav-link.active { color: var(--primary); font-weight: 600; }
  .nav-link.active::after { width: 100%; }
  .header-cta { flex-shrink: 0; }
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
  }
  .hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all .3s;
  }
  @media (max-width: 900px) {
    .main-nav {
      position: fixed;
      top: 70px;
      left: 0;
      right: 0;
      flex-direction: column;
      align-items: flex-start;
      background: var(--white);
      padding: 24px;
      gap: 20px;
      box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
      transform: translateY(-120%);
      transition: transform .35s;
      margin-left: 0;
      border-bottom: 1px solid var(--border);
    }
    .main-nav.open { transform: translateY(0); }
    .hamburger { display: flex; }
    .header-cta { display: none; }
  }

  .bottom-tab {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    background: rgba(18, 22, 29, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    height: 62px;
  }
  @media (min-width: 768px) { .bottom-tab { display: none; } }
  .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #9CA3AF;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 4px;
    transition: color .3s;
  }
  .tab-item svg { width: 20px; height: 20px; }
  .tab-item:hover, .tab-item.active { color: var(--primary-light); }
  .tab-item.active { color: #60A5FA; }
  .tab-item.tab-cta {
    color: #fff;
  }
  .tab-item.tab-cta svg { color: #fff; }
  .tab-item.tab-cta.active { color: #fff; }

  .page-banner {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background-image: url('/assets/images/backpic/back-2.webp');
    background-size: cover;
    background-position: center;
  }
  .page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 22, 29, 0.92) 20%, rgba(18, 22, 29, 0.6) 60%, rgba(27, 109, 242, 0.15) 100%);
  }
  .banner-inner { position: relative; z-index: 2; padding: 80px 0; }
  .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
  }
  .breadcrumb a { color: rgba(255, 255, 255, 0.6); transition: color .3s; }
  .breadcrumb a:hover { color: #fff; }
  .breadcrumb .sep { color: rgba(255, 255, 255, 0.4); }
  .breadcrumb .current { color: rgba(255, 255, 255, 0.9); }
  .banner-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    max-width: 680px;
    margin-bottom: 14px;
  }
  .banner-sub {
    font-size: 16px;
    line-height: 1.7;
    color: #C0C8D4;
    max-width: 620px;
    margin-bottom: 28px;
  }
  .banner-badges { display: flex; gap: 10px; flex-wrap: wrap; }
  .banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    backdrop-filter: blur(8px);
  }
  .banner-badge i { width: 8px; height: 8px; border-radius: 50%; background: #34D399; display: inline-block; }

  .section { padding: 96px 0; }
  @media (max-width: 768px) { .section { padding: 56px 0; } }
  .section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(27, 109, 242, 0.08);
    padding: 4px 14px;
    border-radius: 30px;
    letter-spacing: 1px;
    margin-bottom: 14px;
  }
  .section-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 16px;
  }
  .section-desc {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.75;
  }

  .intro-section { background: var(--white); }
  .split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .split-row.reverse .split-media { order: 2; }
  .split-row.reverse .split-content { order: 1; }
  @media (max-width: 768px) {
    .split-row { grid-template-columns: 1fr; gap: 32px; }
    .split-row.reverse .split-media { order: 1; }
    .split-row.reverse .split-content { order: 2; }
  }
  .split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
  .split-media img { width: 100%; height: 380px; object-fit: cover; }
  .split-media .media-cover {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(18, 22, 29, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
  }
  .split-content .content-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    margin-bottom: 16px;
  }
  .split-content p { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
  .check-list { margin-top: 20px; }
  .check-list li {
    position: relative;
    padding-left: 32px;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 12px;
  }
  .check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(47, 158, 110, 0.12);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
  }

  .features-section {
    background: linear-gradient(135deg, #12161D 0%, #1A2430 100%);
    color: #fff;
  }
  .features-section .section-title { color: #fff; }
  .features-section .section-desc { color: #C0C8D4; }
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 44px;
  }
  @media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr; }
  }
  .feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform .4s, border-color .4s, box-shadow .4s;
    overflow: hidden;
  }
  .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
  }
  .feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
  .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 109, 242, 0.3), rgba(47, 158, 110, 0.25));
    margin-bottom: 22px;
  }
  .feature-icon svg { width: 28px; height: 28px; color: #93C5FD; }
  .feature-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
  .feature-card p { color: #C0C8D4; font-size: 14px; line-height: 1.7; }
  .feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14px;
    color: #93C5FD;
    transition: gap .3s, color .3s;
  }
  .feature-link:hover { gap: 10px; color: #fff; }

  .steps-section { background: var(--light); }
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
  }
  @media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
  .step-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow .4s, transform .4s;
    position: relative;
  }
  .step-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
  .step-num {
    font-size: 32px;
    font-weight: 800;
    color: rgba(27, 109, 242, 0.25);
    line-height: 1;
    margin-bottom: 14px;
    display: block;
  }
  .step-item h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
  .step-item p { font-size: 14px; color: var(--muted); line-height: 1.65; }
  .step-arrow {
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-light);
    z-index: 2;
    font-size: 20px;
    display: none;
  }
  @media (min-width: 769px) and (max-width: 1023px) {
    .step-arrow { display: none; }
  }
  @media (min-width: 1024px) {
    .step-arrow { display: block; }
  }

  .detail-section { background: var(--white); }
  .detail-list { margin-top: 8px; }
  .detail-list li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 15px;
    color: #374151;
  }
  .detail-list li:last-child { border-bottom: none; }
  .detail-list .dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 10px;
  }

  .faq-section { background: var(--light); }
  .faq-list { max-width: 800px; margin: 40px auto 0; }
  .faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
  }
  .faq-item.open { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(27, 109, 242, 0.08); }
  .faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    font-family: var(--font);
    text-align: left;
    gap: 16px;
  }
  .faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(27, 109, 242, 0.1);
    color: var(--primary);
    transition: transform .35s, background .35s;
    font-size: 16px;
    font-weight: 400;
  }
  .faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
  .faq-answer {
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    transition: max-height .4s, padding .4s;
  }
  .faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 24px; }

  .cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #12161D 0%, #15243A 60%, #1B6DF2 120%);
    text-align: center;
    overflow: hidden;
  }
  .cta-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -160px;
    right: -100px;
    background: radial-gradient(circle, rgba(27, 109, 242, 0.5), transparent 70%);
    pointer-events: none;
  }
  .cta-section::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    bottom: -120px;
    left: 80px;
    background: radial-gradient(circle, rgba(47, 158, 110, 0.3), transparent 70%);
    pointer-events: none;
  }
  .cta-inner { position: relative; z-index: 2; }
  .cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
  }
  .cta-desc {
    color: #C0C8D4;
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .btn-glow {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 40px;
    box-shadow: 0 0 24px rgba(27, 109, 242, 0.5);
    transition: all .3s;
    animation: glowPulse 2.4s ease-in-out infinite;
  }
  .btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(27, 109, 242, 0.7);
  }
  .btn-glow:active { transform: translateY(0); }
  @keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 18px rgba(27, 109, 242, 0.4), 0 0 40px rgba(47, 158, 110, 0.15); }
    50% { box-shadow: 0 0 28px rgba(27, 109, 242, 0.65), 0 0 60px rgba(47, 158, 110, 0.25); }
  }

  .site-footer {
    background: var(--dark);
    color: #9CA3AF;
    padding: 64px 0 0;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
  }
  @media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  }
  .footer-brand .brand-text {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }
  .footer-brand p { font-size: 14px; line-height: 1.75; max-width: 320px; }
  .footer-nav h3, .footer-contact h3 {
    font-size: 16px;
    font-weight: 600;
    color: #E5E7EB;
    margin-bottom: 16px;
  }
  .footer-nav a {
    display: block;
    font-size: 14px;
    color: #9CA3AF;
    padding: 5px 0;
    transition: color .3s, padding-left .3s;
  }
  .footer-nav a:hover { color: var(--primary-light); padding-left: 4px; }
  .footer-contact p { font-size: 14px; color: #9CA3AF; margin-bottom: 8px; }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #6B7280;
  }
  .footer-top-line {
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border: none;
  }

  @media (max-width: 640px) {
    .banner-title { font-size: 30px; }
    .section-title { font-size: 24px; }
    .cta-title { font-size: 26px; }
    .split-media img { height: 240px; }
  }

  @media (min-width: 640px) and (max-width: 767px) {
    .feature-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
  }

  .focus-visible:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 10px;
    transition: all .3s;
    box-shadow: 0 2px 10px rgba(27, 109, 242, 0.25);
  }
  .btn-primary:hover { background: var(--primary-light); box-shadow: 0 4px 18px rgba(27, 109, 242, 0.4); transform: translateY(-1px); }
  .btn-primary:active { transform: translateY(1px); }

/* roulang page: article */
:root {
  --primary: #1B6DF2;
  --primary-dark: #0E4BB5;
  --primary-light: #E8F0FE;
  --bamboo: #2F9E6E;
  --bamboo-dark: #238057;
  --dark: #12161D;
  --dark-2: #17191C;
  --light-bg: #F7F8FA;
  --white: #FFFFFF;
  --text: #1F2937;
  --text-light: #6B7280;
  --text-lighter: #9CA3AF;
  --border: #E5E7EB;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 0 20px rgba(27, 109, 242, 0.35);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-w: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--light-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #4F8FF5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 109, 242, 0.3);
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 8px 2px;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bamboo);
  margin-right: 6px;
  vertical-align: middle;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(27, 109, 242, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 0 20px rgba(27, 109, 242, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(27, 109, 242, 0.2);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.btn-outline:active {
  transform: translateY(1px);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--light-bg);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile Drawer ===== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
  z-index: 200;
  padding: 80px 28px 32px;
  flex-direction: column;
  gap: 8px;
  transition: right 0.3s ease;
}

.mobile-drawer.open {
  right: 0;
  display: flex;
}

.mobile-drawer a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 14px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-drawer a:hover,
.mobile-drawer a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer .btn-primary {
  margin-top: 16px;
  justify-content: center;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 22, 29, 0.5);
  z-index: 150;
  backdrop-filter: blur(4px);
}

.drawer-overlay.open {
  display: block;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-light);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--border);
  font-size: 12px;
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 500;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Article Page Layout ===== */
.article-page {
  padding-top: 32px;
  padding-bottom: 80px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.article-main {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}

.article-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
}

.meta-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-lighter);
}

/* ===== Article Body ===== */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  word-break: break-word;
}

.article-body > * + * {
  margin-top: 20px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 36px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 28px;
}

.article-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 20px;
}

.article-body p {
  margin-top: 16px;
  line-height: 1.8;
}

.article-body > p:first-child {
  font-size: 17px;
  color: var(--text);
}

.article-body ul,
.article-body ol {
  margin-top: 16px;
  padding-left: 24px;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 8px;
  line-height: 1.7;
  position: relative;
}

.article-body ul li::marker {
  color: var(--primary);
}

.article-body blockquote {
  margin-top: 24px;
  padding: 18px 24px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #2c3e50;
  font-size: 15px;
  line-height: 1.7;
}

.article-body blockquote p {
  margin-top: 0;
}

.article-body img {
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.article-body figure {
  margin-top: 24px;
}

.article-body figure img {
  margin-top: 0;
  border-radius: var(--radius-md);
}

.article-body figcaption {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--primary-dark);
  text-decoration-thickness: 2px;
}

.article-body code {
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.article-body pre {
  background: var(--dark);
  color: #E5E7EB;
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
}

.article-body pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.article-body hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.article-body table th,
.article-body table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.article-body table th {
  background: var(--light-bg);
  font-weight: 600;
}

/* ===== Tags ===== */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}

.tag:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Prev / Next ===== */
.article-prev-next {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
}

.prev-link,
.next-link {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-light);
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}

.prev-link:hover,
.next-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.prev-link:active,
.next-link:active {
  transform: translateY(0);
}

/* ===== Related Articles ===== */
.related-section {
  margin-top: 40px;
}

.related-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  position: relative;
  padding-left: 14px;
}

.related-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--bamboo));
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.related-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.related-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--light-bg);
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-card:hover .related-thumb img {
  transform: scale(1.05);
}

.related-info {
  padding: 16px;
}

.related-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-info span {
  font-size: 13px;
  color: var(--text-lighter);
}

/* ===== Sidebar ===== */
.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

.sidebar-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-card ul li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  background: transparent;
}

.sidebar-card ul li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 16px;
}

.sidebar-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

.sidebar-cta p {
  font-size: 14px;
  color: var(--text-light);
  margin: 12px 0 16px;
  line-height: 1.6;
}

/* ===== Not Found ===== */
.not-found-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

.not-found-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: inline-block;
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--text-lighter);
}

.not-found-panel h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.not-found-panel p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.not-found-panel .btn-primary {
  min-width: 160px;
  justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: #9CA3AF;
  padding-top: 64px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--bamboo), var(--primary));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand-text {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #8B95A7;
  max-width: 360px;
}

.footer-nav h3,
.footer-contact h3 {
  font-size: 16px;
  font-weight: 600;
  color: #E5E7EB;
  margin-bottom: 16px;
}

.footer-nav a {
  display: block;
  font-size: 14px;
  color: #8B95A7;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 14px;
  color: #8B95A7;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #6B7280;
}

/* ===== Mobile Bottom Tabbar ===== */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(18, 22, 29, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tabbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  padding: 0 8px;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 12px;
  border-radius: 10px;
  color: #8B95A7;
  transition: var(--transition);
  text-decoration: none;
}

.tab-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab-item span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.tab-item:hover,
.tab-item.active {
  color: var(--primary);
}

.tab-item.active {
  color: var(--primary);
}

.tab-item.active span {
  color: var(--primary);
  font-weight: 600;
}

.tab-cta {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 8px 18px;
}

.tab-cta:hover,
.tab-cta.active {
  background: var(--primary-dark);
  color: #fff;
}

.tab-cta svg,
.tab-cta span {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: none;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  body {
    padding-bottom: 70px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .site-header .header-inner {
    height: 60px;
  }

  .brand-text {
    font-size: 18px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .article-page {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .article-main {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .article-title {
    font-size: 26px;
  }

  .article-meta {
    gap: 12px;
  }

  .breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .breadcrumb .current {
    max-width: 180px;
  }

  .mobile-tabbar {
    display: block;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .article-prev-next {
    flex-direction: column;
  }

  .prev-link,
  .next-link {
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .mobile-tabbar {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .article-title {
    font-size: 22px;
  }

  .meta-item {
    font-size: 13px;
  }

  .article-tags .tag {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-main {
  animation: fadeInUp 0.5s ease both;
}

/* ===== Accessibility Focus ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== Print ===== */
@media print {
  .site-header,
  .mobile-tabbar,
  .article-sidebar,
  .breadcrumb,
  .article-prev-next,
  .related-section,
  .site-footer {
    display: none !important;
  }

  body {
    padding: 0;
    background: #fff;
  }

  .article-main {
    box-shadow: none;
    padding: 0;
  }
}
