/* ==========================================================================
   大米机场官网 (bigme-jichang.cfd) - Global Stylesheet
   Theme: Rice Gold (丰饶金穗) & Deep Space Obsidian (科技墨黑)
   ========================================================================== */

:root {
  --primary-gold: #f59e0b;
  --primary-light: #fbbf24;
  --primary-glow: rgba(245, 158, 11, 0.35);
  --primary-dark: #b45309;
  --accent-gold: #fde047;
  --rice-cream: #fffbeb;
  
  --bg-dark: #07090e;
  --bg-surface: #0e131f;
  --bg-card: #141c2e;
  --bg-card-hover: #1a253c;
  --bg-glass: rgba(14, 19, 31, 0.75);
  
  --border-color: rgba(245, 158, 11, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.45);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.3);
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #38bdf8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold: 0 10px 30px -10px rgba(245, 158, 11, 0.35);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}

/* Ambient glow blobs */
.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -2;
  pointer-events: none;
  animation: floatSlow 18s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
}

.blob-2 {
  bottom: 20%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
}

.blob-3 {
  top: 50%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
  100% { transform: translate(30px, -20px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Links */
a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

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

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 6px 20px -4px rgba(245, 158, 11, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.6);
  color: #000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--primary-gold);
  color: var(--accent-gold);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

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

.pulse-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(30deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-150%) rotate(30deg); }
  30%, 100% { transform: translateX(150%) rotate(30deg); }
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.site-header.scrolled {
  height: 68px;
  background: rgba(7, 9, 14, 0.95);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

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

.logo-icon {
  font-size: 1.7rem;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
}

.logo-badge {
  font-size: 0.65rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  -webkit-text-fill-color: #000;
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  vertical-align: middle;
}

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

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

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

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--primary-light);
  border-radius: 3px;
  transition: var(--transition);
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--accent-gold);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fffbeb 0%, #fde047 30%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

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

.hero-subtitle strong {
  color: #fff;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 40px;
  background: rgba(14, 19, 31, 0.65);
  border: 1px solid var(--border-color);
  padding: 24px 30px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-num span {
  color: var(--primary-gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.device-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: var(--text-dim);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.device-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

/* ==========================================================================
   Features Section (核心优势)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), var(--shadow-gold);
}

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

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1);
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--primary-gold);
}

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

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

/* ==========================================================================
   Pricing Section (套餐价格板块 - 严格按照用户截图)
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 19, 31, 0.7) 50%, transparent 100%);
}

.pricing-table-card {
  background: #0f1523;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.9), 0 0 30px -10px rgba(245, 158, 11, 0.2);
  overflow: hidden;
  margin-bottom: 30px;
}

.table-header-custom {
  background: rgba(245, 158, 11, 0.08);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.table-header-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-badges-row {
  display: flex;
  gap: 10px;
}

.pill-badge {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.pill-badge.active-pill {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--primary-gold);
  color: var(--accent-gold);
}

/* Pricing Table */
.pricing-table-wrapper {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th {
  padding: 18px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #131b2c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table td {
  padding: 20px 28px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.pricing-table tbody tr {
  transition: var(--transition);
}

.pricing-table tbody tr:hover {
  background: rgba(245, 158, 11, 0.05);
}

.pricing-table tbody tr.highlight-row {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--primary-gold);
}

.plan-name-col {
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-tag {
  font-size: 0.72rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--primary-gold);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.plan-price-col {
  font-weight: 700;
  font-size: 1.15rem;
  color: #38bdf8; /* Blue accent as in screenshot */
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.plan-traffic-col {
  font-weight: 600;
  color: #e2e8f0;
}

.plan-device-col {
  color: var(--text-muted);
}

.plan-action-col {
  text-align: right;
}

/* Pricing Footnote Box */
.pricing-footnote {
  background: rgba(245, 158, 11, 0.06);
  border-left: 4px solid var(--primary-gold);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
}

.pricing-footnote strong {
  color: var(--accent-gold);
}

/* Pricing Cards View for Mobile & Tablet */
.pricing-cards-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
}

.plan-card.popular {
  border-color: var(--primary-gold);
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.3);
}

.plan-card-popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.plan-card-header {
  margin-bottom: 16px;
}

.plan-card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.plan-card-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #38bdf8;
  margin: 10px 0;
}

.plan-card-specs {
  list-style: none;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-card-specs li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
}

.plan-card-specs li span:last-child {
  color: #fff;
  font-weight: 600;
}

/* ==========================================================================
   Node Latency & Status Section (节点延迟和状态)
   ========================================================================== */
.nodes-board {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.board-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.board-status-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-indicator {
  width: 12px;
  height: 12px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--success);
  animation: pulseDot 2s infinite;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.node-card {
  background: rgba(14, 19, 31, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.node-card:hover {
  border-color: var(--border-glow);
  background: rgba(20, 28, 46, 0.9);
}

.node-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.node-flag-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
}

.node-type-tag {
  font-size: 0.72rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  padding: 2px 6px;
  border-radius: 4px;
}

.node-ping-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.node-ping-val {
  font-family: 'Plus Jakarta Sans', monospace;
  font-weight: 700;
  font-size: 1.1rem;
}

.ping-fast { color: var(--success); }
.ping-medium { color: var(--warning); }
.ping-normal { color: var(--info); }

.node-load-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.node-load-progress {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--success), var(--primary-gold));
  transition: width 1s ease;
}

.node-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.n-tag {
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

/* ==========================================================================
   Reviews / Testimonials (用户评价板块)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-card);
}

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

.review-text {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.05));
  border: 1px solid var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ Section (常见问题板块 - Accordion)
   ========================================================================== */
.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-card.open {
  border-color: var(--border-color);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 28px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary-gold);
  transition: var(--transition);
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
}

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

.faq-card.open .faq-answer {
  padding: 0 28px 24px;
  max-height: 500px;
}

/* ==========================================================================
   Knowledge Base / Tutorials Section on Homepage
   ========================================================================== */
.tutorials-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.tut-home-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.tut-home-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card);
}

.tut-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.tut-tag {
  font-size: 0.72rem;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.tut-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.tut-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
}

.tut-title a {
  color: #fff;
}

.tut-title a:hover {
  color: var(--primary-light);
}

.tut-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tut-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tut-read-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-light);
}

.tut-read-btn:hover {
  color: #fff;
}

/* ==========================================================================
   Article Pages Styles
   ========================================================================== */
.breadcrumb-container {
  padding: 95px 0 15px;
  background: rgba(14, 19, 31, 0.4);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  display: flex;
  list-style: none;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 10px;
  color: var(--text-dim);
}

.breadcrumb .active {
  color: var(--primary-light);
}

.article-main {
  padding: 40px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.article-content-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-meta-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tag-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--primary-gold);
  color: var(--accent-gold);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tag-date, .tag-read-time {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.article-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
}

.article-lead {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
}

.article-author-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--primary-gold);
}

.author-name {
  display: block;
  font-weight: 700;
  color: #fff;
}

.author-title {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Article CTA Box */
.article-cta-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(14, 19, 31, 0.9) 100%);
  border: 1px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 30px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-box-text h4 {
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.cta-box-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Article Body Typography */
.article-body h2 {
  font-size: 1.55rem;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  scroll-margin-top: 100px;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 28px 0 14px;
  color: var(--primary-light);
}

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

.article-body ul, .article-body ol {
  margin: 18px 0 24px 24px;
  color: #d1d5db;
  line-height: 1.8;
}

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

.article-body code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: Consolas, monospace;
  font-size: 0.9em;
}

.note-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--primary-gold);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: #e2e8f0;
  font-size: 0.96rem;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: rgba(14, 19, 31, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.styled-table th, .styled-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  text-align: left;
}

.styled-table th {
  background: rgba(245, 158, 11, 0.12);
  color: #fff;
  font-weight: 700;
}

.article-bottom-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(20, 28, 46, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 50px 0 40px;
}

.banner-badge {
  display: inline-block;
  background: var(--primary-gold);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.banner-inner h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.banner-inner p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 24px;
}

.banner-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Related articles */
.related-tutorials {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.related-card {
  background: rgba(14, 19, 31, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-3px);
}

.related-badge {
  font-size: 0.7rem;
  color: var(--primary-gold);
  margin-bottom: 8px;
}

.related-card h4 {
  font-size: 0.98rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.related-card h4 a {
  color: #fff;
}

.related-card h4 a:hover {
  color: var(--primary-light);
}

.related-card p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Sidebar */
.article-sidebar {
  position: relative;
}

.sticky-widget {
  position: sticky;
  top: 96px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.widget-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.toc-list ul {
  list-style: none;
}

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

.toc-list a {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  display: block;
}

.toc-list a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.sidebar-promo {
  margin-top: 28px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.promo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.promo-header h5 {
  font-size: 1rem;
  color: var(--accent-gold);
}

.promo-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.promo-price {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 16px;
}

.promo-price span {
  font-size: 1.6rem;
  font-weight: 800;
  color: #38bdf8;
}

.promo-support {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 10px;
}

/* Tutorials Archive Page */
.tutorials-hero {
  padding: 130px 0 50px;
  text-align: center;
}

.hero-search-box {
  max-width: 600px;
  margin: 30px auto 0;
  position: relative;
}

.hero-search-box input {
  width: 100%;
  padding: 16px 50px 16px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.hero-search-box input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.search-icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.1rem;
}

.tutorials-list-section {
  padding: 40px 0 100px;
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

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

.card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.article-num {
  font-size: 0.78rem;
  font-family: monospace;
  color: var(--text-dim);
}

.article-tag {
  font-size: 0.72rem;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 14px;
}

.card-title a {
  color: #fff;
}

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

.card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
}

.word-count {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #06080c;
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  padding: 80px 0 0;
  color: var(--text-muted);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-dim);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--success);
  border-radius: 50%;
}

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

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-top: 16px;
  margin-bottom: 10px;
  color: var(--text-dim);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-badges {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1080px) {
  .features-grid,
  .reviews-grid,
  .tutorials-home-grid,
  .tutorials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    order: 2;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #090d16;
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    display: none;
  }
  .main-nav.active {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-actions .btn-outline {
    display: none;
  }
  .features-grid,
  .reviews-grid,
  .tutorials-home-grid,
  .tutorials-grid,
  .nodes-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .pricing-table-card {
    display: none; /* Hide wide table on mobile, show card list */
  }
  .pricing-cards-grid {
    display: grid;
  }
  .article-content-wrapper {
    padding: 24px 18px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
