/* ==========================================================================
   Vidpico — Liquid Glass & Mirror Specular Design System
   Authentic Liquid Glassmorphism, Specular Bevels & Mirror-Like Reflections
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Liquid Glass Properties
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces & Base */
  --bg-base: #060913;
  --bg-surface: #0a1022;
  --bg-input: rgba(7, 12, 24, 0.65);

  /* Liquid Mirror Glass System Tokens — 100% Crystal Clear, Zero Blur ("সম্পূর্ণ কাঁচের মতো") */
  --liquid-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(10, 16, 32, 0.38) 100%);
  --liquid-glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(10, 16, 32, 0.48) 100%);
  --liquid-glass-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 32%, rgba(10, 17, 34, 0.52) 75%, rgba(6, 11, 24, 0.68) 100%);
  
  /* Mirror Specular Highlight Borders */
  --mirror-border: 1px solid rgba(255, 255, 255, 0.16);
  --mirror-border-top: 1px solid rgba(255, 255, 255, 0.65);
  --mirror-border-left: 1px solid rgba(255, 255, 255, 0.4);
  --mirror-border-glow: 1px solid rgba(0, 242, 254, 0.55);

  /* Pure Optical Crystal Glass Inset Refraction & Depth Shadows */
  --mirror-shadow: 
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.6),
    inset 1px 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1.5px 1.5px 0 rgba(0, 0, 0, 0.35),
    inset -1px 0 1px 0 rgba(0, 0, 0, 0.15),
    0 16px 38px -8px rgba(0, 0, 0, 0.48);
  --mirror-shadow-lg: 
    inset 0 2px 1.5px 0 rgba(255, 255, 255, 0.7),
    inset 1.5px 0 1.5px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 2px 0 rgba(0, 0, 0, 0.45),
    inset -1.5px 0 1.5px 0 rgba(0, 0, 0, 0.2),
    0 24px 60px -10px rgba(0, 0, 0, 0.68),
    0 0 25px -4px rgba(0, 242, 254, 0.14);
  --mirror-shadow-pill:
    inset 0 1.2px 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3),
    0 4px 14px rgba(0, 0, 0, 0.35);

  /* Pure Crystal Clear Optical Glass — 100% Zero Blur */
  --glass-blur: none;
  --glass-blur-sm: none;

  /* Signature Platform Colors */
  --color-youtube: #ff0000;
  --color-youtube-dark: #cc0000;
  --color-youtube-glow: rgba(255, 0, 0, 0.45);
  --color-tiktok: #fe0979;
  --color-tiktok-cyan: #00f2fe;
  --color-insta-start: #f09433;
  --color-insta-mid: #dc2743;
  --color-insta-end: #bc1888;
  --color-facebook: #1877f2;
  --color-twitter: #f8fafc;

  /* Master Accents */
  --accent-cyan: #00f2fe;
  --accent-purple: #8b5cf6;
  --accent-magenta: #fe0979;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;

  /* Master Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #8b5cf6 50%, #fe0979 100%);
  --grad-button: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --grad-button-hover: linear-gradient(135deg, #00d4ff 0%, #0084ff 100%);
  --grad-insta: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.16s ease;
  --trans-normal: 0.3s var(--ease-spring);
  --trans-slow: 0.6s var(--ease-spring);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Light / Day Mode Alternative */
body.theme-light {
  --bg-base: #f0f4f9;
  --bg-surface: #ffffff;
  --bg-input: rgba(255, 255, 255, 0.75);
  --liquid-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.28) 100%);
  --liquid-glass-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 246, 255, 0.48) 100%);
  --mirror-border: 1px solid rgba(255, 255, 255, 0.72);
  --mirror-border-top: 1px solid rgba(255, 255, 255, 0.98);
  --mirror-border-left: 1px solid rgba(255, 255, 255, 0.88);
  --text-main: #0b1329;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --mirror-shadow: 
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.05),
    0 14px 35px rgba(15, 23, 42, 0.08);
  --mirror-shadow-lg: 
    inset 0 2px 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1.5px 1.5px 0 rgba(0, 0, 0, 0.07),
    0 22px 50px rgba(15, 23, 42, 0.12);
  --mirror-shadow-pill: 
    inset 0 1.2px 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.04),
    0 4px 14px rgba(15, 23, 42, 0.06);
  background-color: #f0f4f9;
  background-image: 
    radial-gradient(ellipse 1100px 580px at 50% -8%, rgba(56, 189, 248, 0.32) 0%, rgba(129, 140, 248, 0.18) 45%, transparent 70%),
    radial-gradient(circle 700px at 92% 18%, rgba(244, 114, 182, 0.24) 0%, transparent 65%),
    radial-gradient(circle 650px at 8% 28%, rgba(129, 140, 248, 0.26) 0%, transparent 65%),
    radial-gradient(circle 750px at 88% 65%, rgba(167, 139, 250, 0.22) 0%, transparent 60%),
    radial-gradient(circle 700px at 10% 80%, rgba(56, 189, 248, 0.24) 0%, transparent 65%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(52, 211, 153, 0.2) 0%, transparent 60%);
}

/* --------------------------------------------------------------------------
   2. Reset & Multi-Color Background
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Multi-Color Professional Atmospheric Background Grading */
body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(ellipse 1150px 620px at 50% -8%, rgba(99, 102, 241, 0.35) 0%, rgba(139, 92, 246, 0.2) 42%, transparent 74%),
    radial-gradient(circle 750px at 93% 18%, rgba(254, 9, 121, 0.25) 0%, rgba(244, 63, 94, 0.1) 45%, transparent 70%),
    radial-gradient(circle 700px at 7% 26%, rgba(0, 242, 254, 0.25) 0%, rgba(6, 182, 212, 0.1) 45%, transparent 70%),
    radial-gradient(circle 800px at 88% 58%, rgba(139, 92, 246, 0.24) 0%, rgba(236, 72, 153, 0.12) 45%, transparent 72%),
    radial-gradient(circle 750px at 10% 74%, rgba(16, 185, 129, 0.22) 0%, rgba(6, 182, 212, 0.12) 48%, transparent 72%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(37, 99, 235, 0.28) 0%, rgba(79, 70, 229, 0.15) 50%, transparent 75%);
  background-attachment: fixed;
  background-size: 100% 100%;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--trans-slow), color var(--trans-slow);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Screen Reader & Agentic Accessibility Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input {
  font-family: inherit;
}

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

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-primary);
  z-index: 9999;
  box-shadow: 0 0 12px var(--accent-cyan);
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   3. Scroll Reveal Engine
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.65s var(--ease-spring), 
              transform 0.65s var(--ease-spring);
  will-change: opacity, transform;
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: auto; /* Immediately release GPU composite texture memory! */
}

.stagger-1 { transition-delay: 70ms; }
.stagger-2 { transition-delay: 140ms; }
.stagger-3 { transition-delay: 210ms; }
.stagger-4 { transition-delay: 280ms; }

/* --------------------------------------------------------------------------
   4. Tactile Ripple & 3D Tilt
   -------------------------------------------------------------------------- */
.ripple-btn {
  position: relative;
  overflow: hidden;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.ripple-btn:active {
  transform: scale(0.96) !important;
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(0, 242, 254, 0.25) 60%, transparent 100%);
  transform: scale(0);
  animation: rippleAnimation 0.55s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s var(--ease-spring);
}

/* --------------------------------------------------------------------------
   5. Liquid Mirror Glass Base System ("কোন ব্লার থাকবে না, সম্পূর্ণ কাঁচের মত থাকবে")
   -------------------------------------------------------------------------- */
/* Common liquid crystal glass surface with dynamic specular reflection */
.liquid-glass-plate,
.hero-text-glass-plate,
.section-header,
.platform-card,
.downloader-card,
.step-card,
.feature-tile,
.faq-item,
.format-card,
.stat-pill,
.sample-chip,
.platform-tab,
.navbar,
.lang-dropdown-glass-plate,
.history-drawer,
.cta-banner,
.video-meta-block {
  position: relative;
  overflow: hidden;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-image: 
    linear-gradient(130deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 26%, transparent 52%),
    radial-gradient(
      circle 420px at var(--mouse-x, 50%) var(--mouse-y, 0%),
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.05) 38%,
      transparent 72%
    );
  background-repeat: no-repeat;
}

/* Prismatic top rim caustic line for authentic crystal optical glass refraction */
.liquid-glass-plate::before,
.hero-text-glass-plate::before,
.downloader-card::before,
.platform-card::before,
.step-card::before,
.feature-tile::before,
.section-header::before,
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 254, 0.45) 25%, rgba(255, 255, 255, 0.95) 50%, rgba(254, 9, 121, 0.45) 75%, transparent 100%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.35s ease, left 0.35s ease, right 0.35s ease;
}

.liquid-glass-plate:hover::before,
.hero-text-glass-plate:hover::before,
.downloader-card:hover::before,
.platform-card:hover::before,
.step-card:hover::before,
.feature-tile:hover::before,
.section-header:hover::before,
.cta-banner:hover::before {
  opacity: 1;
  left: 4%;
  right: 4%;
}

/* Polished Mirror Refraction Sheen that sweeps across when hovered */
.liquid-glass-plate::after,
.section-header::after,
.platform-card::after,
.downloader-card::after,
.step-card::after,
.feature-tile::after,
.format-card::after,
.sample-chip::after,
.platform-tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.24) 50%, transparent 80%);
  transform: skewX(-25deg);
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10;
}

.liquid-glass-plate:hover::after,
.section-header:hover::after,
.platform-card:hover::after,
.downloader-card:hover::after,
.step-card:hover::after,
.feature-tile:hover::after,
.format-card:hover::after,
.sample-chip:hover::after,
.platform-tab:hover::after {
  left: 170%;
}

/* --------------------------------------------------------------------------
   6. Top Navigation Bar (Liquid Mirror Glass Island)
   -------------------------------------------------------------------------- */
.app-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin-bottom: 36px;
  border-radius: var(--radius-xl);
  background: var(--liquid-glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  box-shadow: var(--mirror-shadow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, transform var(--trans-normal);
  overflow: visible;
  background-image: 
    linear-gradient(130deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 26%, transparent 52%),
    radial-gradient(
      circle 420px at var(--mouse-x, 50%) var(--mouse-y, 0%),
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.05) 38%,
      transparent 72%
    );
  background-repeat: no-repeat;
}

.nav-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

/* --------------------------------------------------------------------------
   Header Shimmering Border & Glowing Light Edge Animation
   Activated when clicking "Fetch Video"
   -------------------------------------------------------------------------- */
/* Base Glowing Edge System Container */
.nav-border-glow-system {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

/* When Fetch is Active: Bright Radiance & Multi-Layer Edge Shimmer */
.navbar.fetch-active {
  border-color: rgba(0, 242, 254, 0.95);
  box-shadow: 
    0 0 0 1.5px rgba(0, 242, 254, 0.8),
    0 0 24px rgba(0, 242, 254, 0.7),
    0 0 50px rgba(139, 92, 246, 0.55),
    0 0 85px rgba(254, 9, 121, 0.4),
    inset 0 0 18px rgba(0, 242, 254, 0.35),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.9),
    var(--mirror-shadow);
  animation: navbarEdgeGlowCycle 2.4s ease-in-out infinite alternate;
}

.navbar.fetch-active .nav-border-glow-system {
  opacity: 1;
}

/* Pulsating Multi-Color Border Cycle */
@keyframes navbarEdgeGlowCycle {
  0% {
    border-color: rgba(0, 242, 254, 0.95);
    box-shadow: 
      0 0 0 1.5px rgba(0, 242, 254, 0.85),
      0 0 24px rgba(0, 242, 254, 0.75),
      0 0 48px rgba(139, 92, 246, 0.55),
      0 0 85px rgba(254, 9, 121, 0.4),
      inset 0 0 18px rgba(0, 242, 254, 0.4),
      inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
      var(--mirror-shadow);
  }
  35% {
    border-color: rgba(139, 92, 246, 0.95);
    box-shadow: 
      0 0 0 1.5px rgba(139, 92, 246, 0.85),
      0 0 26px rgba(139, 92, 246, 0.75),
      0 0 52px rgba(254, 9, 121, 0.55),
      0 0 90px rgba(0, 242, 254, 0.4),
      inset 0 0 18px rgba(139, 92, 246, 0.4),
      inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
      var(--mirror-shadow);
  }
  70% {
    border-color: rgba(254, 9, 121, 0.95);
    box-shadow: 
      0 0 0 1.5px rgba(254, 9, 121, 0.85),
      0 0 28px rgba(254, 9, 121, 0.8),
      0 0 56px rgba(0, 242, 254, 0.6),
      0 0 95px rgba(139, 92, 246, 0.45),
      inset 0 0 20px rgba(254, 9, 121, 0.4),
      inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
      var(--mirror-shadow);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 
      0 0 0 2px rgba(255, 255, 255, 0.9),
      0 0 32px rgba(0, 242, 254, 0.85),
      0 0 60px rgba(139, 92, 246, 0.65),
      0 0 100px rgba(254, 9, 121, 0.5),
      inset 0 0 22px rgba(255, 255, 255, 0.45),
      inset 0 1.5px 2px 0 rgba(255, 255, 255, 1),
      var(--mirror-shadow);
  }
}

/* Rotating Multi-Stop Conic Laser Beam around Exact 2.5px Border */
.glow-edge-beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2.5px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  overflow: hidden;
}

.glow-edge-beam::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280%;
  height: 280%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0, 242, 254, 0.2) 25deg,
    #00f2fe 55deg,
    #ffffff 75deg,
    #fe0979 105deg,
    rgba(254, 9, 121, 0.2) 135deg,
    transparent 175deg,
    rgba(139, 92, 246, 0.2) 205deg,
    #8b5cf6 235deg,
    #ffffff 255deg,
    #00f2fe 285deg,
    #fe0979 315deg,
    transparent 360deg
  );
  animation: borderLaserBeamRotate 2.5s linear infinite;
}

@keyframes borderLaserBeamRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Fast Shimmering Edge Wave (ঝিকিমিকি ওয়েভ) */
.glow-edge-shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid transparent;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 242, 254, 0.5) 20%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(254, 9, 121, 0.5) 80%,
    transparent 100%
  ) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  background-size: 200% 100%;
  animation: shimmerSweep 1.8s linear infinite;
  opacity: 0.9;
}

@keyframes shimmerSweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Sparkling Diamonds / 4-Point Stars Track (ঝিকিমিকি তারা) */
.glow-sparkles-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.glow-sparkle {
  position: absolute;
  width: 16px;
  height: 16px;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
  transform: scale(0) rotate(0deg);
  filter: drop-shadow(0 0 6px #00f2fe) drop-shadow(0 0 14px #fe0979);
}

.glow-sparkle svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

/* Perimeter Coordinates */
.sp-t1 { top: -8px; left: 16%; }
.sp-t2 { top: -9px; left: 50%; transform: translateX(-50%); }
.sp-t3 { top: -8px; right: 18%; }
.sp-r1 { top: 50%; right: -8px; transform: translateY(-50%); }
.sp-b1 { bottom: -8px; right: 24%; }
.sp-b2 { bottom: -9px; left: 50%; transform: translateX(-50%); }
.sp-b3 { bottom: -8px; left: 20%; }
.sp-l1 { top: 50%; left: -8px; transform: translateY(-50%); }

/* Staggered Twinkle Animation */
.navbar.fetch-active .glow-sparkle {
  animation: borderSparkleTwinkle 1.35s ease-in-out infinite;
}

.navbar.fetch-active .sp-t1 { animation-delay: 0.05s; }
.navbar.fetch-active .sp-r1 { animation-delay: 0.22s; }
.navbar.fetch-active .sp-b1 { animation-delay: 0.42s; }
.navbar.fetch-active .sp-t2 { animation-delay: 0.62s; }
.navbar.fetch-active .sp-b2 { animation-delay: 0.82s; }
.navbar.fetch-active .sp-l1 { animation-delay: 1.02s; }
.navbar.fetch-active .sp-t3 { animation-delay: 1.22s; }
.navbar.fetch-active .sp-b3 { animation-delay: 0.32s; }

@keyframes borderSparkleTwinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  30% {
    opacity: 0.3;
    transform: scale(0.65) rotate(35deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.4) rotate(90deg);
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 18px #00f2fe) drop-shadow(0 0 26px #fe0979);
    color: #ffffff;
  }
  70% {
    opacity: 0.4;
    transform: scale(0.7) rotate(135deg);
  }
}

/* Success Burst when Fetch Finishes */
.navbar.fetch-complete {
  border-color: rgba(52, 211, 153, 0.95);
  box-shadow: 
    0 0 0 2px rgba(52, 211, 153, 0.85),
    0 0 34px rgba(52, 211, 153, 0.8),
    0 0 65px rgba(0, 242, 254, 0.55),
    inset 0 0 22px rgba(52, 211, 153, 0.45),
    var(--mirror-shadow);
  transition: all 0.65s var(--ease-spring);
}

.navbar.fetch-complete .nav-border-glow-system {
  opacity: 1;
}

.navbar.fetch-complete .glow-sparkle {
  animation: sparkleCompleteFlash 0.95s var(--ease-spring) forwards;
  color: #a7f3d0;
}

@keyframes sparkleCompleteFlash {
  0% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50% { 
    opacity: 1; 
    transform: scale(1.65) rotate(90deg); 
    filter: drop-shadow(0 0 12px #34d399) drop-shadow(0 0 22px #00f2fe); 
  }
  100% { opacity: 0; transform: scale(0) rotate(180deg); }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 16px rgba(0, 242, 254, 0.35));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  will-change: transform;
}

.brand-logo:hover .logo-icon-wrapper {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 8px 24px rgba(0, 242, 254, 0.6)) drop-shadow(0 2px 10px rgba(254, 9, 121, 0.4));
}

.theme-light .logo-icon-wrapper {
  filter: drop-shadow(0 4px 14px rgba(139, 92, 246, 0.25));
}

.theme-light .brand-logo:hover .logo-icon-wrapper {
  filter: drop-shadow(0 8px 22px rgba(139, 92, 246, 0.45));
}

.logo-svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shineGradient 6s linear infinite;
}

@keyframes shineGradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.badge-version {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.nav-link .nav-icon {
  opacity: 0.7;
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover .nav-icon {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  color: var(--text-muted);
  transition: all var(--trans-fast);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 0.92rem;
  transition: all var(--trans-normal);
  white-space: nowrap;
}

.btn-ghost {
  color: var(--text-muted);
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  position: relative;
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* History Pill Button (Symmetrical to Language Globe Selector) */
.history-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 13px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  box-shadow: var(--mirror-shadow-pill);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
  outline: none;
  user-select: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Liquid Mirror Sheen sweep on History button */
.history-pill-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.3) 50%, transparent 80%);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 5;
}

.history-pill-btn:hover::after {
  left: 170%;
}

.history-pill-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 4px 22px rgba(139, 92, 246, 0.28), inset 0 1px 1.5px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: var(--text-main);
}

.history-pill-btn:active {
  transform: translateY(0) scale(0.97);
}

.history-icon-svg {
  width: 17px;
  height: 17px;
  color: #a78bfa;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.6));
  transition: transform 0.4s var(--ease-spring), color 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
}

.history-pill-btn:hover .history-icon-svg {
  transform: scale(1.08);
  color: #c4b5fd;
  filter: drop-shadow(0 0 10px rgba(196, 181, 253, 0.9));
}

.history-counter-badge {
  font-size: 0.7rem;
  background: linear-gradient(135deg, #fe0979 0%, #ff5e62 100%);
  color: #ffffff;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 0 10px rgba(254, 9, 121, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--grad-button);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.45),
    0 4px 18px rgba(0, 114, 255, 0.4);
}

.btn-primary:hover {
  background: var(--grad-button-hover);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.55),
    0 6px 26px rgba(0, 114, 255, 0.6), 0 0 15px rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6.2. Interactive Pull-Cord Minimalist Lamp & Atmosphere Switch
   -------------------------------------------------------------------------- */
.lamp-pull-switch-wrapper {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 40px;
  z-index: 130;
  user-select: none;
}

/* Fixture Housing (Mounted gracefully in navbar line) */
.lamp-housing {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.lamp-housing:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.25);
  transform: translateY(-1px);
}

.lamp-cap {
  width: 14px;
  height: 4px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(148, 163, 184, 0.7) 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.lamp-bulb-socket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -1px;
}

/* Minimalist Glass Bulb Capsule */
.lamp-bulb-glass {
  width: 20px;
  height: 23px;
  border-radius: 50% 50% 45% 45% / 55% 55% 45% 45%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(0, 242, 254, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7), 0 2px 8px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.35s var(--ease-spring);
}

/* Bulb Glowing Internal Filament */
.lamp-filament {
  width: 7px;
  height: 9px;
  border: 1.8px solid var(--accent-cyan);
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  position: relative;
  box-shadow: 0 0 10px var(--accent-cyan), 0 0 18px rgba(0, 242, 254, 0.6);
  transition: all 0.35s var(--ease-spring);
}

.lamp-filament::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 6px #FFFFFF, 0 0 12px var(--accent-cyan);
}

/* Ambient Breathing Aura around Bulb */
.lamp-bulb-aura {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.35) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
  animation: bulbAuraPulse 3s ease-in-out infinite;
  transition: all 0.35s ease;
}

@keyframes bulbAuraPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.85; }
}

/* Burst Flash on Snap */
.lamp-flash-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(0, 242, 254, 0.6) 40%, transparent 75%);
  pointer-events: none;
  opacity: 0;
  z-index: 25;
}

.lamp-flash-burst.flash-active {
  animation: bulbFlashBurst 0.42s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bulbFlashBurst {
  0% { transform: translate(-50%, -50%) scale(0.15); opacity: 1; }
  40% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* Hanging Flexible Cord Rig & Spring */
.lamp-cord-rig {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 125;
}

.lamp-cord-svg {
  width: 40px;
  height: 50px;
  overflow: visible;
  display: block;
}

#lampCordPath {
  transition: stroke 0.3s ease, stroke-width 0.15s ease;
}

/* Glowing Tactile Knob Point */
.lamp-pull-knob {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  transition: filter 0.2s ease;
  will-change: transform;
}

.lamp-pull-knob:active,
.lamp-pull-knob.is-pulling {
  cursor: grabbing;
}

.knob-bead {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #00F2FE 45%, #8B5CF6 95%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.9), 0 2px 6px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: transform 0.2s var(--ease-spring), background 0.3s ease, box-shadow 0.3s ease;
}

.knob-spark {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #FFFFFF;
}

.knob-glow-halo {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.5) 0%, transparent 70%);
  animation: knobHaloPulse 2.4s ease-in-out infinite;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@keyframes knobHaloPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.35); opacity: 0.9; }
}

.lamp-pull-knob:hover .knob-glow-halo,
.lamp-pull-knob.is-pulling .knob-glow-halo {
  transform: scale(1.5);
  opacity: 1;
}

/* Tension Locked Ring (Appears when pulled past threshold) */
.knob-tension-ring {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 242, 254, 0.7);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.22s var(--ease-spring);
  pointer-events: none;
}

.lamp-pull-knob.is-tension-locked .knob-tension-ring {
  opacity: 1;
  transform: scale(1.3) rotate(180deg);
  border-color: #FE0979;
  box-shadow: 0 0 12px rgba(254, 9, 121, 0.85);
  animation: tensionSpin 1.8s linear infinite;
}

@keyframes tensionSpin {
  100% { transform: scale(1.3) rotate(360deg); }
}

.lamp-pull-knob.is-tension-locked .knob-bead {
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FE0979 50%, #8B5CF6 100%);
  box-shadow: 0 0 18px rgba(254, 9, 121, 0.95), 0 0 28px rgba(0, 242, 254, 0.8);
  transform: scale(1.15);
}

.knob-hit-area {
  position: absolute;
  width: 46px;
  height: 46px;
  top: -10px;
  left: -10px;
  cursor: grab;
}

/* Snap Rebound Keyframe Animation */
.lamp-cord-rig.is-snapping {
  animation: cordSnapRebound 0.44s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes cordSnapRebound {
  0% { transform: translateX(-50%) translateY(var(--snap-y, 35px)); }
  35% { transform: translateX(-50%) translateY(-10px); }
  65% { transform: translateX(-50%) translateY(4px); }
  85% { transform: translateX(-50%) translateY(-2px); }
  100% { transform: translateX(-50%) translateY(0); }
}

/* Full-Screen Circular Light Wave Ripple Transition */
.theme-ripple-wave {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: clip-path, opacity;
}

.theme-ripple-wave.wave-to-light {
  background: radial-gradient(
    circle at var(--wave-x, 80vw) var(--wave-y, 30px),
    #ffffff 0%,
    rgba(240, 248, 255, 0.98) 25%,
    rgba(224, 242, 254, 0.92) 50%,
    rgba(0, 242, 254, 0.4) 75%,
    rgba(139, 92, 246, 0.15) 90%,
    transparent 100%
  );
}

.theme-ripple-wave.wave-to-dark {
  background: radial-gradient(
    circle at var(--wave-x, 80vw) var(--wave-y, 30px),
    #030712 0%,
    rgba(11, 17, 32, 0.98) 35%,
    rgba(17, 24, 39, 0.92) 60%,
    rgba(139, 92, 246, 0.35) 80%,
    rgba(0, 242, 254, 0.1) 95%,
    transparent 100%
  );
}

.theme-ripple-wave.is-expanding {
  visibility: visible;
  animation: circularWaveExpand 0.62s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes circularWaveExpand {
  0% {
    opacity: 1;
    clip-path: circle(0px at var(--wave-x, 80vw) var(--wave-y, 30px));
  }
  65% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    clip-path: circle(var(--wave-radius, 2500px) at var(--wave-x, 80vw) var(--wave-y, 30px));
  }
}

/* Light / Day Mode Theme Appearance Overrides for Lamp */
body.theme-light .lamp-housing {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  border-top-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

body.theme-light .lamp-housing:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 170, 0, 0.4);
  box-shadow: 0 4px 20px rgba(255, 170, 0, 0.25);
}

body.theme-light .lamp-bulb-glass {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 180, 0, 0.2) 100%);
  border-color: rgba(255, 190, 80, 0.5);
}

body.theme-light .lamp-filament {
  border-color: #FFA500;
  box-shadow: 0 0 14px #FFA500, 0 0 24px rgba(255, 170, 0, 0.7);
}

body.theme-light .lamp-filament::after {
  background: #FFF8E7;
  box-shadow: 0 0 8px #FFFFFF, 0 0 14px #FF9100;
}

body.theme-light .lamp-bulb-aura {
  background: radial-gradient(circle, rgba(255, 170, 0, 0.45) 0%, transparent 70%);
}

body.theme-light .lamp-flash-burst {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(255, 180, 0, 0.6) 40%, transparent 75%);
}

body.theme-light .knob-bead {
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FFB703 45%, #FB8500 95%);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 14px rgba(255, 170, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.2);
}

body.theme-light .knob-glow-halo {
  background: radial-gradient(circle, rgba(255, 170, 0, 0.5) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   6.1. Premium Language Globe Selector & Motion Graphics System
   -------------------------------------------------------------------------- */
.lang-selector-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 120;
}

/* Invisible Hover Bridge Buffer: keeps hover active across the 10px button-to-menu space */
.lang-selector-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -15px;
  right: -15px;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}

.lang-globe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 10px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  box-shadow: var(--mirror-shadow-pill);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--trans-fast);
  outline: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}

/* Liquid Mirror Sheen sweep on globe button */
.lang-globe-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.3) 50%, transparent 80%);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 5;
}

.lang-globe-btn:hover::after,
.lang-selector-wrapper:hover .lang-globe-btn::after {
  left: 170%;
}

.lang-globe-btn:hover,
.lang-selector-wrapper:hover .lang-globe-btn,
.lang-selector-wrapper.is-open .lang-globe-btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 4px 22px rgba(0, 242, 254, 0.3), inset 0 1px 1.5px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Globe Icon Container with Holographic Pulse Ring */
.globe-icon-box {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.globe-svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.65));
  transition: transform 0.6s var(--ease-spring), filter 0.3s ease;
  will-change: transform;
}

.lang-selector-wrapper:hover .globe-svg,
.lang-selector-wrapper.is-open .globe-svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.95));
}

.globe-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 242, 254, 0.5);
  opacity: 0;
  pointer-events: none;
}

.lang-selector-wrapper:hover .globe-pulse-ring,
.lang-selector-wrapper.is-open .globe-pulse-ring {
  animation: globePulseRing 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes globePulseRing {
  0% { transform: scale(0.8); opacity: 0.85; }
  60% { transform: scale(1.4); opacity: 0.15; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Current Language Badge (Flag + Code) */
.lang-current-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-current-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 13px;
  border-radius: 2.5px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.lang-current-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-current-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
  line-height: 1;
}

/* Micro Chevron Indicator */
.lang-chevron-svg {
  color: var(--text-muted);
  transition: transform 0.35s var(--ease-spring), color 0.2s ease;
  flex-shrink: 0;
}

.lang-selector-wrapper:hover .lang-chevron-svg,
.lang-selector-wrapper.is-open .lang-chevron-svg {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   Liquid Mirror Glass Dropdown Menu & 120fps Smooth Motion
   -------------------------------------------------------------------------- */
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: 310px;
  z-index: 1000;
  
  /* Initial hidden state with GPU-accelerated 3D transform */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: 
    opacity 0.28s var(--ease-spring),
    transform 0.28s var(--ease-spring),
    visibility 0.28s;
  will-change: transform, opacity;
}

/* Dropdown Open / Hover State */
.lang-selector-wrapper:hover .lang-dropdown-menu,
.lang-selector-wrapper.is-open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-dropdown-glass-plate {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(10, 16, 32, 0.78) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 24px 56px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(0, 242, 254, 0.14),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

/* Gradient accent line across dropdown ceiling */
.lang-dropdown-glass-plate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00F2FE 30%, #8B5CF6 70%, transparent);
}

/* Dropdown Header */
.lang-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.lang-dropdown-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.lang-dropdown-header-title svg {
  color: var(--accent-cyan);
}

.lang-auto-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.14);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.auto-indicator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: pulseDot 1.6s ease-in-out infinite;
}

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

/* Language Options Scroll List */
.lang-options-list {
  padding: 8px;
  max-height: 310px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lang-options-list::-webkit-scrollbar {
  width: 4px;
}
.lang-options-list::-webkit-scrollbar-track {
  background: transparent;
}
.lang-options-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

/* Individual Language Item Button */
.lang-option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--ease-spring);
  outline: none;
  user-select: none;
}

/* Cascading stagger animation when menu opens */
.lang-selector-wrapper:hover .lang-option-btn,
.lang-selector-wrapper.is-open .lang-option-btn {
  animation: langItemEntrance 0.34s var(--ease-spring) both;
  animation-delay: calc(var(--item-idx, 0) * 22ms);
}

@keyframes langItemEntrance {
  0% {
    opacity: 0;
    transform: translateX(-12px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.lang-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateX(4px);
}

.lang-option-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.14) 0%, rgba(139, 92, 246, 0.12) 100%);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.lang-flag-box {
  width: 26px;
  height: 18px;
  border-radius: 3.5px;
  overflow: hidden;
  box-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease;
}

.lang-option-btn:hover .lang-flag-box {
  transform: scale(1.08);
}

.lang-flag-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lang-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-native-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.lang-code-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.lang-option-btn.active .lang-code-tag {
  background: rgba(0, 242, 254, 0.22);
  color: var(--accent-cyan);
}

.lang-region-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.lang-check-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.22s var(--ease-spring);
  flex-shrink: 0;
}

.lang-option-btn.active .lang-check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Dropdown Footer */
.lang-dropdown-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-detect-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.lang-detect-btn:hover {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.25);
  transform: translateY(-1px);
}

/* Theme Light Mode Overrides */
body.theme-light .lang-dropdown-glass-plate {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 255, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 25px rgba(0, 114, 255, 0.08), inset 0 1.5px 1px #ffffff;
}

body.theme-light .lang-dropdown-header {
  background: rgba(0, 0, 0, 0.02);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.theme-light .lang-option-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .lang-dropdown-footer {
  background: rgba(0, 0, 0, 0.02);
  border-top-color: rgba(0, 0, 0, 0.06);
}

body.theme-light .lang-code-tag {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

body.theme-light .history-pill-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.18), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
}

body.theme-light .history-icon-svg {
  color: #7c3aed;
  filter: drop-shadow(0 0 4px rgba(124, 58, 237, 0.35));
}

body.theme-light .navbar.fetch-active {
  border-color: rgba(0, 160, 255, 0.95);
  box-shadow: 
    0 0 0 1.5px rgba(0, 160, 255, 0.8),
    0 0 24px rgba(0, 180, 255, 0.55),
    0 0 48px rgba(139, 92, 246, 0.4),
    0 0 75px rgba(254, 9, 121, 0.25),
    inset 0 0 18px rgba(0, 180, 255, 0.25),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1),
    var(--mirror-shadow);
}

/* Light Theme Crystal Optical Glass Overrides */
body.theme-light .card-youtube {
  background: linear-gradient(155deg, rgba(255, 0, 0, 0.12) 0%, rgba(255, 68, 68, 0.08) 40%, rgba(255, 255, 255, 0.75) 100%);
  border: 1px solid rgba(255, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.98);
}
body.theme-light .card-tiktok {
  background: linear-gradient(155deg, rgba(254, 9, 121, 0.12) 0%, rgba(0, 242, 254, 0.08) 40%, rgba(255, 255, 255, 0.75) 100%);
  border: 1px solid rgba(254, 9, 121, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.98);
}
body.theme-light .card-instagram {
  background: linear-gradient(155deg, rgba(240, 148, 51, 0.12) 0%, rgba(220, 39, 67, 0.1) 40%, rgba(255, 255, 255, 0.75) 100%);
  border: 1px solid rgba(220, 39, 67, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.98);
}
body.theme-light .card-facebook {
  background: linear-gradient(155deg, rgba(24, 119, 242, 0.12) 0%, rgba(59, 130, 246, 0.08) 40%, rgba(255, 255, 255, 0.75) 100%);
  border: 1px solid rgba(24, 119, 242, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.98);
}
body.theme-light .card-twitter {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 245, 255, 0.75) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.98);
}
body.theme-light .step-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 246, 255, 0.6) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-top: 1px solid rgba(255, 255, 255, 1) !important;
}
body.theme-light .feature-tile {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 246, 255, 0.6) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-top: 1px solid rgba(255, 255, 255, 1) !important;
}
body.theme-light .cta-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 240, 255, 0.75) 50%, rgba(245, 240, 255, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 1);
}
body.theme-light .history-drawer {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 246, 255, 0.88) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}
body.theme-light .faq-item.open {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 246, 255, 0.8) 100%);
}
body.theme-light .liquid-glass-plate::before,
body.theme-light .hero-text-glass-plate::before,
body.theme-light .downloader-card::before,
body.theme-light .platform-card::before,
body.theme-light .step-card::before,
body.theme-light .feature-tile::before,
body.theme-light .section-header::before,
body.theme-light .cta-banner::before {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 160, 255, 0.4) 25%, rgba(255, 255, 255, 1) 50%, rgba(139, 92, 246, 0.4) 75%, transparent 100%);
  opacity: 0.95;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--trans-fast);
}

/* --------------------------------------------------------------------------
   7. Liquid Mirror Glass Plate Under Texts ("প্রত্যেকটা টেক্সটের নিচে লিকুইড গ্লাস")
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 40px 0 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
}

.glow-pulse {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: var(--accent-cyan);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: var(--mirror-shadow-pill), 0 0 18px rgba(0, 242, 254, 0.2);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.pill-glass {
  color: var(--text-muted);
}

.pill-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: #c084fc;
  border-color: rgba(139, 92, 246, 0.4);
}

.pill-cyan {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: #38bdf8;
  border-color: rgba(0, 242, 254, 0.4);
}

.pill-pink {
  background: linear-gradient(135deg, rgba(254, 9, 121, 0.15) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: #f472b6;
  border-color: rgba(254, 9, 121, 0.4);
}

/* Liquid Mirror Glass Showcase Plate Under Hero Text */
.hero-text-glass-plate {
  max-width: 960px;
  margin: 0 auto 36px;
  padding: 34px 44px;
  border-radius: var(--radius-xl);
  background: var(--liquid-glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  box-shadow: var(--mirror-shadow-lg);
  transition: all var(--trans-normal);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.hero-headline:last-child {
  margin-bottom: 0;
}

.glow-text {
  position: relative;
  display: inline-block;
  font-weight: 900;
}

.youtube-color {
  background: linear-gradient(135deg, #ff0000, #ff4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 0, 0, 0.45));
}

.tiktok-color {
  background: linear-gradient(135deg, #00f2fe, #fe0979);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(254, 9, 121, 0.35));
}

.insta-color {
  background: var(--grad-insta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(220, 39, 67, 0.4));
}

.fb-color {
  color: #2e89ff;
  text-shadow: 0 0 18px rgba(46, 137, 255, 0.4);
}

.twitter-color {
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.35));
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 400;
}

/* Liquid Mirror Glass Plate for Section Headers */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
  padding: 30px 38px;
  border-radius: var(--radius-xl);
  background: var(--liquid-glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  box-shadow: var(--mirror-shadow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 14px 0 10px;
  color: var(--text-main);
}

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

/* --------------------------------------------------------------------------
   8. Master Downloader Hub (Liquid Mirror Glass Console)
   -------------------------------------------------------------------------- */
.downloader-card-wrapper {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.downloader-card-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.45), rgba(99, 102, 241, 0.4), rgba(254, 9, 121, 0.42));
  opacity: 0.55;
  filter: blur(18px);
  z-index: -1;
  transition: opacity var(--trans-normal), transform var(--trans-normal);
}

.downloader-card-wrapper:hover::before {
  opacity: 0.8;
  transform: none;
}

.downloader-card {
  background: var(--liquid-glass-card-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: var(--mirror-border);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--mirror-shadow-lg);
  text-align: left;
  position: relative;
}

/* Platform Options (Liquid Glass Tabs) */
.platform-tabs-container {
  position: relative;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 16, 32, 0.55) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--mirror-shadow-pill);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.platform-tabs-container::-webkit-scrollbar {
  display: none;
}

.platform-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  width: max-content;
  min-width: 100%;
}

.platform-tabs-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.3) 0%, rgba(139, 92, 246, 0.22) 100%);
  border: 1px solid var(--accent-cyan);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 18px rgba(0, 242, 254, 0.45);
  z-index: 1;
  transition: left 0.28s var(--ease-spring), width 0.28s var(--ease-spring);
  pointer-events: none;
}

.platform-tabs-slider[data-platform="all"] {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.32) 0%, rgba(139, 92, 246, 0.22) 100%);
  border-color: rgba(0, 242, 254, 0.7);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7), 0 0 20px rgba(0, 242, 254, 0.45);
}
.platform-tabs-slider[data-platform="youtube"] {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.38) 0%, rgba(255, 68, 68, 0.22) 100%);
  border-color: rgba(255, 0, 0, 0.85);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 0, 0, 0.5);
}
.platform-tabs-slider[data-platform="tiktok"] {
  background: linear-gradient(135deg, rgba(254, 9, 121, 0.35) 0%, rgba(0, 242, 254, 0.22) 100%);
  border-color: rgba(254, 9, 121, 0.75);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7), 0 0 20px rgba(254, 9, 121, 0.5);
}
.platform-tabs-slider[data-platform="instagram"] {
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.32) 0%, rgba(220, 39, 67, 0.28) 50%, rgba(188, 24, 136, 0.22) 100%);
  border-color: rgba(220, 39, 67, 0.75);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7), 0 0 20px rgba(220, 39, 67, 0.5);
}
.platform-tabs-slider[data-platform="facebook"] {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.36) 0%, rgba(56, 189, 248, 0.22) 100%);
  border-color: rgba(24, 119, 242, 0.8);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7), 0 0 20px rgba(24, 119, 242, 0.5);
}
.platform-tabs-slider[data-platform="twitter"] {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(148, 163, 184, 0.2) 100%);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
}

.platform-tab {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--trans-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.platform-tab .tab-svg {
  width: 17px;
  height: 17px;
  transition: transform var(--trans-fast);
}

.platform-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.platform-tab:hover .tab-svg {
  transform: scale(1.12);
}

.platform-tab.active {
  color: #ffffff;
}

.tab-yt-svg { color: var(--color-youtube); filter: drop-shadow(0 0 4px var(--color-youtube)); }
.tab-tiktok-svg { color: var(--color-tiktok); filter: drop-shadow(0 0 4px var(--color-tiktok)); }
.tab-insta-svg { color: var(--color-insta-mid); filter: drop-shadow(0 0 4px var(--color-insta-mid)); }
.tab-fb-svg { color: #38bdf8; filter: drop-shadow(0 0 4px #1877f2); }
.tab-tw-svg { color: #ffffff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6)); }

/* Input Bar (Liquid Mirror Trench) */
.downloader-form {
  display: flex;
  gap: 12px;
  position: relative;
}

.input-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(5, 10, 24, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all var(--trans-normal);
  overflow: hidden;
}

.laser-border-glow {
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg, transparent 0%, var(--accent-cyan) 25%, var(--accent-purple) 50%, var(--accent-magenta) 75%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  animation: laserRotate 4s linear infinite;
  transition: opacity 0.3s ease;
}

@keyframes laserRotate {
  100% { transform: rotate(360deg); }
}

.input-container:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0, 242, 254, 0.45), 0 0 25px rgba(0, 242, 254, 0.3);
}

.input-container:focus-within .laser-border-glow {
  opacity: 0.5;
}

.input-icon-left {
  padding-left: 18px;
  display: flex;
  align-items: center;
  color: var(--text-dim);
  transition: color var(--trans-fast);
  z-index: 2;
}

.input-container:focus-within .input-icon-left {
  color: var(--accent-cyan);
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 18px 14px;
  font-size: 1.05rem;
  color: var(--text-main);
  width: 100%;
  position: relative;
  z-index: 2;
}

.url-input::placeholder {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.input-actions-right {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 10px;
  position: relative;
  z-index: 2;
}

.btn-clear {
  color: var(--text-dim);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.btn-clear:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.btn-paste {
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
}

.btn-paste:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-download-submit {
  background: var(--grad-primary);
  background-size: 200% 200%;
  color: #ffffff;
  padding: 0 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
    0 8px 24px rgba(139, 92, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-normal);
  animation: gradientShift 6s ease infinite;
}

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

.btn-download-submit:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
    0 12px 34px rgba(139, 92, 246, 0.55), 0 0 25px rgba(0, 242, 254, 0.4);
}

.btn-submit-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-arrow-icon {
  transition: transform var(--trans-fast);
}

.btn-download-submit:hover .download-arrow-icon {
  transform: translateY(2px);
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Quick Demo Chips Bar (Liquid Mirror Capsules) */
.sample-links-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.sample-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
}

.sample-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--liquid-glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  transition: all var(--trans-fast);
}

.chip-glow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: transform var(--trans-fast);
}

.sample-chip:hover {
  transform: translateY(-2px);
}

.sample-chip:hover .chip-glow-dot {
  transform: scale(1.35);
}

/* Platform-Specific Jewel Liquid Glass Chips */
.chip-youtube {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.18) 0%, rgba(255, 68, 68, 0.1) 100%);
  border: 1px solid rgba(255, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffe4e6;
}
.chip-youtube:hover {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.28) 0%, rgba(255, 68, 68, 0.18) 100%);
  border-color: rgba(255, 0, 0, 0.65);
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.35);
  color: #ffffff;
}
.chip-youtube .chip-glow-dot { background: var(--color-youtube); box-shadow: 0 0 8px var(--color-youtube); }

.chip-tiktok {
  background: linear-gradient(135deg, rgba(254, 9, 121, 0.16) 0%, rgba(0, 242, 254, 0.08) 100%);
  border: 1px solid rgba(254, 9, 121, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  color: #fce7f3;
}
.chip-tiktok:hover {
  background: linear-gradient(135deg, rgba(254, 9, 121, 0.28) 0%, rgba(0, 242, 254, 0.16) 100%);
  border-color: rgba(254, 9, 121, 0.65);
  box-shadow: 0 4px 16px rgba(254, 9, 121, 0.3);
  color: #ffffff;
}
.chip-tiktok .chip-glow-dot { background: var(--color-tiktok); box-shadow: 0 0 8px var(--color-tiktok); }

.chip-instagram {
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.16) 0%, rgba(220, 39, 67, 0.12) 50%, rgba(188, 24, 136, 0.1) 100%);
  border: 1px solid rgba(220, 39, 67, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffe4e6;
}
.chip-instagram:hover {
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.28) 0%, rgba(220, 39, 67, 0.22) 50%, rgba(188, 24, 136, 0.18) 100%);
  border-color: rgba(220, 39, 67, 0.65);
  box-shadow: 0 4px 16px rgba(220, 39, 67, 0.3);
  color: #ffffff;
}
.chip-instagram .chip-glow-dot { background: var(--color-insta-mid); box-shadow: 0 0 8px var(--color-insta-mid); }

.chip-facebook {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.18) 0%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid rgba(24, 119, 242, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  color: #e0f2fe;
}
.chip-facebook:hover {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.3) 0%, rgba(56, 189, 248, 0.18) 100%);
  border-color: rgba(24, 119, 242, 0.65);
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.3);
  color: #ffffff;
}
.chip-facebook .chip-glow-dot { background: var(--color-facebook); box-shadow: 0 0 8px var(--color-facebook); }

.chip-twitter {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(148, 163, 184, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  color: #f8fafc;
}
.chip-twitter:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.chip-twitter .chip-glow-dot { background: #ffffff; box-shadow: 0 0 8px #ffffff; }

/* --------------------------------------------------------------------------
   9. Next-Gen Motion Processing Studio (Fluid Aurora & Quantum Synapse)
   -------------------------------------------------------------------------- */
.motion-studio-state {
  margin-top: 28px;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 16, 32, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1.5px solid rgba(255, 255, 255, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.4),
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 45px rgba(0, 242, 254, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: motionStateEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes motionStateEntrance {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Ambient Aurora Behind Core */
.motion-aurora-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.35) 0%, rgba(139, 92, 246, 0.25) 50%, rgba(254, 9, 121, 0.15) 75%, transparent 100%);
  filter: blur(40px);
  pointer-events: none;
  animation: auroraMorph 4s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes auroraMorph {
  0% { transform: translate(-50%, -50%) scale(0.9) rotate(0deg); opacity: 0.6; }
  50% { transform: translate(-48%, -52%) scale(1.15) rotate(90deg); opacity: 0.9; }
  100% { transform: translate(-52%, -48%) scale(1.0) rotate(180deg); opacity: 0.7; }
}

/* Central Orbital Motion Graphics Synapse */
.motion-core-visual {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  z-index: 2;
}

/* Expanding Radar/Pulse Rings */
.motion-pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 242, 254, 0.5);
  pointer-events: none;
}
.pulse-ring-1 {
  width: 100%;
  height: 100%;
  animation: pulseWave1 2.8s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}
.pulse-ring-2 {
  width: 100%;
  height: 100%;
  animation: pulseWave2 2.8s cubic-bezier(0.1, 0.8, 0.3, 1) infinite 1.4s;
}

@keyframes pulseWave1 {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes pulseWave2 {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Dual SVG Orbital Spinners */
.motion-orbital-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orbital-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}

.orbital-tracer {
  fill: none;
  stroke-linecap: round;
}

.tracer-primary {
  stroke: url(#orbitalGrad1);
  stroke-width: 3.5;
  stroke-dasharray: 120 190;
  transform-origin: center;
  animation: orbitalSpinClockwise 2.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.8));
}

.tracer-secondary {
  stroke: url(#orbitalGrad2);
  stroke-width: 2.5;
  stroke-dasharray: 70 180;
  transform-origin: center;
  animation: orbitalSpinCounter 3.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: drop-shadow(0 0 6px rgba(254, 9, 121, 0.7));
}

@keyframes orbitalSpinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitalSpinCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Center Glass Orb */
.motion-center-orb {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(10, 16, 32, 0.9) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 0.6),
    0 0 28px rgba(0, 242, 254, 0.4),
    0 12px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  transition: all 0.4s ease;
}

.orb-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f2fe;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.8));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: iconBreathe 2s ease-in-out infinite;
}

@keyframes iconBreathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.7)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 16px rgba(0, 242, 254, 1)); }
}

/* Platform-Specific Orb Styling */
.orb-youtube {
  border-color: rgba(255, 0, 0, 0.85);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 0, 0, 0.5), 0 12px 24px rgba(0, 0, 0, 0.6);
}
.orb-youtube .orb-icon-wrapper {
  color: #ff0033;
  filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.9));
}

.orb-tiktok {
  border-color: rgba(0, 242, 254, 0.85);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.6), 0 0 30px rgba(254, 9, 121, 0.4), 0 0 20px rgba(0, 242, 254, 0.5);
}
.orb-tiktok .orb-icon-wrapper {
  color: #00f2fe;
  filter: drop-shadow(0 0 12px rgba(254, 9, 121, 0.9));
}

.orb-instagram {
  border-color: rgba(225, 48, 108, 0.85);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.6), 0 0 30px rgba(225, 48, 108, 0.5);
}
.orb-instagram .orb-icon-wrapper {
  color: #f56040;
  filter: drop-shadow(0 0 12px rgba(225, 48, 108, 0.9));
}

.orb-facebook {
  border-color: rgba(24, 119, 242, 0.85);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.6), 0 0 30px rgba(24, 119, 242, 0.5);
}
.orb-facebook .orb-icon-wrapper {
  color: #2e89ff;
  filter: drop-shadow(0 0 12px rgba(46, 137, 255, 0.9));
}

.orb-twitter {
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.35);
}
.orb-twitter .orb-icon-wrapper {
  color: #ffffff;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

/* Sound/Stream Equalizer Waves */
.stream-wave-visual {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 18px;
  z-index: 4;
}

.wave-bar {
  width: 3.5px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, #00f2fe, #8b5cf6);
  box-shadow: 0 0 6px rgba(0, 242, 254, 0.6);
  animation: streamWaveDance 1.1s ease-in-out infinite alternate;
}
.wb-1 { height: 7px; animation-delay: 0.1s; }
.wb-2 { height: 12px; animation-delay: 0.3s; }
.wb-3 { height: 16px; animation-delay: 0.5s; }
.wb-4 { height: 18px; animation-delay: 0.2s; }
.wb-5 { height: 14px; animation-delay: 0.4s; }
.wb-6 { height: 10px; animation-delay: 0.6s; }
.wb-7 { height: 6px; animation-delay: 0.15s; }

@keyframes streamWaveDance {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1.3); opacity: 1; }
}

/* Processing Content Group */
.motion-content-group {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.motion-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.motion-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.chip-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 10px #00f2fe;
  animation: radarPulse 1.4s infinite;
}

.motion-percent-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.3);
  min-width: 52px;
  text-align: center;
}

.motion-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.015em;
  transition: opacity 0.2s ease;
}

.motion-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 22px;
  max-width: 540px;
  line-height: 1.5;
}

/* Liquid Glow Progress Track */
.motion-progress-container {
  width: 100%;
  max-width: 580px;
  margin-bottom: 24px;
}

.motion-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.motion-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00f2fe 0%, #3b82f6 40%, #8b5cf6 75%, #fe0979 100%);
  border-radius: var(--radius-full);
  transition: width 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.8), 0 0 25px rgba(139, 92, 246, 0.5);
}

.progress-glow-head {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff, 0 0 20px #00f2fe;
}

.progress-shimmer-flare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
  animation: progressShimmerSweep 1.8s infinite;
}

@keyframes progressShimmerSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Motion Steps Pipeline Badges */
.motion-steps-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 620px;
}

.motion-step-node {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.motion-step-node .step-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.motion-step-node.step-active {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.15);
}
.motion-step-node.step-active .step-check-icon {
  background: #38bdf8;
  color: #030712;
  box-shadow: 0 0 10px #38bdf8;
}

.motion-step-node.step-done {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}
.motion-step-node.step-done .step-check-icon {
  background: #10b981;
  color: #030712;
  box-shadow: 0 0 10px #10b981;
}

/* Responsive Scaling for Mobile Screens */
@media (max-width: 680px) {
  .motion-studio-state {
    padding: 28px 16px;
    margin-top: 20px;
    border-radius: var(--radius-lg);
  }

  .motion-core-visual {
    width: 110px;
    height: 110px;
    margin-bottom: 18px;
  }

  .motion-center-orb {
    width: 54px;
    height: 54px;
  }

  .orb-icon-wrapper svg {
    width: 22px;
    height: 22px;
  }

  .motion-title {
    font-size: 1.12rem;
  }

  .motion-desc {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }

  .motion-steps-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .motion-step-node {
    padding: 6px 8px;
    font-size: 0.72rem;
  }
}

/* --------------------------------------------------------------------------
   10. Result Container & Download Options Layout (Liquid Mirror Plates)
   -------------------------------------------------------------------------- */
.result-container {
  margin-top: 28px;
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 16, 32, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-xl);
  padding: 30px 32px;
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(0, 0, 0, 0.5),
    0 24px 60px -10px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(0, 242, 254, 0.12);
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Luminous Multi-Stage Entrance Animation */
.result-container.is-revealing {
  animation: downloadContainerReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes downloadContainerReveal {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    filter: brightness(1.2);
  }
  65% {
    opacity: 1;
    transform: translateY(-2px) scale(1.002);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

/* Hologram Laser Scanning Sweep on Entrance */
.result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 254, 0.95) 30%, rgba(254, 9, 121, 0.95) 70%, transparent 100%);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.8), 0 0 25px rgba(254, 9, 121, 0.6);
  pointer-events: none;
  animation: laserSweep 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes laserSweep {
  0% { transform: scaleX(0); opacity: 0; }
  30% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.5; }
}

.result-container.is-revealing .result-header {
  animation: resultHeaderReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.result-container.is-revealing .result-media-col {
  animation: mediaColSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.result-container.is-revealing .video-meta-block {
  animation: metaBlockSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.result-container.is-revealing .formats-list-heading {
  animation: resultHeaderReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

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

@keyframes mediaColSlideIn {
  from { opacity: 0; transform: translateX(-20px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes metaBlockSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes formatCardCascade {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
}

.result-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 16px rgba(16, 185, 129, 0.25);
  letter-spacing: 0.015em;
}

.dot-success {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 18px #34d399;
  position: relative;
  display: inline-block;
  animation: radarPulse 1.8s infinite;
}

@keyframes radarPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Media Showcase Hero (Thumbnail + Metadata in clean horizontal harmony) */
.result-showcase-card {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(10, 16, 32, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-xl);
  padding: 22px 26px;
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
    var(--mirror-shadow);
  margin-bottom: 24px;
}

.result-media-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.preview-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.4),
    0 16px 36px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.preview-media-box.aspect-portrait {
  aspect-ratio: 9 / 16;
  max-height: 280px;
  max-width: 180px;
  margin: 0 auto;
}

.preview-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-normal);
}

.preview-media-box:hover .preview-thumbnail {
  transform: scale(1.04);
}

.preview-watch-hint {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(3, 7, 18, 0.78);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.preview-watch-hint .preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
  animation: radarPulse 1.8s infinite;
}

.preview-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 16, 32, 0.84);
  border: 2px solid rgba(0, 242, 254, 0.8);
  color: #00f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.45), inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
  z-index: 3;
}

.preview-play-overlay:hover {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #030712;
  border-color: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 32px rgba(0, 242, 254, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(3, 7, 18, 0.85);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
  z-index: 2;
}

.preview-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

/* Video Meta Block (Right Column in Showcase) */
.video-meta-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.meta-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.result-author-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--mirror-shadow-pill);
  max-width: 100%;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 242, 254, 0.55);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.35);
  flex-shrink: 0;
}

.author-details {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.author-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.verified-check {
  color: #38bdf8;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
  flex-shrink: 0;
}

.author-handle {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.015em;
  word-break: break-word;
}

.video-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.stat-pill:nth-child(1) {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.stat-pill:nth-child(1) svg { stroke: #38bdf8; }

.stat-pill:nth-child(2) {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.4);
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.stat-pill:nth-child(2) svg { stroke: #fb7185; }

.stat-pill:nth-child(3),
.stat-pill.stat-pill-cyan {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.45);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.stat-pill:nth-child(3) svg,
.stat-pill.stat-pill-cyan svg { stroke: #34d399; }

/* Available Download Streams (Full-Width Matrix) */
.result-formats-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.formats-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 2px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 10px;
}

.formats-list-heading h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.formats-secure-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Download Format Cards (Full Width Grid & Spacious Rows) */
.formats-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.format-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 20px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 16, 32, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
    var(--mirror-shadow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.result-container.is-revealing .format-card {
  animation: formatCardCascade 0.65s cubic-bezier(0.16, 1, 0.3, 1) calc(0.3s + var(--card-index, 0) * 0.09s) both;
}

.format-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(10, 16, 32, 0.68) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
    var(--mirror-shadow-lg), 
    0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Card Accents: 1080p Ultra HD */
.format-card.format-highlight {
  background: 
    radial-gradient(circle at 10% 50%, rgba(0, 242, 254, 0.16) 0%, transparent 60%),
    linear-gradient(135deg, rgba(0, 242, 254, 0.14) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-color: rgba(0, 242, 254, 0.55);
  border-top: 1.5px solid rgba(255, 255, 255, 0.95);
  border-left: 1.5px solid rgba(0, 242, 254, 0.7);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
    var(--mirror-shadow), 
    0 0 26px rgba(0, 242, 254, 0.22);
}
.format-card.format-highlight:hover {
  border-color: rgba(0, 242, 254, 0.85);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
    var(--mirror-shadow-lg), 
    0 0 35px rgba(0, 242, 254, 0.38);
}

/* Card Accents: 720p Clean Stream */
.format-card.format-standard {
  background: 
    radial-gradient(circle at 10% 50%, rgba(59, 130, 246, 0.14) 0%, transparent 60%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(10, 16, 32, 0.55) 100%);
  border-color: rgba(59, 130, 246, 0.45);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
}

/* Card Accents: MP3 Audio */
.format-card.format-audio {
  background: 
    radial-gradient(circle at 10% 50%, rgba(245, 158, 11, 0.16) 0%, transparent 60%),
    linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.08) 100%);
  border-color: rgba(245, 158, 11, 0.5);
  border-top: 1.5px solid rgba(255, 255, 255, 0.9);
  border-left: 1.5px solid rgba(245, 158, 11, 0.65);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.45),
    var(--mirror-shadow), 
    0 0 26px rgba(245, 158, 11, 0.22);
}
.format-card.format-audio:hover {
  border-color: rgba(245, 158, 11, 0.85);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
    var(--mirror-shadow-lg), 
    0 0 35px rgba(245, 158, 11, 0.38);
}

/* Card Accents: Cover Image */
.format-card.format-image {
  background: 
    radial-gradient(circle at 10% 50%, rgba(16, 185, 129, 0.14) 0%, transparent 60%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(10, 16, 32, 0.55) 100%);
  border-color: rgba(16, 185, 129, 0.45);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
}

.format-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.format-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--liquid-glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--mirror-shadow-pill);
  color: #ffffff;
  transition: transform var(--trans-fast);
  flex-shrink: 0;
}

.format-card:hover .format-icon-badge {
  transform: scale(1.05);
}

.format-highlight .format-icon-badge {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #030712;
  border-color: rgba(0, 242, 254, 0.7);
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.5);
}

.format-standard .format-icon-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.format-audio .format-icon-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
}

.format-image .format-icon-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
}

.format-info-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.format-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.format-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.format-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.25);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.format-highlight .format-pill {
  background: rgba(0, 242, 254, 0.25);
  color: #22d3ee;
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 10px rgba(0, 242, 254, 0.3);
}

.format-standard .format-pill {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.format-audio .format-pill {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 10px rgba(245, 158, 11, 0.3);
}

.format-image .format-pill {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Fluid Micro Spec Chips */
.format-specs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
  line-height: 1.4;
}

.spec-chip-size {
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}

.spec-chip-clean {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  font-weight: 700;
}

.spec-chip-audio {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  font-weight: 700;
}

.spec-chip-cover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  font-weight: 700;
}

/* Action Buttons & Preview Trigger */
.format-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-watch-preview {
  padding: 11px 18px;
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.btn-watch-preview:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.btn-watch-preview svg {
  color: #00f2fe;
}

.btn-download-action {
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--liquid-glass-bg);
  color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--mirror-shadow-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--trans-fast);
  white-space: nowrap;
  min-width: 155px;
  justify-content: center;
}

.btn-download-action:hover {
  background: #ffffff;
  color: #030712;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.format-highlight .btn-download-action {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #030712;
  border-color: rgba(0, 242, 254, 0.8);
  border-top: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
    0 4px 18px rgba(0, 242, 254, 0.5);
}

.format-highlight .btn-download-action:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.8),
    0 6px 24px rgba(0, 242, 254, 0.7), 0 0 20px rgba(0, 242, 254, 0.5);
}

.format-audio .btn-download-action {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.8);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
    0 4px 18px rgba(245, 158, 11, 0.5);
}

.format-audio .btn-download-action:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.7),
    0 6px 24px rgba(245, 158, 11, 0.7), 0 0 20px rgba(251, 191, 36, 0.5);
}

.format-image .btn-download-action {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.8);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
    0 4px 18px rgba(16, 185, 129, 0.5);
}

.format-image .btn-download-action:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.7),
    0 6px 24px rgba(16, 185, 129, 0.7);
}

.btn-direct-link {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--liquid-glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  color: #e2e8f0;
  box-shadow: var(--mirror-shadow-pill);
  transition: all var(--trans-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.btn-direct-link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Multi-Device Responsive Breakpoints for Download Section
   ========================================================================== */

/* Tablets & Medium Screens */
@media (max-width: 860px) {
  .result-container {
    padding: 22px 20px;
    border-radius: var(--radius-lg);
  }

  .result-showcase-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .result-media-col {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  .preview-media-box {
    max-height: 260px;
  }
}

/* Mobile Phones (680px and below) */
@media (max-width: 680px) {
  .result-container {
    padding: 18px 14px;
    border-radius: 16px;
    margin-top: 20px;
  }

  .result-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
  }

  .result-status-badge {
    justify-content: center;
    width: 100%;
    font-size: 0.82rem;
    padding: 7px 12px;
    text-align: center;
  }

  #resetResultBtn {
    width: 100%;
    justify-content: center;
    height: 38px;
  }

  .result-media-col {
    max-width: 320px;
  }

  .preview-media-box {
    max-height: 300px;
  }

  .preview-play-overlay {
    width: 52px;
    height: 52px;
  }
  .preview-play-overlay svg {
    width: 22px;
    height: 22px;
  }

  .video-meta-block {
    padding: 16px 14px;
  }

  .video-title {
    font-size: 1.05rem;
    line-height: 1.42;
    margin-bottom: 10px;
  }

  .stat-pill {
    padding: 4px 10px;
    font-size: 0.76rem;
  }

  .formats-list-heading h4 {
    font-size: 0.96rem;
  }

  /* Responsive Mobile Format Card Layout */
  .format-card {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }

  .format-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .format-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .format-icon-badge svg {
    width: 20px;
    height: 20px;
  }

  .format-name-row {
    justify-content: space-between;
    gap: 6px;
  }

  .format-title {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .format-pill {
    font-size: 0.68rem;
    padding: 2px 7px;
  }

  .format-specs-row {
    gap: 5px;
    margin-top: 4px;
  }

  .spec-chip {
    font-size: 0.72rem;
    padding: 2px 6px;
  }

  /* Mobile Action Toolbar */
  .format-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .btn-watch-preview {
    flex: 1;
    height: 44px;
    padding: 0 10px;
    font-size: 0.84rem;
    justify-content: center;
  }

  .btn-download-action {
    flex: 1.6;
    height: 44px;
    padding: 0 12px;
    font-size: 0.88rem;
    justify-content: center;
    min-width: 0;
  }

  .btn-direct-link {
    width: 44px;
    height: 44px;
  }
}

/* Small Handheld Phones (400px and below) */
@media (max-width: 400px) {
  .result-container {
    padding: 14px 10px;
    border-radius: 14px;
  }

  .format-card {
    padding: 12px 10px;
  }

  .format-icon-badge {
    width: 36px;
    height: 36px;
  }
  .format-icon-badge svg {
    width: 18px;
    height: 18px;
  }

  .format-title {
    font-size: 0.86rem;
  }

  .format-actions-group {
    gap: 6px;
  }

  .btn-watch-preview {
    flex: 1;
    font-size: 0.78rem;
    padding: 0 6px;
  }

  .btn-download-action {
    flex: 1.4;
    font-size: 0.82rem;
    padding: 0 8px;
  }

  .btn-direct-link {
    width: 40px;
    height: 44px;
  }
}

/* Light Mode Overrides for Download Matrix */
body.theme-light .result-container {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 255, 0.8) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body.theme-light .motion-studio-state {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 255, 0.85) 100%);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body.theme-light .motion-title {
  color: #0b1329;
}

body.theme-light .motion-desc {
  color: #475569;
}

body.theme-light .motion-center-orb {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-color: rgba(203, 213, 225, 0.8);
}

body.theme-light .motion-step-node {
  background: rgba(241, 245, 249, 0.9);
  border-color: rgba(203, 213, 225, 0.8);
  color: #475569;
}

body.theme-light .result-showcase-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 255, 0.85) 100%);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

body.theme-light .result-author-info {
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(203, 213, 225, 0.8);
}

body.theme-light .video-title,
body.theme-light .author-name,
body.theme-light .formats-list-heading h4,
body.theme-light .format-title {
  color: #0b1329;
}

body.theme-light .author-handle {
  color: #475569;
}

body.theme-light .stat-pill {
  background: rgba(255, 255, 255, 0.85);
  color: #1e293b;
  border-color: rgba(148, 163, 184, 0.4);
}

body.theme-light .format-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.7) 100%);
  border-color: rgba(226, 232, 240, 0.8);
}

body.theme-light .spec-chip {
  background: rgba(241, 245, 249, 0.9);
  color: #334155;
  border-color: rgba(203, 213, 225, 0.8);
}

body.theme-light .btn-watch-preview {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(203, 213, 225, 0.8);
}

/* --------------------------------------------------------------------------
   11. Realtime Live Stats Counter Strip (Liquid Glass Bar)
   -------------------------------------------------------------------------- */
.stats-counter-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 50px;
  padding: 26px 36px;
  width: 100%;
  max-width: 900px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 16, 32, 0.6) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.5),
    0 20px 48px -10px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 242, 254, 0.08);
  position: relative;
  overflow: hidden;
}

.stats-counter-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.8), rgba(254, 9, 121, 0.8), transparent);
  pointer-events: none;
}

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform var(--trans-fast);
}

.stat-cell:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

/* Bespoke chromatic crystal liquid gradients per stat counter */
.stat-cell:nth-of-type(1) .stat-number,
.stat-cell:nth-child(1) .stat-number {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 242, 254, 0.45));
}

.stat-cell:nth-of-type(2) .stat-number,
.stat-cell:nth-child(3) .stat-number {
  background: linear-gradient(135deg, #fe0979 0%, #ff6b8b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(254, 9, 121, 0.45));
}

.stat-cell:nth-of-type(3) .stat-number,
.stat-cell:nth-child(5) .stat-number {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.45));
}

.stat-cell:nth-of-type(4) .stat-number,
.stat-cell:nth-child(7) .stat-number {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.45));
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.25) 50%, transparent);
}

/* --------------------------------------------------------------------------
   12. Supported Platforms (Liquid Mirror Glass Slabs)
   -------------------------------------------------------------------------- */
.section-container {
  padding: 85px 0;
  position: relative;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.platform-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--trans-normal);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--mirror-shadow);
}

/* Liquid Mirror Glass Platform Slabs */
.card-youtube {
  background: 
    radial-gradient(circle at 85% 15%, rgba(255, 0, 0, 0.24) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(255, 68, 68, 0.14) 0%, transparent 60%),
    linear-gradient(155deg, rgba(255, 0, 0, 0.12) 0%, rgba(10, 16, 32, 0.58) 100%);
  border: 1px solid rgba(255, 0, 0, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1.5px solid rgba(255, 0, 0, 0.65);
}
.card-youtube:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 0, 0, 0.8);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 16px 42px rgba(255, 0, 0, 0.42),
    0 0 25px rgba(255, 68, 68, 0.22);
}

.card-tiktok {
  background: 
    radial-gradient(circle at 85% 15%, rgba(254, 9, 121, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(0, 242, 254, 0.14) 0%, transparent 60%),
    linear-gradient(155deg, rgba(254, 9, 121, 0.12) 0%, rgba(10, 16, 32, 0.58) 100%);
  border: 1px solid rgba(254, 9, 121, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1.5px solid rgba(254, 9, 121, 0.65);
}
.card-tiktok:hover {
  transform: translateY(-3px);
  border-color: rgba(254, 9, 121, 0.75);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 16px 42px rgba(254, 9, 121, 0.38),
    0 0 25px rgba(0, 242, 254, 0.22);
}

.card-instagram {
  background: 
    radial-gradient(circle at 85% 15%, rgba(220, 39, 67, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(240, 148, 51, 0.16) 0%, transparent 60%),
    linear-gradient(155deg, rgba(220, 39, 67, 0.12) 0%, rgba(10, 16, 32, 0.58) 100%);
  border: 1px solid rgba(220, 39, 67, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1.5px solid rgba(220, 39, 67, 0.65);
}
.card-instagram:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 39, 67, 0.75);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 16px 42px rgba(220, 39, 67, 0.38),
    0 0 25px rgba(240, 148, 51, 0.22);
}

.card-facebook {
  background: 
    radial-gradient(circle at 85% 15%, rgba(24, 119, 242, 0.24) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.14) 0%, transparent 60%),
    linear-gradient(155deg, rgba(24, 119, 242, 0.12) 0%, rgba(10, 16, 32, 0.58) 100%);
  border: 1px solid rgba(24, 119, 242, 0.38);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1.5px solid rgba(24, 119, 242, 0.65);
}
.card-facebook:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 119, 242, 0.75);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.6),
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 16px 42px rgba(24, 119, 242, 0.42);
}

.card-twitter {
  background: 
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(148, 163, 184, 0.14) 0%, transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(10, 16, 32, 0.58) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1.5px solid rgba(255, 255, 255, 0.9);
  border-left: 1.5px solid rgba(255, 255, 255, 0.55);
}
.card-twitter:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.7),
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 16px 42px rgba(255, 255, 255, 0.25);
}

/* Light Theme Platform Cards */
body.theme-light .card-tiktok {
  background: 
    radial-gradient(circle at 85% 15%, rgba(254, 9, 121, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(0, 242, 254, 0.12) 0%, transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 240, 246, 0.6) 100%);
  border-color: rgba(254, 9, 121, 0.3);
}
body.theme-light .card-instagram {
  background: 
    radial-gradient(circle at 85% 15%, rgba(220, 39, 67, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(240, 148, 51, 0.12) 0%, transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 244, 240, 0.6) 100%);
  border-color: rgba(220, 39, 67, 0.3);
}
body.theme-light .card-facebook {
  background: 
    radial-gradient(circle at 85% 15%, rgba(24, 119, 242, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 246, 255, 0.6) 100%);
  border-color: rgba(24, 119, 242, 0.3);
}
body.theme-light .card-twitter {
  background: 
    radial-gradient(circle at 85% 15%, rgba(148, 163, 184, 0.14) 0%, transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.65) 100%);
  border-color: rgba(148, 163, 184, 0.35);
}

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

.platform-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--mirror-shadow-pill);
  transition: transform var(--trans-fast);
}

.platform-card:hover .platform-card-icon {
  transform: scale(1.08);
}

.icon-youtube-box {
  background: rgba(255, 0, 0, 0.22);
  color: var(--color-youtube);
  border: 1px solid rgba(255, 0, 0, 0.45);
}

.icon-tiktok-box {
  background: rgba(254, 9, 121, 0.22);
  color: var(--color-tiktok);
  border: 1px solid rgba(254, 9, 121, 0.45);
}

.icon-insta-box {
  background: var(--grad-insta);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.icon-fb-box {
  background: linear-gradient(135deg, #1877f2, #0d5fcd);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.icon-tw-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.platform-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--liquid-glass-bg);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  color: var(--text-main);
  transition: all var(--trans-fast);
}

/* Custom platform badges */
.card-youtube .platform-badge {
  background: rgba(255, 0, 0, 0.18);
  color: #ff4b4b;
  border: 1px solid rgba(255, 0, 0, 0.45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 0, 0, 0.25);
}

.card-tiktok .platform-badge {
  background: rgba(254, 9, 121, 0.18);
  color: #ff3b8d;
  border: 1px solid rgba(254, 9, 121, 0.45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 10px rgba(254, 9, 121, 0.25);
}

.card-instagram .platform-badge {
  background: rgba(220, 39, 67, 0.18);
  color: #fb7185;
  border: 1px solid rgba(220, 39, 67, 0.45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 10px rgba(220, 39, 67, 0.25);
}

.card-facebook .platform-badge {
  background: rgba(24, 119, 242, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(24, 119, 242, 0.45);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 10px rgba(24, 119, 242, 0.25);
}

.card-twitter .platform-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 255, 255, 0.2);
}

.platform-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.platform-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}

.feature-bullets li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 9px;
}

.bullet-check {
  flex-shrink: 0;
  transition: transform var(--trans-fast);
}

/* Custom bullet check colors */
.card-youtube .bullet-check {
  color: #ff0000;
  filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));
}

.card-tiktok .bullet-check {
  color: #ff2d88;
  filter: drop-shadow(0 0 4px rgba(254, 9, 121, 0.4));
}

.card-instagram .bullet-check {
  color: #fb7185;
  filter: drop-shadow(0 0 4px rgba(220, 39, 67, 0.4));
}

.card-facebook .bullet-check {
  color: #3b82f6;
  filter: drop-shadow(0 0 4px rgba(24, 119, 242, 0.4));
}

.card-twitter .bullet-check {
  color: #38bdf8;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.4));
}

.btn-platform-action {
  width: 100%;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--liquid-glass-bg);
  color: var(--text-main);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--trans-fast);
}

/* Custom platform action button hovers */
.card-youtube .btn-platform-action:hover {
  background: linear-gradient(135deg, #ff0000 0%, #ff3b3b 100%);
  color: #ffffff;
  border-color: #ff0000;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5), 0 0 15px rgba(255, 0, 0, 0.3);
  transform: translateY(-2px);
}

.card-tiktok .btn-platform-action:hover {
  background: linear-gradient(135deg, #fe0979 0%, #ff3b8d 100%);
  color: #ffffff;
  border-color: #fe0979;
  box-shadow: 0 6px 20px rgba(254, 9, 121, 0.5), 0 0 15px rgba(254, 9, 121, 0.3);
  transform: translateY(-2px);
}

.card-instagram .btn-platform-action:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: #dc2743;
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5), 0 0 15px rgba(240, 148, 51, 0.3);
  transform: translateY(-2px);
}

.card-facebook .btn-platform-action:hover {
  background: linear-gradient(135deg, #1877f2 0%, #0d5fcd 100%);
  color: #ffffff;
  border-color: #1877f2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5), 0 0 15px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.card-twitter .btn-platform-action:hover {
  background: linear-gradient(135deg, #334155 0%, #0f172a 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. How It Works 3-Step Flow (Liquid Mirror Columns)
   -------------------------------------------------------------------------- */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.step-card {
  flex: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--mirror-shadow);
  transition: all var(--trans-normal);
}

/* Step 1: Electric Cyan */
.step-card:nth-child(1) {
  background: 
    radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.22) 0%, transparent 70%),
    linear-gradient(155deg, rgba(6, 182, 212, 0.12) 0%, rgba(10, 16, 32, 0.56) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(6, 182, 212, 0.5);
}
.step-card:nth-child(1) .step-number-tag {
  color: #22d3ee;
  text-shadow: 0 0 12px rgba(6, 182, 212, 0.7);
}
.step-card:nth-child(1) .step-icon-wrap {
  color: #00f2fe;
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.12);
}
.step-card:nth-child(1):hover {
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 42px rgba(6, 182, 212, 0.3);
  transform: translateY(-3px);
}

/* Step 2: Mystic Violet */
.step-card:nth-child(3) {
  background: 
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.22) 0%, transparent 70%),
    linear-gradient(155deg, rgba(168, 85, 247, 0.12) 0%, rgba(10, 16, 32, 0.56) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(168, 85, 247, 0.5);
}
.step-card:nth-child(3) .step-number-tag {
  color: #c084fc;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
}
.step-card:nth-child(3) .step-icon-wrap {
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.12);
}
.step-card:nth-child(3):hover {
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 42px rgba(168, 85, 247, 0.3);
  transform: translateY(-3px);
}

/* Step 3: Vivid Emerald */
.step-card:nth-child(5) {
  background: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.22) 0%, transparent 70%),
    linear-gradient(155deg, rgba(16, 185, 129, 0.12) 0%, rgba(10, 16, 32, 0.56) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(16, 185, 129, 0.5);
}
.step-card:nth-child(5) .step-number-tag {
  color: #34d399;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}
.step-card:nth-child(5) .step-icon-wrap {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.12);
}
.step-card:nth-child(5):hover {
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 42px rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
}

/* Light Theme Step Cards */
body.theme-light .step-card:nth-child(1) {
  background: 
    radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.14) 0%, transparent 70%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 250, 0.6) 100%);
  border-color: rgba(6, 182, 212, 0.3);
}
body.theme-light .step-card:nth-child(3) {
  background: 
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.14) 0%, transparent 70%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 245, 255, 0.6) 100%);
  border-color: rgba(168, 85, 247, 0.3);
}
body.theme-light .step-card:nth-child(5) {
  background: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.14) 0%, transparent 70%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 244, 0.6) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.step-number-tag {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dim);
}

.step-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--liquid-glass-bg);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 20px;
  color: var(--accent-cyan);
  transition: transform var(--trans-fast), background var(--trans-fast);
}

.step-card:hover .step-icon-wrap {
  transform: scale(1.05);
}

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

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.step-mini-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-arrow {
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

/* --------------------------------------------------------------------------
   14. Features Bento-Grid (Jewel-Toned Liquid Mirror Tiles)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-tile {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--mirror-shadow);
  transition: all var(--trans-normal);
}

.feature-tile:nth-child(1) {
  background: 
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.18) 0%, transparent 60%),
    linear-gradient(145deg, rgba(6, 182, 212, 0.12) 0%, rgba(10, 16, 32, 0.55) 100%);
  border: 1px solid rgba(6, 182, 212, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(6, 182, 212, 0.5);
}
.feature-tile:nth-child(1):hover {
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 40px rgba(6, 182, 212, 0.3);
  transform: translateY(-3px);
}

.feature-tile:nth-child(2) {
  background: 
    radial-gradient(circle at 15% 15%, rgba(244, 63, 94, 0.18) 0%, transparent 60%),
    linear-gradient(145deg, rgba(244, 63, 94, 0.12) 0%, rgba(10, 16, 32, 0.55) 100%);
  border: 1px solid rgba(244, 63, 94, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(244, 63, 94, 0.5);
}
.feature-tile:nth-child(2):hover {
  border-color: rgba(244, 63, 94, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 40px rgba(244, 63, 94, 0.3);
  transform: translateY(-3px);
}

.feature-tile:nth-child(3) {
  background: 
    radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.18) 0%, transparent 60%),
    linear-gradient(145deg, rgba(139, 92, 246, 0.12) 0%, rgba(10, 16, 32, 0.55) 100%);
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(139, 92, 246, 0.5);
}
.feature-tile:nth-child(3):hover {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 40px rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}

.feature-tile:nth-child(4) {
  background: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.18) 0%, transparent 60%),
    linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, rgba(10, 16, 32, 0.55) 100%);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(16, 185, 129, 0.5);
}
.feature-tile:nth-child(4):hover {
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 40px rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
}

.feature-tile:nth-child(5) {
  background: 
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.18) 0%, transparent 60%),
    linear-gradient(145deg, rgba(59, 130, 246, 0.12) 0%, rgba(10, 16, 32, 0.55) 100%);
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(59, 130, 246, 0.5);
}
.feature-tile:nth-child(5):hover {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 40px rgba(59, 130, 246, 0.3);
  transform: translateY(-3px);
}

.feature-tile:nth-child(6) {
  background: 
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.18) 0%, transparent 60%),
    linear-gradient(145deg, rgba(245, 158, 11, 0.12) 0%, rgba(10, 16, 32, 0.55) 100%);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  border-left: 1px solid rgba(245, 158, 11, 0.5);
}
.feature-tile:nth-child(6):hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: var(--mirror-shadow-lg), 0 18px 40px rgba(245, 158, 11, 0.3);
  transform: translateY(-3px);
}

/* Light Theme Feature Tiles */
body.theme-light .feature-tile:nth-child(1) {
  background: radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.12) 0%, transparent 60%), linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 250, 0.6) 100%);
  border-color: rgba(6, 182, 212, 0.3);
}
body.theme-light .feature-tile:nth-child(2) {
  background: radial-gradient(circle at 15% 15%, rgba(244, 63, 94, 0.12) 0%, transparent 60%), linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 241, 242, 0.6) 100%);
  border-color: rgba(244, 63, 94, 0.3);
}
body.theme-light .feature-tile:nth-child(3) {
  background: radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.12) 0%, transparent 60%), linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 245, 255, 0.6) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}
body.theme-light .feature-tile:nth-child(4) {
  background: radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.12) 0%, transparent 60%), linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 244, 0.6) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}
body.theme-light .feature-tile:nth-child(5) {
  background: radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.12) 0%, transparent 60%), linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 246, 255, 0.6) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}
body.theme-light .feature-tile:nth-child(6) {
  background: radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.12) 0%, transparent 60%), linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 251, 235, 0.6) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

.feature-tile-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--mirror-shadow-pill);
  transition: transform var(--trans-fast);
}

.feature-tile:hover .feature-tile-icon {
  transform: scale(1.05);
}

.icon-grad-1 { 
  background: linear-gradient(135deg, #00f2fe, #4facfe); 
  box-shadow: 0 6px 18px rgba(0, 242, 254, 0.45);
}
.icon-grad-2 { 
  background: linear-gradient(135deg, #fe0979, #ff758c); 
  box-shadow: 0 6px 18px rgba(254, 9, 121, 0.45);
}
.icon-grad-3 { 
  background: linear-gradient(135deg, #8b5cf6, #c084fc); 
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.45);
}
.icon-grad-4 { 
  background: linear-gradient(135deg, #10b981, #059669); 
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}
.icon-grad-5 { 
  background: linear-gradient(135deg, #3b82f6, #1d4ed8); 
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.45);
}
.icon-grad-6 { 
  background: linear-gradient(135deg, #f59e0b, #d97706); 
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.feature-tile-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-tile-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. FAQ Accordion (Liquid Mirror Accordion Slabs)
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--liquid-glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  border-radius: var(--radius-md);
  box-shadow: var(--mirror-shadow);
  overflow: hidden;
  transition: all var(--trans-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: var(--mirror-shadow-lg), 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.faq-item.open {
  border-color: rgba(0, 242, 254, 0.55);
  border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(10, 16, 32, 0.65) 100%);
  box-shadow: var(--mirror-shadow-lg), 0 0 24px rgba(0, 242, 254, 0.25);
}

body.theme-light .faq-item.open {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 255, 0.8) 100%);
  border-color: rgba(0, 242, 254, 0.45);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: color var(--trans-fast);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--trans-normal);
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. CTA Banner (Liquid Glass Aurora Slab)
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(26, 27, 75, 0.52) 50%, rgba(15, 28, 63, 0.62) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  padding: 64px 36px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--mirror-shadow-lg);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: var(--grad-primary);
  opacity: 0.25;
  filter: blur(80px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.btn-large {
  padding: 14px 36px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   17. History Drawer
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 200;
  animation: fadeIn 0.25s ease;
}

.history-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 16, 32, 0.82) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7), inset 1.5px 0 1px rgba(255, 255, 255, 0.4);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--trans-slow), visibility var(--trans-slow);
}

.history-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--mirror-border);
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.drawer-title-group h3,
.drawer-title-group h2,
.drawer-title-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

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

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--liquid-glass-bg);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--trans-fast);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  text-align: center;
  color: var(--text-dim);
}

.empty-icon-svg {
  color: var(--text-dim);
  margin-bottom: 14px;
  opacity: 0.5;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--liquid-glass-bg);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-radius: var(--radius-md);
  box-shadow: var(--mirror-shadow-pill);
  transition: all var(--trans-fast);
}

.history-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.history-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #000;
}

.history-info {
  flex: 1;
  overflow: hidden;
}

.history-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   18. Toast Notifications (Liquid Glass Pills)
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--liquid-glass-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--mirror-shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 270px;
  animation: slideToastIn 0.3s var(--ease-spring);
  transition: all 0.3s ease;
}

.toast.toast-success {
  border-left: 4px solid var(--accent-green);
}

.toast.toast-info {
  border-left: 4px solid var(--accent-cyan);
}

.toast.toast-warning, .toast.toast-error {
  border-left: 4px solid var(--accent-magenta);
}

@keyframes slideToastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.hiding {
  transform: translateX(100%);
  opacity: 0;
}

/* --------------------------------------------------------------------------
   19. High-End Footer
   -------------------------------------------------------------------------- */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), rgba(139, 92, 246, 0.4), rgba(254, 9, 121, 0.4), transparent);
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.6;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 600;
}

.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h4,
.footer-col h3,
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--trans-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
}

.footer-disclaimer {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

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

/* --------------------------------------------------------------------------
   20. Responsive Layout System (Mobile, Tablet, Laptop, Desktop Universal Harmony)
   -------------------------------------------------------------------------- */

/* Animated Hamburger Mobile Toggle */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border-radius: var(--radius-full);
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  box-shadow: var(--mirror-shadow-pill);
  cursor: pointer;
  position: relative;
  z-index: 102;
  transition: all var(--trans-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Navigation Drawer Panel */
.mobile-nav-drawer {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 16, 32, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1.5px solid rgba(0, 242, 254, 0.75);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 242, 254, 0.22);
  z-index: 999;
  transform: translateY(-12px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s var(--ease-spring), opacity 0.32s var(--ease-spring), visibility 0.32s;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.mobile-nav-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.mobile-nav-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--trans-fast);
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mobile-nav-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 16px 0 10px;
}

.mobile-nav-section-title:first-child {
  margin-top: 0;
}

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

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--trans-fast);
}

.mobile-drawer-link svg {
  color: var(--accent-cyan);
  transition: transform var(--trans-fast);
}

.mobile-drawer-link:hover,
.mobile-drawer-link:active {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
  color: #fff;
}

.mobile-drawer-link:hover svg {
  transform: translateX(3px);
}

.mobile-platforms-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--trans-fast);
  cursor: pointer;
}

.mobile-platform-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-yt { background: #ff0000; box-shadow: 0 0 6px #ff0000; }
.dot-tt { background: #fe0979; box-shadow: 0 0 6px #fe0979; }
.dot-ig { background: #e1306c; box-shadow: 0 0 6px #e1306c; }
.dot-fb { background: #1877f2; box-shadow: 0 0 6px #1877f2; }
.dot-tw { background: #ffffff; box-shadow: 0 0 6px #ffffff; }

.mobile-platform-chip:hover,
.mobile-platform-chip:active {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.mobile-nav-footer-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.mobile-action-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.mobile-action-pill:hover,
.mobile-action-pill:active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Light Theme overrides for Mobile Drawer */
body.theme-light .mobile-nav-drawer {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
  border-color: rgba(226, 232, 240, 0.9);
  border-top-color: var(--accent-cyan);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

body.theme-light .mobile-nav-header {
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

body.theme-light .mobile-nav-title {
  color: #0f172a;
}

body.theme-light .mobile-drawer-link,
body.theme-light .mobile-platform-chip,
body.theme-light .mobile-action-pill {
  background: rgba(241, 245, 249, 0.8);
  border-color: rgba(226, 232, 240, 0.9);
  color: #1e293b;
}

/* --------------------------------------------------------------------------
   Breakpoints: Large Screens & Laptops (1024px - 1440px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav-content {
    padding: 10px 18px;
  }

  .nav-links {
    gap: 4px;
    white-space: nowrap;
  }

  .nav-link {
    padding: 7px 12px;
    font-size: 0.88rem;
    gap: 4px;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .history-pill-btn {
    padding: 7px 14px;
    font-size: 0.86rem;
  }

  .lang-globe-btn {
    padding: 7px 12px;
  }

  .brand-logo {
    flex-shrink: 0;
  }

  .platforms-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .downloader-card {
    padding: 28px 24px;
  }
}

/* --------------------------------------------------------------------------
   Breakpoints: Tablets & iPad Portrait (769px - 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .nav-links {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-text-glass-plate {
    padding: 26px 22px;
    margin-bottom: 28px;
  }

  .hero-headline {
    font-size: clamp(2rem, 5vw, 3.2rem);
  }

  .section-header {
    padding: 22px 20px;
  }

  .result-showcase-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .preview-media-box {
    max-height: 280px;
    max-width: 520px;
    margin: 0 auto;
  }

  .steps-container {
    flex-direction: column;
    gap: 16px;
  }

  .step-card {
    width: 100%;
    padding: 28px 24px;
  }

  .step-connector {
    transform: rotate(90deg);
    margin: 8px auto;
    display: flex;
    justify-content: center;
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   Breakpoints: Standard Mobile & Tablets (Up to 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .app-container {
    padding: 0 16px;
  }

  .navbar {
    top: 10px;
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
  }

  .nav-content {
    padding: 10px 16px;
  }

  /* Compact Navbar Actions & Brand Layout */
  .brand-logo {
    gap: 8px;
    flex-shrink: 0;
  }

  .logo-icon-wrapper {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .history-pill-btn {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .history-pill-btn .btn-text {
    display: none !important;
  }

  .history-icon-svg {
    width: 16px;
    height: 16px;
  }

  .history-counter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 0.65rem;
  }

  .lang-globe-btn {
    padding: 6px 9px;
    height: 36px;
    gap: 4px;
    flex-shrink: 0;
  }

  .lang-globe-btn .lang-chevron-svg {
    display: none !important;
  }

  .globe-icon-box {
    width: 20px;
    height: 20px;
  }

  .globe-svg {
    width: 16px;
    height: 16px;
  }

  .lang-current-code {
    font-size: 0.76rem;
  }

  .lamp-pull-switch-wrapper {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .lamp-housing {
    width: 36px;
    height: 36px;
  }

  .lamp-bulb-glass {
    width: 17px;
    height: 19px;
  }

  /* Eliminate dangling cord on mobile to prevent overlapping content below navbar */
  .lamp-cord-rig {
    display: none !important;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
    padding: 8px 6px;
    flex-shrink: 0;
  }

  .hero-section {
    padding: 24px 0 36px;
  }

  .hero-headline {
    font-size: clamp(1.65rem, 5.5vw, 2.35rem);
    line-height: 1.24;
    letter-spacing: -0.025em;
  }

  .hero-text-glass-plate {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .section-header {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .downloader-card {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  /* Platform Tabs Responsive Touch Track */
  .platform-tabs-container {
    margin-bottom: 20px;
    padding: 4px;
  }

  .platform-tab {
    padding: 8px 14px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .platform-tab .tab-svg {
    width: 15px;
    height: 15px;
  }

  .downloader-form {
    flex-direction: column;
    gap: 12px;
  }

  .input-container {
    min-height: 52px;
  }

  .url-input {
    padding: 14px 12px;
    font-size: 0.96rem;
  }

  .url-input::placeholder {
    font-size: 0.88rem;
  }

  .btn-download-submit {
    padding: 15px 24px;
    width: 100%;
    height: 52px;
    font-size: 1.02rem;
    font-weight: 700;
  }

  .hide-mobile {
    display: none !important;
  }

  /* Quick Demo Samples: Silky Touch Scroll */
  .sample-links-bar {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    gap: 8px;
    margin-top: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sample-links-bar::-webkit-scrollbar {
    display: none;
  }

  .sample-label {
    flex-shrink: 0;
    font-size: 0.78rem;
  }

  .sample-chip {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.78rem;
    min-height: 34px;
  }

  /* Stats Strip: Clean 2x2 Grid */
  .stats-counter-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 16px;
    margin-top: 36px;
    border-radius: var(--radius-lg);
  }

  .stat-divider {
    display: none;
  }

  .stat-cell {
    padding: 8px 6px;
    text-align: center;
  }

  .stat-number {
    font-size: 1.55rem;
  }

  .stat-label {
    font-size: 0.76rem;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .platform-card {
    padding: 24px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-tile {
    padding: 24px 20px;
  }

  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .nav-actions {
    gap: 8px;
  }

  .lang-dropdown-menu {
    right: 0;
    width: min(310px, calc(100vw - 32px));
  }
}

/* --------------------------------------------------------------------------
   Breakpoints: Modern Smartphones (Up to 680px)
   -------------------------------------------------------------------------- */
@media (max-width: 680px) {
  .result-container {
    padding: 18px 14px;
    border-radius: 18px;
    margin-top: 22px;
  }

  .result-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
  }

  .result-status-badge {
    justify-content: center;
    width: 100%;
    font-size: 0.82rem;
    padding: 8px 12px;
    text-align: center;
  }

  #resetResultBtn {
    width: 100%;
    justify-content: center;
    height: 42px;
    font-size: 0.88rem;
  }

  .result-media-col {
    max-width: 100%;
    width: 100%;
  }

  .preview-media-box {
    max-height: 260px;
    border-radius: 14px;
  }

  .preview-play-overlay {
    width: 52px;
    height: 52px;
  }

  .preview-play-overlay svg {
    width: 22px;
    height: 22px;
  }

  .video-meta-block {
    padding: 16px 14px;
  }

  .video-title {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 12px;
    word-break: break-word;
  }

  .video-stats-row {
    gap: 6px;
  }

  .stat-pill {
    padding: 4px 10px;
    font-size: 0.74rem;
  }

  .formats-list-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
  }

  .formats-list-heading h4 {
    font-size: 0.98rem;
  }

  /* Responsive Mobile Format Cards */
  .format-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 14px;
    gap: 14px;
    border-radius: 16px;
  }

  .format-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .format-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .format-icon-badge svg {
    width: 20px;
    height: 20px;
  }

  .format-info-group {
    flex: 1;
    min-width: 0;
  }

  .format-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .format-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
  }

  .format-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .format-specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
  }

  .spec-chip {
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 6px;
  }

  /* Mobile Format Action Toolbar */
  .format-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .btn-watch-preview {
    flex: 1;
    height: 46px;
    padding: 0 12px;
    font-size: 0.84rem;
    justify-content: center;
    border-radius: 12px;
  }

  .btn-download-action {
    flex: 1.8;
    height: 46px;
    padding: 0 14px;
    font-size: 0.88rem;
    font-weight: 700;
    justify-content: center;
    min-width: 0;
    border-radius: 12px;
  }

  .btn-direct-link {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  /* Motion Studio Processing State */
  .motion-studio-state {
    padding: 24px 16px;
    margin-top: 20px;
    border-radius: var(--radius-lg);
  }

  .motion-core-visual {
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
  }

  .motion-center-orb {
    width: 48px;
    height: 48px;
  }

  .orb-icon-wrapper svg {
    width: 20px;
    height: 20px;
  }

  .motion-title {
    font-size: 1.05rem;
  }

  .motion-desc {
    font-size: 0.8rem;
    margin-bottom: 14px;
  }

  .motion-steps-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .motion-step-node {
    padding: 7px 8px;
    font-size: 0.72rem;
    white-space: normal;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Breakpoints: Standard Mobile Phones (Up to 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .app-container {
    padding: 0 12px;
  }

  .navbar {
    top: 8px;
    margin-bottom: 20px;
    border-radius: 18px;
  }

  .nav-content {
    padding: 8px 12px;
  }

  .brand-logo {
    gap: 7px;
    flex-shrink: 0;
  }

  .logo-icon-wrapper {
    width: 32px;
    height: 32px;
  }

  .brand-title {
    font-size: 1.18rem;
  }

  .nav-actions {
    gap: 5px;
    flex-shrink: 0;
  }

  .history-pill-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .history-pill-btn .btn-text {
    display: none !important;
  }

  .history-icon-svg {
    width: 15px;
    height: 15px;
  }

  .history-counter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    font-size: 0.62rem;
  }

  .lang-globe-btn {
    padding: 5px 8px;
    height: 34px;
    gap: 4px;
    flex-shrink: 0;
  }

  .lang-globe-btn .lang-chevron-svg {
    display: none !important;
  }

  .globe-icon-box {
    width: 18px;
    height: 18px;
  }

  .globe-svg {
    width: 15px;
    height: 15px;
  }

  .lang-current-flag {
    width: 18px;
    height: 12px;
  }

  .lang-current-code {
    font-size: 0.72rem;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .lamp-pull-switch-wrapper,
  .lamp-housing {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .lamp-bulb-glass {
    width: 16px;
    height: 18px;
  }

  .lamp-cord-rig {
    display: none !important;
  }

  .mobile-toggle {
    width: 34px;
    height: 34px;
    padding: 7px 5px;
    flex-shrink: 0;
  }

  .lang-dropdown-menu {
    position: fixed;
    top: 62px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: 330px;
    margin-left: auto;
  }

  .lang-options-list {
    max-height: 240px;
  }

  .hero-badge-row {
    gap: 6px;
    margin-bottom: 16px;
  }

  .pill-badge {
    padding: 5px 11px;
    font-size: 0.74rem;
    gap: 6px;
  }

  .hero-text-glass-plate {
    padding: 18px 14px;
  }

  .hero-headline {
    font-size: clamp(1.48rem, 5.8vw, 1.95rem);
    letter-spacing: -0.02em;
  }

  .downloader-card {
    padding: 16px 12px;
  }

  .platform-tab {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .history-drawer {
    width: 100vw;
    right: -100vw;
  }

  .drawer-header {
    padding: 16px 14px;
  }

  .drawer-content {
    padding: 16px 14px;
  }

  .glow-sparkle {
    width: 10px;
    height: 10px;
  }

  .sp-t1 { top: -5px; left: 14%; }
  .sp-t2 { top: -6px; left: 50%; }
  .sp-t3 { top: -5px; right: 14%; }
  .sp-r1 { right: -5px; }
  .sp-b1 { bottom: -5px; right: 18%; }
  .sp-b2 { bottom: -6px; left: 50%; }
  .sp-b3 { bottom: -5px; left: 16%; }
  .sp-l1 { left: -5px; }
}

/* --------------------------------------------------------------------------
   Breakpoints: Compact Phones (Up to 420px)
   -------------------------------------------------------------------------- */
@media (max-width: 420px) {
  /* Format Actions Layout on Compact Phones: Huge Full-Width Primary CTA */
  .format-card {
    padding: 14px 12px;
  }

  .format-actions-group {
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-download-action {
    width: 100%;
    flex: none;
    height: 48px;
    font-size: 0.92rem;
    order: 1;
  }

  .btn-watch-preview {
    flex: 1;
    height: 42px;
    font-size: 0.82rem;
    order: 2;
  }

  .btn-direct-link {
    width: 42px;
    height: 42px;
    order: 3;
  }

  .stats-counter-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px 10px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   Breakpoints: Ultra-Compact Mobile Phones (Up to 360px - e.g. iPhone SE)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .app-container {
    padding: 0 8px;
  }

  .navbar {
    top: 6px;
    margin-bottom: 16px;
    border-radius: 14px;
  }

  .nav-content {
    padding: 6px 8px;
  }

  .brand-logo {
    gap: 5px;
    flex-shrink: 0;
  }

  .logo-icon-wrapper {
    width: 28px;
    height: 28px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .nav-actions {
    gap: 4px;
    flex-shrink: 0;
  }

  .lamp-pull-switch-wrapper,
  .lamp-housing {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .lamp-bulb-glass {
    width: 14px;
    height: 16px;
  }

  .lamp-filament {
    width: 5px;
    height: 7px;
  }

  .history-pill-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    flex-shrink: 0;
  }

  .history-icon-svg {
    width: 14px;
    height: 14px;
  }

  .lang-globe-btn {
    height: 30px;
    padding: 3px 6px;
    gap: 3px;
    flex-shrink: 0;
  }

  .globe-icon-box {
    width: 15px;
    height: 15px;
  }

  .globe-svg {
    width: 13px;
    height: 13px;
  }

  .lang-current-code {
    font-size: 0.68rem;
  }

  .mobile-toggle {
    width: 30px;
    height: 30px;
    padding: 6px 5px;
    flex-shrink: 0;
  }

  .lang-dropdown-menu {
    top: 50px;
    right: 6px;
    left: 6px;
  }

  .mobile-nav-drawer {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .mobile-platform-chip {
    padding: 8px 10px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .hero-headline {
    font-size: 1.45rem;
  }

  .hero-text-glass-plate {
    padding: 14px 10px;
  }

  .downloader-card {
    padding: 14px 10px;
  }

  .input-icon-left {
    padding-left: 12px;
  }

  .url-input {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .motion-steps-matrix {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .stats-counter-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ==========================================================================
   Vidpico Pro Companion Server Status & Setup Modal Styles
   ========================================================================== */

.pill-server-status {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.pill-server-status:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.pill-server-status.server-online {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
}

.pill-server-status.server-offline {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2) !important;
}

/* Modal Backdrop */
.server-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.server-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.server-modal-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 254, 0.15);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #f8fafc;
}

.server-modal-backdrop.is-open .server-modal-card {
  transform: translateY(0) scale(1);
}

.server-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.server-modal-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.server-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00F2FE;
}

.server-modal-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.server-modal-subtitle {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.server-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s;
}

.server-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.server-modal-body {
  padding: 24px 26px;
}

.server-status-pill-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
}

.status-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.server-instruction-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px 20px;
}

.server-instruction-box h4,
.server-instruction-box h3,
.server-instruction-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.server-step-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.server-step-list strong {
  color: #f1f5f9;
}

.server-step-list code {
  background: rgba(0, 242, 254, 0.12);
  color: #38bdf8;
  padding: 2px 7px;
  border-radius: 6px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.84rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.copyable-code {
  user-select: all;
  cursor: pointer;
}

.server-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.btn-check-server {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #030712;
  font-weight: 700;
  font-size: 0.86rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-check-server:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.35);
}

.btn-modal-dismiss {
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-modal-dismiss:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Server Diagnostics Modal Responsive Adaptations */
@media (max-width: 640px) {
  .server-modal-backdrop {
    padding: 12px;
  }

  .server-modal-card {
    max-height: calc(100vh - 24px);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
  }

  .server-modal-header {
    padding: 16px 18px;
  }

  .server-modal-icon {
    width: 36px;
    height: 36px;
  }

  .server-modal-title {
    font-size: 1.05rem;
  }

  .server-modal-subtitle {
    font-size: 0.76rem;
  }

  .server-modal-body {
    padding: 16px 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .server-instruction-box {
    padding: 14px 14px;
  }

  .server-step-list {
    padding-left: 14px;
    font-size: 0.8rem;
    gap: 10px;
  }

  .server-modal-footer {
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-check-server,
  .btn-modal-dismiss {
    flex: 1;
    justify-content: center;
    height: 44px;
  }
}

/* --------------------------------------------------------------------------
   21. Ultra-Performance, Zero-Lag, Low-RAM Device Engine
   -------------------------------------------------------------------------- */

/* DOM Virtualization & Off-screen Layout Culling (Chromium, Android WebView, Modern Safari) */
#platforms,
#how-it-works,
#features,
#faq,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}

/* Paint & Layout Containment: Isolate reflows inside cards to prevent full-page repaints */
.platform-card,
.step-card,
.feature-tile,
.faq-item,
.format-card,
.result-showcase-card {
  contain: layout paint;
}

/* Pause all continuous animations when user switches tabs or locks phone screen */
.page-hidden *,
.page-hidden *::before,
.page-hidden *::after {
  animation-play-state: paused !important;
}

/* Mobile & Touch Momentum Performance Rules */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  /* Hardware-accelerated fluid touch scrolling with bounce containment */
  html, body {
    overscroll-behavior-y: none;
  }

  .platform-tabs-container,
  .formats-grid,
  .mobile-nav-drawer,
  .history-drawer,
  .server-modal-body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
  }
}

/* --------------------------------------------------------------------------
   Low-Spec Device & Battery-Saver Turbo Mode (.is-low-spec)
   Automatically activated on devices with <= 4GB RAM or <= 4 CPU cores
   -------------------------------------------------------------------------- */
.is-low-spec {
  --trans-fast: 0.1s ease;
  --trans-normal: 0.18s ease;
  --trans-slow: 0.25s ease;
}

/* Disable expensive continuous keyframe animations on low-spec hardware */
.is-low-spec .laser-border,
.is-low-spec .laser-border-glow,
.is-low-spec .glow-edge-shimmer,
.is-low-spec .glow-edge-beam,
.is-low-spec .glow-sparkle,
.is-low-spec .pulse-wave,
.is-low-spec .orbital-node-1,
.is-low-spec .orbital-node-2,
.is-low-spec .gradient-text,
.is-low-spec .lamp-bulb-aura,
.is-low-spec .knob-glow-halo,
.is-low-spec .globe-pulse-ring {
  animation: none !important;
  opacity: 0.9 !important;
}

/* Simplify complex multi-layer shadows to single lightweight drops */
.is-low-spec .platform-card,
.is-low-spec .feature-tile,
.is-low-spec .step-card,
.is-low-spec .downloader-card,
.is-low-spec .format-card,
.is-low-spec .navbar,
.is-low-spec .btn-fetch-main {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  filter: none !important;
}

/* Light & fast transitions for scroll reveal without expensive 3D matrix transforms */
.is-low-spec .scroll-reveal {
  will-change: auto !important;
  transition: opacity 0.28s ease !important;
  transform: none !important;
}

.is-low-spec .scroll-reveal.is-revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Accessibility Standard: Respect User Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   18. Custom Website Agency & Telegram Contact Banner (Liquid Glass)
   ========================================================================== */
.custom-agency-slab {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(20, 24, 52, 0.55) 45%, rgba(10, 16, 35, 0.72) 100%);
  border: var(--mirror-border);
  border-top: var(--mirror-border-top);
  border-left: var(--mirror-border-left);
  box-shadow: var(--mirror-shadow-lg);
  padding: 48px 32px;
  text-align: center;
  overflow: hidden;
  margin: 30px auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.custom-agency-slab:hover {
  transform: translateY(-3px);
  box-shadow: 
    inset 0 2.5px 2px 0 rgba(255, 255, 255, 0.8),
    inset 2px 0 2px 0 rgba(255, 255, 255, 0.35),
    0 28px 70px -10px rgba(0, 0, 0, 0.75),
    0 0 35px -2px rgba(0, 242, 254, 0.25);
}

.custom-agency-decor-sparkle {
  position: absolute;
  color: rgba(0, 242, 254, 0.5);
  font-size: 20px;
  pointer-events: none;
  animation: floatSparkle 4s ease-in-out infinite;
}

.custom-agency-decor-sparkle.sp-1 {
  top: 24px;
  left: 36px;
  animation-delay: 0s;
}

.custom-agency-decor-sparkle.sp-2 {
  bottom: 24px;
  right: 42px;
  color: rgba(254, 9, 121, 0.45);
  animation-delay: 2s;
}

@keyframes floatSparkle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-8px) scale(1.25); opacity: 0.85; filter: drop-shadow(0 0 8px currentColor); }
}

.agency-actions-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 16px 0;
}

.btn-telegram-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 40%, #0088cc 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.6),
    0 8px 24px -4px rgba(34, 158, 217, 0.5),
    0 0 16px rgba(0, 242, 254, 0.25);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-telegram-cta:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #38BDF8 0%, #229ED9 45%, #00F2FE 100%);
  box-shadow: 
    inset 0 2px 1.5px 0 rgba(255, 255, 255, 0.85),
    0 14px 34px -4px rgba(34, 158, 217, 0.7),
    0 0 24px rgba(0, 242, 254, 0.5);
  color: #ffffff;
}

.telegram-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.telegram-svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.external-arrow-svg {
  transition: transform 0.25s ease;
}

.btn-telegram-cta:hover .external-arrow-svg {
  transform: translate(2px, -2px);
}

.agency-trust-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.agency-trust-note .live-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 2s infinite;
}

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

@media (max-width: 640px) {
  .custom-agency-slab {
    padding: 36px 20px;
    margin: 20px auto;
  }
  .btn-telegram-cta {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   SEO Blog & Editorial Content Engine
   ========================================================================== */
.blog-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}

.blog-filter-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.blog-filter-pill:hover,
.blog-filter-pill.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(139, 92, 246, 0.25));
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.25);
  transform: translateY(-1.5px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 15px;
}

.blog-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75) 0%, rgba(2, 6, 23, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 20px 45px rgba(0, 242, 254, 0.18), 0 0 25px rgba(139, 92, 246, 0.15);
}

.blog-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #020617;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.9), rgba(139, 92, 246, 0.9));
  color: #020617;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.blog-read-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.blog-meta-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title:hover {
  color: var(--cyan);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-read-more {
  background: transparent;
  border: none;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: all 0.2s ease;
}

.btn-read-more svg {
  transition: transform 0.2s ease;
}

.btn-read-more:hover {
  color: #38bdf8;
}

.btn-read-more:hover svg {
  transform: translateX(4px);
}

/* --- Full Screen Article Reader Modal --- */
.article-reader-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(2, 6, 23, 0.82);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-reader-modal.active {
  display: flex;
  opacity: 1;
}

.article-reader-modal .modal-backdrop {
  position: absolute;
  inset: 0;
}

.article-reader-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.15);
  overflow-y: auto;
  padding: 40px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.4) transparent;
}

.article-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}

.article-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

.article-reader-header {
  margin-bottom: 24px;
}

.article-category-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.article-reader-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 16px;
}

.article-reader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #8b5cf6);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

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

.article-share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.article-reader-featured-img {
  width: 100%;
  max-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-reader-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-reader-body {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-reader-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-reader-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 26px 0 12px;
}

.article-reader-body p {
  margin-bottom: 18px;
}

.article-reader-body ul,
.article-reader-body ol {
  padding-left: 24px;
  margin-bottom: 22px;
}

.article-reader-body li {
  margin-bottom: 8px;
}

.article-reader-body a {
  color: var(--cyan);
  text-decoration: underline;
  font-weight: 600;
}

.blog-callout {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08), rgba(139, 92, 246, 0.08));
  border-left: 4px solid var(--cyan);
  border-radius: 12px;
  padding: 20px;
  margin: 28px 0;
}

.blog-callout h4 {
  color: var(--cyan);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-callout p {
  margin-bottom: 0;
  color: #e2e8f0;
}

.article-cta-box {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  margin-top: 40px;
  overflow: hidden;
}

.article-cta-box h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 20px;
}

@media (max-width: 768px) {
  .article-reader-dialog {
    padding: 26px 18px;
  }
  .article-reader-title {
    font-size: 1.5rem;
  }
}





