/* ==========================================================================
   快连vpn Network Accelerator - Light Pastel Soft Aesthetic SaaS Stylesheet
   Pure Native CSS | Light Theme | Soft Pastel Palette | Responsive
   ========================================================================== */

:root {
  /* Pastel Light Canvas Palette */
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(241, 245, 249, 0.6);
  
  --border-card: rgba(226, 232, 240, 0.9);
  --border-card-hover: rgba(99, 102, 241, 0.4);
  
  /* Pastel Core Colors */
  --primary: #6366f1;           /* Soft Indigo */
  --primary-hover: #4f46e5;
  --primary-light: #e0e7ff;
  --primary-glow: rgba(99, 102, 241, 0.2);
  
  --accent-violet: #a855f7;     /* Soft Lavender/Violet */
  --accent-violet-light: #f3e8ff;
  
  --accent-emerald: #10b981;    /* Soft Mint/Emerald */
  --accent-emerald-light: #d1fae5;
  
  --accent-amber: #f59e0b;      /* Soft Amber */
  --accent-amber-light: #fef3c7;
  
  --accent-rose: #f43f5e;       /* Soft Rose */
  --accent-rose-light: #ffe4e6;
  
  /* Typography Colors (High Contrast Dark Slate) */
  --text-main: #0f172a;         /* Deep Slate Charcoal */
  --text-muted: #475569;        /* Slate Medium */
  --text-subtle: #64748b;       /* Slate Light */
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 15px rgba(148, 163, 184, 0.08);
  --shadow-md: 0 10px 30px -5px rgba(99, 102, 241, 0.08), 0 4px 12px rgba(148, 163, 184, 0.06);
  --shadow-glow: 0 15px 35px rgba(99, 102, 241, 0.15);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* Multi-Layer Pastel Ambient Background Glows */
body::before {
  content: "";
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 231, 255, 0.8) 0%, rgba(243, 232, 255, 0.5) 45%, rgba(248, 250, 252, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  right: -5%;
  width: 50vw;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 250, 229, 0.5) 0%, rgba(224, 242, 254, 0.3) 50%, rgba(248, 250, 252, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5rem 0;
  position: relative;
}

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

/* Typography & Section Titles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #4338ca;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons & Commercial CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.08);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.15);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* Header Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 992px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    padding: 1.5rem 1.25rem;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 20px 30px rgba(148, 163, 184, 0.15);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.hero-feature-item svg {
  color: var(--accent-emerald);
}

/* Hero Dashboard Widget (Pastel Light SaaS Theme) */
.dashboard-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.12), var(--shadow-sm);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1 0%, #a855f7 50%, #10b981 100%);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.dashboard-title {
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--accent-emerald-light);
  color: #047857;
  font-weight: 700;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

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

.node-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.node-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: #ffffff;
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.flag-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.node-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.node-ping {
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: var(--accent-emerald-light);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.dashboard-chart {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid #e2e8f0;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

.chart-wave {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #6366f1 0%, rgba(99, 102, 241, 0.25) 100%);
  border-radius: 3px 3px 0 0;
  animation: bar-pulse 2s infinite ease-in-out alternate;
}

.chart-bar:nth-child(2n) { animation-delay: 0.3s; }
.chart-bar:nth-child(3n) { animation-delay: 0.6s; }
.chart-bar:nth-child(4n) { animation-delay: 0.9s; }

/* Core Advantages (Bento Grid Light) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.bento-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Global Nodes Section (Light Theme) */
.nodes-section-wrapper {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.6) 0%, rgba(248, 250, 252, 1) 100%);
  border-y: 1px solid #e2e8f0;
}

.nodes-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.stat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-main);
  background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.node-region-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

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

@media (max-width: 480px) {
  .node-region-cards {
    grid-template-columns: 1fr;
  }
}

.region-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.region-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.region-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.region-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.region-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--text-muted);
}

/* AI & Streaming Section */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.scene-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.scene-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.scene-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-violet-light);
  color: var(--accent-violet);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-icon.emerald {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
}

.scene-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

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

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

.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pricing-card.recommended {
  border: 2px solid var(--primary);
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .pricing-card.recommended {
    transform: none;
  }
}

.recommended-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.plan-feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* SEO Articles Grid (3x3 Desktop) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@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: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 0.85rem;
}

.article-category {
  color: #2563eb;
  font-weight: 700;
  background: #eff6ff;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.article-card-title a:hover {
  color: var(--primary);
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-link:hover {
  gap: 0.6rem;
  color: var(--primary-hover);
}

/* User Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 10px rgba(129, 140, 248, 0.25);
}

.user-info-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.user-info-role {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--text-subtle);
}

.faq-item.active .faq-question {
  color: #4338ca;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Article Detail Page Layout (SEO Pages) */
.article-detail-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem 1.25rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

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

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.article-main-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .article-main-title {
    font-size: 1.85rem;
  }
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

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

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 1.8rem 0 0.85rem 0;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.95rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-body th, .article-body td {
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.article-body th {
  background: #f1f5f9;
  color: var(--text-main);
  font-weight: 800;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: #eff6ff;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  color: #1e40af;
  font-style: italic;
}

.related-articles {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

/* Footer Section */
.footer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.partner-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.partner-links a {
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
}

.partner-links a:hover {
  color: var(--primary);
}

/* Keyframes & Reduced Motion */
@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes bar-pulse {
  0% { height: 35%; }
  100% { height: 95%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
