/* ==========================================================================
   365VPN - Digital Nomad & Borderless Horizon Theme (数字游民无界风)
   Zero External Dependencies | Lightning Fast Performance
   ========================================================================== */

:root {
  --bg-dark: #080e18;
  --bg-card: #0f1929;
  --bg-card-hover: #152338;
  --bg-surface: #1b2d47;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #0ea5e9;
  --primary-hover: #0284c7;
  --accent-cyan: #38bdf8;
  --accent-gold: #f59e0b;
  --accent-amber: #fbbf24;
  --accent-green: #10b981;
  --accent-indigo: #6366f1;
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 45%, #f59e0b 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --gradient-glow: linear-gradient(180deg, rgba(14, 165, 233, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  --border-color: rgba(56, 189, 248, 0.14);
  --border-focus: rgba(14, 165, 233, 0.55);
  --border-glow: rgba(245, 158, 11, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -10px rgba(14, 165, 233, 0.35);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.14) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
    linear-gradient(to right, rgba(56, 189, 248, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: auto, auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   Typography & Common Elements
   ========================================================================== */

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

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

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

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

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 14, 24, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.45);
}

.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

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

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 160px 0 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  color: #fbbf24;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
  animation: pulse-glow 2.5s infinite;
}

.promo-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin: 0 auto 24px auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 38px auto;
  line-height: 1.7;
}

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

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(17, 23, 38, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
  padding: 10px;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

/* ==========================================================================
   Core Advantages & Dynamic Cards Section
   ========================================================================== */

.features-section {
  padding: 100px 0;
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  background: var(--bg-card-hover);
}

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

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-cyan);
}

.card-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
}

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

/* Streaming & AI Cards */
.media-ai-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.media-ai-card {
  background: linear-gradient(145deg, rgba(17, 23, 38, 0.95) 0%, rgba(22, 32, 53, 0.75) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.media-ai-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-ai-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.pill-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: var(--transition);
}

.pill-tag:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.pill-tag svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
  padding: 100px 0;
  background: rgba(13, 17, 28, 0.4);
  position: relative;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(22, 32, 53, 0.9) 0%, rgba(17, 23, 38, 0.95) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.25);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 0 45px rgba(59, 130, 246, 0.4);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pricing-price {
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.traffic-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  width: fit-content;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 60px;
}

.pricing-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ==========================================================================
   Why Choose Section (Deep Feature Analysis)
   ========================================================================== */

.why-section {
  padding: 100px 0;
  position: relative;
}

.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 90px;
}

.why-row:last-child {
  margin-bottom: 0;
}

.why-content h3 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
}

.why-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.why-point-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  margin-top: 3px;
  flex-shrink: 0;
}

.why-point-item strong {
  color: var(--text-main);
  display: block;
  font-size: 0.98rem;
}

.why-point-item span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Visual Dynamic Stats Panel (Row 1) */
.dynamic-dashboard-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.dashboard-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric-unit {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.progress-container {
  margin-top: 10px;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  width: 100%;
}

/* Geek Terminal Block (Row 2) */
.terminal-block {
  background: #0d1117;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.1);
  font-family: var(--font-mono);
}

.terminal-topbar {
  background: #161b22;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.dot-term {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-filename {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.terminal-body {
  padding: 20px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #e6edf3;
  overflow-x: auto;
}

.terminal-body .cmd {
  color: #58a6ff;
  font-weight: 600;
}

.terminal-body .prompt {
  color: #7ee787;
  margin-right: 8px;
}

.terminal-body .success {
  color: #3fb950;
}

.terminal-body .info {
  color: #8b949e;
}

.terminal-body .highlight {
  color: #f0883e;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #58a6ff;
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   Testimonials Marquee Section
   ========================================================================== */

.testimonials-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-bottom: 14px;
}

.testimonial-stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.testimonial-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.user-meta h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

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

/* ==========================================================================
   FAQ Section (Accordion Details & Summary)
   ========================================================================== */

.faq-section {
  padding: 100px 0;
  background: rgba(13, 17, 28, 0.4);
  position: relative;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.5);
  background: var(--bg-card-hover);
}

.faq-question {
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  color: var(--text-main);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ==========================================================================
   Secondary CTA Section
   ========================================================================== */

.secondary-cta-section {
  padding: 100px 0;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(59, 130, 246, 0.2);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.footer {
  background: #07090e;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 35px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
  .why-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-row.reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    height: 64px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-actions {
    display: none;
  }
  .hero-section {
    padding: 120px 0 70px 0;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .features-grid,
  .media-ai-container,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 40px 20px;
  }
  .cta-box h2 {
    font-size: 1.9rem;
  }
  .footer-nav {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }
  .testimonial-card {
    width: 290px;
  }
}


/* ==========================================================================
   Secondary Pages Styles (Sitemap, About, Terms, Privacy)
   ========================================================================== */

.page-hero {
  padding: 130px 0 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: rgba(13, 17, 28, 0.4);
}

.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

.article-section {
  padding: 60px 0 100px 0;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.article-block {
  margin-bottom: 36px;
}

.article-block:last-child {
  margin-bottom: 0;
}

.article-block h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-block p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 1rem;
}

.article-block ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.article-block li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.back-home-link:hover {
  text-decoration: underline;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sitemap-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sitemap-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--text-main);
}

.sitemap-list li {
  margin-bottom: 10px;
}

.sitemap-list a {
  color: #60a5fa;
  font-size: 0.95rem;
}

.sitemap-list a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .article-card {
    padding: 28px 20px;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   In-Depth SEO Articles Portal Styles (insights-8f2a.html)
   ========================================================================== */

.insights-hero {
  padding: 140px 0 60px 0;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

.insights-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.insights-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 820px;
  margin: 0 auto 28px auto;
  line-height: 1.7;
}

.toc-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-card);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.toc-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.toc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.toc-item:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateX(4px);
}

.toc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.toc-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.toc-link:hover {
  color: var(--accent-cyan);
}

/* Long Form SEO Article Cards */
.seo-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}

.seo-article-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.article-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 22px;
}

.article-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 14px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  font-weight: 600;
  font-size: 0.8rem;
}

.meta-badge.brand-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Article Typography */
.article-content {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.85;
}

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

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 32px 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.article-content h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 2px;
  display: inline-block;
}

.article-content h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 22px 0 12px 0;
}

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 22px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

/* Callout Info Box */
.callout-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 26px 0;
}

.callout-box.tip {
  border-left-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.04);
}

.callout-box.warning {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

.callout-box.pbn-recommend {
  border-left-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-left-width: 4px;
  border-radius: var(--radius-md);
}

.callout-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Backlink Styling */
.pbn-backlink {
  color: #60a5fa;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition);
}

.pbn-backlink:hover {
  color: var(--accent-cyan);
  text-decoration-color: var(--accent-cyan);
}

.internal-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition);
}

.internal-link:hover {
  color: #818cf8;
}

/* Data Table in Article */
.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

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

.article-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.article-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Code Snippet */
.code-box {
  background: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #58a6ff;
  overflow-x: auto;
  margin: 20px 0;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .insights-hero h1 {
    font-size: 2.1rem;
  }
  .seo-article-card {
    padding: 30px 20px;
  }
  .article-header h2 {
    font-size: 1.45rem;
  }
  .toc-container {
    padding: 20px 16px;
  }
}
