/* ==========================================================================
   YTToolBox Core Frontend Stylesheet
   Modern, Fast, Dark/Light Mode, 100% Responsive, SEO-Friendly
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Dark Mode Palette (Default) */
  --bg-primary: #0F1217;
  --bg-secondary: #161B22;
  --bg-card: #1D232C;
  --bg-card-hover: #232B36;
  --border-color: #2D3542;
  --border-light: #384252;
  
  --text-primary: #F0F3F6;
  --text-secondary: #9DA7B5;
  --text-muted: #6E798A;
  
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-light: rgba(245, 158, 11, 0.12);
  
  --danger: #EF4444;
  --success: #10B981;
  --info: #3B82F6;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  
  --container-max: 1200px;
}

[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --border-color: #E2E8F0;
  --border-light: #CBD5E1;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --accent: #EA580C;
  --accent-hover: #C2410C;
  --accent-light: rgba(234, 88, 12, 0.1);
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Global Sleek Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #384252 transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #2D3542;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4A5568;
}

[data-theme="light"] * {
  scrollbar-color: #CBD5E1 transparent;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #CBD5E1;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

pre, code, table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

main {
  flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-sm { padding: 7px 14px; font-size: 0.875rem; }
.btn-md { padding: 10px 20px; font-size: 0.95rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #111827;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 18, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

[data-theme="light"] .site-header {
  background-color: rgba(255, 255, 255, 0.85);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Theme-Aware Logo Switching
   - In Dark Mode: Show yttoolbox_white.png (.logo-dark-theme), hide yttoolbox.png (.logo-light-theme)
   - In Light Mode: Show yttoolbox.png (.logo-light-theme), hide yttoolbox_white.png (.logo-dark-theme)
*/
.logo-dark-theme { display: block !important; }
.logo-light-theme { display: none !important; }

[data-theme="dark"] .logo-dark-theme { display: block !important; }
[data-theme="dark"] .logo-light-theme { display: none !important; }

[data-theme="light"] .logo-dark-theme { display: none !important; }
[data-theme="light"] .logo-light-theme { display: block !important; }

/* Backward compatibility / aliases */
.logo-for-dark { display: block !important; }
.logo-for-light { display: none !important; }
[data-theme="dark"] .logo-for-dark { display: block !important; }
[data-theme="dark"] .logo-for-light { display: none !important; }
[data-theme="light"] .logo-for-dark { display: none !important; }
[data-theme="light"] .logo-for-light { display: block !important; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background-color: var(--bg-card);
}

.nav-highlight {
  color: var(--accent) !important;
}

.nav-badge {
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

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

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 36px 8px 12px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  width: 190px;
  transition: width 0.2s ease, border-color 0.2s ease;
  outline: none;
}

.search-input:focus {
  width: 240px;
  border-color: var(--accent);
}

.search-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* ==========================================================================
   Header Action Buttons & Continuous Animations
   ========================================================================== */
/* 1. "YT Tools" Animated Header Button */
.btn-header-tools {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.25s ease;
  animation: continuousToolsPulse 3.5s infinite ease-in-out;
}

[data-theme="light"] .btn-header-tools {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="dark"] .btn-header-tools {
  background: #161B22 !important;
  border-color: #2D3542 !important;
  color: #F0F3F6 !important;
}

.btn-header-tools:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.btn-icon-animated {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  animation: continuousSparkle 2.2s infinite ease-in-out;
}

@keyframes continuousSparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(245, 158, 11, 0));
  }
  50% {
    transform: scale(1.22) rotate(-8deg);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.9));
  }
}

@keyframes continuousToolsPulse {
  0%, 100% {
    border-color: var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  50% {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(234, 88, 12, 0.3);
  }
}

/* 2. "Free Creator Kit" Continuous Animated Shimmer CTA Button */
.btn-header-kit {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 50%, #F59E0B 100%);
  background-size: 200% 200%;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  animation: 
    continuousGradientFlow 4s ease infinite,
    continuousKitGlow 2.8s infinite ease-in-out;
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Continuous Light Sweep / Sheen Wipe */
.btn-header-kit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: continuousSweep 2.8s infinite ease-in-out;
}

.btn-header-kit:hover {
  transform: translateY(-1.5px) scale(1.02);
  filter: brightness(1.08);
}

.btn-icon-animated-kit {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  animation: continuousGiftWiggle 2.5s infinite ease-in-out;
}

@keyframes continuousGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes continuousSweep {
  0% { left: -120%; }
  45%, 100% { left: 220%; }
}

@keyframes continuousKitGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35), 0 0 0 0 rgba(234, 88, 12, 0.4);
  }
  50% {
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.65), 0 0 0 3px rgba(245, 158, 11, 0.2);
  }
}

@keyframes continuousGiftWiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  15% { transform: scale(1.15) rotate(-10deg); }
  30% { transform: scale(1.15) rotate(10deg); }
  45% { transform: scale(1) rotate(0deg); }
}

/* Header Responsive rules for CTAs */
@media (max-width: 1200px) {
  .search-input {
    width: 150px;
  }
  .search-input:focus {
    width: 190px;
  }
  .btn-header-tools {
    padding: 7px 11px;
    font-size: 0.82rem;
  }
  .btn-header-kit {
    padding: 7px 13px;
    font-size: 0.82rem;
  }
}

@media (max-width: 992px) {
  .btn-text-tools {
    display: none;
  }
  .btn-header-tools {
    padding: 7px 10px;
  }
}

@media (max-width: 768px) {
  .btn-header-tools {
    display: none;
  }
  .btn-header-kit {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
  background: radial-gradient(circle at 50% -10%, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}

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

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

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  max-width: 860px;
  margin: 0 auto 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-quick-tools {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

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

.quick-pill {
  font-size: 0.82rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.quick-pill:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Homepage Channel Audit Featured Showcase
   ========================================================================== */
.audit-showcase-section {
  padding: 50px 0 30px 0;
}

.audit-showcase-card {
  position: relative;
  border-radius: var(--radius-xl, 24px);
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.16);
  padding: 46px 48px;
  transition: all 0.3s ease;
}

.audit-showcase-glow {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.audit-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.audit-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.28);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.audit-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF7A00;
  box-shadow: 0 0 10px #FF7A00;
  animation: pulseDot 2s infinite ease-in-out;
}

.audit-showcase-title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.audit-showcase-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
  max-width: 580px;
}

/* Direct Audit Form */
.home-audit-form {
  margin-bottom: 24px;
}

.home-audit-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  padding: 6px 8px 6px 18px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.home-audit-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16), 0 8px 24px -6px rgba(0, 0, 0, 0.15);
}

.home-audit-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.home-audit-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  padding: 10px 0;
  min-width: 0;
  font-family: inherit;
  font-weight: 500;
}

.home-audit-input::placeholder {
  color: var(--text-muted);
}

.home-audit-btn {
  border-radius: 40px !important;
  padding: 12px 24px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.home-audit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.45) !important;
}

.home-audit-arrow {
  transition: transform 0.2s ease;
}

.home-audit-btn:hover .home-audit-arrow {
  transform: translateX(3px);
}

/* Demo Chips */
.home-audit-demos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12.5px;
}

.demos-label {
  color: var(--text-muted);
  font-weight: 600;
}

.demo-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 16px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.demo-chip:hover {
  background: rgba(255, 122, 0, 0.12);
  color: var(--accent);
  border-color: rgba(255, 122, 0, 0.35);
  transform: translateY(-1px);
}

/* Deliverables Grid */
.audit-deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.deliverable-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.deliverable-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.deliverable-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.deliverable-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.deliverable-text span {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.audit-guarantee-note {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 500;
}

.audit-guarantee-note .dot-sep {
  opacity: 0.5;
}

/* Right Mockup Preview */
.audit-showcase-right {
  display: flex;
  justify-content: center;
}

.audit-preview-mockup {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.22);
  transition: all 0.3s ease;
  position: relative;
}

.audit-preview-mockup:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.4);
  box-shadow: 0 20px 44px -8px rgba(255, 122, 0, 0.15);
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-dots .dot.red { background: #EF4444; }
.mockup-dots .dot.yellow { background: #F59E0B; }
.mockup-dots .dot.green { background: #10B981; }

.mockup-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}

.mockup-channel-header {
  position: relative;
  margin-bottom: 14px;
}

.mockup-banner-wrap {
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0f172a 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mockup-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.mockup-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3.5px solid var(--bg-card);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-channel-meta {
  min-width: 0;
  flex: 1;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mockup-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.25;
}

.mockup-verified {
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.4;
  white-space: nowrap;
}

[data-theme="dark"] .mockup-verified {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border-color: rgba(52, 211, 153, 0.35);
}

.mockup-handle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* Mockup Earnings Banner */
.mockup-earnings-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, var(--bg-secondary) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.mockup-earn-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.mockup-earn-val {
  font-size: 20px;
  font-weight: 900;
  color: #10B981;
  margin: 3px 0 2px 0;
}

[data-theme="dark"] .mockup-earn-val {
  color: #34D399;
}

.mockup-earn-period {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.mockup-earn-sub {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Mockup Score Row */
.mockup-score-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.mockup-grade-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grade-letter {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.grade-text {
  display: flex;
  flex-direction: column;
}

.grade-text strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.grade-text span {
  font-size: 10.5px;
  color: var(--text-muted);
}

.mockup-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-secondary);
}

.m-bar-label {
  width: 44px;
  text-align: right;
  font-size: 9.5px;
  color: var(--text-muted);
}

.m-track {
  flex: 1;
  height: 5px;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.m-fill {
  height: 100%;
  border-radius: 3px;
}

/* Mockup Top Hit */
.mockup-top-hit {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.hit-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #FF7A00;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.hit-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hit-thumb-placeholder {
  width: 40px;
  height: 24px;
  border-radius: 4px;
  background: #0F172A;
  color: #FF7A00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.hit-details {
  min-width: 0;
  flex: 1;
}

.hit-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hit-meta {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

.mockup-full-link {
  width: 100%;
  justify-content: center;
  padding: 9px 16px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .audit-showcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .audit-showcase-card {
    padding: 36px 28px;
  }
}

@media (max-width: 640px) {
  .audit-showcase-title {
    font-size: 1.75rem;
  }
  .audit-showcase-card {
    padding: 24px 18px;
  }
  .home-audit-input-wrap {
    flex-direction: column;
    border-radius: 18px;
    padding: 12px 14px;
    gap: 10px;
  }
  .home-audit-input {
    width: 100%;
    text-align: center;
  }
  .home-audit-btn {
    width: 100%;
    justify-content: center;
  }
  .audit-deliverables-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section Headers & Cards
   ========================================================================== */
.section {
  padding: 60px 0;
}

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

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px;
}

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

.section-cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.tool-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.tool-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tool-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

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

.tool-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.tool-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tool-card-link:hover .arrow {
  transform: translateX(3px);
}

/* Category Pills */
.categories-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.category-pill {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
}

.category-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cat-name { font-weight: 600; color: var(--text-primary); }
.cat-count { font-size: 0.82rem; color: var(--text-muted); }

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.post-thumb-link {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #0b0d11;
}

.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-thumb {
  transform: scale(1.03);
}

.post-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.post-cat-badge {
  background-color: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

.post-cat-badge:hover {
  background-color: var(--accent);
  color: #FFFFFF;
}

.post-reading-time {
  color: var(--text-muted);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-views-count,
.post-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  user-select: none;
}

.post-card:hover .post-views-count,
.post-card:hover .post-views {
  color: var(--accent);
  border-color: rgba(255, 62, 0, 0.35);
  background: rgba(255, 62, 0, 0.05);
}

.views-icon {
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.85;
}

/* Related Guides Widget Meta */
.related-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.related-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  background: rgba(255, 62, 0, 0.08);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.post-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.post-card-title a:hover {
  color: var(--accent);
}

.post-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.post-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Creator Kit Banner (100% Theme Adaptive) */
.creator-kit-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 36px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .creator-kit-banner {
  background: linear-gradient(135deg, #1A1F29 0%, #11141A 100%);
  border-color: var(--border-color);
}

[data-theme="light"] .creator-kit-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.banner-badge {
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.banner-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text-primary) !important;
}

[data-theme="dark"] .banner-title {
  color: #F0F3F6 !important;
}

[data-theme="light"] .banner-title {
  color: #0F172A !important;
}

.banner-desc {
  color: var(--text-secondary) !important;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.6;
}

[data-theme="dark"] .banner-desc {
  color: #9DA7B5 !important;
}

[data-theme="light"] .banner-desc {
  color: #475569 !important;
}

.banner-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Single Article & Blog Page
   ========================================================================== */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

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

.breadcrumb-trail .current {
  color: var(--text-secondary);
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-header {
  padding-top: 36px;
  margin-bottom: 28px;
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.article-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
}

.article-author-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.author-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #111;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.publish-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-hero-media {
  margin-bottom: 40px;
}

.article-featured-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}

/* Prose Typography for Article Content */
.prose {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.prose h2 {
  font-size: 1.85rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.prose h3 {
  font-size: 1.4rem;
  margin: 30px 0 12px;
}

.prose p {
  margin-bottom: 20px;
}

.prose ul, .prose ol {
  margin: 20px 0 24px 26px;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  border-left: 4px solid var(--accent);
  background-color: var(--bg-card);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.prose pre, .prose code {
  font-family: var(--font-mono);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.prose code {
  padding: 2px 6px;
  font-size: 0.9em;
}

.prose pre {
  padding: 16px;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-color);
}

.prose img {
  border-radius: var(--radius-md);
  margin: 28px 0;
  border: 1px solid var(--border-color);
}

/* Table of Contents */
.toc-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.toc-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.toc-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.toc-h3 {
  padding-left: 18px;
  font-size: 0.88rem;
}

/* Share Bar & Author Bio */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 36px 0;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  cursor: pointer;
}

.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.author-bio-card {
  display: flex;
  gap: 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 36px;
}

.author-bio-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #111;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-bio-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.author-bio-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.widget-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.related-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.related-thumb {
  width: 80px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.related-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: auto;
}

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

.brand-col .footer-tagline {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 14px 0;
  max-width: 320px;
}

.footer-disclaimer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

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

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

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-visits-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 62, 0, 0.05);
  border: 1px solid rgba(255, 62, 0, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

[data-theme="dark"] .footer-visits-pill {
  background: rgba(255, 62, 0, 0.08);
  border-color: rgba(255, 62, 0, 0.25);
}

.footer-visits-pill:hover {
  background: rgba(255, 62, 0, 0.12);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.visit-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  position: relative;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-visit 2s infinite ease-out;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulse-visit {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.visit-label {
  color: var(--text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.visit-counter-num {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom-links .sep {
  opacity: 0.4;
}

/* ==========================================================================
   YouTube Tools Interactive App Shell
   ========================================================================== */
/* ==========================================================================
   YOUTUBE TOOLS APPLICATION SUITE
   100% Theme-Adaptive (Dark & Light Mode), Ultra Fast, Clean & User-Friendly
   ========================================================================== */
.tools-app-wrapper {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: calc(100vh - 70px);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.shell {
  display: flex;
  min-height: calc(100vh - 70px);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Left Sidebar Rail */
.rail {
  width: 270px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

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

.brand-text .display {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-text .display span {
  color: var(--accent);
}

.brand-text p {
  margin: 3px 0 0;
  font-size: 11.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.home-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.home-btn svg {
  width: 16px !important;
  height: 16px !important;
}

.home-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-light);
}

.navscroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}

.navscroll::-webkit-scrollbar {
  width: 5px;
}

.navscroll::-webkit-scrollbar-track {
  background: transparent;
}

.navscroll::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.nav-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 16px 8px 6px;
}

.nav-cat svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  color: var(--accent);
  flex-shrink: 0;
  display: inline-block;
}

.navlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlist li {
  margin-bottom: 2px;
}

.navbtn {
  width: 100%;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.navbtn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.navbtn.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--accent);
}

.rail-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Main Workspace Area */
.main {
  flex: 1;
  padding: 24px 36px 60px;
  max-width: 1100px;
  width: 100%;
}

.panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  margin-bottom: 32px;
}

.panel.active {
  display: block;
}

.tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
}

.tool-head-text {
  flex: 1;
}

.tool-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.tool-head p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

.link-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.link-copy-btn svg {
  width: 15px;
  height: 15px;
}

.link-copy-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.link-copy-btn.copied {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10B981;
  color: #10B981;
}

/* Tool Input Fields */
.field-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.field-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field-col label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.tools-app-wrapper input[type=text],
.tools-app-wrapper input[type=password],
.tools-app-wrapper input[type=number],
.tools-app-wrapper select,
.tools-app-wrapper textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  flex: 1;
  min-width: 240px;
}

.tools-app-wrapper input:focus,
.tools-app-wrapper select:focus,
.tools-app-wrapper textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.tools-app-wrapper textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Tool Buttons */
.tools-app-wrapper button.primary {
  background: var(--accent);
  color: #FFFFFF !important;
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
  white-space: nowrap;
}

.tools-app-wrapper button.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.tools-app-wrapper button.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.tools-app-wrapper button.ghost {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tools-app-wrapper button.ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.tools-app-wrapper button.copybtn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tools-app-wrapper button.copybtn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.hint {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.error {
  font-size: 13.5px;
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

.status {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 10px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 28px 0;
}

.result-box {
  display: none;
  margin-top: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.6;
}

/* Thumbnail Grid Cards */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.thumb-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.thumb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.thumb-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-primary);
  display: block;
}

.thumb-card-body {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}

.thumb-res {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.thumb-res b {
  color: var(--text-primary);
  font-size: 13px;
}

.dl-link {
  background: var(--accent);
  color: #FFFFFF !important;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dl-link:hover {
  background: var(--accent-hover);
}

/* Reference Tables */
.ref-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.ref-table th,
.ref-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  font-size: 13.5px;
  text-align: left;
}

.ref-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
}

.ref-table td {
  color: var(--text-secondary);
}

/* Ad Containers (Zero intrusion when empty or on localhost) */
.ad-container-top,
.ad-container-mid,
.ad-container-bottom {
  margin: 0 auto;
  text-align: center;
}

ins.adsbygoogle[data-ad-status="unfilled"],
.ad-container-top:empty,
.ad-container-mid:empty,
.ad-container-bottom:empty {
  display: none !important;
}

/* Rich SEO Guide Block */
.seo-block {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.seo-block h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.seo-block p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-link {
  font-size: 12.5px;
  font-weight: 500;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-link:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.ext-link-row {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.ext-link-row a {
  color: var(--accent);
  text-decoration: underline;
}

/* Base Mobile-Only & Rail Toggle Helpers */
.mobile-only {
  display: none !important;
}

.rail-mobile-toggle {
  display: none !important;
}

@keyframes fadeInMenu {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDownTool {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Engine (OWASP & UX Hardened)
   ========================================================================== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .creator-kit-banner { grid-template-columns: 1fr; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ad-rail { display: none; }
}

@media (max-width: 992px) {
  .mobile-only {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    cursor: pointer;
    gap: 4px;
    padding: 0;
    z-index: 10001;
    transition: all 0.2s ease;
  }

  .mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Slide-in Mobile Navigation Drawer */
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 320px !important;
    max-width: 88vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: var(--bg-card) !important;
    border-left: 1px solid var(--border-color) !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5) !important;
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 20px !important;
    gap: 6px !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .main-nav.mobile-open {
    transform: translateX(0) !important;
  }

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

  .mobile-nav-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
  }

  .mobile-nav-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
  }

  .mobile-nav-search {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2px 10px;
    margin-bottom: 14px;
  }

  .search-input-mobile {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13.5px;
    color: var(--text-primary);
    padding: 8px 4px;
  }

  .search-btn-mobile {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
  }

  .main-nav .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 13px 12px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    border-radius: 10px !important;
    border-bottom: 1px solid var(--border-light) !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease !important;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    background: var(--accent-light) !important;
    color: var(--accent) !important;
  }

  .nav-badge-pill {
    margin-left: auto;
    background: rgba(255, 122, 0, 0.15);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
  }

  .nav-badge-pill-kit {
    margin-left: auto;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
  }

  /* Body background dimmer overlay when mobile drawer is open */
  body.mobile-nav-locked {
    overflow: hidden !important;
    touch-action: none;
  }

  body.mobile-nav-locked::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9999;
    animation: fadeInMenu 0.25s ease;
  }
}

@media (max-width: 768px) {
  .header-search-form { display: none; }

  /* Shell & Rail Mobile Accordion */
  .shell { flex-direction: column !important; }
  .rail {
    width: 100% !important;
    height: auto !important;
    position: static !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
  }

  .rail-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 18px;
    background: var(--bg-card);
    border: none;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .rail-mobile-toggle:hover {
    background: var(--bg-card-hover);
  }

  .navscroll {
    display: none !important;
    max-height: 380px !important;
    overflow-y: auto !important;
    background: var(--bg-secondary) !important;
    border-bottom: 2px solid var(--accent) !important;
  }
  .navscroll.mobile-expanded {
    display: block !important;
    animation: slideDownTool 0.25s ease;
  }

  .main { padding: 20px 14px !important; }
  .footer-grid { grid-template-columns: 1fr !important; }

  /* YouTube Tools Panels Responsiveness */
  .tool-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .tool-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
  .input-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .input-row input,
  .input-row select,
  .input-row button {
    width: 100% !important;
    min-width: 100% !important;
  }

  /* Audit Showcase on Mobile */
  .audit-showcase-title {
    font-size: 1.7rem !important;
  }
  .audit-showcase-card {
    padding: 24px 16px !important;
  }
  .home-audit-input-wrap {
    flex-direction: column !important;
    border-radius: 18px !important;
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  .home-audit-input {
    width: 100% !important;
    text-align: left !important;
    padding: 6px 0 !important;
  }
  .home-audit-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .audit-deliverables-grid {
    grid-template-columns: 1fr !important;
  }
  .mockup-header {
    height: 100px !important;
  }
  .mockup-channel-meta {
    padding: 16px 14px 12px !important;
  }
  .mockup-avatar {
    width: 50px !important;
    height: 50px !important;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px !important;
  }
  .logo-img {
    width: 130px !important;
    height: auto !important;
  }
  .btn-text-kit {
    display: none !important;
  }
  .btn-header-kit {
    padding: 6px 10px !important;
  }
  .btn-header-kit::after {
    content: ' Kit';
  }
  .btn-header-tools {
    display: none !important;
  }
  .home-audit-demos {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .demos-label {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 2px !important;
  }
  .card-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
  }
  .site-visits-counter {
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   CREATOR BUNDLES & DIGITAL ASSET SHOWCASE STYLES
   100% Theme-Adaptive (Dark & Light Mode), Responsive, Modern
   ========================================================================== */
.bundles-page-wrapper {
  background-color: var(--bg-primary);
  min-height: 100vh;
  padding-bottom: 80px;
}

.bundles-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.bundles-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 16px auto 14px;
  max-width: 800px;
  letter-spacing: -0.02em;
}

.bundles-hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 30px;
}

.bundles-stats-bar {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 28px;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

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

.stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.stat-sep {
  width: 1px;
  height: 28px;
  background: var(--border-color);
}

/* Tabs Nav */
.bundle-tabs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.bundle-tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}

.bundle-tab-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.bundle-tab-btn.active {
  border-color: var(--accent);
  background: var(--accent-light);
}

.tab-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.tab-text-wrap {
  flex: 1;
}

.tab-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
}

.tab-sub {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.tab-badge {
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Category Filter Bar */
.bundle-filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF !important;
}

/* Panels */
.bundle-panel {
  display: none;
}

.bundle-panel.active {
  display: block;
}

.bundle-panel-header {
  margin-bottom: 24px;
}

.bundle-panel-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.bundle-panel-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* Packs Grid */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.pack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.pack-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.pack-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pack-cat-badge {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 4px;
}

.pack-items-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.pack-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.pack-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1;
}

.pack-formats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.format-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.format-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.pack-features-list {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
}

.pack-features-list li {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.check-icon {
  color: var(--success);
  font-weight: 800;
  font-size: 12px;
}

.pack-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  gap: 12px;
}

.pack-size-info {
  display: flex;
  flex-direction: column;
}

.size-label {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.size-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.pack-actions {
  display: flex;
  gap: 8px;
}

.btn-preview {
  padding: 7px 12px;
  font-size: 12.5px;
}

.btn-download {
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.btn-download.downloading {
  opacity: 0.8;
  pointer-events: none;
}

/* ==========================================================================
   MODAL OVERLAY & POPUP STYLES (100% Theme Adaptive, Solid Backdrop)
   ========================================================================== */
.bundle-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100001;
  cursor: pointer;
}

.modal-dialog {
  position: relative;
  z-index: 100002;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  width: 100%;
}

[data-theme="light"] .modal-content {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .modal-content {
  background: #161B22 !important;
  border-color: #30363D !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 28px 16px;
  border-bottom: 1px solid var(--border-color);
  gap: 16px;
}

[data-theme="light"] .modal-header {
  border-bottom-color: #E2E8F0;
}

[data-theme="dark"] .modal-header {
  border-bottom-color: #262C36;
}

.modal-title-group {
  flex: 1;
  min-width: 0;
}

.modal-pack-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-pack-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.modal-close-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.modal-close-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
  padding: 22px 28px;
  overflow-y: auto;
  max-height: calc(90vh - 165px);
}

/* Modal Footer */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

[data-theme="light"] .modal-footer {
  background: #F8FAFC !important;
  border-top-color: #E2E8F0 !important;
}

[data-theme="dark"] .modal-footer {
  background: #11141A !important;
  border-top-color: #21262D !important;
}

/* Asset Manifest & Formats */
.asset-files-manifest {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

.manifest-heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
}

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

.manifest-tag {
  display: inline-block;
}

.manifest-tag code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
}

.preview-spinner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  min-height: 140px;
}

.preview-media-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-preview-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.audio-icon-pulse {
  font-size: 44px;
  background: var(--accent-light);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audio-info {
  flex: 1;
}

.audio-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.audio-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.luts-preview-box {
  width: 100%;
  text-align: center;
}

.preview-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.compare-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.compare-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.compare-tag.before {
  background: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
}

.compare-tag.after {
  background: var(--accent);
  color: #FFFFFF;
}

.compare-img {
  width: 100%;
  height: 160px;
}

.raw-look {
  background: linear-gradient(135deg, #718096 0%, #4A5568 100%);
}

.lut-look {
  background: linear-gradient(135deg, #DD6B20 0%, #2C5282 100%);
  filter: contrast(1.2) saturate(1.25);
}

.preview-caption {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
}

.generic-asset-preview {
  width: 100%;
}

.asset-preview-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.asset-hero-icon {
  font-size: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.asset-banner-text h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.asset-banner-text p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.detail-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.detail-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

.modal-features-wrap h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.modal-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.modal-features-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* FAQ Section */
.bundles-faq-section {
  margin-top: 50px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.faq-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 24px 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.faq-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.faq-item p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .bundle-tabs-nav { grid-template-columns: 1fr; }
  .modal-details-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .bundles-hero-title { font-size: 28px; }
}

/* ==========================================================================
   CONTACT PAGE STYLES (100% Theme Adaptive, Modern Card Layout)
   ========================================================================== */
.contact-page-wrapper {
  background-color: var(--bg-primary);
  min-height: 100vh;
  padding: 30px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero-header {
  margin-bottom: 36px;
}

.contact-main-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 14px 0 12px 0;
  line-height: 1.25;
}

.contact-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.6;
  margin: 0;
}

/* 2-Column Layout Grid */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: start;
}

/* Main Form Card */
.contact-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-theme="light"] .contact-card-main {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .contact-card-main {
  background: #161B22 !important;
  border-color: #2D3542 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.header-icon-box {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.form-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.form-card-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

.req {
  color: var(--danger, #EF4444);
  font-weight: 700;
}

/* Feedback Boxes */
.contact-feedback-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  animation: fadeIn 0.3s ease;
}

.contact-feedback-box.hidden {
  display: none !important;
}

.contact-feedback-box.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid #10B981;
  color: var(--text-primary);
}

.contact-feedback-box.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #EF4444;
  color: var(--text-primary);
}

.feedback-icon {
  font-size: 22px;
  line-height: 1;
}

.feedback-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 3px;
  color: var(--text-primary);
}

.feedback-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Form Fields */
.styled-contact-form {
  display: flex;
  flex-direction: column;
}

.form-row-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-field-group {
  margin-bottom: 22px;
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  pointer-events: none;
  opacity: 0.75;
}

.custom-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

[data-theme="light"] .custom-input {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="dark"] .custom-input {
  background: #0F1217 !important;
  border-color: #2D3542 !important;
  color: #F0F3F6 !important;
}

.custom-input:focus {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-light);
  background: var(--bg-card) !important;
}

.custom-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239DA7B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.textarea-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.char-counter {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.custom-textarea {
  padding: 14px 16px;
  width: 100%;
  min-height: 140px;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
}

/* Submit Row */
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.submit-contact-btn {
  padding: 13px 30px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.privacy-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sidebar Info Cards */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

[data-theme="light"] .sidebar-contact-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}

[data-theme="dark"] .sidebar-contact-card {
  background: #161B22 !important;
  border-color: #2D3542 !important;
}

.primary-card {
  border-left: 4px solid var(--accent);
}

.card-pill-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.card-subheading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.email-display-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.direct-email-link {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  word-break: break-all;
}

.direct-email-link:hover {
  text-decoration: underline;
}

.copy-email-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.copy-email-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.support-sla-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
}

.sla-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sla-icon {
  font-size: 18px;
}

.sla-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.88rem;
}

/* Quick FAQs */
.quick-faq-list {
  display: flex;
  flex-direction: column;
}

.quick-faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.quick-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quick-faq-item summary {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
}

.quick-faq-item summary:hover {
  color: var(--accent);
}

.quick-faq-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 8px 0 0 0;
}

.quick-faq-item a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

/* Creator Shortcuts */
.creator-shortcuts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shortcut-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

[data-theme="light"] .shortcut-link {
  background: #F8FAFC !important;
}

.shortcut-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
  background: var(--bg-card-hover) !important;
}

.shortcut-arrow {
  margin-left: auto;
  opacity: 0.6;
}

/* Responsive Media Queries for Contact */
@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .form-row-duo {
    grid-template-columns: 1fr;
  }
  .contact-card-main {
    padding: 26px 20px;
  }
}


/* ==========================================================================
   YOUTUBE CHANNEL AUDIT TOOL STYLES
   100% Theme-Adaptive (Dark & Light Mode), Modern Dashboard Cards
   ========================================================================== */
.audit-result-wrap {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeIn 0.3s ease;
}

/* Channel Overview Card */
.audit-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.audit-banner {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.audit-profile-body {
  padding: 0 24px 22px 24px;
  position: relative;
}

.audit-avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -50px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.audit-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  object-fit: cover;
  background: var(--bg-secondary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.audit-header-actions button {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
}

.audit-channel-names {
  margin-top: 4px;
}

.audit-channel-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.audit-channel-handle {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.audit-channel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.audit-pill-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.audit-channel-bio {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 14px 0 0 0;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* Score Hero (Grade & 5 Bars) */
.audit-score-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
}

.audit-grade-box {
  background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.audit-grade-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.audit-score-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.audit-grade-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 6px;
}

.audit-bars-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.audit-bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-bar-label-line {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.audit-bar-track {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.audit-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Core Benchmark Metric Cards */
.audit-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.audit-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.audit-metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.audit-metric-k {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.audit-metric-v {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.audit-metric-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* 2-Column Actionable Matrix: Strengths & Opportunities */
.audit-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.audit-card-checklist {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.audit-check-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audit-check-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.audit-check-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.audit-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.audit-check-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 3px 0;
}

.audit-check-text p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
}

/* Recent Uploads Table */
.audit-videos-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.audit-videos-list {
  display: flex;
  flex-direction: column;
}

.audit-video-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s ease;
}

.audit-video-row:last-child {
  border-bottom: none;
}

.audit-video-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.audit-video-thumb {
  width: 86px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-secondary);
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.audit-video-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 520px;
}

.audit-video-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.audit-video-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Actions Bar */
.audit-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

/* Estimated YouTube Earnings Card */
.audit-earnings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.audit-earnings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.audit-earnings-title-group {
  flex: 1;
  min-width: 260px;
}

.audit-earnings-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #10B981;
  text-transform: uppercase;
}

.audit-earnings-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 5px 0 6px 0;
  line-height: 1.25;
}

.audit-earnings-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
}

.audit-rpm-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

[data-theme="dark"] .audit-rpm-chip {
  color: #34D399;
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.16);
}

.audit-earnings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.audit-earning-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.audit-earning-box:hover {
  transform: translateY(-2px);
  border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.audit-earning-box.featured {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-secondary) 100%);
  border-color: rgba(16, 185, 129, 0.4);
}

.audit-earning-period {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.audit-earning-val {
  font-size: 24px;
  font-weight: 900;
  color: #10B981;
  line-height: 1.2;
}

[data-theme="dark"] .audit-earning-val {
  color: #34D399;
}

.audit-earning-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.4;
}

.audit-earnings-footer {
  border-top: 1px solid var(--border-color);
  margin-top: 18px;
  padding-top: 12px;
}

.audit-earnings-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 🔥 Highest Viewed & Trending Hits Section */
.audit-popular-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.audit-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-section-subtitle {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #FF7A00;
}

.audit-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 4px 0 0 0;
}

.audit-section-note {
  font-size: 12.5px;
  color: var(--text-muted);
}

.audit-popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.audit-popular-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.audit-popular-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.audit-popular-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #0F172A;
  overflow: hidden;
}

.audit-popular-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.audit-popular-card:hover .audit-popular-thumb {
  transform: scale(1.04);
}

.audit-rank-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.audit-rank-badge.rank-1 {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  border-color: #FCD34D;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
}

.audit-rank-badge.rank-2 {
  background: linear-gradient(135deg, #64748B 0%, #475569 100%);
  color: #FFFFFF;
  border-color: #94A3B8;
}

.audit-rank-badge.rank-3 {
  background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
  color: #FFFFFF;
  border-color: #D97706;
}

.audit-popular-views-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}

.audit-popular-content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.audit-popular-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.15s ease;
}

.audit-popular-title:hover {
  color: var(--accent);
}

.audit-popular-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  margin-top: auto;
  font-size: 11.5px;
  color: var(--text-muted);
}

.audit-popular-est-rev {
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

[data-theme="dark"] .audit-popular-est-rev {
  color: #34D399;
  background: rgba(16, 185, 129, 0.16);
}

@media (max-width: 900px) {
  .audit-score-hero {
    grid-template-columns: 1fr;
  }
  .audit-two-col {
    grid-template-columns: 1fr;
  }
  .audit-video-title {
    max-width: 280px;
  }
  .audit-popular-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 600px) {
  .audit-earnings-card {
    padding: 18px 16px;
  }
  .audit-earning-val {
    font-size: 20px;
  }
  .audit-popular-box {
    padding: 18px 16px;
  }
  .audit-popular-grid {
    grid-template-columns: 1fr;
  }
  .audit-video-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .audit-video-badge {
    align-self: flex-start;
  }
  .audit-video-title {
    max-width: 100%;
    white-space: normal;
  }
}


/* ==========================================================================
   BLOG & CATEGORY HERO & FILTER BAR REDESIGN
   100% Theme-Adaptive, Modern Pill Chips, Integrated Search Box
   ========================================================================== */
.page-hero.blog-hero {
  padding: 56px 0 44px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-hero.blog-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 8%;
  width: 450px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 62, 0, 0.08) 0%, rgba(255, 62, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.page-hero.blog-hero .container {
  position: relative;
  z-index: 1;
}

.blog-hero-header {
  margin-bottom: 26px;
}

.hero-badge.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.page-title.blog-title {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 12px 0;
}

.page-subtitle.blog-subtitle {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}

/* Blog Filter Bar */
.blog-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

/* Integrated Search Box */
.blog-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 580px;
  width: 100%;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0 16px 0 18px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  height: 50px;
}

.search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 12px;
  transition: color 0.2s ease;
}

.search-input-wrap:focus-within .search-icon {
  color: var(--accent);
}

.filter-search-input {
  width: 100%;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: inherit;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.filter-search-input::placeholder {
  color: var(--text-muted);
  font-size: 14px;
}

.search-clear-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  background: var(--bg-secondary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.search-clear-btn:hover {
  background: var(--border-color);
  color: var(--text-primary);
}

.search-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--accent);
  color: #FFFFFF !important;
  border: none;
  box-shadow: 0 2px 10px rgba(255, 62, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.search-submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 62, 0, 0.35);
}

/* Category Filter Chips */
.filter-categories-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.filter-categories-wrap::-webkit-scrollbar {
  height: 4px;
}

.filter-categories-wrap::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.filter-chip.active {
  background: var(--accent);
  color: #FFFFFF !important;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(255, 62, 0, 0.28);
}

.chip-label {
  line-height: 1;
}

.chip-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  line-height: 1.2;
  transition: all 0.2s ease;
}

.filter-chip:hover .chip-count {
  border-color: var(--accent);
  color: var(--text-primary);
}

.filter-chip.active .chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Active Search Pill */
.search-active-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-primary);
  width: fit-content;
  margin-top: 4px;
}

.clear-search-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.clear-search-pill:hover {
  color: var(--accent-hover);
}

@media (max-width: 768px) {
  .page-hero.blog-hero {
    padding: 38px 0 28px;
  }
  .blog-search-box {
    flex-direction: column;
    align-items: stretch;
  }
  .search-submit-btn {
    width: 100%;
    justify-content: center;
  }
  .filter-categories {
    flex-wrap: nowrap;
  }
}


/* ==========================================================================
   STICKY BLINKING SIDEBAR ADVERTISEMENT CARDS
   High-Converting, Theme-Adaptive, Pulsing Border & Blinking Dot
   ========================================================================== */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
  height: 100%;
}

.sidebar-sticky-ads {
  position: -webkit-sticky;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 15;
}

.sidebar-ad-card {
  position: relative;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-ad-card:hover {
  transform: translateY(-2px);
}

/* Pulsing / Blinking Glowing Borders */
.ad-kit-card {
  background: linear-gradient(155deg, var(--bg-card) 0%, rgba(249, 115, 22, 0.05) 100%);
  animation: kitCardPulse 3.2s infinite ease-in-out;
}

.ad-tools-card {
  background: linear-gradient(155deg, var(--bg-card) 0%, rgba(255, 62, 0, 0.05) 100%);
  animation: toolsCardPulse 3.2s infinite ease-in-out;
}

@keyframes kitCardPulse {
  0%, 100% {
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.08);
  }
  50% {
    border-color: rgba(239, 68, 68, 0.85);
    box-shadow: 0 4px 22px rgba(239, 68, 68, 0.22);
  }
}

@keyframes toolsCardPulse {
  0%, 100% {
    border-color: rgba(255, 62, 0, 0.35);
    box-shadow: 0 4px 14px rgba(255, 62, 0, 0.08);
  }
  50% {
    border-color: rgba(245, 158, 11, 0.85);
    box-shadow: 0 4px 22px rgba(245, 158, 11, 0.22);
  }
}

/* Continuous Light Sheen Sweep */
.ad-sheen {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-20deg);
  animation: adSheenSweep 4.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes adSheenSweep {
  0% { left: -120%; }
  35%, 100% { left: 220%; }
}

/* Header Row & Blinking Badge */
.ad-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ad-badge-blinking {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 12px;
}

.badge-kit {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-tools {
  background: rgba(255, 62, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 62, 0, 0.3);
}

/* Blinking Dots */
.blink-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  animation: liveBlink 1.2s infinite ease-in-out;
}

.dot-kit {
  background-color: #EF4444;
  box-shadow: 0 0 8px #EF4444;
}

.dot-tools {
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

@keyframes liveBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1.15);
  }
  50% {
    opacity: 0.15;
    transform: scale(0.65);
  }
}

.ad-tag-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.ad-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.ad-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.ad-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.ad-mini-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Action CTA Buttons */
.ad-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.btn-kit-glow {
  background: linear-gradient(135deg, #EF4444 0%, #F97316 100%);
  color: #FFFFFF !important;
}

.btn-kit-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
  background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
}

.btn-tools-glow {
  background: linear-gradient(135deg, var(--accent) 0%, #F59E0B 100%);
  color: #FFFFFF !important;
}

.btn-tools-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 62, 0, 0.35);
  background: linear-gradient(135deg, var(--accent-hover) 0%, #D97706 100%);
}

.ad-btn-icon {
  font-size: 14px;
}

.ad-btn-text {
  letter-spacing: -0.01em;
}

.ad-btn-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.ad-action-btn:hover .ad-btn-arrow {
  transform: translateX(3px);
}


/* ==========================================================================
   MODERN PAGINATION STYLES
   100% Theme-Adaptive, Centered Flex, Pill Navigation & Active Glow
   ========================================================================== */
.pagination-wrapper {
  margin: 54px 0 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Prev / Next Pill Buttons */
.page-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.page-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 62, 0, 0.16);
}

.page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* Page Numbers Pill Group */
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px 8px;
  box-shadow: var(--shadow-sm);
}

.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 50%;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
}

.page-number:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  transform: scale(1.06);
}

.page-number.active {
  background: var(--accent);
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(255, 62, 0, 0.35);
}

.page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 36px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 2px;
  user-select: none;
}

/* Summary text below pagination */
.pagination-info {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 600px) {
  .pagination-nav {
    gap: 8px;
  }
  .page-link {
    padding: 0 14px;
    height: 38px;
    font-size: 13px;
  }
  .page-numbers {
    padding: 3px 6px;
  }
  .page-number {
    min-width: 32px;
    height: 32px;
    font-size: 12.5px;
  }
}


/* ==========================================================================
   Trending & Search Video List Rows
   ========================================================================== */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.trending-notice-box {
  background: rgba(255, 62, 0, 0.08);
  border: 1px solid rgba(255, 62, 0, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  line-height: 1.5;
}

[data-theme="dark"] .trending-notice-box {
  background: rgba(255, 62, 0, 0.12);
  border-color: rgba(255, 62, 0, 0.3);
}

.video-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.video-row:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.video-row img {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.video-row > div {
  flex: 1;
  min-width: 0;
}

.video-row .cn {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-row .sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.video-row .lnk {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.video-row .lnk:hover {
  text-decoration: underline;
}

@media (max-width: 580px) {
  .video-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .video-row img {
    width: 100%;
    height: 180px;
  }
}
