/* roulang page: index */
:root {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #818CF8;
  --secondary: #7C3AED;
  --accent: #F59E0B;
  --accent-light: #FBBF24;
  --bg: #F8FAFC;
  --bg-soft: #EEF2FF;
  --bg-dark: #0F172A;
  --bg-dark-2: #1E293B;
  --text: #1E293B;
  --text-light: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --header-h: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-secondary:hover {
  background: #6D28D9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 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 rgba(226, 232, 240, 0.7);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.logo span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 2px;
  position: relative;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--bg-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(79, 70, 229, 0.35) 100%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--bg);
  border-radius: 50% 50% 0 0;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
  padding: 80px 0 100px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: #E0E7FF;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

/* Section */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-soft);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

.section-dark .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-light);
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* Feature */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--bg-soft);
  color: var(--primary);
  margin-bottom: 22px;
}

.feature-icon.accent {
  background: #FEF3C7;
  color: #D97706;
}

.feature-icon.secondary {
  background: #F3E8FF;
  color: #7C3AED;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Stats */
.stats-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1E1B4B 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.category-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: block;
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.category-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-body {
  padding: 28px;
}

.category-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.category-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  color: var(--primary);
  transition: var(--transition);
}

.tag:hover {
  background: var(--primary);
  color: #fff;
}

/* News */
.news-section {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.news-cat {
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
}

.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.news-card h3 a {
  color: var(--text);
}

.news-card h3 a:hover {
  color: var(--primary);
}

.news-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}

.news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

.empty-tip {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 15px;
}

/* Process */
.process {
  padding: 96px 0;
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary-light), var(--border));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  counter-increment: step;
}

.step-dot::before {
  content: counter(step);
  font-size: 18px;
}

.step:hover .step-dot {
  border-color: var(--primary);
  background: var(--bg-soft);
  box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.1);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* FAQ */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--bg);
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  background: var(--white);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 22px;
  font-weight: 300;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* CTA */
.cta-section {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
  text-align: center;
  color: #fff;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: -1;
}

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: #fff;
}

/* 响应式 */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .feature-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 16px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .feature-grid,
  .category-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-content h2 {
    font-size: 30px;
  }

  .stat-number {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* roulang page: category1 */
/* ========== Design Variables ========== */
:root {
  --color-primary: #1a2b4a;
  --color-primary-light: #2c4a7c;
  --color-accent: #d4a24e;
  --color-accent-soft: #ecd9b0;
  --color-bg: #f7f5f1;
  --color-bg-deep: #eef0f3;
  --color-bg-dark: #141d2b;
  --color-text: #25303e;
  --color-text-soft: #5c6775;
  --color-text-muted: #8a93a0;
  --color-border: #e4e0d8;
  --color-border-dark: #2c3b52;
  --color-white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(20, 29, 43, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 29, 43, 0.10);
  --shadow-lg: 0 24px 56px rgba(20, 29, 43, 0.14);
  --space-section: clamp(56px, 8vw, 96px);
  --space-block: clamp(32px, 5vw, 56px);
  --max-width: 1200px;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

/* ========== Reset / Base ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

.container {
  width: min(var(--max-width), 100% - 48px);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .container {
    width: min(var(--max-width), 100% - 32px);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--max-width), 100% - 24px);
  }
}

/* ========== Header ========== */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.logo span {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  margin-right: 32px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-soft);
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border-radius: 999px;
  padding: 12px 28px;
  transition: all 0.28s ease;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(26, 43, 74, 0.20);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 43, 74, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(26, 43, 74, 0.20);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

.btn-outline {
  border: 1px solid var(--color-border-dark);
  color: var(--color-white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: var(--color-white);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  padding: 10px;
  background: transparent;
  transition: background 0.25s ease;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(26, 43, 74, 0.06);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Page Hero ========== */
.page-hero {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 7vw, 88px);
  background: var(--color-bg-dark);
  overflow: hidden;
  color: var(--color-white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 200%;
  height: 120px;
  background: var(--color-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateX(-25%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-accent-soft);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.page-hero .hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212, 162, 78, 0.2);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  max-width: 720px;
}

.page-hero .hero-sub {
  margin-top: 20px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 640px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-item strong {
  font-size: 18px;
  color: var(--color-white);
}

.hero-meta-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ========== Sections ========== */
.section {
  padding: var(--space-section) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.3;
}

.section-head .head-desc {
  color: var(--color-text-soft);
  max-width: 460px;
  font-size: 15px;
}

.section-head .head-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent-soft);
  color: #7a5b20;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ========== Waveform Divider ========== */
.wave-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
}

.wave-divider .wave-bar {
  width: 3px;
  border-radius: 4px;
  background: var(--color-accent);
  opacity: 0.5;
}

.wave-divider .wave-bar:nth-child(1) { height: 12px; }
.wave-divider .wave-bar:nth-child(2) { height: 24px; }
.wave-divider .wave-bar:nth-child(3) { height: 34px; opacity: 0.8; }
.wave-divider .wave-bar:nth-child(4) { height: 22px; }
.wave-divider .wave-bar:nth-child(5) { height: 30px; opacity: 0.7; }
.wave-divider .wave-bar:nth-child(6) { height: 18px; }
.wave-divider .wave-bar:nth-child(7) { height: 10px; }

/* ========== Cards ========== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 162, 78, 0.45);
}

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-img img {
  transform: scale(1.04);
}

.card-img .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 29, 43, 0.55), transparent 55%);
}

.card-img .card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-primary);
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.card:hover .card-body h3 {
  color: var(--color-primary-light);
}

.card-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-soft);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ========== Layout Grids ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-feature {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ========== Feature Mini Cards ========== */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #a06f1a;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.7;
}

/* ========== List Panel ========== */
.list-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.25s ease;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:hover {
  background: rgba(247, 245, 241, 0.7);
}

.list-rank {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-border-dark);
  opacity: 0.35;
  min-width: 36px;
  font-style: italic;
}

.list-item:first-child .list-rank {
  color: var(--color-accent);
  opacity: 1;
}

.list-content {
  flex: 1;
  min-width: 0;
}

.list-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-content p {
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-meta {
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ========== Data Cards ========== */
.data-card {
  background: var(--color-bg-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(20, 29, 43, 0.3);
}

.data-card .data-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.data-card .data-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  line-height: 1.5;
}

/* ========== Editorial / Interview ========== */
.editorial {
  background: var(--color-bg-deep);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.editorial-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.editorial-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.editorial-content .kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.editorial-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.editorial-content .editorial-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}

.editorial-content .editorial-text strong {
  color: var(--color-primary);
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a24e, #a06f1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 18px;
}

.profile-info .profile-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.profile-info .profile-role {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ========== Timeline ========== */
.timeline {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), rgba(212, 162, 78, 0.15), var(--color-primary-light));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212, 162, 78, 0.2);
}

.timeline-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.timeline-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.7;
}

/* ========== FAQ ========== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(212, 162, 78, 0.4);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  background: transparent;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: #a06f1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-soft);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 280px;
}

/* ========== CTA ========== */
.cta-section {
  position: relative;
  background: var(--color-bg-dark);
  padding: clamp(56px, 8vw, 88px) 0;
  overflow: hidden;
  color: var(--color-white);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-3.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(212, 162, 78, 0.3), transparent 65%);
  top: -160px;
  right: -120px;
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.cta-section h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.25s ease;
}

.cta-link:hover {
  color: var(--color-accent);
}

/* ========== Newsletter ========== */
.newsletter-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.newsletter-text p {
  font-size: 14px;
  color: var(--color-text-soft);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input {
  min-width: 260px;
  padding: 12px 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 14px;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(212, 162, 78, 0.15);
}

.newsletter-form input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-form .btn {
  white-space: nowrap;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-brand .logo span {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 340px;
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ========== Focus Accessibility ========== */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(212, 162, 78, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-feature {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .editorial-img img {
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 96px 36px 32px;
    gap: 8px;
    box-shadow: -16px 0 48px rgba(20, 29, 43, 0.16);
    transform: translateX(100%);
    transition: transform 0.38s ease;
    margin: 0;
    z-index: 99;
    border-left: 1px solid var(--color-border);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav .nav-link {
    display: block;
    width: 100%;
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-feature {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta {
    gap: 20px;
  }

  .list-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .list-meta {
    width: 100%;
    padding-left: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 24px, 420px);
  }

  .grid-feature {
    grid-template-columns: 1fr;
  }

  .page-hero .hero-sub {
    font-size: 15px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 14px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .list-item {
    padding: 16px 20px;
  }

  .card-body {
    padding: 20px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }
}

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
  --color-primary: #17354d;
  --color-primary-light: #2c5270;
  --color-primary-dark: #0f2438;
  --color-accent: #c9a263;
  --color-accent-light: #e0c393;
  --color-bg: #f5f3ef;
  --color-bg-deep: #ede9e3;
  --color-surface: #ffffff;
  --color-dark: #1d2733;
  --color-text: #2b3945;
  --color-muted: #7e8b99;
  --color-border: #e6e1d9;
  --color-footer: #132a3c;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(23, 53, 77, 0.05);
  --shadow-md: 0 8px 28px rgba(23, 53, 77, 0.08);
  --shadow-lg: 0 20px 48px rgba(23, 53, 77, 0.12);
  --spacing-section: 88px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", Georgia, "Songti SC", serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--color-primary); transition: color .25s ease; }
a:hover { color: var(--color-accent); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Header / 导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.logo span {
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 600;
  margin-left: 4px;
  letter-spacing: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
  padding: 6px 2px;
  letter-spacing: 0.5px;
  transition: color .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width .3s ease;
}
.nav-link:hover { color: var(--color-primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}
.nav-link.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  transition: all .3s ease;
  border: 2px solid transparent;
  outline: none;
}
.btn:focus-visible { box-shadow: 0 0 0 4px rgba(201, 162, 99, 0.3); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.btn-accent:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 99, 0.35);
}
.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}
.btn-sm {
  padding: 9px 22px;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all .3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.8);
  transition: color .25s;
}
.breadcrumb a:hover { color: var(--color-accent-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: rgba(255,255,255,0.95); font-weight: 500; }

/* ===== 文章 Hero ===== */
.article-hero {
  position: relative;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  padding: 100px 0 130px;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(23,53,77,0.82) 0%, rgba(15,36,56,0.92) 60%, rgba(9,28,44,0.88) 100%);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}
.badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.badge-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
  font-size: 12px;
  padding: 4px 14px;
  margin-bottom: 0;
}
.article-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.article-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-meta .meta-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-right: 6px;
}
.article-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
  pointer-events: none;
}
.article-hero-wave path { fill: var(--color-bg); }

/* ===== 文章正文 ===== */
.article-main {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 20px;
}
.article-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: clamp(28px, 5vw, 56px);
}
.article-body-text {
  font-size: 17px;
  line-height: 2;
  color: var(--color-text);
}
.article-body-text p { margin-bottom: 28px; }
.article-body-text p:last-child { margin-bottom: 0; }
.article-body-text h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 48px 0 16px;
  line-height: 1.4;
}
.article-body-text h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 36px 0 12px;
  line-height: 1.5;
}
.article-body-text h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 28px 0 10px;
}
.article-body-text ul,
.article-body-text ol {
  margin: 0 0 28px 22px;
}
.article-body-text li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.article-body-text li::marker { color: var(--color-accent); }
.article-body-text blockquote {
  border-left: 4px solid var(--color-accent);
  background: rgba(201, 162, 99, 0.09);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 36px 0;
  color: var(--color-primary-light);
  font-style: italic;
  font-size: 16px;
}
.article-body-text blockquote p { margin-bottom: 0; }
.article-body-text img {
  border-radius: var(--radius-md);
  margin: 36px 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.article-body-text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(201, 162, 99, 0.4);
}
.article-body-text a:hover { color: var(--color-primary); }
.article-body-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
}
.article-body-text th,
.article-body-text td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}
.article-body-text th {
  background: var(--color-bg);
  font-weight: 600;
  color: var(--color-primary);
}
.article-body-text code {
  background: var(--color-bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-family: "SF Mono", "Consolas", monospace;
}
.article-body-text pre {
  background: var(--color-dark);
  color: #d8dee9;
  padding: 20px;
  border-radius: var(--radius-sm);
  margin: 32px 0;
  overflow-x: auto;
}

/* ===== 文章标签与分享 ===== */
.article-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tags .tags-label {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
}
.tag {
  display: inline-block;
  background: var(--color-bg);
  color: var(--color-primary-light);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  transition: all .25s ease;
}
.tag:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.share-text {
  font-size: 14px;
  color: var(--color-muted);
}
.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  transition: all .25s ease;
}
.share-link:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

/* ===== 未找到 ===== */
.not-found-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: 70px 40px;
  text-align: center;
}
.not-found-icon {
  font-size: 48px;
  color: var(--color-accent);
  margin-bottom: 20px;
  letter-spacing: 4px;
}
.not-found-card h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.not-found-card p {
  color: var(--color-muted);
  margin-bottom: 28px;
}

/* ===== 相关资讯 ===== */
.related-section {
  padding: var(--spacing-section) 0 90px;
  background: var(--color-bg-deep);
  margin-top: 30px;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px);
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-head p {
  color: var(--color-muted);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all .35s ease;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.related-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.related-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.related-card:hover .related-cover img {
  transform: scale(1.05);
}
.related-body {
  padding: 24px;
}
.related-body .badge {
  margin-bottom: 10px;
}
.related-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.related-body h3 a {
  color: inherit;
}
.related-body h3 a:hover { color: var(--color-accent); }
.related-body time {
  font-size: 13px;
  color: var(--color-muted);
}
.empty-text {
  text-align: center;
  color: var(--color-muted);
  padding: 40px 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
}

/* ===== 关于一竞技 ===== */
.about-section {
  padding: var(--spacing-section) 0;
  background: var(--color-surface);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-content .section-tag { margin-bottom: 10px; }
.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 18px;
}
.about-content p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.about-list {
  list-style: none;
  margin: 24px 0 28px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--color-text);
  font-size: 15px;
}
.about-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.about-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.about-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(23,53,77,0.25));
  pointer-events: none;
}

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  background: var(--color-primary-dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 30px solid rgba(201, 162, 99, 0.1);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 24px solid rgba(255,255,255,0.05);
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 38px);
  color: #fff;
  line-height: 1.4;
  margin-bottom: 18px;
}
.cta-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-footer);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand .logo span { color: var(--color-accent); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
}
.footer-links h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: all .25s ease;
}
.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .main-nav { gap: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 36px; }
}

@media (max-width: 768px) {
  :root { --spacing-section: 60px; }
  .container, .container-narrow { padding: 0 20px; }
  .header-inner { height: 64px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .3s ease;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    max-height: 300px;
    opacity: 1;
    padding: 12px 20px 20px;
  }
  .nav-link {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--color-bg);
  }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--color-accent); }
  .header-actions .btn-sm { display: none; }
  .article-hero { padding: 72px 0 100px; }
  .article-main { margin-top: -30px; }
  .related-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-cover img { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .article-card { padding: 24px; }
  .article-hero h1 { font-size: 24px; }
  .article-body-text { font-size: 16px; line-height: 1.9; }
  .article-body-text h2 { font-size: 22px; }
  .article-footer-bar { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
}
