/**
 * Nexura Product Video Media Gallery for WooCommerce
 * Production Stylesheet - Highly Responsive & Accessible Design System
 * 
 * Design Language: Ultra-Modern SaaS / E-Commerce Dark Elegance
 * Font Stack: Plus Jakarta Sans & Inter
 * Accent Colors: Electric Indigo (#6366f1), Violet (#8b5cf6), Cyber Cyan (#06b6d4)
 */

:root {
  /* Brand Palette */
  --color-brand-primary: #6366f1;
  --color-brand-primary-hover: #4f46e5;
  --color-brand-secondary: #8b5cf6;
  --color-brand-accent: #06b6d4;
  --color-brand-pink: #ec4899;
  --color-brand-emerald: #10b981;
  --color-brand-amber: #f59e0b;
  
  /* Backgrounds & Surfaces */
  --bg-main: #070b14;
  --bg-surface-1: #0b1120;
  --bg-surface-2: #111a2e;
  --bg-surface-3: #18233c;
  --bg-surface-glass: rgba(17, 26, 46, 0.7);
  --bg-surface-glass-border: rgba(255, 255, 255, 0.08);
  --bg-surface-glass-hover: rgba(255, 255, 255, 0.15);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --grad-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-card-border: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
  --grad-dark-overlay: linear-gradient(180deg, rgba(7, 11, 20, 0) 0%, #070b14 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.35);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);

  /* Layout */
  --max-w-container: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-main);
  position: relative;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-w-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
}

.text-gradient {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }

/* Eyebrow Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-pill.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.badge-pill.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: #67e8f9;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  min-height: 44px;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--grad-hero);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bg-surface-glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-cyan {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.btn-outline {
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.05);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--color-brand-primary);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  min-height: 38px;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
  min-height: 48px;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-surface-glass-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 11, 20, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

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

.brand-title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
}

.brand-title .text-violet {
  color: #818cf8;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

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

.nav-link:hover {
  color: #ffffff;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-surface-glass-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  min-height: 38px;
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Animated Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-surface-glass-border);
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  z-index: 101;
  transition: background var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-box {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle.is-active .line-1 {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-active .line-2 {
  opacity: 0;
}

.mobile-nav-toggle.is-active .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer (Base: hidden on desktop) */
.mobile-nav-drawer {
  display: none;
}

body.nav-drawer-open {
  overflow: hidden;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition-fast);
}

.mobile-nav-link:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4.5rem, 8vw, 6.5rem) 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.hero-glow-1 {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-check {
  color: #10b981;
  font-weight: bold;
}

/* Hero Showcase Card */
.hero-showcase-wrap {
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  border-radius: var(--radius-xl);
  padding: 6px;
  background: var(--grad-card-border);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.hero-showcase-inner {
  background: var(--bg-surface-1);
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  position: relative;
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--bg-surface-glass-border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.browser-url-pill {
  padding: 0.25rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.75rem;
  color: #93c5fd;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-img-wrap {
  position: relative;
  width: 100%;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-speed-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: float-gentle 4s ease-in-out infinite;
  z-index: 5;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.speed-score-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  flex-shrink: 0;
}

.speed-details h4 {
  font-size: 0.9375rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.speed-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Live Gallery Simulator & Showcase
   ========================================================================== */
.simulator-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface-1) 50%, var(--bg-main) 100%);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem auto;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: var(--text-secondary);
}

/* Controls bar for the simulator */
.sim-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.sim-layout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-2);
  border: 1px solid var(--bg-surface-glass-border);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 40px;
}

.sim-layout-btn:hover {
  background: var(--bg-surface-3);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.sim-layout-btn.active {
  background: var(--grad-hero);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Live Simulator Canvas Card */
.gallery-sim-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  max-width: 1080px;
  margin: 0 auto;
}

.sim-header {
  padding: 1rem 1.5rem;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--bg-surface-glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sim-mode-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #818cf8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sim-body {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

/* Gallery Viewport Area */
.gallery-display-area {
  position: relative;
  display: flex;
  gap: 1rem;
}

/* Vertical Thumbnails */
.sim-thumbs-strip {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  width: 72px;
}

.sim-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-surface-2);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.sim-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sim-thumb.active {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.sim-thumb-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  backdrop-filter: blur(4px);
}

/* Horizontal Layout Modifier */
.gallery-display-area.layout-horizontal {
  flex-direction: column;
}

.gallery-display-area.layout-horizontal .sim-thumbs-strip {
  flex-direction: row;
  width: 100%;
  overflow-x: auto;
}

.gallery-display-area.layout-horizontal .sim-main-stage {
  order: 1;
}

.gallery-display-area.layout-horizontal .sim-thumbs-strip {
  order: 2;
}

/* Main Product Stage */
.sim-main-stage {
  flex-grow: 1;
  position: relative;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--bg-surface-glass-border);
}

.stage-media-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stage-media-item.active {
  display: block;
  opacity: 1;
}

.stage-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video Facade Overlay */
.video-facade-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  transition: background var(--transition-normal);
  cursor: pointer;
  padding: 1rem;
  z-index: 15;
  pointer-events: auto;
}

.video-facade-overlay:hover {
  background: rgba(0, 0, 0, 0.2);
}

.facade-play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--grad-hero);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.7);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.video-facade-overlay:hover .facade-play-btn {
  transform: scale(1.1);
}

.facade-label {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

/* Interactive Magnifier View */
.magnifier-lens-preview {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.3);
  pointer-events: none;
  overflow: hidden;
  display: none;
  background-repeat: no-repeat;
  z-index: 10;
}

.zoom-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 5;
}

/* 360 Turntable View */
.turntable-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
}

/* Product Meta Preview */
.sim-product-details {
  display: flex;
  flex-direction: column;
}

.sim-product-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #818cf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.sim-product-title {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.sim-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.stars-gold {
  color: #fbbf24;
}

.sim-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.sim-feature-checks {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sim-check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.sim-check-icon {
  color: #10b981;
  font-weight: 800;
}

.sim-variation-wrap {
  margin-bottom: 1.5rem;
}

.variation-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.variation-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.var-pill {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-2);
  border: 1px solid var(--bg-surface-glass-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 36px;
}

.var-pill.active {
  border-color: var(--color-brand-primary);
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
}

/* ==========================================================================
   Speed & Core Web Vitals Benchmark Section
   ========================================================================== */
.speed-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--bg-surface-glass-border);
  border-bottom: 1px solid var(--bg-surface-glass-border);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.comp-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
}

.comp-card.bad {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comp-card.good {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.comp-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.comp-card.bad .comp-card-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.comp-card.good .comp-card-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.comp-heading {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.comp-score-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-score-num {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
}

.comp-card.bad .comp-score-num { color: #ef4444; }
.comp-card.good .comp-score-num { color: #10b981; }

.comp-score-meta h4 {
  font-size: 1rem;
  color: #ffffff;
}

.comp-score-meta p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.metric-rows {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  gap: 0.5rem;
}

.metric-label {
  color: var(--text-secondary);
}

.metric-val {
  font-weight: 700;
  white-space: nowrap;
}

.metric-val.fail { color: #ef4444; }
.metric-val.pass { color: #10b981; }

/* ==========================================================================
   Supported Video Platforms Section
   ========================================================================== */
.platforms-section {
  padding: clamp(3.5rem, 5vw, 5rem) 0;
  text-align: center;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.platform-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface-1);
  border: 1px solid var(--bg-surface-glass-border);
  transition: all var(--transition-normal);
}

.platform-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--bg-surface-2);
  box-shadow: var(--shadow-glow);
}

.platform-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: var(--bg-surface-3);
  color: #ffffff;
  flex-shrink: 0;
}

.platform-pill h4 {
  font-size: 0.9375rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.platform-pill p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Comprehensive Features Grid
   ========================================================================== */
.features-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.feature-box {
  background: var(--bg-surface-1);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--bg-surface-2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.feature-box.pro-card .feature-icon-wrap {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.3);
  color: #f472b6;
}

.pro-chip {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--grad-hero);
  color: #ffffff;
  letter-spacing: 0.05em;
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li::before {
  content: "✔";
  color: #10b981;
  font-weight: bold;
}

/* ==========================================================================
   Comparison Table (Free vs Pro)
   ========================================================================== */
.comparison-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: var(--bg-surface-1);
  border-top: 1px solid var(--bg-surface-glass-border);
  border-bottom: 1px solid var(--bg-surface-glass-border);
}

.table-scroll-hint {
  display: none;
  font-size: 0.75rem;
  color: #818cf8;
  text-align: right;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--bg-surface-glass-border);
  background: var(--bg-surface-2);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 620px;
}

.compare-table th,
.compare-table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table th {
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

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

.compare-feature-name {
  font-weight: 600;
  color: #ffffff;
}

.compare-feature-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

.check-green {
  color: #10b981;
  font-size: 1.25rem;
  font-weight: bold;
}

.cross-muted {
  color: var(--text-subtle);
  font-size: 1.25rem;
}

/* ==========================================================================
   Pricing Section & Freemius Checkout 4-Tier Grid
   ========================================================================== */
.pricing-section {
  padding: clamp(4rem, 6vw, 6.5rem) 0;
  position: relative;
}

.pricing-switcher-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 2rem auto 2.5rem auto;
}

.billing-nav {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-surface-2);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-full);
}

.billing-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 38px;
}

.billing-btn.active {
  background: var(--grad-hero);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.billing-save-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Free Edition Callout */
.free-edition-callout {
  margin-top: 2rem;
  margin-bottom: 0;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.free-callout-text {
  flex: 1 1 320px;
  min-width: 0;
}

.free-callout-text h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.free-callout-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.free-edition-callout .btn {
  flex-shrink: 0;
}

/* 4-Tier Pricing Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  background: linear-gradient(180deg, var(--bg-surface-2) 0%, var(--bg-surface-1) 100%);
  border: 2px solid var(--color-brand-primary);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.25);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-5px);
}

.pricing-card.best-value {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, var(--bg-surface-1) 100%);
  border: 2px solid var(--color-brand-accent);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.2);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-hero);
  color: #ffffff;
  padding: 0.3rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
  white-space: nowrap;
}

.best-value-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: #ffffff;
  padding: 0.3rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.5);
  white-space: nowrap;
}

.plan-site-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.plan-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.plan-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  min-height: 38px;
  line-height: 1.5;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-number {
  font-size: clamp(2rem, 2.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-per-site-tag {
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 600;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
  display: block;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.plan-check {
  color: #10b981;
  font-weight: bold;
  flex-shrink: 0;
}

/* Ensure buttons are pinned to bottom across all cards */
.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

.guarantee-banner {
  margin-top: 3.5rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.guarantee-shield-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-info h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.guarantee-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Customer Reviews & Social Proof
   ========================================================================== */
.reviews-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: var(--bg-surface-1);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-info h5 {
  font-size: 0.9375rem;
  color: #ffffff;
}

.reviewer-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (Accordions)
   ========================================================================== */
.faq-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.faq-list {
  max-width: 820px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--bg-surface-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-card.open {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-toggle-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  gap: 1rem;
  min-height: 52px;
}

.faq-icon-arrow {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal), color var(--transition-normal);
  flex-shrink: 0;
}

.faq-card.open .faq-icon-arrow {
  transform: rotate(45deg);
  color: #818cf8;
}

.faq-content-body {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-card.open .faq-content-body {
  display: block;
}

/* ==========================================================================
   Closing CTA Section
   ========================================================================== */
.cta-closing-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.cta-box h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--bg-surface-glass-border);
  padding: clamp(3.5rem, 5vw, 5rem) 0 2.5rem 0;
}

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

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1rem 0 1.5rem 0;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: #818cf8;
}

.footer-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-trust-item svg {
  color: #10b981;
  flex-shrink: 0;
}

.footer-seo-cloud {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.seo-keyword-pill {
  font-size: 0.75rem;
  color: var(--text-subtle);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Breakpoints System (Desktop, Tablet, Mobile)
   ========================================================================== */

/* Large Tablets & Small Laptops (992px - 1200px) */
@media (max-width: 1200px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Medium Tablets & Large Phones (768px - 991px) */
@media (max-width: 991px) {
  .sim-body {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile Devices & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  /* Navigation Bar */
  .desktop-nav, .header-cta-group {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }

  /* Mobile Nav Drawer Overlay */
  .mobile-nav-drawer {
    display: block;
    position: fixed;
    top: 4.75rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 4.75rem);
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    overflow-y: auto;
    padding: 1.5rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .mobile-nav-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Comparison Grid (Core Web Vitals) */
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  /* Table horizontal scroll hint */
  .table-scroll-hint {
    display: block;
  }

  /* Simulator on Mobile */
  .sim-body {
    padding: 1.25rem;
    gap: 1.5rem;
  }
  .gallery-display-area {
    flex-direction: column;
  }
  .sim-thumbs-strip {
    flex-direction: row;
    width: 100%;
    order: 2;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0.1rem;
    gap: 0.6rem;
  }
  .sim-thumbs-strip::-webkit-scrollbar {
    display: none;
  }
  .sim-thumb {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
  }
  .sim-main-stage {
    order: 1;
    aspect-ratio: 1 / 1;
  }

  /* Pricing Cards on Mobile */
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* Extra Small Phones (<= 640px) */
@media (max-width: 640px) {
  /* Floating Speed Badge */
  .floating-speed-badge {
    position: static;
    margin: 1.25rem auto 0 auto;
    max-width: 100%;
    transform: none !important;
    animation: none;
  }

  /* Free Edition Banner */
  .free-edition-callout {
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .free-edition-callout .btn {
    width: 100%;
  }

  /* Guarantee Banner */
  .guarantee-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  /* Hero CTAs */
  .hero-cta-wrap .btn {
    width: 100%;
  }
  .hero-trust-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
}

/* Compact Smartphones (<= 480px) */
@media (max-width: 480px) {
  .sim-controls-wrap {
    flex-direction: column;
    width: 100%;
  }
  .sim-layout-btn {
    width: 100%;
    justify-content: center;
  }
  .billing-nav {
    width: 100%;
    display: flex;
  }
  .billing-btn {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.25rem;
    font-size: 0.8125rem;
    text-align: center;
  }
  .pricing-card {
    padding: 1.75rem 1.25rem;
  }
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .feature-box {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   360 Degree Turntable & Split Lightbox Modal Styles
   ========================================================================== */

/* 360 Stage Badge (Top Left) */
.turntable-360-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
  backdrop-filter: blur(8px);
}

/* 360 Actions Bar (Top Right) */
.sim-360-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.sim-360-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(6px);
}

.sim-360-btn:hover {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
}

/* Split Lightbox Modal */
.sim-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sim-lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.sim-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sim-lightbox-container {
  position: relative;
  z-index: 2;
  width: 92vw;
  max-width: 1140px;
  height: 86vh;
  max-height: 740px;
}

.sim-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
}

.sim-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.08) rotate(90deg);
}

.sim-lightbox-card {
  width: 100%;
  height: 100%;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(99, 102, 241, 0.15);
  display: flex;
  overflow: hidden;
}

/* Left / Main Stage */
.sim-lightbox-stage,
.sim-lightbox-main {
  flex: 1;
  min-width: 0;
  position: relative;
  background: #000000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.sim-lb-top-bar {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 25;
  pointer-events: none;
}

.sim-lb-top-bar > * {
  pointer-events: auto;
}

.sim-lb-tag,
.sim-lb-stage-tag {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  backdrop-filter: blur(8px);
}

.sim-lb-badge {
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #a5b4fc;
  backdrop-filter: blur(8px);
}

.sim-lb-close-btn,
.sim-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
}

.sim-lb-close-btn:hover,
.sim-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.08) rotate(90deg);
}

.sim-lb-nav,
.sim-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  backdrop-filter: blur(6px);
  transition: all var(--transition-fast);
}

.sim-lb-nav:hover,
.sim-lightbox-nav:hover {
  background: var(--color-brand-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.sim-lb-nav-prev,
.sim-lightbox-nav.prev {
  left: 1.25rem;
}

.sim-lb-nav-next,
.sim-lightbox-nav.next {
  right: 1.25rem;
}

.sim-lb-stage-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-lb-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sim-lb-slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.sim-lb-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-lb-poster {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sim-lb-vertical-wrap .sim-lb-poster {
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.sim-lb-zoom-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.sim-lb-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sim-lb-footer-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  z-index: 10;
  backdrop-filter: blur(6px);
}

/* Right Sidebar */
.sim-lightbox-sidebar {
  width: 320px;
  background: rgba(11, 17, 32, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.sim-lb-sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-lb-sidebar-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.sim-lb-media-count {
  font-size: 0.75rem;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.sim-lb-thumbs-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sim-lb-thumb {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.sim-lb-thumb:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(99, 102, 241, 0.3);
}

.sim-lb-thumb.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
}

.sim-lb-thumb img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.sim-lb-thumb-meta {
  flex: 1;
  min-width: 0;
}

.sim-lb-thumb-meta strong {
  display: block;
  font-size: 0.8125rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-lb-thumb-meta span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-lb-thumb-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  background: var(--color-brand-primary);
  color: #ffffff;
  font-weight: 700;
  flex-shrink: 0;
}

.sim-lb-sidebar-footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.sim-lb-product-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Lightbox Responsive */
@media (max-width: 900px) {
  .sim-lightbox-container {
    height: 92vh;
    max-height: none;
  }
  .sim-lightbox-close {
    top: -12px;
    right: -6px;
    width: 36px;
    height: 36px;
  }
  .sim-lightbox-card {
    flex-direction: column;
  }
  .sim-lightbox-stage,
  .sim-lightbox-main {
    height: auto;
    flex: 1 1 0;
    min-height: 0;
  }
  .sim-lb-badge {
    display: none;
  }
  .sim-lightbox-sidebar {
    width: 100%;
    height: 150px;
    flex-shrink: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .sim-lb-thumbs-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .sim-lb-thumb {
    min-width: 180px;
  }
  .sim-lb-sidebar-footer {
    display: none;
  }
}

/* Keep 3D/360 overlays clear of the lightbox top bar */
.sim-lightbox-modal .turntable-360-badge {
  top: 4.25rem;
  left: 1.25rem;
}

.sim-lightbox-modal .sim-360-actions {
  top: 4.25rem;
  right: 1.25rem;
}

.sim-lightbox-sidebar {
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Video Player & TikTok 9:16 Vertical Facade Styles
   ========================================================================== */
.sim-video-player-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
  border-radius: var(--radius-lg);
}

.sim-video-player-box .stage-poster-img,
.sim-video-player-box .sim-lb-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sim-video-player-box.tiktok-vertical-box {
  background: radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.12) 0%, rgba(5, 8, 16, 0.96) 85%);
}

.sim-video-player-box.tiktok-vertical-box .stage-poster-img,
.sim-video-player-box.tiktok-vertical-box .sim-lb-poster {
  max-width: 270px;
  height: auto;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(236, 72, 153, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sim-video-player-box .tiktok-iframe-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.stage-video-iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  border-radius: var(--radius-lg);
  display: block;
  background: #000;
}

.stage-video-iframe.tiktok-iframe {
  width: 325px;
  max-width: 95%;
  height: 100%;
  min-height: 460px;
  max-height: 560px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.2);
  margin: 0 auto;
}

.video-facade-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.video-player-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.video-player-close-btn:hover {
  background: rgba(239, 68, 68, 0.95);
  border-color: #ef4444;
  transform: scale(1.05);
}

.tiktok-direct-link {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #00f2fe;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.tiktok-direct-link:hover {
  background: #ff0050;
  color: #ffffff;
  border-color: #ff0050;
  transform: translateY(-2px);
}

.tiktok-source-switch {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.92);
  padding: 0.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 12;
  backdrop-filter: blur(8px);
}

.tiktok-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tiktok-mode-btn:hover {
  color: #ffffff;
}

.tiktok-mode-btn.active {
  background: linear-gradient(135deg, #00f2fe, #4facfe, #ff0050);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.4);
}

.tiktok-iframe-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Split Lightbox Modal - matches the plugin's card modal
   (centered white card, black round close button, bold black chevrons,
   bottom horizontal thumbnail strip)
   ========================================================================== */
.sim-lightbox-modal {
  padding: 24px;
  box-sizing: border-box;
}

.sim-lightbox-modal .sim-lightbox-backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sim-lightbox-modal .sim-lightbox-container {
  width: 88vw;
  max-width: 960px;
  height: 84vh;
  max-height: 750px;
}

.sim-lightbox-modal.is-open .sim-lightbox-card {
  animation: simCardPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes simCardPopIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.sim-lightbox-modal .sim-lightbox-card {
  flex-direction: column;
  background: #ffffff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

/* Black round close button (top right) */
.sim-lightbox-modal .sim-lightbox-close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: #000000;
  border: none;
  color: #ffffff;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.sim-lightbox-modal .sim-lightbox-close:hover {
  background: #222222;
  border-color: transparent;
  transform: scale(1.08);
}

/* White main canvas */
.sim-lightbox-modal .sim-lightbox-main {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  background: #ffffff;
  padding: 24px 60px 10px;
  box-sizing: border-box;
}

.sim-lightbox-modal .sim-lb-top-bar,
.sim-lightbox-modal .sim-lb-footer-counter {
  display: none;
}

.sim-lightbox-modal .sim-lb-stage-content {
  width: 100%;
}

/* Bold black chevrons */
.sim-lightbox-modal .sim-lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #000000;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sim-lightbox-modal .sim-lightbox-nav:hover {
  background: transparent;
  box-shadow: none;
  opacity: 0.7;
  transform: translateY(-50%) scale(1.12);
}

.sim-lightbox-modal .sim-lightbox-nav.prev { left: 14px; }
.sim-lightbox-modal .sim-lightbox-nav.next { right: 14px; }

.sim-lightbox-modal .sim-lightbox-nav svg {
  width: 34px;
  height: 34px;
  stroke-width: 3.5;
}

/* Media on the white stage */
.sim-lightbox-modal .sim-video-player-box {
  border-radius: 8px;
  overflow: hidden;
}

.sim-lightbox-modal model-viewer {
  background: #f8fafc !important;
}

.sim-lightbox-modal .turntable-360-badge {
  top: 0.5rem;
  left: 0.5rem;
}

.sim-lightbox-modal .sim-360-actions {
  top: 0.5rem;
  right: 0.5rem;
}

/* Bottom horizontal thumbnail strip */
.sim-lightbox-modal .sim-lightbox-sidebar {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  background: #ffffff;
  border: 0;
  padding: 6px 16px 18px;
  align-items: center;
  justify-content: center;
}

.sim-lightbox-modal .sim-lb-sidebar-header,
.sim-lightbox-modal .sim-lb-sidebar-footer,
.sim-lightbox-modal .sim-lb-thumb-meta {
  display: none;
}

.sim-lightbox-modal .sim-lb-thumbs-list {
  flex: 0 1 auto;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.sim-lightbox-modal .sim-lb-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  flex: 0 0 56px;
  padding: 2px;
  gap: 0;
  border-radius: 4px;
  border: 1px solid #dcdfe4;
  background: #ffffff;
  box-shadow: none;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0.85;
}

.sim-lightbox-modal .sim-lb-thumb:hover {
  opacity: 1;
  background: #ffffff;
  border-color: #94a3b8;
}

.sim-lightbox-modal .sim-lb-thumb.active {
  opacity: 1;
  background: #ffffff;
  border: 1.5px solid #000000;
  box-shadow: none;
}

.sim-lightbox-modal .sim-lb-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 2px;
}

.sim-lightbox-modal .sim-lb-thumb-badge {
  position: absolute;
  right: 3px;
  bottom: 3px;
  font-size: 0.55rem;
  padding: 1px 4px;
}

@media (max-width: 640px) {
  .sim-lightbox-modal {
    padding: 10px;
  }
  .sim-lightbox-modal .sim-lightbox-container {
    width: 95vw;
    height: 88vh;
    max-height: 88vh;
  }
  .sim-lightbox-modal .sim-lightbox-card {
    border-radius: 10px;
  }
  .sim-lightbox-modal .sim-lightbox-main {
    padding: 16px 36px 6px;
  }
  .sim-lightbox-modal .sim-lightbox-nav {
    width: 36px;
  }
  .sim-lightbox-modal .sim-lightbox-nav svg {
    width: 26px;
    height: 26px;
  }
  .sim-lightbox-modal .sim-lightbox-close {
    top: 10px;
    right: 10px;
  }
}
