/* ==========================================================================
   吹雪云 (chuixuecloud.lol) - 原生极致美学设计系统 (秒开无框架纯 CSS)
   ========================================================================== */

:root {
  --bg-main: #060913;
  --bg-secondary: #0b1122;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(22, 33, 62, 0.88);
  --bg-card-active: rgba(30, 41, 75, 0.95);
  --border-subtle: rgba(192, 132, 252, 0.18);
  --border-strong: rgba(192, 132, 252, 0.45);
  --border-glow: rgba(192, 132, 252, 0.65);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #c084fc;
  --accent-blue: #a855f7;
  --accent-purple: #c084fc;
  --accent-lavender: #d8b4fe;
  --accent-pink: #f472b6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --grad-primary: linear-gradient(135deg, #e9d5ff 0%, #c084fc 45%, #f472b6 100%);
  --grad-cyan-blue: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(192, 132, 252, 0.25) 0%, transparent 70%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 0 35px -5px rgba(192, 132, 252, 0.45);
  --shadow-btn: 0 8px 24px -6px rgba(192, 132, 252, 0.6), 0 0 14px rgba(168, 85, 247, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

/* Content Layer */
.content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   Top Announcement Notice Bar
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #0b1329 0%, #1e1b4b 35%, #2e1065 65%, #0b1329 100%);
  border-bottom: 1px solid rgba(192, 132, 252, 0.28);
  padding: 9px 18px;
  text-align: center;
  font-size: 0.85rem;
  color: #e9d5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-notice-bar strong {
  color: #ffffff;
  background: rgba(192, 132, 252, 0.22);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(192, 132, 252, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.top-notice-bar a {
  color: #d8b4fe;
  font-weight: 700;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.top-notice-bar a:hover {
  color: #ffffff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 9, 19, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(192, 132, 252, 0.35));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-cyan);
}

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

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 40%, #c084fc 80%, #e9d5ff 100%);
  color: #ffffff;
  border: 1px solid rgba(233, 213, 255, 0.45);
  box-shadow: var(--shadow-btn);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 40%, #c084fc 80%, #f5f3ff 100%);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px -6px rgba(192, 132, 252, 0.8), 0 0 22px rgba(192, 132, 252, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 75, 0.85);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  color: var(--accent-cyan);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  transform: scale(0.5);
}

.btn-glow:hover::before {
  opacity: 1;
  transform: scale(1);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 85px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-lavender);
  margin-bottom: 24px;
  animation: pulse-border 3s infinite ease-in-out;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 10px #c084fc;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(192, 132, 252, 0.35); box-shadow: 0 0 0 rgba(192, 132, 252, 0); }
  50% { border-color: rgba(216, 180, 254, 0.7); box-shadow: 0 0 16px rgba(192, 132, 252, 0.3); }
}

.hero-title {
  font-size: clamp(1.35rem, 2.7vw, 2.7rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title .grad-text {
  display: block;
  white-space: nowrap;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.2rem, 5vw, 1.85rem);
    line-height: 1.4;
  }
  .hero-title-line,
  .hero-title .grad-text {
    white-space: normal;
    display: inline;
  }
}

.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 840px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(11, 17, 34, 0.5) 50%, transparent 100%);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

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

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

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

/* ==========================================================================
   Pricing Section (All in the same row / 同排显示)
   ========================================================================== */
.pricing-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.pricing-tabs {
  display: inline-flex;
  padding: 6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  gap: 6px;
}

.tab-btn {
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.45);
}

/* Pricing Row Grid: All plans horizontally aligned in the same row */
.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.pricing-card.popular {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.12) 0%, rgba(15, 23, 42, 0.88) 100%);
  box-shadow: 0 0 30px -5px rgba(192, 132, 252, 0.3);
}

.pricing-badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(192, 132, 252, 0.4);
}

.pricing-header {
  margin-bottom: 20px;
}

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

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
  line-height: 1.5;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.price-val {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.plan-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.spec-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.spec-item.strong-highlight {
  color: #ffffff;
  font-weight: 600;
}

.spec-item.strong-highlight svg {
  color: var(--accent-emerald);
}

.pricing-cta {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Nodes & Speed Section
   ========================================================================== */
.nodes-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.nodes-table th {
  padding: 16px 20px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.4);
}

.nodes-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(192, 132, 252, 0.08);
  color: var(--text-main);
}

.nodes-table tr:hover td {
  background: rgba(192, 132, 252, 0.04);
}

.node-region {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.node-flag {
  font-size: 1.4rem;
}

.ping-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: monospace;
}

.ping-fast {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.ping-good {
  background: rgba(192, 132, 252, 0.15);
  color: var(--accent-cyan);
}

.badge-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(192, 132, 252, 0.15);
  color: var(--accent-purple);
}

/* ==========================================================================
   Client Downloads Section
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
}

.client-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.client-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.client-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ==========================================================================
   Articles Section (SEO & Internal Links)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  background: var(--bg-card-hover);
  box-shadow: 0 0 25px -5px rgba(192, 132, 252, 0.35);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--accent-purple);
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  color: #ffffff;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-link-action {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: all var(--transition-fast);
}

.article-link-action:hover {
  color: #f3e8ff;
  transform: translateX(3px);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, 0.4);
}

.review-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

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

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
  will-change: border-color, box-shadow;
  contain: paint;
}

.faq-item:hover {
  border-color: rgba(192, 132, 252, 0.45);
}

.faq-item.active {
  border-color: var(--accent-purple);
  background-color: var(--bg-card-hover);
  box-shadow: 0 0 25px -5px rgba(192, 132, 252, 0.35);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-chevron {
  font-size: 1rem;
  color: var(--accent-purple);
  transition: transform 0.26s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
  will-change: transform;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-inner p {
  padding: 2px 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 70px 0;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.22) 0%, rgba(192, 132, 252, 0.18) 100%), var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(192, 132, 252, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 18px;
}

.cta-banner p {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: rgba(4, 7, 16, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-top:has(> :nth-child(4)) {
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
}

.footer-brand p {
  margin: 16px 0 20px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-external-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ext-link-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.ext-link-tag:hover {
  background: rgba(192, 132, 252, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Article Detail Page Layout (800~1500 words read)
   ========================================================================== */
.article-page-header {
  padding: 50px 0 30px;
  text-align: center;
}

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

.breadcrumb-nav a:hover {
  color: var(--accent-cyan);
}

.article-content-body {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
  margin-bottom: 70px;
}

.article-content-body h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #ffffff;
}

.article-content-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 36px 0 16px;
  color: #ffffff;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-content-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--accent-cyan);
}

.article-content-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.article-content-body ul, .article-content-body ol {
  margin: 0 0 24px 24px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
}

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

.article-content-body blockquote {
  padding: 18px 24px;
  border-left: 4px solid var(--accent-cyan);
  background: rgba(192, 132, 252, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.article-content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.article-content-body th, .article-content-body td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.article-content-body th {
  background: rgba(15, 23, 42, 0.6);
  color: var(--accent-cyan);
  font-weight: 700;
}

.article-cta-box {
  margin: 40px 0 20px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.18) 0%, rgba(192, 132, 252, 0.15) 100%);
  border: 1px solid var(--accent-cyan);
  text-align: center;
}

.article-cta-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.article-cta-box p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

.article-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.article-tag-pill {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  background: rgba(192, 132, 252, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.related-articles-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.related-articles-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .pricing-grid-same-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(6, 9, 19, 0.98);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 18px;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-toggle-btn {
    display: block;
  }
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pricing-grid-same-row {
    grid-template-columns: 1fr;
  }
  .features-grid, .articles-grid, .reviews-grid, .clients-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .article-content-body {
    padding: 24px 20px;
  }
  .hero-section {
    padding: 50px 0 40px;
  }
}
