/* ==========================================================================
   一元机场 (yiyuan-jic.my) - 0轨全息光盘刻录 (Optical CD-ROM & Lead-in Track)
   Design System & Styling Sheet - Holographic Cyan / Sapphire Prism Theme
   ========================================================================== */

:root {
  /* Color Palette - Cold Silver & Holographic Sapphire Prism */
  --bg-main: #F1F3F5;
  --bg-secondary: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFCFE;
  --border-silver: #E2E8F0;
  --border-light: #EEF2F6;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  
  /* Brand & Prism Accents (Optical Holographic Sapphire & Laser Cyan) */
  --primary-brand: #0284C7;
  --primary-brand-hover: #0369A1;
  --primary-brand-light: rgba(2, 132, 199, 0.08);
  
  --laser-cyan: #0EA5E9;
  --laser-violet: #8B5CF6;
  --laser-emerald: #10B981;

  /* Optical Rainbow Sheen Gradients */
  --prism-sheen: conic-gradient(
    from 180deg at 50% 50%,
    rgba(224, 231, 255, 0.6) 0deg,
    rgba(186, 230, 253, 0.6) 60deg,
    rgba(187, 247, 208, 0.6) 120deg,
    rgba(254, 240, 138, 0.6) 180deg,
    rgba(233, 213, 255, 0.6) 240deg,
    rgba(224, 231, 255, 0.6) 300deg,
    rgba(186, 230, 253, 0.6) 360deg
  );
  
  --cd-surface: radial-gradient(
    circle at center,
    #FFFFFF 0%,
    #F1F5F9 25%,
    #E2E8F0 50%,
    #F8FAFC 75%,
    #FFFFFF 100%
  );

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-brand: 0 12px 28px rgba(2, 132, 199, 0.28);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Canvas Layer */
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Utility Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-spacing {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 56px 0;
  }
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 50%, #1E3A8A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-brand {
  color: var(--primary-brand);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
}

.section-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-brand);
  box-shadow: 0 0 8px var(--primary-brand);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .section-title { font-size: 1.75rem; }
  .section-desc { font-size: 1rem; }
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(241, 243, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-disc-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #FFFFFF 20%, #BAE6FD 21%, #38BDF8 50%, #0284C7 100%);
  border: 1px solid #BAE6FD;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.15);
}

.logo-disc-icon::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F1F3F5;
  border: 2px solid #0284C7;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 10px;
  padding: 2px 6px;
  background: var(--primary-brand-light);
  color: var(--primary-brand);
  border-radius: 4px;
  font-weight: 700;
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-silver);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #BAE6FD;
  background: #F0F9FF;
  color: var(--primary-brand);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-silver);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .mobile-toggle {
    display: block;
  }
}

/* Hero Section & Optical CD Specimen Feature */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.25rem; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 560px;
}

@media (max-width: 992px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .hero-cta-group {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-silver);
}

@media (max-width: 992px) {
  .hero-metrics {
    justify-content: center;
  }
}

.metric-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 800;
}

.metric-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 0 Track Lead-in Optical CD Card (CD 0轨全息光盘刻录 核心视觉) */
.cd-specimen-container {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cd-disc-card {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  position: relative;
  background: var(--cd-surface);
  box-shadow: 
    0 25px 50px -12px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(226, 232, 240, 0.8),
    inset 0 0 20px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease-out;
  overflow: hidden;
}

/* Rainbow Prismatic Sheen Overlay */
.cd-disc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--prism-sheen);
  opacity: 0.35;
  mix-blend-mode: color-dodge;
  animation: rotateSheen 20s linear infinite;
  pointer-events: none;
}

@keyframes rotateSheen {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Concentric Laser Data Grooves (0.2px Laser Circles) */
.cd-disc-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0px,
    transparent 2px,
    rgba(148, 163, 184, 0.25) 2.5px,
    transparent 3px
  );
  pointer-events: none;
}

/* Central Lead-in Track 001 Ring (0轨预置引导区) */
.cd-center-hub {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-silver);
  box-shadow: 
    0 8px 32px rgba(15, 23, 42, 0.08),
    inset 0 0 12px rgba(226, 232, 240, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  text-align: center;
}

.cd-spindle-hole {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid #CBD5E1;
  margin-bottom: 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.track-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.track-price-highlight {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--primary-brand);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.track-price-highlight span {
  font-size: 1.25rem;
  font-weight: 700;
}

.track-subtext {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 480px) {
  .cd-disc-card {
    width: 320px;
    height: 320px;
  }
  .cd-center-hub {
    width: 170px;
    height: 170px;
  }
  .track-price-highlight {
    font-size: 2rem;
  }
}

/* Feature & Advantage Cards Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--laser-cyan), var(--primary-brand), var(--laser-violet));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #BAE6FD;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-brand);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
  background: var(--primary-brand-light);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.pricing-card.popular {
  border: 2px solid var(--primary-brand);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular::before {
  content: "高性价比推荐";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.plan-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 16px;
}

.plan-price-box {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border-silver);
  margin-bottom: 28px;
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-brand);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-price currency {
  font-size: 1.75rem;
  font-weight: 700;
  vertical-align: super;
  margin-right: 2px;
}

.plan-price period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.plan-features li i {
  color: var(--laser-emerald);
  font-weight: 900;
  font-size: 14px;
}

.pricing-card .btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
}

/* Audience Section (适合人群) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.audience-card:hover {
  border-color: #BAE6FD;
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary-brand);
  flex-shrink: 0;
}

.audience-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Tutorial Tabs Section (Clash & Clash Party 指南) */
.tutorial-box {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.tutorial-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-silver);
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.tab-btn {
  padding: 10px 24px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--primary-brand);
  border-bottom-color: var(--primary-brand);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tutorial-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .tutorial-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .tutorial-steps {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-brand);
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* User Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #F59E0B;
  margin-bottom: 14px;
  font-size: 14px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-brand-light);
  color: var(--primary-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.user-info h5 {
  font-size: 0.95rem;
}

.user-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Interactive Latency Test Tool Widget */
.speedtest-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 48px;
}

.node-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .node-list {
    grid-template-columns: 1fr;
  }
}

.node-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.ping-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--laser-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* FAQ Accordion Component */
.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  user-select: none;
}

.faq-header:hover {
  color: var(--primary-brand);
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-brand);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #FAFCFE;
}

.faq-body-content {
  padding: 0 28px 24px 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Article Directory Section & Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #BAE6FD;
}

.article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-brand);
  background: var(--primary-brand-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  width: fit-content;
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-clamp: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

/* Article Detail Page Layout */
.article-header {
  padding-top: 140px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--bg-main) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-silver);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-brand);
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 96px 24px;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-content h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: 1.65rem;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-silver);
  color: var(--text-primary);
}

.article-content h3 {
  font-size: 1.3rem;
  margin: 28px 0 14px 0;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin: 0 0 24px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary-brand);
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content code {
  font-family: var(--font-mono);
  background: #E2E8F0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: #0F172A;
}

.article-content pre {
  background: #0F172A;
  color: #F8FAFC;
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}

.article-content th, .article-content td {
  padding: 12px 16px;
  border: 1px solid var(--border-silver);
  text-align: left;
  font-size: 0.95rem;
}

.article-content th {
  background: var(--bg-secondary);
  font-weight: 700;
}

.article-cta-box {
  background: radial-gradient(circle at center, #FFFFFF 0%, #F0F9FF 100%);
  border: 2px solid var(--primary-brand);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--shadow-md);
}

.article-cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.article-cta-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Footer & Site Map */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 80px 0 40px 0;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo-text {
  color: #FFFFFF;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #94A3B8;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #FFFFFF;
}
