/* ==========================================================================
   TubeTidy Landing & Support Website Design System
   Inspired by Todoist & JungleScout • Warm, Human, High-End SaaS
   ========================================================================== */

:root {
  /* Color Palette Tokens */
  --bg-page: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-subtle: #F5F4F0;
  --bg-surface-hover: #F0EFEA;

  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-medium: rgba(0, 0, 0, 0.12);
  --border-strong: rgba(0, 0, 0, 0.20);
  --border-highlight: rgba(228, 66, 50, 0.3);

  /* Brand Accents */
  --brand-red: #E44232;
  --brand-red-hover: #D03B2C;
  --brand-red-light: #FDF2F1;
  --brand-red-glow: rgba(228, 66, 50, 0.2);

  --accent-orange: #FF7043;
  --accent-amber: #F59E0B;
  --accent-emerald: #10B981;
  --accent-blue: #2563EB;
  --accent-indigo: #4F46E5;

  /* Typography Colors */
  --text-title: #1C1917;
  --text-body: #44403C;
  --text-muted: #78716C;
  --text-subtle: #A8A29E;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', Menlo, Consolas, Monaco, monospace;

  /* Sizing & Radius */
  --container-max: 1200px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layered Natural Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 48px -12px rgba(28, 25, 23, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-mockup: 0 25px 60px -15px rgba(28, 25, 23, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-page);
}

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

img, svg {
  display: block;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #FF334B 0%, #D02B2B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(228, 66, 50, 0.3);
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-title);
  background-color: var(--bg-surface-subtle);
}

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

.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-title);
  border-radius: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(228, 66, 50, 0.28);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(228, 66, 50, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-title);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  color: var(--text-title);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-text {
  background: transparent;
  color: var(--brand-red);
  font-weight: 600;
  padding: 10px 14px;
}

.btn-text:hover {
  color: var(--brand-red-hover);
  text-decoration: underline;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Hero Section (Split Hero matching Reference Image 2)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(255, 160, 122, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(254, 226, 226, 0.25) 0%, transparent 60%),
    var(--bg-page);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 56px;
}

/* Left Hero Column */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #FFF0EB;
  border: 1px solid rgba(228, 66, 50, 0.2);
  color: #C23321;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-title);
  margin-bottom: 20px;
}

.hero-title .highlight-text {
  color: var(--brand-red);
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  color: #F59E0B;
  letter-spacing: 1px;
}

/* Right Hero Column: Realistic Device Mockup */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modern Laptop / Browser Window Frame */
.browser-mockup {
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-mockup);
  border: 1px solid var(--border-medium);
  overflow: hidden;
  position: relative;
}

.browser-header {
  height: 42px;
  background: #F4F3EF;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; border: 1px solid #E0443E; }
.dot-yellow { background: #FFBD2E; border: 1px solid #DEA123; }
.dot-green { background: #27C93F; border: 1px solid #1AAB29; }

.browser-address-bar {
  flex: 1;
  height: 26px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.browser-viewport {
  background: #0F0F0F;
  color: #F1F1F1;
  padding: 20px;
  min-height: 380px;
  position: relative;
}

/* Simulated YouTube Playlist View */
.yt-header-mock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.yt-pl-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.yt-pl-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.yt-video-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-video-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.yt-thumb-box {
  width: 90px;
  height: 52px;
  border-radius: 6px;
  background: #272727;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-thumb-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
}

.yt-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #FF0000;
  border-radius: 0 2px 2px 0;
}

.yt-video-info {
  flex: 1;
  min-width: 0;
}

.yt-video-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F1F1F1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.yt-video-meta {
  font-size: 0.72rem;
  color: #AAAAAA;
}

.yt-watched-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Floating Extension Card (Just like JungleScout in Reference Image 2) */
.floating-extension-card {
  position: absolute;
  bottom: -24px;
  left: -28px;
  width: 320px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.08);
  padding: 18px;
  z-index: 10;
  animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

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

.ext-brand-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-title);
}

.pulse-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.ext-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.ext-stat-box {
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  border: 1px solid var(--border-subtle);
}

.ext-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1;
  margin-bottom: 4px;
}

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

.ext-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-ext-action {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-ext-clean {
  background: var(--brand-red);
  color: #FFFFFF;
}

.btn-ext-clean:hover {
  background: var(--brand-red-hover);
}

.btn-ext-sort {
  background: var(--bg-surface-subtle);
  color: var(--text-title);
  border: 1px solid var(--border-medium);
}

/* Floating Success Pill (matching Opportunity Score in Reference Image 2) */
.floating-result-badge {
  position: absolute;
  top: -16px;
  right: -20px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(6px); }
}

.result-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.result-text-main {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-title);
}

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

/* ==========================================================================
   Problem vs Solution (The Todoist Way)
   ========================================================================== */
.comparison-section {
  padding: 96px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.section-heading {
  font-size: 2.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-title);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.6;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comp-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform var(--transition-normal);
}

.comp-card-bad {
  background: #FFFDFD;
  border: 1px solid #FEE2E2;
}

.comp-card-good {
  background: #F8FAF8;
  border: 1px solid #DCFCE7;
  box-shadow: 0 12px 32px -8px rgba(16, 185, 129, 0.12);
}

.comp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.comp-badge-bad {
  background: #FEE2E2;
  color: #DC2626;
}

.comp-badge-good {
  background: #D1FAE5;
  color: #059669;
}

.comp-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 14px;
}

.comp-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.6;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.comp-item-bad svg {
  color: #EF4444;
  flex-shrink: 0;
  margin-top: 3px;
}

.comp-item-good svg {
  color: #10B981;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Interactive Simulator Section
   ========================================================================== */
.simulator-section {
  padding: 96px 0;
  background: var(--bg-page);
}

.sim-container-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  padding: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

.sim-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.sim-controls-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-status-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-title);
}

.sim-grid-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.sim-metric-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all var(--transition-fast);
}

.sim-metric-val {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-title);
  margin-bottom: 4px;
}

.sim-metric-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Simulator Slider / Scrubber */
.sim-slider-panel {
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-title);
}

.slider-range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E5E7EB;
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--brand-red);
}

.sim-progress-box {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.progress-track {
  flex: 1;
  height: 10px;
  background: #E5E7EB;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-red) 0%, #10B981 100%);
  width: 0%;
  transition: width 200ms ease;
}

.progress-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-title);
  min-width: 48px;
}

/* ==========================================================================
   Curated Playlists Header & Interactive Video Inspector
   ========================================================================== */
.playlists-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.playlists-header-left {
  flex: 1;
  min-width: 280px;
}

.playlists-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.playlists-main-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.01em;
}

.playlists-created-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.playlists-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.playlists-header-stats {
  display: flex;
  gap: 12px;
}

.pl-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
  min-width: 96px;
}

.pl-stat-num {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-red);
  line-height: 1.2;
}

.pl-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Category Accordion Container */
.sim-category-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.cat-accordion-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.cat-accordion-item:hover {
  border-color: var(--border-medium);
}

.cat-accordion-item.active {
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cat-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: background 150ms ease;
}

.cat-header-row:hover {
  background: #F9FAFB;
}

.cat-name {
  flex: 0 0 220px;
  width: 220px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-title);
  white-space: nowrap;
}

.cat-bar-track {
  flex: 1;
  height: 8px;
  background: #F3F4F6;
  border-radius: 4px;
  overflow: hidden;
}

.cat-bar-fill {
  height: 100%;
  background: var(--brand-red);
  width: 0%;
  transition: width 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-count {
  width: 72px;
  text-align: right;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-title);
}

.cat-toggle-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
}

.cat-inspect-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-red);
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 3px 9px;
  border-radius: 6px;
  transition: all 150ms ease;
}

.cat-header-row:hover .cat-inspect-btn {
  background: var(--brand-red);
  color: #FFFFFF;
}

.cat-chevron {
  color: var(--text-muted);
  transition: transform 200ms ease;
}

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

/* Video Drawer Content */
.cat-videos-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.16, 1, 0.3, 1);
  background: #FAFAFA;
  border-top: 1px solid var(--border-subtle);
}

.cat-accordion-item.active .cat-videos-drawer {
  max-height: 500px;
}

.drawer-inner {
  padding: 16px 18px 20px;
}

.drawer-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.8125rem;
}

.drawer-meta-tag {
  color: var(--text-body);
}

.drawer-meta-tag strong {
  color: var(--text-title);
}

.drawer-meta-stat {
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #A7F3D0;
}

/* Videos Grid in Drawer */
.drawer-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sample-vid-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: all 150ms ease;
}

.sample-vid-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-medium);
}

.vid-thumb-box {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vid-runtime {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 2px;
}

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

.vid-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vid-channel {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vid-badge-row {
  display: flex;
}

.badge-moved {
  font-size: 0.625rem;
  font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   Simulator Terminal Window & Console Formatting
   ========================================================================== */
.sim-terminal-window {
  margin-top: 24px;
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
}

.sim-terminal-header {
  background: #27272A;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3F3F46;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

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

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #A1A1AA;
  letter-spacing: 0.02em;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
}

.sim-console-output {
  background: #18181B;
  color: #E4E4E7;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  padding: 14px 16px;
  height: 190px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Custom Sleek Scrollbar */
.sim-console-output::-webkit-scrollbar {
  width: 6px;
}
.sim-console-output::-webkit-scrollbar-track {
  background: #18181B;
}
.sim-console-output::-webkit-scrollbar-thumb {
  background: #3F3F46;
  border-radius: 3px;
}
.sim-console-output::-webkit-scrollbar-thumb:hover {
  background: #52525B;
}

/* Console Entry Rows */
.console-entry {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  min-width: 0;
  flex-shrink: 0;
  padding: 2px 0;
  word-break: break-word;
}

.console-time {
  color: #71717A;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  user-select: none;
}

.console-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 66px;
  text-align: center;
  user-select: none;
}

.console-tag.tag-init {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.console-tag.tag-clean {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.console-tag.tag-dedupe {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.console-tag.tag-route {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.console-tag.tag-done {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.console-msg {
  color: #E4E4E7;
  flex: 1;
  min-width: 0;
  word-break: break-word;
  font-size: 0.8125rem;
}

/* ==========================================================================
   Features Section (Clean Editorial Cards)
   ========================================================================== */
.features-section {
  padding: 96px 0;
  background: #FFFFFF;
}

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

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #FEE2E2;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Pricing Section (Transparent, Todoist-Style)
   ========================================================================== */
.pricing-section {
  padding: 96px 0;
  background: var(--bg-page);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card-pro {
  border-color: rgba(228, 66, 50, 0.4);
  box-shadow: 0 16px 40px -8px rgba(228, 66, 50, 0.12);
}

.pro-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(228, 66, 50, 0.3);
}

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

.pricing-tier-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  line-height: 1;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex: 1;
}

.pricing-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-body);
}

.pricing-feat-item svg {
  color: #10B981;
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 96px 0;
  background: #FFFFFF;
}

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

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

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-title);
  background: transparent;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.faq-item[aria-expanded="true"] .faq-icon,
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-red);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item[aria-expanded="true"] .faq-answer,
.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-page);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  gap: 48px;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-cta-cluster {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sim-grid-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .floating-extension-card {
    position: static;
    width: 100%;
    margin-top: 20px;
    animation: none;
  }
  .floating-result-badge {
    position: static;
    margin-bottom: 16px;
    animation: none;
  }
  .cat-name {
    flex: 0 0 160px;
    width: 160px;
    font-size: 0.8125rem;
    white-space: normal;
  }
  .sim-terminal-window {
    margin-top: 20px;
  }
  .sim-console-output {
    height: 160px;
    padding: 10px 12px;
  }
  .console-entry {
    gap: 8px;
  }
  .console-tag {
    min-width: 54px;
    font-size: 0.625rem;
    padding: 1px 5px;
  }
}

@media (max-width: 520px) {
  .sim-grid-metrics {
    grid-template-columns: 1fr;
  }
  .playlists-header-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .playlists-header-stats {
    width: 100%;
    justify-content: space-between;
  }
  .pl-stat-pill {
    flex: 1;
  }
  .cat-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .cat-name {
    flex: 1 1 100%;
    width: 100%;
  }
  .cat-bar-track {
    flex: 1;
  }
}

/* ==========================================================================
   Privacy Policy Page Styles
   ========================================================================== */
.policy-page {
  padding: 64px 0 96px;
  background: var(--bg-page);
}

.policy-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.policy-breadcrumbs a {
  color: var(--brand-red);
  text-decoration: underline;
}

.policy-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.policy-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.policy-content {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-title);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-content p, .policy-content li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.policy-content .highlight-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: #166534;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ==========================================================================
   Privacy Policy Contact Card Box (Clean Full-Width Stacked Cards)
   ========================================================================== */
.contact-card-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.contact-item {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  transition: all var(--transition-normal);
}

.contact-item:hover {
  background: #FFFFFF;
  border-color: var(--border-medium);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FEF2F2;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.contact-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 1px 7px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.contact-badge-subtle {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 1px 7px;
  border-radius: 9999px;
}

.contact-val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
}

a.contact-val {
  color: var(--brand-red);
  text-decoration: none;
}

a.contact-val:hover {
  text-decoration: underline;
}

.contact-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-hint a {
  color: var(--brand-red);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

