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

:root {
  color-scheme: dark;
}

body {
  background: #030014;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.42;
}

.fxv-update-panel {
  position: relative;
  overflow: hidden;
  max-width: 72rem;
  margin: -2rem auto 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 211, 238, 0.18), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(168, 85, 247, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 30px 100px rgba(0,0,0,0.34), 0 0 42px rgba(79, 70, 229, 0.14), inset 0 1px 0 rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}

.fxv-update-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.18) 38%, transparent 62%);
  transform: translateX(-120%);
  animation: fxvPanelSweep 8s ease-in-out infinite;
  pointer-events: none;
}

.fxv-update-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.fxv-update-kicker {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fxv-update-title {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.8rem, 4vw, 3.65rem);
  line-height: 0.98;
  font-weight: 900;
  background: linear-gradient(100deg, #fff, #c4b5fd 32%, #67e8f9 64%, #fff);
  background-size: 240% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: fxvTextFlow 8s ease-in-out infinite;
}

.fxv-update-copy {
  margin-top: 1rem;
  max-width: 42rem;
  color: rgba(229,231,235,0.72);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.fxv-update-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.fxv-update-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  font-size: 0.86rem;
  font-weight: 650;
}

nav.sticky,
.fxv-glass-nav {
  background: rgba(3, 0, 20, 0.64) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 18px 60px rgba(70, 55, 180, 0.16);
}

#lang-menu {
  background: linear-gradient(180deg, rgba(14, 8, 36, 0.92), rgba(5, 4, 20, 0.88)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 80px rgba(86, 62, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lang-opt,
#lang-btn {
  transition: all 300ms ease;
}

.lang-opt:hover,
#lang-btn:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  box-shadow: inset 0 0 28px rgba(155, 113, 255, 0.10);
}

[data-i18n="hero_title"],
#fxv-fluid-heading,
#fxv-heading-shadow,
.fxv-gradient-title {
  background: linear-gradient(100deg, #ffffff 0%, #a78bfa 24%, #22d3ee 50%, #f0abfc 72%, #ffffff 100%) !important;
  background-size: 260% 260% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: fxvTextFlow 8s ease-in-out infinite;
}

.glass-card,
.fxv-mcard,
.fxv-card,
main .rounded-2xl,
main .rounded-3xl {
  background-color: rgba(255, 255, 255, 0.055) !important;
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)) !important;
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

a.glass-card,
.fxv-mcard,
.fxv-card,
.group.relative.cursor-pointer > div,
a[href*="apps.apple.com"],
button:not(:disabled) {
  transition: all 300ms cubic-bezier(.2, .8, .2, 1) !important;
}

a.glass-card:hover,
.fxv-mcard:hover,
.fxv-card:hover,
.group.relative.cursor-pointer:hover > div {
  transform: translateY(-6px) scale(1.05) !important;
  border-color: rgba(168, 85, 247, 0.42) !important;
  box-shadow: 0 26px 90px rgba(124, 58, 237, 0.26), 0 0 34px rgba(34, 211, 238, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

a[href*="apps.apple.com"]:hover,
button:not(:disabled):hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 20px 56px rgba(124, 58, 237, 0.32), 0 0 22px rgba(34, 211, 238, 0.16) !important;
}

section {
  scroll-margin-top: 96px;
}

.relative.z-10.px-6.py-20,
.relative.z-10.px-6.py-24,
main .px-6.py-16 {
  padding-top: clamp(4.5rem, 8vw, 7rem) !important;
  padding-bottom: clamp(4.5rem, 8vw, 7rem) !important;
}

.fxv-mcard-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 20%, rgba(5,3,18,0.92) 100%) !important;
}

#fxv-style-marquee {
  min-height: clamp(225px, 32vw, 325px);
}

.fxv-marquee-track {
  align-items: stretch;
}

.fxv-mcard,
.fxv-mcard-skel {
  width: clamp(180px, 22vw, 260px) !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 1rem !important;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
  contain: layout paint;
}

.fxv-mcard {
  isolation: isolate;
  background: linear-gradient(135deg, rgba(17, 19, 31, 0.92), rgba(20, 15, 42, 0.92)) !important;
}

.fxv-mcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, rgba(255,255,255,0.04) 8%, rgba(255,255,255,0.10) 18%, rgba(255,255,255,0.04) 33%);
  background-size: 220% 100%;
  animation: fxvSkeletonSweep 1.8s ease-in-out infinite;
}

.fxv-mcard[data-image-state="loaded"]::before,
.fxv-mcard[data-image-state="fallback"]::before {
  opacity: 0;
  animation-play-state: paused;
}

.fxv-mcard::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 2.4rem;
  height: 2.4rem;
  margin: -1.2rem 0 0 -1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  border-top-color: rgba(103,232,249,0.72);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 240ms ease, transform 240ms ease;
  animation: fxvSpin 850ms linear infinite;
}

.fxv-mcard[data-image-state="loading"]::after {
  opacity: 0.92;
  transform: scale(1);
}

.fxv-mcard[data-image-state="loaded"]::after,
.fxv-mcard[data-image-state="fallback"]::after,
.fxv-mcard[data-image-state="error"]::after {
  opacity: 0;
}

.fxv-mcard-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 700ms ease, transform 700ms ease !important;
  background: linear-gradient(135deg, #11131f 0%, #1a1f3a 100%);
}

.fxv-mcard-img.fxv-img-loaded {
  opacity: 1 !important;
  transform: scale(1);
}

.fxv-mcard-overlay,
.fxv-mcard-meta {
  z-index: 2;
}

.fxv-mcard-skel {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 20px 70px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: fxvSkeletonPulse 1.8s ease-in-out infinite;
}

.fxv-mcard-skel::before,
.fxv-skel-shine {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.09) 42%, transparent 70%);
  transform: translateX(-100%);
  animation: fxvSkeletonSweep 1.6s ease-in-out infinite;
}

.fxv-skel-meta {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.fxv-skel-meta span,
.fxv-skel-meta strong {
  display: block;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
}

.fxv-skel-meta span {
  width: 38%;
}

.fxv-skel-meta strong {
  width: 72%;
  height: 1rem;
}

@keyframes fxvSkeletonPulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

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

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

@keyframes fxvPanelSweep {
  0%, 35% { transform: translateX(-120%); opacity: 0; }
  46% { opacity: 1; }
  65%, 100% { transform: translateX(120%); opacity: 0; }
}

footer {
  background: rgba(3, 0, 20, 0.42);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.fxv-faq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-bottom: 0;
  transition: max-height 320ms ease, opacity 260ms ease, padding-bottom 260ms ease;
}

.fxv-faq-item[data-open="true"] .fxv-faq-panel {
  padding-bottom: 1.25rem;
}

.fxv-faq-item[data-open="true"] [data-faq-trigger] svg {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  [data-i18n="hero_title"],
  #fxv-fluid-heading,
  #fxv-heading-shadow,
  .fxv-gradient-title {
    animation: none;
  }
}

@media (max-width: 820px) {
  .fxv-update-grid {
    grid-template-columns: 1fr;
  }

  .fxv-update-pills {
    justify-content: flex-start;
  }
}

/* ============================================================
   Flexive AI — 2026 landing refresh
   ============================================================ */

/* Eyebrow / kicker */
.fxv-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(110deg, rgba(34, 211, 238, 0.12), rgba(168, 85, 247, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.fxv-eyebrow-gold {
  background: linear-gradient(110deg, rgba(236, 72, 153, 0.18), rgba(168, 85, 247, 0.2));
}

/* Wordmark */
.fxv-wordmark { color: #fff; }
.fxv-wordmark-accent {
  background: linear-gradient(100deg, #a78bfa, #22d3ee 60%, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Gradient hero title */
.fxv-gradient-title {
  background: linear-gradient(100deg, #ffffff 0%, #a78bfa 24%, #22d3ee 50%, #f0abfc 72%, #ffffff 100%);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: fxvTextFlow 9s ease-in-out infinite;
}

/* App Store button */
.fxv-appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  border-radius: 1rem;
  background: #fff;
  color: #000;
  font-weight: 600;
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1), box-shadow 280ms ease, background 280ms ease;
}
.fxv-appstore-btn:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 20px 56px rgba(124, 58, 237, 0.28), 0 0 22px rgba(34, 211, 238, 0.18);
}
.fxv-appstore-btn-lg { padding: 1rem 1.7rem; border-radius: 1.15rem; }
.fxv-appstore-btn-sm { padding: 0.6rem 1rem; border-radius: 0.85rem; gap: 0.55rem; }

/* Ghost / secondary button */
.fxv-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e5e7eb;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  transition: all 280ms cubic-bezier(.2, .8, .2, 1);
}
.fxv-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.18);
  transform: translateY(-2px);
}
.fxv-ghost-btn-strong {
  background: linear-gradient(110deg, rgba(168, 85, 247, 0.18), rgba(34, 211, 238, 0.18));
  border-color: rgba(168, 85, 247, 0.38);
}

/* Hero visual + iPhone mockup */
.fxv-hero-visual { position: relative; min-height: 540px; }
.fxv-hero-glow {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background:
    radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.35), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(168, 85, 247, 0.40), transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.25), transparent 60%);
  filter: blur(60px);
  opacity: 0.85;
  z-index: 0;
}
.fxv-phone {
  position: relative;
  z-index: 1;
  width: clamp(240px, 28vw, 320px);
  aspect-ratio: 9 / 19.5;
  border-radius: 2.6rem;
  padding: 12px;
  background: linear-gradient(160deg, #1a1530 0%, #07070f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1.5px rgba(255, 255, 255, 0.04),
    inset 0 2px 0 rgba(255, 255, 255, 0.06);
}
.fxv-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}
.fxv-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 30% 0%, rgba(168, 85, 247, 0.35), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(34, 211, 238, 0.28), transparent 60%),
    linear-gradient(160deg, #0e0a25 0%, #06040f 100%);
  overflow: hidden;
  padding: 2rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
}
.fxv-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.1rem;
  padding: 0 0.3rem;
}
.fxv-phone-icons { letter-spacing: 0.2em; opacity: 0.55; }
.fxv-phone-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  padding: 0 0.1rem;
}
.fxv-phone-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
}
.fxv-phone-title { font-size: 0.95rem; font-weight: 700; color: #fff; line-height: 1.1; }
.fxv-phone-sub { font-size: 0.7rem; color: rgba(255, 255, 255, 0.55); }
.fxv-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  flex: 1;
}
.fxv-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0.7rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.fxv-tile-a { background: linear-gradient(160deg, rgba(168, 85, 247, 0.6), rgba(76, 29, 149, 0.5)); }
.fxv-tile-b { background: linear-gradient(160deg, rgba(34, 211, 238, 0.55), rgba(14, 116, 144, 0.5)); }
.fxv-tile-c { background: linear-gradient(160deg, rgba(236, 72, 153, 0.55), rgba(124, 58, 237, 0.5)); }
.fxv-tile-d { background: linear-gradient(160deg, rgba(99, 102, 241, 0.55), rgba(30, 27, 75, 0.5)); }
.fxv-phone-cta {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.55rem;
  border-radius: 0.75rem;
  background: linear-gradient(110deg, rgba(168, 85, 247, 0.22), rgba(34, 211, 238, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating + breathing */
@keyframes fxvFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fxvFloatTiny {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes fxvBreathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.fxv-float { animation: fxvFloat 7s ease-in-out infinite; }
.fxv-float-tiny { animation: fxvFloatTiny 5s ease-in-out infinite; }
.fxv-breathe { animation: fxvBreathe 9s ease-in-out infinite; }
.fxv-breathe-slow { animation: fxvBreathe 13s ease-in-out infinite; }

/* Feature cards */
.fxv-feature {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 280ms cubic-bezier(.2, .8, .2, 1);
}
.fxv-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.fxv-feature:hover::before { opacity: 1; }
.fxv-feature:hover { transform: translateY(-6px); }
.fxv-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fxv-icon-cyan { background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(14, 116, 144, 0.18)); color: #67e8f9; }
.fxv-icon-purple { background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(76, 29, 149, 0.18)); color: #c4b5fd; }
.fxv-icon-pink { background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(124, 58, 237, 0.18)); color: #f0abfc; }
.fxv-feature-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.fxv-feature-desc { color: rgba(167, 167, 181, 0.92); font-size: 0.9rem; line-height: 1.55; }

/* Use case pills under templates */
.fxv-usecase {
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 280ms cubic-bezier(.2, .8, .2, 1);
}
.fxv-usecase:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.05);
  transform: translateY(-2px);
}

/* Before / after slider */
.fxv-ba {
  overflow: hidden;
  border-radius: 1.25rem;
}
.fxv-ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.fxv-ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.fxv-ba-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
  transition: clip-path 80ms linear;
}
.fxv-ba-label {
  position: absolute;
  top: 0.85rem;
  z-index: 4;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.fxv-ba-label-left { left: 0.85rem; }
.fxv-ba-label-right { right: 0.85rem; }
.fxv-ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  z-index: 5;
  cursor: ew-resize;
}
.fxv-ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
}
.fxv-ba-range::-moz-range-thumb {
  width: 36px;
  height: 100%;
  background: transparent;
  border: 0;
  cursor: ew-resize;
}
.fxv-ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.4));
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
}
.fxv-ba-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 22px rgba(168, 85, 247, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.95);
  transition: transform 240ms ease;
}
.fxv-ba-divider span::before,
.fxv-ba-divider span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  transform: translateY(-50%);
}
.fxv-ba-divider span::before { left: 8px; border-width: 5px 7px 5px 0; border-color: transparent #1a1a1a transparent transparent; }
.fxv-ba-divider span::after  { right: 8px; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent #1a1a1a; }
.fxv-ba:hover .fxv-ba-divider span { transform: translate(-50%, -50%) scale(1.06); }
.fxv-ba-meta { padding: 1.1rem 1.25rem 1.25rem; }
.fxv-ba-tag {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.fxv-ba-title { font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.4; }

/* Premium benefits */
.fxv-premium-wrap {
  position: relative;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 1.75rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.fxv-premium-glow {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.22), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.18), transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.fxv-premium-wrap > * { position: relative; z-index: 1; }
.fxv-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
}
.fxv-benefit-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #07070f;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fxv-float, .fxv-float-tiny, .fxv-breathe, .fxv-breathe-slow,
  .fxv-gradient-title, .fxv-marquee-track {
    animation: none !important;
  }
  .fxv-ba-after { transition: none; }
}

/* Mobile polish */
@media (max-width: 768px) {
  .fxv-hero-visual { min-height: 460px; margin-top: 1.5rem; }
  .fxv-phone { width: 240px; }
  .fxv-appstore-btn, .fxv-ghost-btn { width: 100%; justify-content: center; }
}

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; max-width: 100%; }
