/* ============================================================
   VIDX Homepage V2 — QClay-Inspired Design System
   ============================================================ */

/* --- Design Tokens ----------------------------------------- */
:root {
  /* Colors */
  --bg-primary: #050714;
  --bg-section: #0A0D1F;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --brand: #634FD2;
  --brand-light: #8B7BE8;
  --brand-glow: rgba(99,79,210,0.15);
  --cta: #FF6B4A;
  --cta-hover: #FF8566;
  --accent: #00D4AA;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.35);
  --border: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);

  /* Typography */
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-hero: clamp(3rem, 6vw, 5.5rem);
  --text-section: clamp(2.25rem, 4vw, 3.75rem);
  --text-subsection: clamp(1.5rem, 2.5vw, 2rem);
  --text-body: clamp(1rem, 1.2vw, 1.125rem);
  --text-small: 0.875rem;
  --text-label: 0.75rem;
  --weight-bold: 700;
  --weight-semibold: 600;
  --weight-medium: 500;
  --weight-regular: 400;
  --weight-light: 200;
  --leading-tight: 1.1;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;
  --tracking-tight: -0.02em;
  --tracking-label: 0.1em;

  /* Spacing */
  --section-padding-y: clamp(80px, 12vh, 160px);
  --section-padding-x: clamp(20px, 5vw, 80px);
  --content-max: 1200px;
  --content-narrow: 800px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Effects */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.v2 {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
}

/* Noise texture overlay — prevents dark gradient banding */
body.v2::after {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* --- Utility Classes --------------------------------------- */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-glow {
  box-shadow: 0 0 60px var(--brand-glow), 0 0 120px rgba(99,79,210,0.05);
}

.hover-lift {
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.section-label {
  display: inline-block;
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: var(--space-sm);
  text-align: center;
  width: 100%;
}

.section-headline {
  font-size: var(--text-section);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  text-wrap: balance;
  text-align: center;
}

.section-sub {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  max-width: var(--content-narrow);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Container ------------------------------------- */
.v2-section {
  position: relative;
  padding: var(--section-padding-y) var(--section-padding-x);
}

/* Stacked overlap — QClay seamless flow */
.v2-section:nth-of-type(n+2) {
  margin-top: -60px;
  padding-top: calc(var(--section-padding-y) + 60px);
}
.v2-section:nth-of-type(2) { z-index: 2; }
.v2-section:nth-of-type(3) { z-index: 3; }
.v2-section:nth-of-type(4) { z-index: 4; }
.v2-section:nth-of-type(5) { z-index: 5; }
.v2-section:nth-of-type(6) { z-index: 6; }
.v2-section:nth-of-type(7) { z-index: 7; }

.v2-section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.v2-section--alt {
  background: var(--bg-section);
}

/* ============================================================
   NAV
   ============================================================ */
.v2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--section-padding-x);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.v2-nav--scrolled {
  background: rgba(5,7,20,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.v2-nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.v2-nav__brand img {
  height: 32px;
  width: auto;
}

.v2-nav__links {
  display: flex;
  gap: var(--space-lg);
}

.v2-nav__links a {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

.v2-nav__links a:hover {
  color: var(--text-primary);
}

.v2-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.v2-nav__sign-in {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.25s ease;
}
.v2-nav__sign-in:hover { color: var(--text-primary); }

.v2-nav__cta {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  padding: 10px 22px;
  border-radius: 10px;
  background: var(--brand);
  transition: background 0.25s ease, transform 0.25s var(--ease-out-expo);
}
.v2-nav__cta:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

/* Hamburger */
.v2-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.v2-nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease;
}

.v2-nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.v2-nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.v2-nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.v2-nav__mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5,7,20,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-lg) var(--section-padding-x);
  flex-direction: column;
  gap: var(--space-md);
  z-index: 999;
}

.v2-nav__mobile.is-open {
  display: flex;
}

.v2-nav__mobile a {
  font-size: 1.125rem;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.25s ease;
}
.v2-nav__mobile a:hover { color: var(--text-primary); }

.v2-nav__mobile .v2-nav__cta {
  display: inline-block;
  text-align: center;
  margin-top: var(--space-sm);
  padding: 14px 22px;
  font-size: 1rem;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.v2-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 72px; /* nav height */
  padding-bottom: 0;
  margin-bottom: 0;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Radial glow behind headline */
.v2-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -55%);
  background: radial-gradient(
    ellipse at center,
    rgba(99,79,210,0.18) 0%,
    rgba(99,79,210,0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.v2-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: var(--space-md);
  padding: 0 var(--section-padding-x);
  padding-bottom: 0;
}

/* Label */
.v2-hero__label {
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
}

/* Headline */
.v2-hero__headline {
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  text-wrap: balance;
  max-width: 900px;
  opacity: 0;
  transform: translateY(40px);
}

.v2-hero__headline span {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subheadline */
.v2-hero__sub {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  max-width: 560px;
  opacity: 0;
  transform: translateY(40px);
}

/* CTAs */
.v2-hero__ctas {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  opacity: 0;
  transform: translateY(40px);
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: var(--weight-semibold);
  font-size: 1rem;
  border-radius: 12px;
  padding: 16px 32px;
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
}

.v2-btn--primary {
  background: var(--cta);
  color: var(--text-primary);
  box-shadow: 0 4px 24px rgba(255,107,74,0.35);
}
.v2-btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,74,0.45);
}

.v2-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}
.v2-btn--ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

/* Ticker / Marquee */
.v2-hero__ticker {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin-top: auto;
  margin-bottom: 0;
  padding-bottom: var(--space-xl);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  opacity: 0;
}

.v2-hero__ticker-track {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  animation: v2-ticker 40s linear infinite;
}

.v2-hero__ticker-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-small);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.v2-hero__ticker-item svg {
  width: 16px;
  height: 16px;
  fill: var(--brand-light);
  flex-shrink: 0;
}

@keyframes v2-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll indicator */
.v2-hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: v2-scroll-pulse 2s ease-in-out infinite;
}

.v2-hero__scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes v2-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.6; transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTION 2 — INTERACTIVE PRODUCT DEMO
   ============================================================ */

/* Section header */
.v2-editor__header {
  text-align: center;
  margin: 0 auto 48px;
}

.v2-editor__title {
  font-size: var(--text-subsection);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-top: var(--space-xs);
}

/* Product Editor Container (Glass Card) */
.v2-editor__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

/* Window chrome */
.v2-editor__window-chrome {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 48px;
  padding: 0 20px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--glass-border);
}

.v2-editor__chrome-dots {
  position: absolute;
  left: 20px;
  display: flex;
  gap: 8px;
}

.v2-editor__chrome-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.v2-editor__chrome-dots span:nth-child(1) { background: #ff5f57; }
.v2-editor__chrome-dots span:nth-child(2) { background: #febc2e; }
.v2-editor__chrome-dots span:nth-child(3) { background: #28c840; }

.v2-editor__chrome-title {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

/* Two-column grid */
.v2-editor__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 600px;
}

/* LEFT: Editor Panel */
.v2-editor__panel {
  background: rgba(0,0,0,0.3);
  padding: 24px;
  overflow-y: auto;
  max-height: 700px;
}

/* Section */
.v2-editor__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
}
.v2-editor__section:last-child {
  border-bottom: none;
}

/* Section labels — accordion toggles at all breakpoints */
.v2-editor__section-label {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px 16px;
  margin-bottom: 0;
  border-left: 3px solid transparent;
  background: transparent;
  border-radius: 0 6px 6px 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s, font-weight 0.2s;
  -webkit-tap-highlight-color: transparent;
}

/* Open section label — highlighted bar */
.v2-editor__section.is-accordion-open > .v2-editor__section-label {
  color: #634fd2;
  font-weight: 600;
  border-left: 3px solid #634fd2;
  background: rgba(99, 79, 210, 0.15);
}

/* Chevron arrow indicator */
.v2-editor__section-label::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.2s;
  flex-shrink: 0;
  margin-left: 8px;
}

/* Open state — rotate arrow up, purple chevron */
.v2-editor__section.is-accordion-open > .v2-editor__section-label::after {
  transform: rotate(-135deg);
  border-right-color: #634fd2;
  border-bottom-color: #634fd2;
}

/* Collapsed: hide everything except the label (skip tab-active sections on mobile) */
.v2-editor__section:not(.is-accordion-open):not(.is-tab-active) > *:not(.v2-editor__section-label) {
  display: none !important;
}

/* Open: show children */
.v2-editor__section.is-accordion-open > .v2-editor__control,
.v2-editor__section.is-accordion-open > .v2-editor__field {
  display: flex !important;
}
.v2-editor__section.is-accordion-open > .v2-editor__field {
  flex-direction: column;
}
.v2-editor__section.is-accordion-open > .v2-editor__control-hint,
.v2-editor__section.is-accordion-open > p {
  display: block !important;
}
.v2-editor__section.is-accordion-open {
  gap: 14px;
}
.v2-editor__section.is-accordion-open > .v2-editor__section-label {
  display: flex;
}

/* Video details fields */
.v2-editor__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.v2-editor__field-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.v2-editor__text-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.v2-editor__text-input:focus {
  border-color: #634FD2;
  background: rgba(255,255,255,0.08);
}

/* Control row */
.v2-editor__control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.v2-editor__control-label {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

.v2-editor__control-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Badge */
.v2-editor__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  background: var(--cta);
  color: var(--bg-primary);
  font-size: 9px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.05em;
  border-radius: 4px;
}

/* Control hint */
.v2-editor__control-hint {
  font-size: var(--text-label);
  color: var(--text-muted);
  margin-top: -8px;
  padding-left: 0;
  display: none;
}

.v2-editor__control-hint.is-visible {
  display: block;
}

/* Color input */
.v2-editor__color-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-editor__color-swatch {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--glass-border);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.v2-editor__color-swatch:hover {
  transform: scale(1.1);
}

.v2-editor__color-swatch input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.v2-editor__hex-input {
  width: 80px;
  padding: 6px 10px;
  font-size: var(--text-small);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease;
}

.v2-editor__hex-input:focus {
  border-color: var(--brand);
}

/* Slider */
.v2-editor__slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 200px;
}

.v2-editor__slider {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

/* HookBoost slider gradient track */
#editorHookboostSlider {
  background: linear-gradient(90deg,
    var(--brand) 0%,
    var(--brand) 12.5%,
    var(--cta) 100%
  );
}

.v2-editor__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.v2-editor__slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.v2-editor__slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease;
}

.v2-editor__slider::-moz-range-thumb:hover {
  transform: scale(1.25);
}

.v2-editor__slider-value {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  min-width: 40px;
  text-align: right;
}

/* Toggle switch */
.v2-editor__toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}

.v2-editor__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.v2-editor__toggle-track {
  position: absolute;
  inset: 0;
  background: #1a1a2e;
  border-radius: 24px;
  transition: background 0.2s ease;
}

.v2-editor__toggle-track::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.v2-editor__toggle input:checked + .v2-editor__toggle-track {
  background: var(--brand);
}

.v2-editor__toggle input:checked + .v2-editor__toggle-track::before {
  transform: translateX(20px);
}

/* Button group */
.v2-editor__button-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

.v2-editor__btn {
  flex: 1;
  padding: 8px 12px;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v2-editor__btn:hover:not(.v2-editor__btn--active) {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.15);
}

.v2-editor__btn--active {
  background: var(--brand);
  color: var(--text-primary);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(99,79,210,0.3);
}

.v2-editor__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* RIGHT: Player Preview */
.v2-editor__preview {
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.1);
  gap: 16px;
}


.v2-editor__player {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  background: #000; /* Solid black background to prevent bleed-through */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(99,79,210,0.4);
  z-index: 10; /* Ensure player is above surrounding content */
  isolation: isolate; /* Create stacking context to prevent bleed-through */
  /* Removed transition and float animation to prevent flicker */
}

.v2-editor__video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  display: block;
  z-index: 1;
  background: #000;
  border-radius: inherit;
  object-fit: cover;
}

/* Static thumbnail fallback (Smart Autoplay OFF) */
.v2-editor__static-thumb {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
  background: #000;
}
.v2-editor__static-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.v2-editor__static-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(8, 10, 22, 0.78);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 28px 70px rgba(5, 7, 13, 0.6);
  overflow: visible;
  isolation: isolate;
}
/* Spinning brand ring */
.v2-editor__static-play-btn::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--demo-brand, #634fd2), var(--demo-brand-soft, rgba(99,79,210,0.35)), var(--demo-brand, #634fd2));
  opacity: 0.9;
  animation: v2PlayRingRotate 2.8s linear infinite;
  z-index: -2;
}
/* Pulsing glow */
.v2-editor__static-play-btn::after {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--demo-brand-glow, rgba(99,79,210,0.22)), transparent 65%);
  animation: v2PlayPulseGlow 2.4s ease-in-out infinite;
  opacity: 0.85;
  z-index: -3;
}
.v2-editor__static-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.02);
  box-shadow: 0 30px 74px rgba(5, 7, 13, 0.62);
}
.v2-editor__static-play-btn svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  margin-left: 4px;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.55));
}

/* Overlay Preview Container */
.v2-editor__overlay-preview {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  z-index: 40;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.v2-editor__overlay-preview.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Big & Center Overlay Mode (matches real vx-overlay.css) */
.v2-editor__overlay-big {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: clamp(300px, 38vw, 420px);
  min-height: 80px;
  padding: clamp(24px, 4.5vw, 34px) clamp(24px, 5vw, 34px);
  border-radius: 20px;
  background: var(--demo-brand-fill, rgba(99, 79, 210, 0.62));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 28px rgba(3, 6, 12, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.05);
  filter: drop-shadow(0 26px 58px rgba(4, 6, 22, 0.52));
  transition: all 0.3s ease;
}

.v2-editor__overlay-big::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--demo-brand-border, rgba(99, 79, 210, 0.65));
  box-shadow: 0 0 16px var(--demo-brand-glow, rgba(99, 79, 210, 0.25));
  pointer-events: none;
}

.v2-editor__overlay-big::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 65%,
    var(--demo-brand-30, rgba(99, 79, 210, 0.3)) 0%,
    rgba(18, 12, 60, 0.35) 36%,
    transparent 76%
  );
  filter: blur(28px);
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
}

.v2-editor__overlay-big.is-hidden {
  display: none;
}

.v2-editor__overlay-big .v2-editor__overlay-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 13, 26, 0.45);
  box-shadow: 0 0 0 6px var(--demo-brand-soft, rgba(99, 79, 210, 0.22));
  overflow: visible;
}

.v2-editor__overlay-big .v2-editor__overlay-icon svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.v2-editor__overlay-icon-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  opacity: 0;
  animation: v2-wave-pulse 2.2s ease-in-out infinite;
}

.v2-editor__overlay-icon-wave:nth-child(2) {
  animation-delay: 1.1s;
}

@keyframes v2-wave-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.v2-editor__overlay-big .v2-editor__overlay-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.v2-editor__overlay-big .v2-editor__overlay-line1 {
  font-size: clamp(16px, 3.4vw, 24px);
  font-weight: 700;
  color: #ffffff;
  text-transform: none;
}

.v2-editor__overlay-big .v2-editor__overlay-line2 {
  font-size: clamp(13px, 2.8vw, 17px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

/* Small & Pretty Overlay Mode (matches real vx-overlay-badge) */
.v2-editor__overlay-small {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 24px 12px 18px;
  border-radius: 999px;
  background: var(--demo-brand-fill, rgba(99, 79, 210, 0.62));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px rgba(5, 8, 20, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: drop-shadow(0 18px 34px rgba(5, 6, 20, 0.45));
  pointer-events: auto;
  transition: all 0.3s ease;
}

.v2-editor__overlay-small::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--demo-brand-border, rgba(99, 79, 210, 0.65));
  box-shadow: 0 8px 18px var(--demo-brand-glow, rgba(99, 79, 210, 0.25));
  pointer-events: none;
}

.v2-editor__overlay-small.is-hidden {
  display: none;
}

.v2-editor__overlay-small .v2-editor__overlay-icon-small {
  position: relative;
  width: 56px;
  height: 56px;
  margin-left: -6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 13, 26, 0.45);
  box-shadow: 0 0 0 6px var(--demo-brand-soft, rgba(99, 79, 210, 0.22));
  flex-shrink: 0;
}

.v2-editor__overlay-small .v2-editor__overlay-icon-small svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.v2-editor__overlay-small span {
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Continue Where You Left Off Overlay Mode (matches style of center overlay) */
.v2-editor__overlay-continue {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: clamp(300px, 38vw, 420px);
  min-height: 80px;
  padding: clamp(24px, 4.5vw, 34px) clamp(24px, 5vw, 34px);
  border-radius: 20px;
  background: var(--demo-brand-fill, rgba(99, 79, 210, 0.62));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 28px rgba(3, 6, 12, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.05);
  filter: drop-shadow(0 26px 58px rgba(4, 6, 22, 0.52));
  transition: opacity 0.3s ease;
}

.v2-editor__overlay-continue::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--demo-brand-border, rgba(99, 79, 210, 0.65));
  box-shadow: 0 0 16px var(--demo-brand-glow, rgba(99, 79, 210, 0.25));
  pointer-events: none;
}

.v2-editor__overlay-continue::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 65%,
    var(--demo-brand-30, rgba(99, 79, 210, 0.3)) 0%,
    rgba(18, 12, 60, 0.35) 36%,
    transparent 76%
  );
  filter: blur(28px);
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
}

.v2-editor__overlay-continue.is-hidden {
  display: none;
}

.v2-editor__continue-play-circle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 13, 26, 0.45);
  box-shadow: 0 0 0 6px var(--demo-brand-soft, rgba(99, 79, 210, 0.22));
  overflow: visible;
}

.v2-editor__continue-play-icon {
  font-size: 20px;
  color: white;
  margin-left: 3px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.v2-editor__continue-play-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  opacity: 0;
  animation: v2-wave-pulse 2.2s ease-in-out infinite;
}

.v2-editor__continue-play-wave:nth-child(1) {
  animation-delay: 0s;
}

.v2-editor__continue-play-wave:nth-child(2) {
  animation-delay: 1.1s;
}

.v2-editor__continue-text {
  font-size: clamp(16px, 3.4vw, 24px);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.v2-editor__continue-timestamp {
  font-size: clamp(13px, 2.8vw, 17px);
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.v2-editor__continue-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.v2-editor__continue-btn {
  padding: 8px 22px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
}

.v2-editor__continue-btn:hover {
  transform: scale(1.04);
}

.v2-editor__continue-btn--resume {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a2e;
}

.v2-editor__continue-btn--resume:hover {
  background: #fff;
}

.v2-editor__continue-btn--restart {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.v2-editor__continue-btn--restart:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Play/Pause big center indicator — branded glass circle with glow */
.v2-editor__playpause-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 25;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(8, 10, 22, 0.78);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 24px var(--demo-brand-glow-50, rgba(99, 79, 210, 0.5));
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: none;
  overflow: visible;
}

/* Spinning brand ring — matches real player ::before */
.v2-editor__playpause-indicator::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--demo-brand, #634fd2),
    var(--demo-brand-soft, rgba(99, 79, 210, 0.35)),
    var(--demo-brand, #634fd2)
  );
  opacity: 0;
  animation: v2PlayRingRotate 2.8s linear infinite;
  z-index: -2;
  transition: opacity 0.3s ease;
}

/* Pulsing glow — matches real player ::after */
.v2-editor__playpause-indicator::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--demo-brand-glow, rgba(99, 79, 210, 0.22)),
    transparent 65%
  );
  opacity: 0;
  animation: v2PlayPulseGlow 2.4s ease-in-out infinite;
  z-index: -3;
  transition: opacity 0.3s ease;
}

.v2-editor__playpause-indicator svg {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

.v2-editor__playpause-indicator.is-showing {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.v2-editor__playpause-indicator.is-showing::before {
  opacity: 0.9;
}

.v2-editor__playpause-indicator.is-showing::after {
  opacity: 0.85;
}

.v2-editor__playpause-indicator.is-fading {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.1);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.v2-editor__playpause-indicator.is-fading::before,
.v2-editor__playpause-indicator.is-fading::after {
  opacity: 0;
}

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

@keyframes v2PlayPulseGlow {
  0%, 100% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-editor__playpause-indicator::before { animation: none; }
  .v2-editor__playpause-indicator::after { animation: none; }
  .v2-editor__playpause-indicator.is-fading {
    transition: opacity 0.15s ease-out;
  }
}

/* HookBoost progress bar — sits BELOW the player container */
.v2-editor__hookboost-bar {
  width: 100%;
  max-width: 600px;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  display: none;
  margin-top: -1px; /* flush against player bottom */
}

.v2-editor__hookboost-bar.is-visible {
  display: block;
}

.v2-editor__hookboost-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--demo-brand, #634FD2), var(--demo-brand-end, #8ea2ff));
  box-shadow: 0 0 6px var(--demo-brand-glow, rgba(99,79,210,0.35));
  transition: none;
  border-radius: 0 2px 2px 0;
}

/* HookBoost before/after comparison widget */
.v2-hookboost-compare {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.v2-hookboost-compare__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v2-hookboost-compare__bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v2-hookboost-compare__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  min-width: 90px;
  text-align: right;
  white-space: nowrap;
}
.v2-hookboost-compare__track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.v2-hookboost-compare__fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: none;
}
.v2-hookboost-compare__fill--normal {
  background: rgba(255, 255, 255, 0.3);
}
.v2-hookboost-compare__fill--boosted {
  background: var(--demo-brand, #634FD2);
}

/* Resume preview card (inline feedback for resume toggle) */
.v2-resume-preview {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: rgba(99, 79, 210, 0.1);
  border: 1px solid rgba(99, 79, 210, 0.2);
  transition: opacity 0.25s ease;
}

.v2-resume-preview__mockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-resume-preview__mini-player {
  flex-shrink: 0;
  width: 60px;
  height: 34px;
  border-radius: 4px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-resume-preview__play-icon {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.v2-resume-preview__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.v2-resume-preview__label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.v2-resume-preview__prompt {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-style: italic;
}

/* Player controls bar — matches real VSLSTATS player (vx-controls.css) */
.v2-player__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(5,7,13,0) 0%, rgba(5,7,13,0.86) 80%);
  z-index: 35;
  transition: opacity 0.25s;
}

.v2-player__controls.hidden {
  display: none;
}

/* Pill-shaped control bar (matches .bar-buttons in real player) */
.v2-player__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: rgba(6,10,18,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 10px 16px;
  box-shadow: 0 18px 34px rgba(0,0,0,0.45);
}

.v2-player__bar-left,
.v2-player__bar-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.v2-player__bar-center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}

/* Control buttons — match real player .bar-action style */
.v2-player__action {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.v2-player__action:hover {
  border-color: var(--demo-brand, rgba(99,79,210,1));
  background: var(--demo-brand-soft, rgba(99,79,210,0.22));
  box-shadow: 0 12px 22px var(--demo-brand-glow-50, rgba(99,79,210,0.28));
  transform: translateY(-1px);
}

/* Play button — branded active ring when video is playing */
.v2-player__action[data-state="playing"] {
  border-color: var(--demo-brand-glow-50, rgba(99,79,210,0.5));
  box-shadow: 0 0 0 2px var(--demo-brand-glow, rgba(99,79,210,0.25)), 0 4px 12px var(--demo-brand-glow, rgba(99,79,210,0.2));
}

.v2-player__action[data-state="playing"]:hover {
  border-color: var(--demo-brand, rgba(99,79,210,1));
  box-shadow: 0 0 0 2px var(--demo-brand-soft, rgba(99,79,210,0.35)), 0 12px 22px var(--demo-brand-glow-50, rgba(99,79,210,0.28));
}

/* Flat progress bar — matches real player .bar-track */
.v2-player__track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  cursor: pointer;
  overflow: visible;
  flex: 1 1 0;
}

.v2-player__track-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--demo-brand, #634FD2), var(--demo-brand-end, #8ea2ff));
  transition: width 0.25s ease-out;
}

.v2-player__track-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--demo-brand, #634FD2), var(--demo-brand-end, #8ea2ff));
  box-shadow: 0 0 0 4px var(--demo-brand-glow, rgba(99,79,210,0.25));
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.v2-player__track:hover .v2-player__track-thumb,
.v2-player__track.seeking .v2-player__track-thumb {
  opacity: 1;
}

.v2-player__track.dimmed {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.v2-player__time {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 64px;
  text-align: right;
}

.v2-player__branding {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Mode toggle (Free Edit / Guided Tour) */
.v2-editor__tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.v2-editor__tour-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.v2-editor__tour-btn svg {
  opacity: 0.7;
}

/* Tab navigation (hidden on desktop, shown on mobile) */
.v2-editor__tabs {
  display: none;
}

/* Updated badge (mobile free-edit feedback) */
.v2-editor__updated-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(99,79,210,0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  z-index: 40;
  transition: opacity 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.02em;
}

.v2-editor__updated-badge.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-editor__progress-fill.is-fast {
  background: linear-gradient(90deg, var(--brand), var(--cta));
  animation: v2-editor-progress-fast 7s linear infinite;
  position: relative;
  overflow: hidden;
}

.v2-editor__progress-fill.is-fast::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: v2-editor-shimmer 2s ease-in-out infinite;
}

@keyframes v2-editor-shimmer {
  0% { transform: translateX(-200%); }
  100% { transform: translateX(400%); }
}


/* CTA */
.v2-editor__cta {
  margin-top: var(--space-2xl);
  text-align: center;
}

/* Mobile layout */
@media (max-width: 1023px) {
  .v2-editor__window-chrome {
    display: none;
  }

  .v2-editor__grid {
    grid-template-columns: 1fr;
  }

  .v2-editor__preview {
    order: 1;
    padding: 24px;
    position: relative;
    background: transparent;
  }

  .v2-editor__panel {
    order: 2;
    max-height: none;
    background: rgba(0,0,0,0.2);
  }

  .v2-editor__player {
    max-width: 100%;
  }
}

/* ============================================================
   SECTION 4 — DASHBOARD PREVIEW
   ============================================================ */
.v2-dashboard .section-sub {
  margin-bottom: var(--space-lg);
}

.v2-dashboard__mockup-wrap {
  margin-top: var(--space-xl);
  perspective: 1200px;
}

.v2-dashboard__mockup {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #0c0e1a;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transform: rotateX(2deg);
  box-shadow:
    0 0 80px var(--brand-glow),
    0 40px 80px rgba(0,0,0,0.5);
}

.v2-dashboard__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.v2-dashboard__topbar-logo {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

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

.v2-dashboard__topbar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.v2-dashboard__topbar-dots span:nth-child(1) { background: #ff5f57; }
.v2-dashboard__topbar-dots span:nth-child(2) { background: #febc2e; }
.v2-dashboard__topbar-dots span:nth-child(3) { background: #28c840; }

.v2-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.v2-dashboard__stat-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: #0c0e1a;
}

.v2-dashboard__stat-label {
  font-size: 0.65rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.v2-dashboard__stat-num {
  font-size: 1.35rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.v2-dashboard__chart {
  padding: 16px 20px 20px;
  position: relative;
}

.v2-dashboard__chart-title {
  display: block;
  font-size: 0.65rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.v2-dashboard__chart-svg {
  width: 100%;
  height: 80px;
}

.v2-dashboard__chart-highlight {
  position: absolute;
  top: 30px;
  height: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.v2-dashboard__chart-highlight.is-active {
  opacity: 0.2;
  animation: v2-chart-pulse 0.6s ease-out;
}

.v2-dashboard__chart-highlight[data-region="left"] {
  left: 20px;
  width: 30%;
}

.v2-dashboard__chart-highlight[data-region="middle"] {
  left: 35%;
  width: 30%;
}

.v2-dashboard__chart-highlight[data-region="right"] {
  right: 20px;
  width: 30%;
}

@keyframes v2-chart-pulse {
  0% { opacity: 0; }
  50% { opacity: 0.4; }
  100% { opacity: 0.2; }
}

/* Stat highlights */
.v2-dashboard__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.v2-dashboard__highlight {
  padding: var(--space-md);
  text-align: center;
}

.v2-dashboard__hl-num {
  display: block;
  font-size: var(--text-section);
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.v2-dashboard__hl-label {
  display: block;
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 8px;
}

.v2-dashboard__hl-change {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  color: var(--accent);
}

/* AI Insights - mobile responsive */
@media (max-width: 1023px) {
  .v2-insights > div:last-child {
    grid-template-columns: 1fr !important;
  }
}

.v2-dashboard__cta {
  margin-top: var(--space-xl);
  text-align: center;
}

/* ============================================================
   SECTION 4.5 — PIXEL TRACKING & AUDIENCES
   ============================================================ */

.v2-tracking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

/* LEFT: How it works */
.v2-tracking__subtitle {
  font-size: var(--text-subsection);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.v2-tracking__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Dotted connector line */
.v2-tracking__steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--brand) 50%, transparent 50%);
  background-size: 2px 8px;
  background-repeat: repeat-y;
}

.v2-tracking__step {
  position: relative;
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.v2-tracking__step-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: var(--weight-bold);
  color: var(--brand-light);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.v2-tracking__step-icon {
  font-size: 32px;
  flex-shrink: 0;
  margin-top: 24px;
}

.v2-tracking__step-content {
  flex: 1;
  margin-top: 24px;
}

.v2-tracking__step-title {
  font-size: var(--text-body);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.v2-tracking__step-desc {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: var(--leading-normal);
  margin: 0;
}

/* RIGHT: Smart Audiences */
.v2-tracking__audiences {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.v2-tracking__audiences-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.v2-tracking__audiences-label {
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.v2-tracking__audiences-title {
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin: 0;
}

.v2-tracking__audiences-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.v2-tracking__audience-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.v2-tracking__audience-row:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.v2-tracking__audience-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.v2-tracking__audience-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v2-tracking__audience-name {
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.v2-tracking__audience-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.v2-tracking__audience-count {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  padding: 4px 12px;
  background: rgba(99,79,210,0.1);
  border-radius: 20px;
  white-space: nowrap;
}

.v2-tracking__cta {
  margin-top: var(--space-2xl);
  text-align: center;
}

/* Mobile layout */
@media (max-width: 1023px) {
  .v2-tracking__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ============================================================
   SECTION 5 — SOCIAL PROOF
   ============================================================ */
.v2-proof .section-sub {
  margin-bottom: var(--space-xl);
}

/* Stats bar */
.v2-proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.v2-proof__stat {
  padding: var(--space-md) 0;
}

.v2-proof__stat-num {
  display: block;
  font-size: var(--text-section);
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.v2-proof__stat-label {
  font-size: var(--text-small);
  color: var(--text-muted);
}

/* Testimonial carousel */
.v2-proof__carousel-wrap {
  position: relative;
  margin-bottom: var(--space-lg);
}

.v2-proof__carousel {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--space-md);
  padding-bottom: var(--space-sm);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.v2-proof__carousel::-webkit-scrollbar {
  display: none;
}

.v2-proof__card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  padding: var(--space-md) var(--space-md) var(--space-md);
}

.v2-proof__quote-mark {
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-light);
  opacity: 0.4;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.v2-proof__quote {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.v2-proof__attr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v2-proof__name {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.v2-proof__role {
  font-size: var(--text-label);
  color: var(--text-muted);
}

.v2-proof__stars {
  display: flex;
  gap: 2px;
}

.v2-proof__stars svg {
  width: 14px;
  height: 14px;
  fill: #f5a623;
}

/* Carousel navigation */
.v2-proof__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.v2-proof__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.25s ease, color 0.25s ease;
}

.v2-proof__arrow:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.v2-proof__arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.v2-proof__dots {
  display: flex;
  gap: 8px;
}

.v2-proof__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.3s ease;
}

.v2-proof__dot.is-active {
  background: var(--brand-light);
}

.v2-proof__cta {
  margin-top: var(--space-xl);
  text-align: center;
}

/* ============================================================
   SECTION 6 — PRICING
   ============================================================ */
.v2-pricing__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.v2-pricing__header .section-sub {
  margin: var(--space-sm) auto 0;
}

/* Billing toggle */
.v2-pricing__toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  margin-top: var(--space-md);
}
.v2-pricing__toggle-btn {
  padding: 10px 24px;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  border-radius: 10px;
  transition: all 0.25s var(--ease-out-expo);
}
.v2-pricing__toggle-btn:hover { color: var(--text-secondary); }
.v2-pricing__toggle-btn.is-active {
  background: var(--brand);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(99,79,210,0.3);
}

.v2-pricing__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cta);
  color: var(--text-primary);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Plan cards grid */
.v2-pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Individual plan card */
.v2-plan {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.v2-plan--featured {
  border-color: rgba(99,79,210,0.25);
  box-shadow: 0 0 60px var(--brand-glow), 0 0 120px rgba(99,79,210,0.05);
}

.v2-plan__flag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  background: var(--brand);
  color: var(--text-primary);
  border-radius: 0 0 10px 10px;
  animation: v2-flag-pulse 3s ease-in-out infinite;
}

@keyframes v2-flag-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,79,210,0); }
  50% { box-shadow: 0 0 16px rgba(99,79,210,0.3); }
}

.v2-plan__name {
  font-size: var(--text-subsection);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.v2-plan__price {
  font-size: var(--text-section);
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}
.v2-plan__price span {
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  color: var(--text-muted);
}

/* Price display — show/hide based on billing mode */
.v2-plan__price-monthly,
.v2-plan__price-yearly { display: none; }
[data-billing="monthly"] .v2-plan__price-monthly { display: block; }
[data-billing="yearly"] .v2-plan__price-yearly { display: block; }

.v2-plan__strike {
  font-size: 1.1rem;
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
  vertical-align: baseline;
}

.v2-plan__save-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cta);
  color: var(--text-primary);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.v2-plan__note {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  min-height: 1.4em;
}
.v2-plan__note--monthly,
.v2-plan__note--yearly { display: none; }
[data-billing="monthly"] .v2-plan__note--monthly { display: block; }
[data-billing="yearly"] .v2-plan__note--yearly { display: block; }

.v2-plan__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: var(--space-md);
}

.v2-plan__features-label {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.v2-plan__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.v2-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

.v2-plan__features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(99,79,210,0.15);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%238B7BE8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5 5-5 1 1-6 6z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.v2-plan__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  border-radius: 12px;
  transition: all 0.3s var(--ease-out-expo);
}

.v2-plan__cta--primary {
  background: var(--cta);
  color: var(--text-primary);
  box-shadow: 0 4px 24px rgba(255,107,74,0.35);
}
.v2-plan__cta--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,74,0.45);
}

.v2-plan__cta--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}
.v2-plan__cta--ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.v2-pricing__footnote {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: var(--text-small);
  color: var(--text-muted);
}

.v2-pricing__trust {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}
.v2-pricing__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-label);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.v2-pricing__trust-item svg {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
}

/* ============================================================
   SECTION 7 — CTA BAND + FOOTER
   ============================================================ */
.v2-cta-band {
  position: relative;
  padding: var(--space-2xl) var(--section-padding-x);
  text-align: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  overflow: hidden;
}

.v2-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255,255,255,0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.v2-cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.v2-cta-band__headline {
  font-size: var(--text-section);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  text-wrap: balance;
}

.v2-cta-band .v2-btn--white {
  background: var(--text-primary);
  color: var(--cta);
  font-weight: var(--weight-bold);
  padding: 18px 40px;
  font-size: 1.05rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.v2-cta-band .v2-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Footer */
.v2-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: var(--space-xl) var(--section-padding-x) var(--space-lg);
}

.v2-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.v2-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) auto;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.v2-footer__brand img {
  height: 28px;
  margin-bottom: var(--space-md);
}

.v2-footer__brand p {
  font-size: var(--text-small);
  color: var(--text-muted);
  max-width: 240px;
  line-height: var(--leading-normal);
}

.v2-footer__column h4 {
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.03em;
}

.v2-footer__column li {
  margin-bottom: 10px;
}

.v2-footer__column a {
  font-size: var(--text-small);
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.v2-footer__column a:hover {
  color: var(--text-primary);
}

/* Social icons */
.v2-footer__social {
  display: flex;
  gap: 12px;
}

.v2-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.v2-footer__social a:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.14);
}

.v2-footer__social svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
}

/* Legal bar */
.v2-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
}

.v2-footer__legal p {
  font-size: var(--text-label);
  color: var(--text-muted);
}

.v2-footer__trust {
  max-width: 200px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet — 1120px */
@media (max-width: 1120px) {
  .v2-customize {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .v2-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .v2-footer__brand {
    grid-column: 1 / -1;
    margin-bottom: var(--space-sm);
  }
}

/* Mobile — 720px */
@media (max-width: 720px) {
  /* Nav */
  .v2-nav__links { display: none; }
  .v2-nav__actions { display: none; }
  .v2-nav__hamburger { display: flex; }

  /* Hero */
  .v2-hero__headline { max-width: 100%; }

  .v2-hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }
  .v2-btn {
    width: 100%;
    justify-content: center;
  }

  .v2-hero__scroll { display: none; }

  /* Customization */
  .v2-customize {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .v2-customize__player-wrap {
    animation: none;
  }
  .v2-slider { width: 100px; }

  /* Dashboard */
  .v2-dashboard__mockup {
    transform: none;
  }
  .v2-dashboard__highlights {
    grid-template-columns: 1fr 1fr;
  }
  .v2-dashboard__highlight:last-child {
    grid-column: 1 / -1;
  }

  /* Social proof */
  .v2-proof__card {
    flex: 0 0 85vw;
  }
  .v2-proof__arrow {
    display: none;
  }

  /* Pricing */
  .v2-pricing__cards {
    grid-template-columns: 1fr;
  }
  /* Show Performance AI first on mobile */
  .v2-plan--featured { order: -1; }
  .v2-plan__cta { padding: 18px; height: 52px; }
  .v2-pricing__trust {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  /* Footer */
  .v2-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .v2-footer__legal {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  .v2-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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;
  }

  .v2-hero__label,
  .v2-hero__headline,
  .v2-hero__sub,
  .v2-hero__ctas,
  .v2-hero__ticker,
  .v2-hero__scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .v2-hero__ticker-track {
    animation: none !important;
  }
}

/* ============================================================
   GUIDED TOUR SYSTEM - SIMPLE APPROACH
   ============================================================ */

/* Features section needs relative positioning for tooltip */
#features { position: relative; }

/* Progress bar at top of editor */
.tour-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
}

.tour-progress.active { opacity: 1; }

.tour-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #634FD2, #FF6B4A);
  transition: width 0.4s ease;
  width: 0;
}

/* Tooltip card — positioned absolutely inside editor card */
/* Tour description — injected inside active control */
.tour-desc {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-desc__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tour-desc__step {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A78BFA;
}

.tour-desc__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}
.tour-desc__close:hover { color: #fff; }

.tour-desc__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.tour-desc__body {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.tour-desc__hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  margin: 0 0 12px 0;
}

.tour-desc__footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tour-desc__back {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.tour-desc__back:hover { color: #fff; }

.tour-desc__indicator {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  flex: 1;
  text-align: center;
}

.tour-desc__next {
  background: #634FD2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: auto;
}
.tour-desc__next:hover { background: #5340B0; }

/* CTA variant for final step */
.tour-desc__next--cta {
  background: #FF6B4A;
  padding: 11px 24px;
  font-size: 14px;
}
.tour-desc__next--cta:hover { background: #E55A3A; }

/* Tour complete section */
.tour-desc__complete {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.tour-complete__cta {
  display: block;
  background: #634FD2;
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.tour-complete__cta:hover {
  background: #5340B0;
}

.tour-complete__preview {
  display: block;
  width: 100%;
  background: rgba(99, 79, 210, 0.08);
  border: 1px solid rgba(99, 79, 210, 0.2);
  color: rgba(255,255,255,0.9);
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.tour-complete__preview:hover {
  background: rgba(99, 79, 210, 0.12);
  border-color: rgba(99, 79, 210, 0.3);
  color: #fff;
}

.tour-complete__restart {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  margin: 0;
  transition: color 0.2s;
}

.tour-complete__restart:hover {
  color: rgba(255,255,255,0.6);
}

/* When desc is standalone (welcome/complete), give it card appearance */
.v2-editor__panel > .tour-desc {
  background: rgba(99, 79, 210, 0.12);
  border: 1.5px solid rgba(99, 79, 210, 0.5);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
  margin-top: 0;
  border-top: 1.5px solid rgba(99, 79, 210, 0.5);
  box-shadow: 0 0 24px rgba(99, 79, 210, 0.2);
  animation: tour-glow-pulse 2.5s ease-in-out infinite;
}

/* Dimmed controls */
.v2-editor__control.tour-dimmed,
.v2-editor__section.tour-dimmed {
  opacity: 0.2;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Active control — dark visible background */
.v2-editor__control.tour-active,
.v2-editor__section.tour-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  background: rgba(30, 25, 60, 0.95);
  border: 1.5px solid rgba(99, 79, 210, 0.6);
  border-radius: 14px;
  padding: 20px 22px;
  margin: -8px -22px;
  margin-bottom: 8px;
  box-shadow:
    0 0 24px rgba(99, 79, 210, 0.25),
    0 0 48px rgba(99, 79, 210, 0.1),
    inset 0 0 60px rgba(99, 79, 210, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: tour-glow-pulse 2.5s ease-in-out infinite;
}

/* Pulsing glow animation */
@keyframes tour-glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 24px rgba(99, 79, 210, 0.25),
      0 0 48px rgba(99, 79, 210, 0.1),
      inset 0 0 60px rgba(99, 79, 210, 0.06);
    border-color: rgba(99, 79, 210, 0.6);
  }
  50% {
    box-shadow:
      0 0 32px rgba(99, 79, 210, 0.35),
      0 0 64px rgba(99, 79, 210, 0.15),
      inset 0 0 60px rgba(99, 79, 210, 0.08);
    border-color: rgba(99, 79, 210, 0.8);
  }
}

/* Left accent bar */
.v2-editor__control.tour-active::before,
.v2-editor__section.tour-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background: #634FD2;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(99, 79, 210, 0.5);
}

/* Make single-row controls stack vertically when active */
.tour-active--stacked {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
}

/* TEXT ONLY (not buttons/toggles/sliders) */
.tour-active,
.tour-active > label,
.tour-active > span:not([class*="toggle"]):not([class*="track"]),
.tour-active > p,
.tour-active > h3,
.tour-active > h4,
.tour-active > strong,
.tour-active input[type="text"],
.tour-active .v2-editor__label,
.tour-active .v2-editor__value,
.tour-active .v2-editor__section-title,
.tour-active .v2-editor__control-label,
.tour-active .v2-editor__section-label,
.tour-active .v2-editor__field-label,
.tour-active .v2-editor__slider-value,
.tour-active div > label,
.tour-active div > span:not([class*="toggle"]):not([class*="track"]) {
  color: #fff !important;
  opacity: 1 !important;
}

/* Tour description text slightly dimmer for hierarchy */
.tour-active .tour-desc__body {
  color: rgba(255, 255, 255, 0.65) !important;
}
.tour-active .tour-desc__step {
  color: #A78BFA !important;
}
.tour-active .tour-desc__indicator {
  color: rgba(255, 255, 255, 0.35) !important;
}
.tour-active .tour-desc__back {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Color swatch — add white ring so it's visible */
.tour-active .v2-editor__color-swatch,
.tour-active input[type="color"] {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 10px rgba(99, 79, 210, 0.4) !important;
}

/* Text inputs — brighter background */
.tour-active input[type="text"],
.tour-active .v2-editor__text-input,
.tour-active .v2-editor__hex-input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}

/* Value readouts — larger */
.tour-active .v2-editor__slider-value,
.tour-active output {
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* Sliders — visible track and large bright thumb */
.tour-active input[type="range"] {
  opacity: 1 !important;
  margin: 8px 0 !important;
}

.tour-active input[type="range"]::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, 0.2) !important;
  height: 6px !important;
  border-radius: 3px !important;
}

.tour-active input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  background: #fff !important;
  border: 3px solid #634FD2 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px rgba(99, 79, 210, 0.5) !important;
  margin-top: -8px !important;
  cursor: grab !important;
}

.tour-active input[type="range"]::-moz-range-track {
  background: rgba(255, 255, 255, 0.2) !important;
  height: 6px !important;
  border-radius: 3px !important;
}

.tour-active input[type="range"]::-moz-range-thumb {
  width: 22px !important;
  height: 22px !important;
  background: #fff !important;
  border: 3px solid #634FD2 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px rgba(99, 79, 210, 0.5) !important;
  cursor: grab !important;
}

/* Color swatch — bigger when active */
.tour-active .v2-editor__color-swatch,
.tour-active input[type="color"] {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  box-shadow: 0 0 12px rgba(99, 79, 210, 0.4), 0 2px 6px rgba(0,0,0,0.2) !important;
  cursor: pointer !important;
  transition: transform 0.2s !important;
}

.tour-active .v2-editor__color-swatch:hover,
.tour-active input[type="color"]:hover {
  transform: scale(1.1) !important;
}

/* Hex input — bigger when active */
.tour-active .v2-editor__hex-input,
.tour-active input[type="text"]:not(.v2-editor__text-input) {
  font-size: 16px !important;
  padding: 8px 12px !important;
  color: #fff !important;
}

/* Text inputs (Video details) — bigger when active */
.tour-active .v2-editor__text-input {
  font-size: 16px !important;
  padding: 14px 16px !important;
  border-color: rgba(99, 79, 210, 0.5) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Toggle switches — bright when active */
.tour-active input[type="checkbox"] {
  opacity: 1 !important;
  transform: scale(1.2) !important;
}

.tour-active input[type="checkbox"]:checked + span,
.tour-active input[type="checkbox"]:checked + label {
  background: #634FD2 !important;
}

/* Buttons — visible */
.tour-active button:not(.tour-desc__next):not(.tour-desc__back):not(.tour-desc__close) {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
  font-size: 14px !important;
  padding: 10px 16px !important;
  pointer-events: auto !important;
}

/* Separator line inside active card */
.tour-active .tour-desc {
  border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* Restart button */
.tour-restart {
  position: absolute;
  bottom: -50px;
  right: 0;
  background: rgba(99,79,210,0.1);
  color: #634FD2;
  border: 1px solid rgba(99,79,210,0.2);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
}

.tour-restart:hover { background: rgba(99,79,210,0.15); }

/* === TOUR SPECIFICITY OVERRIDES — these must win over inline styles === */
.v2-editor__panel .v2-editor__control.tour-active,
.v2-editor__panel .v2-editor__section.tour-active,
.v2-editor__container .v2-editor__control.tour-active,
.v2-editor__container .v2-editor__section.tour-active {
  opacity: 1 !important;
  pointer-events: auto !important;
  background: rgba(30, 25, 60, 0.95) !important;
  border: 1.5px solid rgba(99, 79, 210, 0.6) !important;
}

/* Removed overly broad .tour-active * rule - it was breaking buttons/toggles/sliders */

/* Exceptions for tour-desc text hierarchy */
.tour-active .tour-desc__body { color: rgba(255,255,255,0.65) !important; }
.tour-active .tour-desc__step { color: #A78BFA !important; }
.tour-active .tour-desc__indicator { color: rgba(255,255,255,0.35) !important; }
.tour-active .tour-desc__back { color: rgba(255,255,255,0.5) !important; }
.tour-active .tour-desc__close { color: rgba(255,255,255,0.4) !important; }
.tour-active .tour-desc__next { color: #fff !important; }

.v2-editor__panel .v2-editor__control.tour-dimmed,
.v2-editor__panel .v2-editor__section.tour-dimmed,
.v2-editor__container .v2-editor__control.tour-dimmed,
.v2-editor__container .v2-editor__section.tour-dimmed {
  opacity: 0.2 !important;
  pointer-events: none !important;
}

/* === FIX: TOUR DESCRIPTION STACKING + BREATHING ROOM === */

/* More padding for active cards */
.v2-editor__control.tour-active,
.v2-editor__section.tour-active {
  padding: 24px 24px !important;
  margin: -10px -24px !important;
  margin-bottom: 10px !important;
}

/* Force active controls to stack vertically (control content above, description below) */
.v2-editor__control.tour-active {
  display: flex !important;
  flex-direction: row !important; /* row for the control content */
  flex-wrap: wrap !important; /* allow tour-desc to wrap to new line */
  align-items: center !important;
  gap: 8px !important;
}

/* Tour description breaks to new line and takes full width */
.tour-desc {
  flex-basis: 100% !important; /* force new line */
  order: 99 !important; /* push to end */
  width: 100% !important;
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  flex-shrink: 0 !important;
}

/* Give the description text more room */
.tour-desc__title {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.tour-desc__body {
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 0 12px 0 !important;
}

/* Footer needs proper spacing */
.tour-desc__footer {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 4px !important;
}

/* Next button needs breathing room */
.tour-desc__next {
  padding: 10px 24px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}

/* Step indicator shouldn't wrap */
.tour-desc__indicator {
  white-space: nowrap !important;
}

/* === OVERLAY BUTTONS === */
.tour-active .v2-editor__btn,
.tour-active .v2-editor__overlay-buttons button,
.tour-active button[data-overlay-mode] {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: all 0.2s ease !important;
}

.tour-active .v2-editor__btn:hover,
.tour-active .v2-editor__overlay-buttons button:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #fff !important;
}

.tour-active .v2-editor__btn--active,
.tour-active .v2-editor__btn.active,
.tour-active button[data-overlay-mode].active {
  background: #634FD2 !important;
  color: #fff !important;
  border-color: #634FD2 !important;
  box-shadow: 0 0 12px rgba(99, 79, 210, 0.4) !important;
}

/* === TOGGLE SWITCHES === */
.tour-active input[type="checkbox"] {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.tour-active .v2-editor__toggle-track,
.tour-active .v2-editor__toggle > span:not([class*="label"]),
.tour-active label.v2-editor__toggle > span {
  background: rgba(255, 255, 255, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 12px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.tour-active input[type="checkbox"]:checked + span,
.tour-active input[type="checkbox"]:checked + .v2-editor__toggle-track {
  background: #634FD2 !important;
  border-color: #634FD2 !important;
}

/* === SLIDERS === */
.tour-active input[type="range"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  background: transparent !important;
}

.tour-active input[type="range"]::-webkit-slider-runnable-track {
  height: 6px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  border-radius: 3px !important;
  border: none !important;
}

.tour-active input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  background: #fff !important;
  border: 3px solid #634FD2 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px rgba(99, 79, 210, 0.4) !important;
  margin-top: -8px !important;
  cursor: grab !important;
}

.tour-active input[type="range"]::-moz-range-track {
  height: 6px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  border-radius: 3px !important;
}

.tour-active input[type="range"]::-moz-range-thumb {
  width: 22px !important;
  height: 22px !important;
  background: #fff !important;
  border: 3px solid #634FD2 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px rgba(99, 79, 210, 0.4) !important;
  cursor: grab !important;
}

/* === COLOR SWATCH === */
.tour-active input[type="color"] {
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.tour-active .v2-editor__color-swatch,
.tour-active .v2-editor__hex-input {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ============================================================
   CONVERSION TOOLS SHOWCASE
   ============================================================ */

/* --- Section spacing --------------------------------------- */
.v2-conversion {
  padding-top: 120px;
  padding-bottom: 120px;
}
.v2-conversion .section-sub {
  margin-bottom: var(--space-xl);
}

/* --- TIER 1: Hero Feature Cards ---------------------------- */
.v2-conv__heroes {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.v2-conv__hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: 40px;
  border-radius: 16px;
}
.v2-conv__hero-card--reverse {
  direction: rtl;
}
.v2-conv__hero-card--reverse > * {
  direction: ltr;
}

.v2-conv__hero-visual {
  position: relative;
}
.v2-conv__hero-text {
  position: relative;
}

.v2-conv__hero-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}
.v2-conv__hero-desc {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Plan badges */
.v2-conv__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}
.v2-conv__badge--free {
  background: rgba(0, 212, 170, 0.15);
  color: var(--accent);
}
.v2-conv__badge--growth {
  background: rgba(99, 79, 210, 0.2);
  color: var(--brand-light);
}
.v2-conv__badge--soon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

/* --- Hero Card Visuals (animated mockups) ------------------ */

/* Shared demo screen */
.v2-conv__autoplay-demo,
.v2-conv__gate-demo,
.v2-conv__cta-demo {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

/* Smart Autoplay visual */
.v2-conv__autoplay-screen {
  padding: 32px 24px 16px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}
.v2-conv__autoplay-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
}
.v2-conv__autoplay-bars span {
  flex: 1;
  background: linear-gradient(to top, var(--brand), var(--brand-light));
  border-radius: 4px 4px 0 0;
  opacity: 0.6;
  animation: convBarPulse 2s ease-in-out infinite alternate;
}
.v2-conv__autoplay-bars span:nth-child(2) { animation-delay: 0.2s; }
.v2-conv__autoplay-bars span:nth-child(3) { animation-delay: 0.4s; }
.v2-conv__autoplay-bars span:nth-child(4) { animation-delay: 0.6s; }
.v2-conv__autoplay-bars span:nth-child(5) { animation-delay: 0.8s; }
.v2-conv__autoplay-bars span:nth-child(6) { animation-delay: 1s; }
.v2-conv__autoplay-bars span:nth-child(7) { animation-delay: 1.2s; }

@keyframes convBarPulse {
  from { opacity: 0.4; }
  to   { opacity: 0.9; }
}

.v2-conv__autoplay-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.v2-conv__autoplay-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 2px;
  animation: convProgressFill 3s ease-out infinite;
}
@keyframes convProgressFill {
  0%   { width: 0%; }
  100% { width: 35%; }
}

.v2-conv__unmute-pill {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: var(--weight-medium);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: convPillPulse 2s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes convPillPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.04); }
}

/* Play Gates visual */
.v2-conv__gate-screen {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99,79,210,0.08), rgba(0,0,0,0.3));
}
.v2-conv__gate-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 32px;
  text-align: center;
}
.v2-conv__gate-lock-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: var(--brand-light);
}
.v2-conv__gate-heading {
  font-size: 0.9375rem;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}
.v2-conv__gate-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  width: 100%;
  max-width: 240px;
}
.v2-conv__gate-btn {
  background: var(--brand);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
  padding: 10px 28px;
  border-radius: 8px;
  cursor: default;
}

/* Timed CTA visual */
.v2-conv__cta-screen {
  padding: 32px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.v2-conv__cta-timeline {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  position: relative;
  overflow: visible;
}
.v2-conv__cta-timeline-fill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 3px;
  animation: convCtaFill 4s ease-out infinite;
}
@keyframes convCtaFill {
  0%   { width: 0%; }
  100% { width: 65%; }
}

.v2-conv__cta-marker {
  position: absolute;
  top: -8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}
.v2-conv__cta-marker-dot {
  width: 12px;
  height: 12px;
  background: var(--cta);
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 74, 0.3);
  box-shadow: 0 0 12px rgba(255, 107, 74, 0.4);
  animation: convDotPulse 1.5s ease-in-out infinite;
}
@keyframes convDotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255,107,74,0.3); }
  50%      { box-shadow: 0 0 20px rgba(255,107,74,0.6); }
}

.v2-conv__cta-marker-label {
  font-size: 0.625rem;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cta);
  margin-top: 4px;
}

.v2-conv__cta-button-demo {
  display: inline-flex;
  align-items: center;
  background: var(--cta);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: var(--weight-semibold);
  padding: 12px 32px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(255, 107, 74, 0.25);
  animation: convCtaBounce 3s ease-in-out infinite;
}
@keyframes convCtaBounce {
  0%, 100% { transform: scale(1); }
  60%      { transform: scale(1); }
  70%      { transform: scale(1.06); }
  80%      { transform: scale(1); }
}

.v2-conv__cta-timestamp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- TIER 2: Feature Grid ---------------------------------- */
.v2-conv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.v2-conv__grid-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 20px;
  border-radius: 14px;
}

.v2-conv__grid-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.v2-conv__grid-body {
  min-width: 0;
}

.v2-conv__grid-title {
  font-size: 0.9375rem;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.v2-conv__grid-desc {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* --- TIER 3: Coming Soon ----------------------------------- */
.v2-conv__coming {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 24px 32px;
  border-radius: 14px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-lg);
}

.v2-conv__coming-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.v2-conv__coming-body {
  min-width: 0;
}

.v2-conv__coming-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.v2-conv__coming-title {
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
}

.v2-conv__coming-desc {
  font-size: var(--text-small);
  color: var(--text-muted);
}

/* --- CTA Strip --------------------------------------------- */
.v2-conv__cta-strip {
  text-align: center;
  padding-top: var(--space-md);
}

/* --- Mobile ≤ 767px ---------------------------------------- */
@media (max-width: 767px) {
  .v2-conversion {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .v2-conv__hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: var(--space-md);
  }
  .v2-conv__hero-card--reverse {
    direction: ltr;
  }

  .v2-conv__grid {
    grid-template-columns: 1fr;
  }

  .v2-conv__grid-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  .v2-conv__coming {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .v2-conv__coming-header {
    flex-direction: column;
  }

  .v2-conv__hero-title {
    font-size: 1.25rem;
  }

  .v2-conv__badge {
    display: block;
    width: fit-content;
  }

  /* Ensure touch targets ≥ 44px */
  .v2-conv__cta-strip .v2-btn {
    min-height: 44px;
    padding: 12px 24px;
  }
}

/* --- Tablet 768–1120px ------------------------------------- */
@media (min-width: 768px) and (max-width: 1120px) {
  .v2-conv__hero-card {
    padding: 28px;
    gap: var(--space-md);
  }
}

/* ============================================================
   MOBILE ≤ 767px — Editor Demo + Tour + Conversion Tools
   Problems A–E from mobile spec
   ============================================================ */
@media (max-width: 767px) {

  /* ----------------------------------------------------------
     PROBLEM A — Full-width player, single column, no sticky
     ---------------------------------------------------------- */
  .v2-editor__grid {
    display: flex;
    flex-direction: column;
    isolation: isolate;
  }

  .v2-editor__preview {
    order: 1;
    position: relative;
    width: 100%;
    padding: 8px 16px 16px;
    background: transparent;
    overflow: hidden;
    max-height: none;
    z-index: 5;
  }

  /* Remove desktop fade gradient */
  .v2-editor__preview::after {
    display: none;
  }

  .v2-editor__player {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    box-shadow: 0 0 20px rgba(99,79,210,0.2);
  }

  /* HookBoost bar full width under player */
  .v2-editor__hookboost-bar {
    max-width: 100%;
  }

  /* ----------------------------------------------------------
     SCROLL PERFORMANCE — kill heavy paint during scroll
     ---------------------------------------------------------- */

  /* Static play button: kill backdrop-filter + simplify shadow */
  .v2-editor__static-play-btn {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 12px 32px rgba(5, 7, 13, 0.5);
  }
  /* Kill infinite spinning ring + pulsing glow animations */
  .v2-editor__static-play-btn::before,
  .v2-editor__static-play-btn::after {
    animation: none;
  }

  /* Play/pause indicator: kill backdrop-filter */
  .v2-editor__playpause-indicator {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .v2-editor__playpause-indicator::before,
  .v2-editor__playpause-indicator::after {
    animation: none;
  }

  /* Kill wave pulse infinite animations */
  .v2-editor__overlay-icon-wave {
    animation: none;
  }

  /* Replace transition: all with specific properties on overlays */
  .v2-editor__overlay-big {
    transition: opacity 0.2s ease;
  }
  .v2-editor__overlay-small {
    transition: opacity 0.2s ease;
  }

  /* Shimmer: replace layout-thrashing left animation with none */
  .v2-editor__progress-fill.is-fast::after {
    animation: none;
  }

  /* Ensure vertical scroll flows naturally through editor */
  .v2-editor,
  .v2-editor .v2-section__inner {
    touch-action: pan-y;
  }

  /* ----------------------------------------------------------
     PROBLEM B — Controls panel: tabs + touch targets
     ---------------------------------------------------------- */
  .v2-editor__panel {
    order: 2;
    padding: 16px;
    max-height: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  /* Tab navigation — replaces accordion on mobile */
  .v2-editor__tabs {
    display: flex;
    gap: 8px;
    padding: 8px 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 10;
  }
  .v2-editor__tabs::-webkit-scrollbar { display: none; }

  .v2-editor__tab {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10;
  }
  .v2-editor__tab.is-active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
  }

  /* Hide accordion arrows on mobile (tabs replace them) */
  .v2-editor__section-label::after {
    display: none;
  }
  .v2-editor__section-label {
    cursor: default;
    pointer-events: none;
    border-left: none;
    background: transparent;
    padding: 12px 0;
    border-radius: 0;
    font-weight: var(--weight-semibold);
    color: var(--text-muted);
  }

  /* Tab-controlled visibility — sections hidden by default on mobile */
  .v2-editor__section {
    display: none;
  }
  .v2-editor__section.is-tab-active {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  /* When tab-active, show all children (override accordion collapse) */
  .v2-editor__section.is-tab-active > .v2-editor__control {
    display: flex !important;
  }
  .v2-editor__section.is-tab-active > .v2-editor__field {
    display: flex !important;
    flex-direction: column;
  }
  .v2-editor__section.is-tab-active > .v2-editor__control-hint,
  .v2-editor__section.is-tab-active > p {
    display: block !important;
  }
  .v2-editor__section.is-tab-active > .v2-editor__section-label {
    display: flex !important;
  }

  /* Ensure touch targets ≥ 44px — min-height for tap area, track is 28px inside */
  .v2-editor__toggle {
    width: 48px;
    min-width: 48px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .v2-editor__toggle-track {
    width: 48px;
    height: 28px;
    border-radius: 28px;
  }

  .v2-editor__toggle-track::before {
    width: 22px;
    height: 22px;
    top: 3px;
    left: 3px;
  }

  .v2-editor__toggle input:checked + .v2-editor__toggle-track::before {
    transform: translateX(20px);
  }

  .v2-editor__btn {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }

  /* Slider thumb larger for touch */
  .v2-editor__slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
  }
  .v2-editor__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
  }

  /* Color picker — enlarge swatch for touch */
  .v2-editor__color-swatch {
    width: 40px;
    height: 40px;
  }

  /* Stack control rows that are too tight */
  .v2-editor__control {
    gap: 10px;
    min-height: 44px;
  }

  /* Slider wrap full width on small screens */
  .v2-editor__slider-wrap {
    max-width: none;
    flex: 1;
  }



  /* HookBoost compare labels shrink */
  .v2-hookboost-compare__label {
    min-width: 70px;
    font-size: 10px;
  }

  /* Text inputs full width */
  .v2-editor__text-input {
    font-size: 16px; /* prevent iOS zoom */
  }

  /* ----------------------------------------------------------
     PROBLEM C — Tour nav fixed to bottom viewport
     ---------------------------------------------------------- */
  .tour-desc__footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9990 !important;
    background: rgba(10, 13, 31, 0.98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    padding: 12px 16px !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    gap: 10px !important;
  }

  /* Add space at bottom of tour-desc so content isn't hidden behind fixed footer */
  .tour-desc {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Tour next/back buttons bigger for touch */
  .tour-desc__next {
    min-height: 44px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }

  .tour-desc__back {
    min-height: 44px !important;
    padding: 12px 8px !important;
    font-size: 14px !important;
  }

  .tour-desc__close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ----------------------------------------------------------
     PROBLEM D — Overlay previews fitting within player bounds
     ---------------------------------------------------------- */
  .v2-editor__overlay-big {
    width: min(85%, 300px);
    padding: 18px 20px;
    gap: 10px;
    border-radius: 14px;
    /* Strip heavy paint: backdrop-filter + dual shadow + drop-shadow filter */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: none;
    box-shadow: 0 8px 24px rgba(3, 6, 12, 0.5);
  }

  .v2-editor__overlay-big .v2-editor__overlay-icon {
    width: 36px;
    height: 36px;
  }

  .v2-editor__overlay-big .v2-editor__overlay-icon svg {
    width: 20px;
    height: 20px;
  }

  .v2-editor__overlay-big .v2-editor__overlay-line1 {
    font-size: 16px;
  }

  .v2-editor__overlay-big .v2-editor__overlay-line2 {
    font-size: 13px;
  }

  /* Disable the large blur halo that overflows */
  .v2-editor__overlay-big::after,
  .v2-editor__overlay-continue::after {
    display: none;
  }

  .v2-editor__overlay-small {
    top: 10px;
    left: 10px;
    padding: 8px 16px 8px 12px;
    gap: 6px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: none;
    box-shadow: 0 6px 18px rgba(5, 8, 20, 0.45);
  }

  .v2-editor__overlay-small .v2-editor__overlay-icon-small {
    width: 36px;
    height: 36px;
    margin-left: -2px;
  }

  .v2-editor__overlay-small .v2-editor__overlay-icon-small svg {
    width: 18px;
    height: 18px;
  }

  .v2-editor__overlay-small span {
    font-size: 11px;
  }

  .v2-editor__overlay-continue {
    width: min(90%, 260px);
    padding: 16px;
    gap: 8px;
    border-radius: 14px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: none;
    box-shadow: 0 8px 24px rgba(3, 6, 12, 0.5);
  }

  .v2-editor__continue-play-circle {
    width: 40px;
    height: 40px;
  }

  .v2-editor__continue-play-icon {
    font-size: 16px;
    margin-left: 2px;
  }

  .v2-editor__continue-text {
    font-size: 14px;
  }

  .v2-editor__continue-timestamp {
    font-size: 11px;
  }

  /* ----------------------------------------------------------
     PROBLEM E — Horizontal scroll elimination
     ---------------------------------------------------------- */
  .v2-editor__container {
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    /* Kill glass-card backdrop-filter — heaviest single jank source on mobile scroll */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(13, 15, 26, 0.95);
  }

  .v2-editor__grid {
    max-width: 100%;
    overflow: visible;
  }

  /* Overlay buttons wrap on mobile */
  .v2-editor__button-group {
    flex-wrap: wrap;
  }

  .v2-editor__button-group .v2-editor__btn {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    font-size: 12px;
  }

  /* Section inner max-width */
  .v2-section__inner {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* ----------------------------------------------------------
     AREA 2 — Conversion Tools refinements
     ---------------------------------------------------------- */

  /* Hero card visuals: constrain mockup sizes */
  .v2-conv__hero-visual {
    max-height: 200px;
    overflow: hidden;
    border-radius: 10px;
  }

  .v2-conv__autoplay-demo,
  .v2-conv__gate-demo,
  .v2-conv__cta-demo {
    max-height: 180px;
  }

  /* Hero text spacing */
  .v2-conv__hero-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Grid cards: ensure icon + text stack properly */
  .v2-conv__grid-icon {
    font-size: 1.5rem;
  }

  .v2-conv__grid-title {
    font-size: 0.95rem;
  }

  .v2-conv__grid-desc {
    font-size: 13px;
  }

  /* CTA strip */
  .v2-conv__cta-strip .v2-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Prevent accordion scroll target from landing behind sticky player */
  .v2-editor__section {
    scroll-margin-top: calc(28vh + 16px);
  }

  /* Prevent mobile zoom on input focus (iOS) */
  .v2-editor__hex-input {
    font-size: 16px;
  }

  /* Updated badge positioning in sticky preview */
  .v2-editor__updated-badge {
    top: 6px;
    right: 8px;
    font-size: 10px;
    padding: 3px 8px;
  }

  /* Custom controls bar: smaller on mobile */
  .v2-player__controls {
    padding: 8px 10px;
  }

  .v2-player__bar {
    padding: 8px 12px;
    gap: 10px;
    border-radius: 16px;
  }

  .v2-player__action {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .v2-player__action svg {
    width: 13px;
    height: 13px;
  }

  .v2-editor__playpause-indicator {
    width: 56px;
    height: 56px;
  }

  .v2-editor__playpause-indicator::before {
    inset: -8px;
  }

  .v2-editor__playpause-indicator::after {
    inset: -14px;
  }

  .v2-editor__playpause-indicator svg {
    width: 24px;
    height: 24px;
  }

  .v2-player__track {
    height: 4px;
  }

  .v2-player__track-thumb {
    width: 10px;
    height: 10px;
  }

  .v2-player__time {
    font-size: 10px;
    min-width: 54px;
  }

  .v2-player__branding {
    display: none;
  }
}

/* ==============================================================
   MOBILE SCROLL PERFORMANCE — NUCLEAR OVERRIDE
   Last block in file so it wins all specificity ties.
   Kills every heavy paint operation that causes scroll jank
   on real mobile devices (backdrop-filter, complex shadows,
   CSS filters, infinite animations, compositing layers).
   ============================================================== */
@media (max-width: 767px) {

  /* ---- 1. Kill ALL backdrop-filter across the entire page ---- */
  .glass-card,
  .v2-nav--scrolled,
  .v2-nav__mobile {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* Nav: kill transition so class toggle is instant (no 350ms repaint) */
  .v2-nav {
    transition: none !important;
  }
  .v2-nav--scrolled {
    background: rgba(5, 7, 20, 0.95) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }
  .v2-nav__mobile {
    background: rgba(5, 7, 20, 0.98) !important;
  }
  .glass-card {
    background: rgba(13, 15, 26, 0.95) !important;
  }
  .v2-conv__unmute-pill {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0, 0, 0, 0.85) !important;
  }

  /* ---- 2. Kill body noise texture overlay (full-viewport fixed layer) ---- */
  body.v2::after {
    display: none !important;
  }

  /* ---- 3. Kill ALL infinite / long-running animations ---- */
  /* Hero */
  .v2-hero__ticker-track {
    animation-duration: 80s !important; /* slow down, don't kill (marquee is content) */
  }
  .v2-hero__scroll {
    animation: none !important;
  }

  /* Conversion tools section — all decorative loops */
  .v2-conv__autoplay-bars span,
  .v2-conv__autoplay-progress-fill,
  .v2-conv__unmute-pill,
  .v2-conv__cta-timeline-fill,
  .v2-conv__cta-marker-dot,
  .v2-conv__cta-button-demo {
    animation: none !important;
  }

  /* Pricing flag pulse */
  .v2-plan__flag {
    animation: none !important;
  }

  /* Tour glow pulse */
  .tour-active,
  .v2-editor__panel > .tour-desc {
    animation: none !important;
  }

  /* Editor overlays — continue overlay wave */
  .v2-editor__overlay-continue .v2-editor__overlay-icon-wave {
    animation: none !important;
  }

  /* ---- 4. Simplify heavy box-shadows ---- */
  /* Dashboard mockup — 80px + 40px dual shadow */
  .v2-dashboard__mockup {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  }

  /* Brand glow utility */
  .brand-glow {
    box-shadow: 0 0 15px var(--brand-glow) !important;
  }

  /* CTA buttons — keep subtle */
  .v2-btn--primary {
    box-shadow: 0 2px 10px rgba(255, 107, 74, 0.25) !important;
  }
  .v2-btn--primary:hover {
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3) !important;
  }

  /* Player controls bar */
  .v2-player__controls .v2-player__bar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  }

  /* Tour active controls — triple inset + glow */
  .v2-editor__control.tour-active,
  .v2-editor__section.tour-active {
    box-shadow: 0 0 10px rgba(99, 79, 210, 0.2) !important;
  }

  /* ---- 5. Kill heavy CSS filters ---- */
  /* Overlay blur halos (::before/::after with filter: blur(28px)) */
  .v2-editor__overlay-big::after,
  .v2-editor__overlay-continue::after {
    filter: none !important;
  }

  /* SVG icon drop-shadows */
  .v2-editor__static-play-btn svg,
  .v2-editor__overlay-icon svg,
  .v2-editor__overlay-icon-small svg,
  .v2-editor__overlay-continue svg {
    filter: none !important;
  }

  /* ---- 6. Remove perspective + 3D transforms ---- */
  .v2-dashboard__mockup-wrap {
    perspective: none !important;
  }
  .v2-dashboard__mockup {
    transform: none !important;
  }

  /* ---- 7. Prevent section overlap compositing churn ---- */
  /* Keep the visual overlap but flatten stacking to reduce repaints */
  .v2-section {
    z-index: auto !important;
  }
}

