/* TinyDesk AI Generator — Modern Redesign Styles */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Studio 35mm Analog Film Grain Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* GPU Status Pill in Header */
.gpu-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-green);
  letter-spacing: -0.01em;
}

.gpu-pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--color-accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent-green);
  animation: gpuPulse 2s infinite ease-in-out;
}

@keyframes gpuPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Studio Ambient Lighting Gradients */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  transition: opacity var(--transition-slow);
}

.ambient-glow-1 {
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.ambient-glow-2 {
  top: 40%;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--color-accent-coral) 0%, transparent 70%);
  opacity: 0.12;
}

.ambient-glow-3 {
  bottom: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent-gold) 0%, transparent 70%);
  opacity: 0.1;
}

/* Layout Wrappers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.eyebrow-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.lead-text {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 640px;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: all var(--transition-normal);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text-primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-coral));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--color-primary-glow);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-primary);
  margin-left: 4px;
}

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

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

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

/* Theme Switcher Button */
.theme-toggle {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #ea580c);
  color: #fff;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, var(--color-primary-hover), #f97316);
}

.btn-secondary {
  background: var(--color-bg-surface-elevated);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-default);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-default);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 90px;
  position: relative;
}

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

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-subtle);
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* Hero Live Video Showcase Frame */
.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 40px;
  border: 8px solid #222634;
  box-shadow: var(--specular-card), var(--shadow-lg), 0 0 50px rgba(245, 158, 11, 0.25);
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Interactive Split Slider Layers */
.split-layer-base {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #11141e;
}

.split-layer-base img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-layer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--split-percent, 50%));
  transition: clip-path 50ms linear;
}

.split-layer-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-percent, 50%);
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 0 12px var(--color-primary);
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
}

.split-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: ew-resize;
  pointer-events: auto;
  transition: transform var(--transition-fast);
}

.split-handle:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
}

.split-badge-before {
  position: absolute;
  top: 48px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #f3f4f6;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
}

.split-badge-after {
  position: absolute;
  top: 48px;
  right: 14px;
  background: rgba(245, 158, 11, 0.9);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 800;
  color: #000;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-header {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.85);
  backdrop-filter: blur(8px);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

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

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-controls {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
}

.mockup-caption h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

.mockup-caption p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

.audio-toggle-btn {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.audio-toggle-btn:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.8);
}

/* Floating Input Photo Badge */
.photo-source-pill {
  position: absolute;
  bottom: -15px;
  left: -20px;
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-default);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

.source-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.source-info {
  font-size: 0.75rem;
}

.source-info strong {
  display: block;
  color: var(--color-text-primary);
}

.source-info span {
  color: var(--color-primary);
}

/* =========================================================
   STUDIO SECTION — THE HEART OF THE REDESIGN
   ========================================================= */
.studio-section {
  padding: 80px 0;
  position: relative;
}

.studio-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.studio-header {
  padding: 28px 32px;
  background: var(--color-bg-surface-elevated);
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.studio-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.studio-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-accent-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .studio-grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.studio-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* Left: Interactive Stage */
.studio-stage-panel {
  padding: 28px 24px;
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .studio-stage-panel {
    border-bottom: none;
    border-right: 1px solid var(--color-border-subtle);
    padding: 36px 32px;
  }
}

/* Scene Selector Tabs */
.scene-selector-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.scene-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  max-width: 100%;
}

.scene-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-secondary);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.scene-tab-btn:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
}

.scene-tab-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.scene-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  font-size: 0.875rem;
}

/* Interactive Acoustic Stage */
.stage-container {
  background: radial-gradient(ellipse at bottom, #1d2130 0%, var(--stage-floor) 70%, #0a0c12 100%);
  border: 1px solid var(--stage-border);
  border-radius: var(--radius-lg);
  padding: 36px 20px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.6);
}

.stage-backdrop-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-primary) 20%, 
    var(--color-accent-coral) 50%, 
    var(--color-primary) 80%, 
    transparent 100%);
  filter: blur(2px);
}

.stage-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 5;
}

.stage-role-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.quick-fill-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.quick-fill-btn:hover {
  background: var(--color-primary);
  color: #000;
  box-shadow: 0 0 14px var(--color-primary-glow);
}

/* Stage Layout Positions */
.stage-arena {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 5;
}

.stage-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stage-row-back {
  transform: scale(0.9);
  opacity: 0.95;
}

.stage-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: transform var(--transition-fast);
}

.stage-slot:hover {
  transform: translateY(-4px);
}

.slot-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 2px dashed var(--color-border-hover);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.stage-slot.lead .slot-circle {
  width: 94px;
  height: 94px;
  border-style: solid;
  border-color: var(--color-primary);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

.slot-circle:hover {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.08);
}

.slot-circle.filled {
  border-style: solid;
  border-color: var(--color-primary);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.45), inset 0 0 12px rgba(245, 158, 11, 0.3);
}

.stage-slot.lead .slot-circle.filled {
  box-shadow: 0 0 36px rgba(245, 158, 11, 0.65), inset 0 0 16px rgba(245, 158, 11, 0.4);
}

.slot-circle.drag-over {
  border-color: var(--color-primary) !important;
  transform: scale(1.12);
  box-shadow: 0 0 35px var(--color-primary-glow);
  background: rgba(245, 158, 11, 0.25);
}

@keyframes memeClonePulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.9); }
  50% { transform: scale(1.14); box-shadow: 0 0 35px 8px rgba(245, 158, 11, 0.75); }
  100% { transform: scale(1); box-shadow: 0 0 24px rgba(245, 158, 11, 0.45); }
}

.stage-slot.cloned-pulse .slot-circle {
  animation: memeClonePulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slot-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
}

.slot-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--color-text-secondary);
}

.slot-plus {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-primary);
}

.slot-upload-text {
  font-size: 0.6875rem;
  font-weight: 500;
}

.slot-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
  text-align: center;
}

.stage-slot.lead .slot-badge {
  background: var(--color-primary);
  color: #000;
  font-weight: 700;
}

.slot-remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.slot-circle.filled + .slot-remove-btn,
.stage-slot.has-image .slot-remove-btn {
  display: flex;
}

/* Stage Bottom Controls */
.stage-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-subtle);
}

.clone-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border-radius: var(--radius-full);
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 0;
  bottom: 0;
  background-color: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* Right Panel: Settings & Final Generation */
.studio-settings-panel {
  padding: 28px 24px;
  background: var(--color-bg-surface-elevated);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .studio-settings-panel {
    padding: 36px 32px;
  }
}

.setting-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setting-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.setting-label small {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--color-text-secondary);
}

/* Radio Pill Selectors */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pill-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-width: 0;
}

.pill-text {
  min-width: 0;
}

.pill-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

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

.pill-card.active,
.pill-card:has(input[type="radio"]:checked) {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15);
}

.pill-icon {
  font-size: 1.25rem;
}

.pill-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-primary);
}

.pill-text small {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

/* Custom Select & Inputs */
.select-input, .text-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.select-input:focus, .text-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.quick-prompts-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.prompt-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prompt-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Sound Wave Animation */
.audio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Retro Studio Analog VU Meter */
.vu-meter-wrap {
  width: 110px;
  height: 52px;
  background: #14110e;
  border: 2px solid #3d2f20;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.8), 0 0 12px rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.vu-backlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(251, 191, 36, 0.4) 0%, rgba(180, 83, 9, 0.12) 70%, transparent 100%);
  transition: opacity var(--transition-fast);
}

.vu-meter-wrap.muted .vu-backlight {
  opacity: 0.15;
}

.vu-dial-marks {
  position: absolute;
  top: 4px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: #fbbf24;
  opacity: 0.85;
  user-select: none;
}

.vu-dial-marks .vu-red {
  color: #ef4444;
  font-weight: 700;
}

.vu-needle-pivot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2b221a;
  border: 2px solid #5a4530;
  z-index: 5;
}

.vu-needle {
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 1.5px;
  height: 35px;
  background: #e11d48;
  transform-origin: bottom center;
  transform: rotate(-15deg);
  transition: transform 120ms cubic-bezier(0.2, 0.8, 0.4, 1.2);
  z-index: 4;
}

.vu-meter-wrap:not(.muted) .vu-needle {
  animation: vuFlutter 1.6s ease-in-out infinite alternate;
}

@keyframes vuFlutter {
  0% { transform: rotate(-25deg); }
  20% { transform: rotate(5deg); }
  45% { transform: rotate(-12deg); }
  65% { transform: rotate(18deg); }
  85% { transform: rotate(-4deg); }
  100% { transform: rotate(14deg); }
}

.vu-meter-wrap.muted .vu-needle {
  transform: rotate(-38deg) !important;
  animation: none;
}

.waveform-indicator {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.wave-bar {
  width: 3px;
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  animation: wave 1s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 60%; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 85%; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; height: 40%; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; height: 70%; }

@keyframes wave {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.audio-card.muted .wave-bar {
  animation: none;
  transform: scaleY(0.2);
  opacity: 0.4;
}

/* Consent & CTA area */
.studio-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.consent-row input {
  margin-top: 3px;
}

.action-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-guarantee-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--color-accent-green);
}

/* =========================================================
   VIRAL INSPIRATION REEL (CAROUSEL / GRID)
   ========================================================= */
.inspiration-section {
  padding: 80px 0;
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

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

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #000;
  font-weight: 700;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.video-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.18);
}

.video-card-media {
  aspect-ratio: 16/10;
  position: relative;
  background: #000;
  overflow: hidden;
}

.video-card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-card-poster {
  transform: scale(1.04);
}

.video-card-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.video-card:hover .video-card-player {
  opacity: 1;
}

.card-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.video-card:hover .card-play-overlay {
  background: var(--color-primary);
  color: #000;
  transform: translate(-50%, -50%) scale(1.15);
}

.card-input-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem;
  color: #fff;
  z-index: 5;
}

.card-input-badge img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-family: var(--font-mono);
}

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

/* =========================================================
   FOUR VIRAL BEATS / TREND SEQUENCE
   ========================================================= */
.trend-breakdown-section {
  padding: 80px 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.beats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .beats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .beats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.beat-card {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

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

.beat-media {
  aspect-ratio: 9/12;
  position: relative;
  background: #000;
  overflow: hidden;
}

.beat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beat-step-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.beat-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.beat-content h4 {
  font-size: 1.1rem;
}

.beat-content p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* =========================================================
   HOW IT WORKS SECTION
   ========================================================= */
.workflow-section {
  padding: 80px 0;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

@media (min-width: 768px) {
  .steps-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.4;
}

.step-card h3 {
  font-size: 1.15rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* =========================================================
   COMPARISON SECTION
   ========================================================= */
.comparison-section {
  padding: 80px 0;
}

.table-wrapper {
  margin-top: 36px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

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

.comparison-table th, 
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.comparison-table th {
  background: var(--color-bg-surface-elevated);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text-primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.highlight-row {
  background: rgba(245, 158, 11, 0.05);
}

.highlight-cell {
  color: var(--color-primary);
  font-weight: 600;
}

/* =========================================================
   PRICING SECTION
   ========================================================= */
.pricing-section {
  padding: 80px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.price-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: all var(--transition-normal);
}

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

.price-card.featured {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, var(--color-bg-surface) 100%);
  border-color: var(--color-primary);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.2);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.price-scenario-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-xs);
  padding: 4px 8px;
}

.price-unit {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.price-savings {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 20px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
}

/* =========================================================
   FAQ ACCORDION SECTION
   ========================================================= */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

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

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

.faq-item[open] {
  border-color: var(--color-primary);
  background: var(--color-bg-surface-elevated);
}

.faq-summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 24px 24px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* =========================================================
   MODALS / DIALOGS (Compliant with Modern Web Guidance)
   ========================================================= */
dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  width: 760px;
  border-radius: var(--radius-xl);
  margin: auto;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0,0,0,0.8);
  transition-property: opacity, transform, overlay, display;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-behavior: allow-discrete;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition-property: opacity, overlay, display;
  transition-duration: 250ms;
  transition-behavior: allow-discrete;
}

:is(dialog[open]):where(:not([data-closing])) {
  opacity: 1;
  transform: scale(1);

  @starting-style {
    opacity: 0;
    transform: scale(0.95);
  }

  &::backdrop {
    opacity: 1;

    @starting-style {
      opacity: 0;
    }
  }
}

.dialog-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dialog-header {
  padding: 24px 28px;
  background: var(--color-bg-surface-elevated);
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 50%;
}

.dialog-close-btn:hover {
  color: var(--color-text-primary);
}

.dialog-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Storyboard 4-Beat Frame Grid inside Modal */
.storyboard-frames-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .storyboard-frames-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.storyboard-frame-card {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.frame-thumb {
  aspect-ratio: 9/12;
  position: relative;
  background: #000;
  overflow: hidden;
}

.frame-thumb img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.frame-thumb .frame-user-avatar {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: 2px solid var(--color-primary);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
  z-index: 5;
}

.frame-desc {
  padding: 10px;
  font-size: 0.75rem;
}

.frame-desc strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 2px;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.toast-notice.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Footer & Badges */
.site-footer {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border-subtle);
  padding: 60px 0 40px;
  margin-top: 80px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  opacity: 0.75;
}

.footer-badges img {
  height: 28px;
  filter: grayscale(1);
  transition: filter var(--transition-fast);
}

.footer-badges img:hover {
  filter: grayscale(0);
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

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

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

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

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