/*
Theme Name: VideoShortz
Theme URI: https://videoshortz.com
Author: VideoShortz Team
Author URI: https://videoshortz.com
Description: VideoShortz – Long Video to Shorts Converter. A premium dark-mode WordPress theme for AI-powered video content creation tools.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: videoshortz
Tags: dark, custom-colors, full-width-template, custom-menu, translation-ready
*/

/* ============================================================
   VideoShortz – style.css
   Scoped under .vs-* prefix for WP compatibility
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --vs-primary: #6366f1;
  --vs-primary-dark: #4f46e5;
  --vs-primary-light: #818cf8;
  --vs-accent: #8b5cf6;
  --vs-accent2: #ec4899;
  --vs-success: #22c55e;
  --vs-warning: #f59e0b;
  --vs-danger: #ef4444;

  /* Background */
  --vs-bg: #0a0a0f;
  --vs-bg-2: #0f0f1a;
  --vs-bg-3: #141428;
  --vs-surface: #1a1a2e;
  --vs-surface-2: #1e1e35;
  --vs-surface-3: #252545;
  --vs-border: rgba(99, 102, 241, 0.15);
  --vs-border-light: rgba(255, 255, 255, 0.08);

  /* Text */
  --vs-text: #f0f0ff;
  --vs-text-muted: #8888aa;
  --vs-text-dim: #5555777;

  /* Shadows */
  --vs-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --vs-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --vs-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  --vs-glow: 0 0 40px rgba(99, 102, 241, 0.25);

  /* Radius */
  --vs-radius-sm: 8px;
  --vs-radius: 14px;
  --vs-radius-lg: 20px;
  --vs-radius-xl: 28px;
  --vs-radius-full: 9999px;

  /* Transitions */
  --vs-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --vs-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --vs-transition: 0.25s var(--vs-ease);
  --vs-transition-fast: 0.15s var(--vs-ease);

  /* Typography */
  --vs-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --vs-font-display: 'Space Grotesk', 'Inter', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--vs-font);
  background: var(--vs-bg);
  color: var(--vs-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.accent { color: var(--vs-primary-light); }

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--vs-bg-2); }
::-webkit-scrollbar-thumb { background: var(--vs-primary); border-radius: var(--vs-radius-full); }

/* ── SELECTION ────────────────────────────────────────────── */
::selection { background: rgba(99, 102, 241, 0.35); color: #fff; }

/* ── HEADER ───────────────────────────────────────────────── */
.vs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--vs-border-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--vs-transition);
}

.vs-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.vs-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.vs-logo__icon { display: flex; align-items: center; }

.vs-logo__text {
  font-family: var(--vs-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vs-text);
  letter-spacing: -0.02em;
}

.vs-logo--sm .vs-logo__text { font-size: 1rem; }

.vs-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.vs-nav__link {
  color: var(--vs-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--vs-radius-full);
  transition: color var(--vs-transition), background var(--vs-transition);
}

.vs-nav__link:hover {
  color: var(--vs-text);
  background: rgba(255, 255, 255, 0.06);
}

.vs-header__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vs-success);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--vs-radius-full);
  padding: 5px 12px;
  white-space: nowrap;
}

/* ── HERO ─────────────────────────────────────────────────── */
.vs-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  overflow: hidden;
  gap: 40px;
  flex-wrap: wrap;
}

.vs-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.vs-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrb 12s ease-in-out infinite;
}

.vs-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent);
  top: -200px; left: -200px;
  animation-delay: 0s;
}

.vs-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent);
  bottom: -200px; right: -150px;
  animation-delay: -4s;
}

.vs-orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-30px) scale(1.05); }
  66% { transform: translateY(20px) scale(0.95); }
}

.vs-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.vs-hero__content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vs-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--vs-primary-light);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--vs-radius-full);
  padding: 6px 14px;
  width: fit-content;
}

.vs-hero__title {
  font-family: var(--vs-font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--vs-text);
}

.vs-hero__gradient-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.vs-hero__subtitle {
  font-size: 1.05rem;
  color: var(--vs-text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.vs-hero__platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vs-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vs-text-muted);
  background: var(--vs-surface);
  border: 1px solid var(--vs-border-light);
  border-radius: var(--vs-radius-full);
  padding: 5px 12px;
}

.vs-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── PHONE MOCKUP ─────────────────────────────────────────── */
.vs-hero__visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.vs-phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.vs-phone {
  width: 220px;
  background: #0d0d1a;
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(2deg); }
  50% { transform: translateY(-15px) rotateY(-8deg) rotateX(2deg); }
}

.vs-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--vs-radius-full);
  z-index: 10;
}

.vs-phone__screen {
  position: relative;
  aspect-ratio: 9/16;
  background: linear-gradient(180deg, #1a1a3e 0%, #0a0a1a 100%);
  overflow: hidden;
}

.vs-phone__video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d0d2e, #1a0a2e, #0a0d1a);
}

.vs-phone__play-pulse {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  animation: pulsePing 2s ease-in-out infinite;
}

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

.vs-phone__play-icon { position: relative; z-index: 1; }

.vs-phone__caption-demo {
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
  text-align: center;
  padding: 0 12px;
}

.vs-cap {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.cap-word { display: inline-block; margin: 0 2px; }
.cap-white { color: #ffffff; }
.cap-red { color: #ff3333; }

.vs-phone__ui-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.vs-phone__like-bar {
  display: flex;
  gap: 16px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

.vs-phone__shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.3), transparent);
  filter: blur(15px);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--vs-font);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--vs-radius);
  cursor: pointer;
  padding: 11px 22px;
  transition: all var(--vs-transition);
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.vs-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity var(--vs-transition-fast);
}

.vs-btn:hover::after { opacity: 0.07; }
.vs-btn:active { transform: scale(0.97); }

.vs-btn--primary {
  background: linear-gradient(135deg, var(--vs-primary), var(--vs-accent));
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.vs-btn--primary:hover {
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
  transform: translateY(-1px);
}

.vs-btn--secondary {
  background: var(--vs-surface-2);
  color: var(--vs-text);
  border: 1px solid var(--vs-border);
}

.vs-btn--secondary:hover {
  background: var(--vs-surface-3);
  border-color: rgba(99, 102, 241, 0.4);
}

.vs-btn--ghost {
  background: transparent;
  color: var(--vs-text-muted);
  border: 1px solid var(--vs-border-light);
}

.vs-btn--ghost:hover {
  color: var(--vs-text);
  border-color: var(--vs-border);
  background: rgba(255,255,255,0.04);
}

.vs-btn--large { padding: 15px 32px; font-size: 1rem; border-radius: var(--vs-radius-lg); }
.vs-btn--full { width: 100%; }
.vs-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── STEPS ────────────────────────────────────────────────── */
.vs-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 24px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.vs-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vs-step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--vs-surface-2);
  border: 2px solid var(--vs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--vs-text-muted);
  transition: all var(--vs-transition);
}

.vs-step span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vs-text-muted);
  transition: color var(--vs-transition);
}

.vs-step--active .vs-step__num {
  background: linear-gradient(135deg, var(--vs-primary), var(--vs-accent));
  border-color: transparent;
  color: white;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.vs-step--active span { color: var(--vs-primary-light); }

.vs-step--done .vs-step__num {
  background: rgba(34, 197, 94, 0.15);
  border-color: var(--vs-success);
  color: var(--vs-success);
}

.vs-step__line {
  flex: 1;
  height: 2px;
  background: var(--vs-border);
  min-width: 40px;
  max-width: 100px;
  margin-bottom: 20px;
  transition: background var(--vs-transition);
}

.vs-step__line--done { background: var(--vs-success); }

/* ── MAIN LAYOUT ─────────────────────────────────────────── */
.vs-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── PANELS ───────────────────────────────────────────────── */
.vs-panel {
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius-xl);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--vs-shadow);
}

.vs-panel__header { margin-bottom: 28px; }
.vs-panel__header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.vs-panel__title {
  font-family: var(--vs-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vs-text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.vs-panel__desc { color: var(--vs-text-muted); font-size: 0.9rem; }

/* ── TABS ─────────────────────────────────────────────────── */
.vs-tabs {
  display: flex;
  gap: 4px;
  background: var(--vs-surface-2);
  border-radius: var(--vs-radius);
  padding: 4px;
  margin-bottom: 24px;
  width: fit-content;
}

.vs-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: calc(var(--vs-radius) - 2px);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vs-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--vs-transition);
}

.vs-tab--active {
  background: var(--vs-primary);
  color: white;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.4);
}

.vs-tab:not(.vs-tab--active):hover {
  background: var(--vs-surface-3);
  color: var(--vs-text);
}

/* ── DROPZONE ─────────────────────────────────────────────── */
.vs-dropzone {
  border: 2px dashed var(--vs-border);
  border-radius: var(--vs-radius-lg);
  padding: 56px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--vs-transition);
  background: rgba(99, 102, 241, 0.03);
  outline: none;
}

.vs-dropzone:hover,
.vs-dropzone:focus {
  border-color: var(--vs-primary);
  background: rgba(99, 102, 241, 0.07);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--vs-glow);
}

.vs-dropzone.dragging {
  border-color: var(--vs-primary);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.15), var(--vs-glow);
  transform: scale(1.01);
}

.vs-dropzone__icon-wrap { margin-bottom: 16px; }

.vs-dropzone__label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--vs-text);
  margin-bottom: 6px;
}

.vs-dropzone__sublabel { color: var(--vs-text-muted); font-size: 0.9rem; }

.vs-dropzone__browse {
  color: var(--vs-primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vs-dropzone__hints {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.vs-hint-chip {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vs-text-muted);
  background: var(--vs-surface-2);
  border: 1px solid var(--vs-border-light);
  border-radius: var(--vs-radius-full);
  padding: 4px 10px;
}

/* ── FILE PREVIEW ─────────────────────────────────────────── */
.vs-file-preview { margin-top: 20px; }

.vs-file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--vs-surface-2);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.vs-file-icon {
  width: 40px; height: 40px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: var(--vs-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vs-primary-light);
  flex-shrink: 0;
}

.vs-file-meta { flex: 1; min-width: 0; }

.vs-file-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--vs-text);
}

.vs-file-size { font-size: 0.8rem; color: var(--vs-text-muted); }

.vs-file-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--vs-text-muted);
  padding: 4px;
  border-radius: var(--vs-radius-sm);
  transition: color var(--vs-transition), background var(--vs-transition);
  display: flex;
  align-items: center;
}

.vs-file-remove:hover { color: var(--vs-danger); background: rgba(239, 68, 68, 0.1); }

.vs-video-thumb-wrap { position: relative; }

.vs-video-thumb {
  width: 100%;
  max-height: 280px;
  border-radius: var(--vs-radius);
  background: #000;
  object-fit: cover;
  border: 1px solid var(--vs-border);
}

.vs-video-meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--vs-text-muted);
  font-weight: 500;
}

/* ── URL INPUT ────────────────────────────────────────────── */
.vs-url-input-wrap {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.vs-url-field {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  align-items: center;
}

.vs-url-icon {
  position: absolute;
  left: 14px;
  color: var(--vs-text-muted);
  pointer-events: none;
}

.vs-url-input {
  width: 100%;
  background: var(--vs-surface-2);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  padding: 13px 46px 13px 46px;
  font-family: var(--vs-font);
  font-size: 0.9rem;
  color: var(--vs-text);
  outline: none;
  transition: border-color var(--vs-transition), box-shadow var(--vs-transition);
}

.vs-url-input::placeholder { color: var(--vs-text-muted); }

.vs-url-input:focus {
  border-color: var(--vs-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.vs-url-clear {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--vs-text-muted);
  display: flex;
  align-items: center;
  transition: color var(--vs-transition);
}

.vs-url-clear:hover { color: var(--vs-text); }

.vs-url-platforms { margin-top: 16px; }

.vs-url-platforms__label {
  font-size: 0.8rem;
  color: var(--vs-text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.vs-url-platforms__list { display: flex; gap: 6px; flex-wrap: wrap; }

.vs-plat-chip {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--vs-radius-full);
  border: 1px solid transparent;
}

.vs-plat-chip--yt { color: #ff4444; background: rgba(255,68,68,0.1); border-color: rgba(255,68,68,0.25); }
.vs-plat-chip--fb { color: #4e8de3; background: rgba(78,141,227,0.1); border-color: rgba(78,141,227,0.25); }
.vs-plat-chip--ig { color: #e1306c; background: rgba(225,48,108,0.1); border-color: rgba(225,48,108,0.25); }
.vs-plat-chip--tw { color: #aaa; background: rgba(170,170,170,0.1); border-color: rgba(170,170,170,0.25); }
.vs-plat-chip--vm { color: #1ab7ea; background: rgba(26,183,234,0.1); border-color: rgba(26,183,234,0.25); }
.vs-plat-chip--direct { color: var(--vs-primary-light); background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.25); }

.vs-url-preview {
  margin-top: 20px;
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  overflow: hidden;
}

.vs-url-preview__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(34, 197, 94, 0.1);
  border-bottom: 1px solid var(--vs-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--vs-success);
}

.vs-url-embed-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.vs-url-embed-wrap iframe,
.vs-url-embed-wrap video { width: 100%; height: 100%; border: none; display: block; }

.vs-url-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(245, 158, 11, 0.08);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 0.78rem;
  color: rgba(245, 158, 11, 0.85);
}

/* ── SETTINGS ─────────────────────────────────────────────── */
.vs-clip-settings {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--vs-border-light);
}

.vs-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

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

.vs-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vs-range-wrap { display: flex; align-items: center; gap: 12px; }

.vs-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: var(--vs-radius-full);
  background: var(--vs-surface-3);
  outline: none;
  cursor: pointer;
}

.vs-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vs-primary), var(--vs-accent));
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.5);
  cursor: pointer;
  transition: transform var(--vs-spring) 0.2s;
}

.vs-range::-webkit-slider-thumb:hover { transform: scale(1.2); }

.vs-range-output {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--vs-primary-light);
  min-width: 36px;
  text-align: right;
}

.vs-select {
  width: 100%;
  background: var(--vs-surface-2);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius-sm);
  padding: 10px 14px;
  font-family: var(--vs-font);
  font-size: 0.88rem;
  color: var(--vs-text);
  cursor: pointer;
  outline: none;
  transition: border-color var(--vs-transition), box-shadow var(--vs-transition);
}

.vs-select:focus {
  border-color: var(--vs-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* ── ANALYSIS PANEL ───────────────────────────────────────── */
.vs-panel--analysis { text-align: center; }

.vs-analysis-ui { max-width: 680px; margin: 0 auto; }

.vs-scan-animation {
  position: relative;
  height: 120px;
  margin-bottom: 32px;
  border-radius: var(--vs-radius);
  overflow: hidden;
  background: var(--vs-surface-2);
  border: 1px solid var(--vs-border);
}

.vs-scan__canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vs-scan__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--vs-primary), var(--vs-accent), transparent);
  box-shadow: 0 0 12px var(--vs-primary);
  animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
  from { left: 0; }
  to { left: calc(100% - 3px); }
}

.vs-analysis-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  text-align: left;
}

.vs-astep {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--vs-surface-2);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius);
  transition: border-color var(--vs-transition), background var(--vs-transition);
}

.vs-astep--done {
  border-color: rgba(34,197,94,0.4);
  background: rgba(34,197,94,0.06);
}

.vs-astep--active {
  border-color: rgba(99,102,241,0.5);
  background: rgba(99,102,241,0.08);
}

.vs-astep__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vs-text-muted);
  flex-shrink: 0;
  transition: all var(--vs-transition);
}

.vs-astep--done .vs-astep__icon { background: rgba(34,197,94,0.15); color: var(--vs-success); }
.vs-astep--active .vs-astep__icon { background: rgba(99,102,241,0.2); color: var(--vs-primary-light); }

.vs-astep__icon--spin svg { animation: spin 1.5s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.vs-astep__info { flex: 1; }

.vs-astep__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vs-text);
  margin-bottom: 6px;
}

.vs-astep__bar {
  height: 4px;
  background: var(--vs-surface-3);
  border-radius: var(--vs-radius-full);
  overflow: hidden;
}

.vs-astep__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vs-primary), var(--vs-accent));
  border-radius: var(--vs-radius-full);
  width: 0%;
  transition: width 0.4s var(--vs-ease);
}

.vs-analysis-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 28px;
}

.vs-astat { text-align: center; }

.vs-astat__val {
  display: block;
  font-family: var(--vs-font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--vs-primary-light), var(--vs-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.vs-astat__key {
  font-size: 0.75rem;
  color: var(--vs-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vs-overall-progress { text-align: left; }

.vs-op-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vs-text-muted);
}

#op-pct { color: var(--vs-primary-light); }

.vs-op-bar {
  height: 8px;
  background: var(--vs-surface-3);
  border-radius: var(--vs-radius-full);
  overflow: hidden;
}

.vs-op-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vs-primary), var(--vs-accent), #ec4899);
  border-radius: var(--vs-radius-full);
  width: 0%;
  transition: width 0.3s var(--vs-ease);
  position: relative;
}

.vs-op-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 20px; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4));
  animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── SUBTITLE PICKER ──────────────────────────────────────── */
.vs-subtitle-picker {
  margin-bottom: 28px;
  padding: 24px;
  background: var(--vs-surface-2);
  border-radius: var(--vs-radius-lg);
  border: 1px solid var(--vs-border);
}

.vs-subtitle-picker__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--vs-text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vs-subtitle-styles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vs-subtitle-style {
  flex: 1;
  min-width: 120px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  background: var(--vs-surface-3);
  border: 2px solid var(--vs-border);
  border-radius: var(--vs-radius);
  padding: 14px 10px;
  text-align: center;
  transition: all var(--vs-transition);
}

.vs-subtitle-style:hover { border-color: rgba(99,102,241,0.5); }

.vs-subtitle-style--active {
  border-color: var(--vs-primary);
  background: rgba(99,102,241,0.1);
  box-shadow: 0 0 16px rgba(99,102,241,0.2);
}

.vs-sty-label {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--vs-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Subtitle style previews */
.vs-sty-preview {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: var(--vs-radius-sm);
  overflow: hidden;
  padding: 4px;
}

.sty-preview-1 { background: rgba(0,0,0,0.6); }
.sty-w { color: #ffffff; font-weight: 800; font-size: 0.8rem; text-shadow: 1px 1px 4px black; }
.sty-r { color: #ff3333; font-weight: 900; font-size: 0.9rem; text-shadow: 1px 1px 4px black; }

.sty-preview-2 { background: linear-gradient(135deg, #0a0a0a, #1a1a2e); }
.sty-bold-w { color: #fff; font-weight: 900; font-size: 0.75rem; letter-spacing: 0.04em; text-shadow: 2px 2px 0 black, -1px -1px 0 black; }
.sty-bold-y { color: #fbbf24; font-weight: 900; font-size: 0.85rem; letter-spacing: 0.04em; text-shadow: 2px 2px 0 black; }

.sty-preview-3 { background: #000; }
.sty-neon {
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  text-shadow: 0 0 8px #6366f1, 0 0 20px #6366f1, 0 0 40px #8b5cf6;
  letter-spacing: 0.03em;
}

.sty-preview-4 { background: rgba(0,0,0,0.5); }
.sty-box {
  background: rgba(99,102,241,0.9);
  color: white;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.sty-preview-5 { background: rgba(0,0,0,0.6); }
.sty-grad {
  font-weight: 900;
  font-size: 0.85rem;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
}

/* ── CLIPS GRID ───────────────────────────────────────────── */
.vs-clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

/* ── CLIP CARD ────────────────────────────────────────────── */
.vs-clip-card {
  background: var(--vs-surface-2);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius-lg);
  overflow: hidden;
  transition: all var(--vs-transition);
  display: flex;
  flex-direction: column;
}

.vs-clip-card:hover {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 8px 32px rgba(99,102,241,0.15);
  transform: translateY(-2px);
}

.vs-clip-thumb {
  position: relative;
  aspect-ratio: 9/16;
  background: linear-gradient(135deg, #0d0d1a, #1a0d2e);
  overflow: hidden;
  cursor: pointer;
}

.vs-clip-thumb canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vs-clip-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--vs-transition);
}

.vs-clip-thumb:hover .vs-clip-thumb__overlay { opacity: 1; }

.vs-clip-play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(99,102,241,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: scale(0.8);
  transition: transform var(--vs-spring) 0.25s;
  box-shadow: 0 4px 20px rgba(99,102,241,0.6);
}

.vs-clip-thumb:hover .vs-clip-play-btn { transform: scale(1); }

.vs-clip-thumb__badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.vs-clip-score {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--vs-radius-full);
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.vs-clip-score--high { color: #22c55e; border: 1px solid rgba(34,197,94,0.4); }
.vs-clip-score--mid  { color: #f59e0b; border: 1px solid rgba(245,158,11,0.4); }

.vs-clip-duration-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: var(--vs-radius-full);
  border: 1px solid rgba(255,255,255,0.2);
}

.vs-clip-subtitle-preview {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  padding: 0 10px;
  pointer-events: none;
}

.vs-clip-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vs-clip-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--vs-text);
}

.vs-clip-meta {
  font-size: 0.78rem;
  color: var(--vs-text-muted);
  display: flex;
  gap: 12px;
}

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

.vs-clip-actions .vs-btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 9px 12px;
}

/* ── EXPORT ALL BAR ───────────────────────────────────────── */
.vs-export-all-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.12));
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--vs-radius-lg);
}

.vs-export-all-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vs-primary-light);
}

.vs-export-all-actions { display: flex; gap: 10px; }

/* ── MODAL ────────────────────────────────────────────────── */
.vs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vs-modal {
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius-xl);
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--vs-shadow-lg);
}

.vs-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--vs-border-light);
}

.vs-modal__title {
  font-family: var(--vs-font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.vs-modal__close {
  background: rgba(255,255,255,0.07);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--vs-text-muted);
  transition: all var(--vs-transition);
}

.vs-modal__close:hover { background: rgba(255,255,255,0.12); color: var(--vs-text); }

.vs-modal__body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px;
}

.vs-modal__phone { display: flex; justify-content: center; align-items: flex-start; }

.vs-modal-phone-frame {
  width: 220px;
  background: #08080f;
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 4px rgba(255,255,255,0.03);
}

.vs-modal-screen {
  position: relative;
  aspect-ratio: 9/16;
  background: #000;
  overflow: hidden;
}

.vs-preview-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.vs-preview-subtitle {
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
  text-align: center;
  padding: 0 12px;
  z-index: 2;
}

.vs-preview-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.vs-prev-ctrl {
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all var(--vs-transition);
}

.vs-prev-ctrl:hover { background: rgba(99,102,241,0.8); transform: scale(1.1); }

.vs-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vs-modal__clip-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vs-modal__clip-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vs-text);
}

.vs-modal__clip-time {
  font-size: 0.82rem;
  color: var(--vs-text-muted);
  font-weight: 500;
}

.vs-modal__subtitle-mini { display: flex; flex-direction: column; gap: 10px; }

.vs-modal-styles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vs-modal-style-btn {
  padding: 5px 12px;
  border-radius: var(--vs-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--vs-border);
  background: var(--vs-surface-3);
  color: var(--vs-text-muted);
  transition: all var(--vs-transition);
}

.vs-modal-style-btn--active {
  border-color: var(--vs-primary);
  background: rgba(99,102,241,0.15);
  color: var(--vs-primary-light);
}

.vs-modal__nav {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.vs-modal__nav .vs-btn { font-size: 0.8rem; }

/* ── EXPORT OVERLAY ───────────────────────────────────────── */
.vs-export-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(12px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-export-dialog {
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius-xl);
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--vs-shadow-lg), var(--vs-glow);
}

.vs-export-icon {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-export-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--vs-border);
  border-top-color: var(--vs-primary);
  animation: spin 1s linear infinite;
}

.vs-export-title {
  font-family: var(--vs-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.vs-export-sub { color: var(--vs-text-muted); font-size: 0.875rem; margin-bottom: 24px; }

.vs-export-bar {
  height: 8px;
  background: var(--vs-surface-3);
  border-radius: var(--vs-radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.vs-export-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vs-primary), var(--vs-accent), #ec4899);
  border-radius: var(--vs-radius-full);
  width: 0%;
  transition: width 0.2s var(--vs-ease);
}

.vs-export-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vs-primary-light);
}

/* ── TOAST ────────────────────────────────────────────────── */
.vs-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  pointer-events: none;
}

.vs-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--vs-radius);
  border: 1px solid var(--vs-border);
  background: var(--vs-surface-2);
  backdrop-filter: blur(12px);
  box-shadow: var(--vs-shadow);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--vs-text);
  pointer-events: all;
  animation: toastIn 0.35s var(--vs-spring) both;
}

.vs-toast--out { animation: toastOut 0.3s var(--vs-ease) both; }

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

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

.vs-toast--success { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.08); }
.vs-toast--error { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.08); }
.vs-toast--info { border-color: rgba(99,102,241,0.4); background: rgba(99,102,241,0.08); }
.vs-toast--warning { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.08); }

.vs-toast__icon { flex-shrink: 0; margin-top: 1px; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.vs-how {
  background: var(--vs-bg-2);
  border-top: 1px solid var(--vs-border-light);
  padding: 80px 24px;
}

.vs-how__inner { max-width: 960px; margin: 0 auto; }

.vs-how__header {
  text-align: center;
  margin-bottom: 56px;
}

.vs-how__title {
  font-family: var(--vs-font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.vs-how__subtitle { color: var(--vs-text-muted); font-size: 1rem; }

.vs-how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.vs-how-step {
  position: relative;
  padding: 28px 24px;
  background: var(--vs-surface);
  border: 1px solid var(--vs-border);
  border-radius: var(--vs-radius-xl);
  transition: all var(--vs-transition);
}

.vs-how-step:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-4px);
  box-shadow: var(--vs-glow);
}

.vs-how-step__num {
  font-family: var(--vs-font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(99,102,241,0.12);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
  letter-spacing: -0.05em;
}

.vs-how-step__icon {
  width: 56px; height: 56px;
  background: rgba(99,102,241,0.12);
  border-radius: var(--vs-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vs-primary-light);
  margin-bottom: 20px;
}

.vs-how-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--vs-text);
}

.vs-how-step p {
  font-size: 0.875rem;
  color: var(--vs-text-muted);
  line-height: 1.65;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.vs-footer {
  background: var(--vs-bg);
  border-top: 1px solid var(--vs-border-light);
  padding: 40px 24px;
  text-align: center;
}

.vs-footer__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vs-footer__copy { font-size: 0.84rem; color: var(--vs-text-muted); }
.vs-footer__note { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ── UTILITIES ────────────────────────────────────────────── */
[hidden] { display: none !important; }

.vs-fade-in { animation: fadeIn 0.4s var(--vs-ease) both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .vs-header__inner { padding: 0 16px; gap: 16px; }
  .vs-nav { display: none; }

  .vs-hero {
    padding: 80px 16px 40px;
    text-align: center;
  }

  .vs-hero__content { text-align: center; max-width: 100%; }
  .vs-hero__platforms { justify-content: center; }
  .vs-hero__cta { justify-content: center; }

  .vs-hero__visual { display: none; }

  .vs-panel { padding: 20px 16px; }

  .vs-tabs { width: 100%; }
  .vs-tab { flex: 1; justify-content: center; }

  .vs-settings-grid { grid-template-columns: 1fr; }

  .vs-clips-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

  .vs-modal__body {
    grid-template-columns: 1fr;
  }

  .vs-modal__phone {
    max-height: 300px;
    overflow: hidden;
  }

  .vs-analysis-stats { gap: 20px; }

  .vs-export-all-bar { flex-direction: column; align-items: flex-start; }

  .vs-subtitle-style { min-width: 100px; }
}

@media (max-width: 480px) {
  .vs-hero__title { font-size: 2rem; }
  .vs-panel { padding: 16px 12px; }
  .vs-clips-grid { grid-template-columns: 1fr; }
  .vs-analysis-stats { flex-direction: column; gap: 12px; }
}
