/* ==========================================================================
   拼好连机场 (PinHaoLian Airport) - Design System & Retro Cartridge Theme
   Visual Theme: 90s Handheld Game Boy Cartridge & Expansion Bus System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700;900&family=Press+Start+2P&display=swap');

:root {
  /* Color Palette - Cold Grey Engineering Plastic & Retro Handheld Hardware */
  --bg-main: #EEF0F3;
  --bg-pattern: #E3E7ED;
  --cartridge-bg: #FFFFFF;
  --cartridge-alt: #F4F6F9;
  --cartridge-dark: #2B303A;
  --cartridge-border: #D1D5DB;
  
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  
  --gold-finger-start: #F5D77F;
  --gold-finger-mid: #D4AF37;
  --gold-finger-end: #997A15;
  
  --lcd-bg: #142211;
  --lcd-screen: #1D3217;
  --lcd-text: #55FF55;
  --lcd-dim: #265922;
  --lcd-grid: rgba(85, 255, 85, 0.08);
  
  --brand-red: #D9381E;      /* Game Boy Button Red */
  --brand-purple: #4B3869;   /* Game Boy Color Purple */
  --brand-cyan: #00A896;     /* Expansion LED Cyan */
  --brand-blue: #2563EB;     /* Cable Slate Blue */

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-card: 0 8px 20px -4px rgba(28, 36, 52, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-inset: inset 0 3px 6px rgba(0, 0, 0, 0.12), inset 0 -1px 2px rgba(255, 255, 255, 0.5);

  --font-sans: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono: 'Chakra Petch', monospace;
  --font-pixel: 'Press Start 2P', monospace;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-cartridge: 10px 10px 4px 4px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-image: 
    radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 0),
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 24px 24px, 12px 12px, 12px 12px;
  background-position: 0 0, 0 0, 0 0;
  overflow-x: hidden;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.badge-pixel {
  background: var(--lcd-screen);
  color: var(--lcd-text);
  border: 1px solid var(--lcd-dim);
  box-shadow: 0 0 8px rgba(85, 255, 85, 0.2);
}

.badge-gold {
  background: linear-gradient(135deg, #FFF6D6 0%, #FFE082 100%);
  color: #795548;
  border: 1px solid #E6C667;
}

.badge-danger {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

/* Hardcoded Header / Cartridge Bus Header */
.cartridge-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(238, 240, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid #D1D5DB;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

/* Brand Logo (Cartridge Monogram) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none !important;
}

.cartridge-icon-box {
  width: 42px;
  height: 44px;
  background: #343A46;
  border-radius: 6px 6px 2px 2px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 6px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px;
  overflow: hidden;
}

.cartridge-icon-notch {
  height: 4px;
  background: #1F242D;
  border-radius: 2px;
  margin-bottom: 2px;
}

.cartridge-icon-label {
  flex: 1;
  background: linear-gradient(135deg, #D9381E 0%, #A9230E 100%);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: -0.5px;
}

.cartridge-icon-teeth {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  height: 6px;
  margin-top: 2px;
}

.cartridge-icon-teeth span {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-finger-start), var(--gold-finger-end));
  border-radius: 1px 1px 0 0;
}

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

.brand-name {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-red);
  background: rgba(217, 56, 30, 0.06);
  text-decoration: none;
}

.nav-link.active {
  color: var(--brand-red);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
}

/* Action Button: Cartridge Insert Call-To-Action */
.btn-cartridge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  background: linear-gradient(180deg, #E6452B 0%, #C42B12 100%);
  border: 1px solid #991B1B;
  border-radius: 6px;
  box-shadow: 
    0 4px 0 #881337,
    0 8px 16px rgba(217, 56, 30, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none !important;
  position: relative;
  user-select: none;
}

.btn-cartridge:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 #881337,
    0 12px 20px rgba(217, 56, 30, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn-cartridge:active {
  transform: translateY(3px);
  box-shadow: 
    0 1px 0 #881337,
    0 4px 8px rgba(217, 56, 30, 0.2);
}

.btn-cartridge-gold {
  background: linear-gradient(180deg, #E5C358 0%, #B8891B 100%);
  border-color: #855C00;
  color: #1F1905;
  box-shadow: 
    0 4px 0 #614300,
    0 8px 16px rgba(184, 137, 27, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-cartridge-gold:hover {
  color: #1F1905;
  box-shadow: 
    0 6px 0 #614300,
    0 12px 20px rgba(184, 137, 27, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-cartridge-gold:active {
  box-shadow: 
    0 1px 0 #614300,
    0 4px 8px rgba(184, 137, 27, 0.2);
}

.btn-cartridge-dark {
  background: linear-gradient(180deg, #374151 0%, #1F2937 100%);
  border-color: #111827;
  color: #F9FAFB;
  box-shadow: 
    0 4px 0 #030712,
    0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-cartridge-dark:hover {
  color: #F9FAFB;
  box-shadow: 
    0 6px 0 #030712,
    0 12px 20px rgba(0, 0, 0, 0.3);
}

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

/* ==========================================================================
   Hero Section: Handheld Cartridge & Expansion Bus
   ========================================================================== */
.hero-section {
  padding: 4rem 0 3rem;
  position: relative;
}

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

.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--brand-red);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(217, 56, 30, 0.18);
  border-radius: 3px;
}

.hero-desc {
  font-size: 1.1rem;
  color: #4B5563;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.stat-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 8-Bit LCD & Cartridge Visual Console Component */
.cartridge-bus-console {
  background: #373E4D;
  border-radius: 16px 16px 8px 8px;
  padding: 1.5rem;
  box-shadow: 
    0 20px 40px -10px rgba(17, 24, 39, 0.25),
    inset 0 2px 1px rgba(255, 255, 255, 0.15),
    inset 0 -4px 8px rgba(0, 0, 0, 0.4);
  border: 2px solid #232731;
  position: relative;
}

/* Cartridge Slot on top of Console */
.console-slot-header {
  height: 24px;
  background: #1E232D;
  border-radius: 8px 8px 0 0;
  border-bottom: 3px solid #11141A;
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.slot-warning {
  font-family: var(--font-pixel);
  font-size: 8px;
  color: #9CA3AF;
  letter-spacing: 1px;
}

.slot-pins-preview {
  display: flex;
  gap: 3px;
}

.slot-pins-preview span {
  width: 4px;
  height: 8px;
  background: var(--gold-finger-mid);
  border-radius: 1px;
}

/* LCD Matrix Display Container */
.lcd-display-screen {
  background: var(--lcd-bg);
  border: 4px solid #1A1F29;
  border-radius: 8px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.9);
}

.lcd-display-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--lcd-grid) 1px, transparent 1px), linear-gradient(90deg, var(--lcd-grid) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.lcd-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  pointer-events: none;
}

.lcd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--lcd-dim);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.lcd-status-dot {
  width: 8px;
  height: 8px;
  background: var(--lcd-text);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lcd-text);
  animation: lcdPulse 1.5s infinite alternate;
}

@keyframes lcdPulse {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.lcd-title {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--lcd-text);
  letter-spacing: 1px;
}

.lcd-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--lcd-text);
}

.lcd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(38, 89, 34, 0.15);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--lcd-dim);
}

.lcd-label {
  color: #82D173;
  font-weight: 500;
}

.lcd-value {
  font-weight: 700;
  color: #A3FF9E;
}

/* Dynamic Hardware Cartridges Showcase Grid */
.cartridge-cards-showcase {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.micro-cartridge-item {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-cartridge);
  padding: 0.85rem;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
}

.micro-cartridge-item:hover, .micro-cartridge-item.active {
  transform: translateY(-4px);
  border-color: var(--brand-red);
  box-shadow: 0 8px 15px rgba(217, 56, 30, 0.15);
}

.micro-cartridge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.micro-cartridge-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: #1E293B;
}

.micro-cartridge-speed {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
}

/* Exposed Gold Fingers styling */
.gold-finger-strip {
  height: 10px;
  background: #232832;
  border-radius: 0 0 3px 3px;
  margin: 0.5rem -0.85rem -0.85rem -0.85rem;
  padding: 0 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.gold-finger-teeth {
  display: flex;
  gap: 2px;
  width: 100%;
  height: 7px;
}

.gold-finger-teeth i {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-finger-start) 0%, var(--gold-finger-mid) 60%, var(--gold-finger-end) 100%);
  border-radius: 1px 1px 0 0;
  box-shadow: 0 0 2px rgba(212, 175, 55, 0.5);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(217, 56, 30, 0.08);
  border: 1px solid rgba(217, 56, 30, 0.2);
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   Core Advantages Grid (Micro Cartridge Cards)
   ========================================================================== */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cartridge-card {
  background: var(--cartridge-bg);
  border: 1px solid var(--cartridge-border);
  border-radius: 12px 12px 6px 6px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cartridge-card:hover {
  transform: translateY(-6px);
  border-color: #9CA3AF;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
}

.cartridge-card-notch {
  height: 8px;
  background: #E5E7EB;
  border-bottom: 1px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem;
}

.cartridge-card-notch::after {
  content: '';
  width: 24px;
  height: 3px;
  background: #9CA3AF;
  border-radius: 2px;
}

.cartridge-card-body {
  padding: 2rem;
  flex: 1;
}

.cartridge-icon-badge {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  color: var(--brand-red);
}

.cartridge-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
}

.cartridge-card-text {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.6;
}

/* Card Gold Finger Footer */
.cartridge-gold-footer {
  background: #1F2937;
  padding: 0.6rem 1.5rem 0.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.gold-teeth-bar {
  display: flex;
  gap: 3px;
  width: 100%;
  height: 10px;
}

.gold-teeth-bar span {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-finger-start) 0%, var(--gold-finger-mid) 70%, var(--gold-finger-end) 100%);
  border-radius: 1px 1px 0 0;
}

/* ==========================================================================
   Pricing Section (Hardware Cartridge Plans)
   ========================================================================== */
.pricing-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.4);
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pricing-card {
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 16px 16px 8px 8px;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.pricing-card.popular {
  border-color: var(--brand-red);
  transform: scale(1.03);
  box-shadow: 0 20px 40px -10px rgba(217, 56, 30, 0.18);
}

.pricing-card.popular::before {
  content: 'HOT / 推荐卡带';
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--brand-red);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 8px rgba(217, 56, 30, 0.3);
}

.pricing-plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 42px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed #E5E7EB;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-red);
}

.pricing-amount {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

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

.pricing-features {
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #374151;
  margin-bottom: 0.85rem;
}

.pricing-features li i {
  color: #10B981;
  font-weight: bold;
}

/* ==========================================================================
   Target Audience Section
   ========================================================================== */
.audience-section {
  padding: 5rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: var(--cartridge-bg);
  border: 1px solid var(--cartridge-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-card);
}

.audience-icon {
  width: 60px;
  height: 60px;
  background: #EFF6FF;
  color: var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

.audience-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.audience-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Tutorial Hub Section (Clash & Clash Party Interactive Steps)
   ========================================================================== */
.tutorials-section {
  padding: 5rem 0;
  background: #F3F4F6;
  border-top: 1px solid #E5E7EB;
}

.tutorial-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.75rem 1.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  background: #FFFFFF;
  border: 2px solid #D1D5DB;
  border-radius: 8px;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--cartridge-dark);
  border-color: var(--cartridge-dark);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tutorial-card-box {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.tutorial-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  position: relative;
  padding: 1.5rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(217, 56, 30, 0.2);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.6;
}

/* Code block inside step */
.code-box {
  background: #1E293B;
  color: #F8FAFC;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-top: 0.75rem;
  overflow-x: auto;
  position: relative;
}

.code-box .copy-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
  border: none;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.code-box .copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   User Reviews & Testimonials Section
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.review-info-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
}

.review-info-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid #E5E7EB;
}

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--brand-red);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  background: #FAFAFA;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top-color: #F3F4F6;
  transition: max-height 0.5s ease-in-out;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Article Directory Grid & Single Article Typography
   ========================================================================== */
.articles-section {
  padding: 5rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

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

.article-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-title a {
  color: inherit;
  text-decoration: none;
}

.article-title a:hover {
  color: var(--brand-red);
}

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

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

/* Single Article Styling */
.article-container {
  max-width: 900px;
  margin: 3rem auto 5rem;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 16px;
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb span.sep {
  color: #D1D5DB;
}

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

.article-main-title {
  font-size: 2.35rem;
  font-weight: 900;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

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

/* Article Body Typography */
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #EEF0F3;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1F2937;
  margin: 2rem 0 1rem;
}

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

.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.5rem;
  list-style-type: disc;
}

.article-body ol {
  list-style-type: decimal;
}

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

.article-body blockquote {
  border-left: 4px solid var(--brand-red);
  background: #FFF5F5;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
  font-style: italic;
  color: #4B5563;
}

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

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

.article-body table th {
  background: #F9FAFB;
  font-weight: 700;
  color: #111827;
}

.article-body table tr:nth-child(even) {
  background: #FAFAFA;
}

/* Custom Callout Box inside Article */
.callout-box {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.75rem 0;
}

.callout-title {
  font-weight: 700;
  color: #0369A1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Related Recommendations Component */
.related-posts-block {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 2px dashed #E5E7EB;
}

.related-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.5rem;
}

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

.related-item-card {
  padding: 1.25rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.related-item-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.related-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
}

/* Article FAQ Block */
.article-faq-block {
  margin-top: 3.5rem;
  padding: 2.25rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.article-faq-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================================================
   Footer Component & Legal Links
   ========================================================================== */
.site-footer {
  background: #1F242D;
  color: #9CA3AF;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--brand-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9CA3AF;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-links-list a {
  color: #9CA3AF;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6B7280;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hardware Cartridge Decorative Footer Banner */
.cartridge-bus-strip-banner {
  height: 12px;
  background: linear-gradient(90deg, #111827 0%, #1F2937 50%, #111827 100%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  overflow: hidden;
}

.cartridge-bus-strip-banner span {
  width: 12px;
  height: 8px;
  background: linear-gradient(180deg, var(--gold-finger-start), var(--gold-finger-end));
  border-radius: 1px 1px 0 0;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .features-grid, .pricing-grid, .reviews-grid, .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #EEF0F3;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-bottom: 2px solid #D1D5DB;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .features-grid, .pricing-grid, .reviews-grid, .articles-grid, .tutorial-steps-grid, .audience-grid, .related-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: none;
  }
  .article-container {
    padding: 1.75rem;
  }
  .article-main-title {
    font-size: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
