/* ==========================================================================
   SHOPEO LANDING PAGE - BRAND RECOLORED DESIGN SYSTEM (SHOPIFY POLARIS COMPATIBLE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Configuration
   -------------------------------------------------------------------------- */
:root {
  /* Brand Theme Colors (Derived from shope-icon palette) */
  --accent: #fe52c0;           /* Vibrant Magenta/Pink */
  --accent-hover: #e035a2;     /* Darker Magenta */
  --accent-light: #fff0f9;     /* Ultra soft pink background */
  
  --orange: #f49c53;           /* Coral/Orange secondary color */
  --orange-light: #fef5ed;     /* Soft peach background */
  
  --primary-gradient: linear-gradient(135deg, #fe52c0 10%, #f49c53 90%);
  --primary-gradient-hover: linear-gradient(135deg, #e035a2 10%, #e5873d 90%);
  
  /* Star ratings & gold accents */
  --gold: #ffb800;             
  
  /* Shopify green for success states & Polaris badges */
  --green: #008060;            
  --green-light: #e3faf2;      
  
  /* Shopify Warning/Red */
  --red: #ef4444;              
  
  /* Shopify Polaris Typography & Neutral Colors */
  --dk: #202223;               /* Shopify Main text/body black */
  --dk2: #1e1e24;              /* Mid-tone slate */
  --dk3: #0f1015;              /* Deep dark background */
  
  --tx: #202223;               /* Polaris body text */
  --mu: #6d7175;               /* Polaris muted description text */
  --bg: #ffffff;               
  --bg2: #f6f6f7;              /* Polaris standard light gray background */
  --bd: #e1e3e5;               /* Polaris standard border gray */
  
  /* Border Radii (Shopify Polaris v12 standard: 8px buttons, 12px containers) */
  --r: 8px;                    
  --rm: 8px;                   
  --rl: 12px;                  
  
  /* Shadows */
  --sh: 0 1px 3px rgba(32, 34, 35, 0.08);
  --sh-l: 0 10px 25px rgba(32, 34, 35, 0.08);
  --sh-xl: 0 20px 40px rgba(32, 34, 35, 0.12);
  
  /* Transitions */
  --tr: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Shopify Font Stack Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Shopify Native Polaris Font Stack */
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  color: var(--tx);
  background-color: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: clip;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--tr);
}

ul {
  list-style: none;
}

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

/* Typography Scales */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--dk);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p {
  color: var(--mu);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Buttons & Component Utilities
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--r);
  cursor: pointer;
  transition: var(--tr);
  border: none;
  outline: none;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 10px rgba(254, 82, 192, 0.25);
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(254, 82, 192, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border: 1.5px solid var(--bd);
}

.btn-outline:hover {
  border-color: var(--accent);
  background-color: var(--accent-light);
  transform: translateY(-1px);
}

.btn-white {
  background-color: #fff;
  color: var(--accent);
  font-weight: 700;
  box-shadow: var(--sh);
}

.btn-white:hover {
  background-color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--sh-l);
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Co-Branded Hero Badge */
.co-brand-hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.acowebs-subtext {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.acowebs-hero-logo {
  height: 14px;
  width: auto;
  filter: brightness(0) invert(1);
  vertical-align: middle;
}

.badge-separator {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 0.75rem;
  font-weight: 300;
}

.shopify-app-tag {
  color: var(--green);
  background-color: var(--green-light);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--mu);
}

/* --------------------------------------------------------------------------
   4. Glassmorphism Navigation Bar with Co-Branding
   -------------------------------------------------------------------------- */
.nav-bar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  border-radius: var(--rl);
  background-color: rgba(9, 10, 31, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.4s ease, width 0.4s ease, border-radius 0.4s ease, background-color 0.4s ease;
}

.nav-bar.nav-hidden {
  transform: translate(-50%, -150%);
}

.nav-bar.scrolled {
  top: 0.5rem;
  width: 95%;
  border-radius: 0 0 var(--rl) var(--rl);
  background-color: rgba(9, 10, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-bar.scrolled .nav-logo {
  color: #fff;
}

.nav-bar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.nav-bar.scrolled .nav-link:hover {
  color: var(--accent);
}

.nav-bar.scrolled .logo-sub-badge {
  color: rgba(255, 255, 255, 0.6);
  border-left-color: rgba(255, 255, 255, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.logo-icon-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  margin-right: 0.5rem;
}

.logo-sub-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
  margin-left: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

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

/* --------------------------------------------------------------------------
   5. Hero Section (with Canvas & Mock phone)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(160deg, #090a1f, #150f28 40%, #221432);
  padding: 10rem 0 7rem 0;
  overflow: hidden;
}

.grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  pointer-events: none;
}

/* Background Blurs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background-color: var(--accent);
  top: -100px;
  right: -50px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background-color: var(--orange);
  bottom: 50px;
  left: -100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  color: #fff;
}

.hero-title {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-actions .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars-group {
  display: flex;
  color: var(--gold);
  font-size: 1.2rem;
}

.trust-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* Parallax Floating Micro-Elements in Hero */
.parallax-element {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* 1. Tag Float (Peach/Magenta Gradient Badge) */
.hero-tag-float {
  top: 12%;
  right: -110px;
  left: auto;
}

.float-tag-content {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 82, 192, 0.15);
  border: 1px solid rgba(254, 82, 192, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(254, 82, 192, 0.2);
  animation: float-slow 4s infinite alternate ease-in-out;
}

/* 2. Play Circle Float (Glassmorphism Play Icon) */
.hero-play-float {
  top: 8%;
  left: -45px;
  right: auto;
}

.float-play-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fe52c0;
  box-shadow: var(--sh-xl);
  animation: float-slow 3s infinite alternate-reverse ease-in-out;
}

/* 3. Heart/ROI Badge Float (Green/Shopify Accent Badge) */
.hero-heart-float {
  bottom: 18%;
  right: -130px;
  left: auto;
}

.float-heart-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 128, 96, 0.18);
  border: 1px solid rgba(0, 128, 96, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0.95rem;
  border-radius: 30px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 128, 96, 0.25);
  animation: float-slow 5s infinite alternate ease-in-out;
}

/* 4. Cart Circle Float (Coral/Orange Accent) */
.hero-cart-float {
  bottom: 22%;
  left: -35px;
  right: auto;
}

.float-cart-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(244, 156, 83, 0.15);
  border: 1px solid rgba(244, 156, 83, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  box-shadow: var(--sh-xl);
  animation: float-slow 3.5s infinite alternate-reverse ease-in-out;
}

/* 5. User Card Float (Vibrant Blue/Glass checkmark) */
.hero-verified-user-float {
  top: 38%;
  left: -120px;
  right: auto;
}

.float-user-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0.9rem;
  border-radius: 30px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
  animation: float-slow 4.5s infinite alternate ease-in-out;
}

.float-user-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.8);
}

.float-user-name {
  font-size: 0.75rem;
  font-weight: 600;
}

/* 6. Sales Indicator Card Float (Emerald Green/Glass badge) */
.hero-sales-indicator-float {
  bottom: 6%;
  right: -55px;
}

.float-sales-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
  animation: float-slow 3.8s infinite alternate-reverse ease-in-out;
}

/* Behind Mockup Elements (z-index: 4) */
/* 7. Video Thumbnail Card Float (Vibrant Purple/Blue gradient, Glass backdrop) */
.hero-video-card-float {
  top: 26%;
  left: -85px;
  right: auto;
}

.float-video-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem;
  border-radius: var(--rl);
  color: #fff;
  width: 150px;
  box-shadow: var(--sh-xl);
  animation: float-slow 5.5s infinite alternate ease-in-out;
}

.video-card-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.video-card-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}

.video-card-info span {
  font-size: 0.6rem;
  opacity: 0.6;
  text-transform: uppercase;
}

.video-card-info strong {
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 8. Price Bubble Float (Warm Gold/Yellow Glass bubble) */
.hero-price-bubble-float {
  top: 55%;
  right: -90px;
  left: auto;
}

.float-price-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.2);
  border: 1px solid rgba(234, 179, 8, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.2);
  animation: float-slow 3.2s infinite alternate-reverse ease-in-out;
}

/* 9. Metrics Card Float (Neon Green Glass Badge) */
.hero-metrics-float {
  top: 52%;
  left: -120px;
  right: auto;
}

.float-metrics-card {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0.9rem;
  border-radius: 30px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
  animation: float-slow 4.2s infinite alternate ease-in-out;
}

/* 10. Live Analytics Bubble (Neon Blue Glass Badge) */
.hero-analytics-float {
  bottom: 30%;
  left: -110px;
  right: auto;
}

.float-analytics-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0.95rem;
  border-radius: 30px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
  animation: float-slow 3.6s infinite alternate-reverse ease-in-out;
}

/* 11. Discount Bubble Float (Vibrant Pink/Orange Glass Circle) */
.hero-discount-float {
  top: 20%;
  right: -60px;
  left: auto;
}

.float-discount-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid rgba(236, 72, 153, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ec4899;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
  animation: float-slow 4.8s infinite alternate ease-in-out;
}

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(3deg); }
}

/* Interactive Mobile Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.phone-container {
  position: relative;
  width: 310px;
  height: 620px;
  z-index: 5;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background-color: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--sh-xl), 0 0 0 4px #27272a;
  position: relative;
  border: 4px solid #18181b;
  z-index: 5;
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #27272a;
  border-radius: 2px;
  z-index: 5;
}

.phone-camera {
  position: absolute;
  top: 15px;
  left: 35%;
  width: 10px;
  height: 10px;
  background-color: #27272a;
  border-radius: 50%;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: #121214;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.reels-feed {
  width: 100%;
  height: 100%;
  position: relative;
}

.reel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  transform: translateY(100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reel-slide.prev-slide {
  transform: translateY(-100%);
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-overlay {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
  color: #fff;
  z-index: 2;
}

.video-author {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.video-caption {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

/* Floating Hotspot Tag */
.product-tag-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3.5px solid #fff;
  cursor: pointer;
  z-index: 4;
}

.hotspot-dot {
  display: block;
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  margin: 5px auto;
}

.pulse-btn::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.65); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Reel UI Controls */
.reel-nav-ui {
  position: absolute;
  right: 0.75rem;
  top: 40%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.reel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: var(--tr);
}

.reel-arrow:hover {
  background: var(--primary-gradient);
  border-color: transparent;
}

.reel-indicators {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.reel-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--tr);
}

.reel-indicator.active {
  background-color: #fff;
  height: 18px;
  border-radius: 4px;
}

/* Drag Swipe Gestures Indicator */
.swipe-hint {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(0,0,0,0.6);
  padding: 0.35rem 0.85rem;
  border-radius: var(--r);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(5px);
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1s ease;
}

.swipe-hint.fade-out {
  opacity: 0;
}

.swipe-hand {
  animation: hand-bounce 1s infinite alternate;
}

@keyframes hand-bounce {
  0% { transform: translateY(-2px); }
  100% { transform: translateY(4px); }
}

/* Product Tag Drawer */
.shoppable-drawer {
  position: absolute;
  bottom: -70px;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(calc(100% - 126px)); /* Peek view state: only show header */
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
}

.drawer-drag-handle {
  width: 36px;
  height: 4px;
  background-color: var(--bd);
  border-radius: 2px;
  margin: 8px auto 0 auto;
}

.shoppable-drawer.expanded {
  transform: translateY(-70px);
}

.drawer-header {
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bd);
  cursor: pointer;
}

.drawer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dk);
  letter-spacing: -0.01em;
}

.drawer-toggle-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--mu);
  cursor: pointer;
  transition: var(--tr);
}

.shoppable-drawer.expanded .drawer-toggle-btn {
  transform: rotate(180deg);
}

.drawer-products-container {
  padding: 0.75rem;
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--rm);
  background-color: var(--bg2);
  border: 1px solid var(--bd);
  transition: var(--tr);
}

.product-card.active {
  display: flex;
}

.product-card.highlighted {
  border-color: var(--accent);
  background-color: var(--accent-light);
  transform: scale(1.02);
}

.product-img-holder {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-color: #fff;
  border: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dk);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.add-to-cart-mock {
  flex-shrink: 0;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.add-to-cart-mock.added {
  background-color: var(--green) !important;
  animation: btn-added-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes btn-added-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(0.88); }
  100% { transform: scale(1); }
}

/* Toast Notify — floating "added to cart" notification card */
.cart-toast {
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translateX(-50%) translateY(-26px) scale(0.94);
  background-color: #fff;
  color: var(--tx);
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 190px;
  box-shadow: 0 14px 34px rgba(11, 16, 51, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.35s ease;
  z-index: 20;
}

.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.toast-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 128, 96, 0.4);
}

.toast-icon svg {
  width: 17px;
  height: 17px;
}

.toast-icon svg polyline {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
}

.cart-toast.show .toast-icon {
  animation: toast-badge-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-toast.show .toast-icon svg polyline {
  animation: toast-check-draw 0.4s 0.18s ease forwards;
}

@keyframes toast-badge-pop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes toast-check-draw {
  to { stroke-dashoffset: 0; }
}

.toast-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
  overflow: hidden;
}

.toast-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--tx);
}

.toast-msg {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mu);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

@media (prefers-reduced-motion: reduce) {
  .cart-toast,
  .cart-toast.show .toast-icon,
  .cart-toast.show .toast-icon svg polyline,
  .add-to-cart-mock.added {
    animation: none;
  }
  .cart-toast.show .toast-icon svg polyline {
    stroke-dashoffset: 0;
  }
}

/* --------------------------------------------------------------------------
   6. Integration Logo Bar
   -------------------------------------------------------------------------- */
.integrations-bar {
  background-color: #fff;
  border-bottom: 1px solid var(--bd);
  padding: 3.5rem 0;
}

.integrations-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--mu);
  margin-bottom: 2rem;
}

.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--mu);
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease,
              background-color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.4s ease;
}

/* Per-platform brand colors */
.logo-instagram { --brand: #e1306c; --brand-soft: rgba(225, 48, 108, 0.22); }
.logo-tiktok    { --brand: #08b7bd; --brand-soft: rgba(8, 183, 189, 0.22); }
.logo-youtube   { --brand: #ff0000; --brand-soft: rgba(255, 0, 0, 0.20); }
.logo-uploads   { --brand: var(--accent); --brand-soft: rgba(1, 111, 255, 0.20); }

.logo-item:hover {
  color: var(--dk);
  background-color: #fff;
  border-color: var(--brand);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px var(--brand-soft);
}

.logo-icon {
  opacity: 0.65;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-item:hover .logo-icon {
  opacity: 1;
  color: var(--brand);
  animation: logo-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes logo-pop {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.28) rotate(-7deg); }
  70%  { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1.14) rotate(0deg); }
}

.logo-icon.animate-red {
  color: #ef4444;
}

.logo-item span {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
}

.logo-item span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-item:hover span::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .logo-item,
  .logo-item:hover {
    transform: none;
  }
  .logo-item:hover .logo-icon {
    animation: none;
    transform: scale(1.1);
  }
}

/* --------------------------------------------------------------------------
   7. Core Pillars (Benefits)
   -------------------------------------------------------------------------- */
/* Same dark banner backdrop as the hero, so it reads as a continuation */
.benefits-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background: linear-gradient(160deg, #090a1f, #150f28 40%, #221432);
}

.benefits-section .container {
  position: relative;
  z-index: 1;
}

/* Section header adapts to the dark backdrop */
.benefits-section .section-title {
  color: #fff;
}

.benefits-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--rl);
  padding: 3rem 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              background-color 0.4s ease;
}

/* Per-card accent color */
.benefit-card:nth-child(1) { --glow: rgba(1, 111, 255, 0.45); }
.benefit-card:nth-child(2) { --glow: rgba(0, 178, 133, 0.45); }
.benefit-card:nth-child(3) { --glow: rgba(139, 92, 246, 0.48); }

/* Sheen highlight sweeping across the top edge, revealed on hover */
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 60px -14px var(--glow),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  border: 1px solid transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.08) rotate(-4deg);
}

.icon-blue {
  background-color: rgba(1, 111, 255, 0.16);
  border-color: rgba(1, 111, 255, 0.35);
  color: #6ba4ff;
}

.icon-green {
  background-color: rgba(0, 178, 133, 0.16);
  border-color: rgba(0, 178, 133, 0.35);
  color: #34d8ab;
}

.icon-purple {
  background-color: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.35);
  color: #b39bff;
}

.benefit-title {
  margin-bottom: 1rem;
  color: #fff;
}

.benefit-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

/* --------------------------------------------------------------------------
   8. Detailed Features Switcher
   -------------------------------------------------------------------------- */
.features-section {
  position: relative;
  padding: 6.5rem 0 3rem;
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(254, 82, 192, 0.08), transparent 60%),
    linear-gradient(180deg, #fdf5fb 0%, #ffffff 60%);
}

.features-section .section-header {
  margin-bottom: 1rem;
}

/* Per-feature accent tokens */
/* All features use the brand theme / button color (magenta --accent) */
.features-section [data-accent] {
  --acc: var(--accent);
  --acc-soft: rgba(254, 82, 192, 0.12);
}

/* Scroll track that drives activation while the UI pins */
.features-track {
  position: relative;
  height: calc(6 * 76vh);
}

.features-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.features-focus {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  width: 100%;
  align-items: center;
}

/* ---------- LEFT: Focus list (camera depth-of-field) ---------- */
.focus-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.focus-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--rm);
  background: transparent;
  color: var(--dk);
  cursor: pointer;
  opacity: 0.4;
  filter: blur(2.5px);
  transform: scale(0.97);
  transition: filter 0.5s ease, opacity 0.5s ease,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.focus-item:hover {
  opacity: 0.75;
  filter: blur(0.6px);
}

.focus-item.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  background: #fff;
  border-color: var(--acc-soft);
  box-shadow: 0 20px 44px -20px var(--acc), 0 4px 14px rgba(11, 16, 51, 0.05);
}

.focus-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 58%;
  border-radius: 0 3px 3px 0;
  background: var(--acc);
  transform: translateY(-50%) scaleY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.focus-item.active::before {
  transform: translateY(-50%) scaleY(1);
}

.focus-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  color: var(--mu);
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

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

.focus-item.active .focus-icon {
  background: var(--acc-soft);
  color: var(--acc);
  animation: focus-icon-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes focus-icon-pop {
  0%   { transform: scale(0.8) rotate(-8deg); }
  60%  { transform: scale(1.15) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

.focus-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.focus-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  transition: color 0.4s ease;
}

.focus-item.active .focus-name {
  color: var(--acc);
}

.focus-tag {
  font-size: 0.8rem;
  color: var(--mu);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.focus-index {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mu);
  opacity: 0.45;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.focus-item.active .focus-index {
  color: var(--acc);
  opacity: 1;
}

/* ---------- RIGHT: Refocusing stage ---------- */
.focus-stage {
  position: relative;
}

.stage-progress {
  position: relative;
  height: 3px;
  background: var(--bd);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.3rem;
}

.stage-progress-bar {
  display: block;
  height: 100%;
  width: 16.66%;
  border-radius: 3px;
  background: var(--acc, #016fff);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease;
}

/* Per-feature background wash that shifts as you scroll */
.features-section > * {
  position: relative;
  z-index: 1;
}

.stage-panels {
  position: relative;
  height: 640px;
}

.stage-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.stage-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Header block — clean vertical rhythm, sits above the demo (no overlay) */
.fp-card {
  order: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.fp-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--acc);
  background: var(--acc-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
}

.fp-title {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 800;
  color: var(--dk);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fp-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mu);
  max-width: 62ch;
}

/* Chips + metric float as parallax pills around the demo (JS drives transform) */
.fp-chips {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.fp-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dk);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--bd);
  padding: 0.42rem 0.8rem;
  border-radius: 30px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px -10px rgba(11, 16, 51, 0.25);
  will-change: transform;
}

.fp-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--acc);
  flex-shrink: 0;
}

.fp-chip:nth-child(1) { top: 25%; right: -10px; }
.fp-chip:nth-child(2) { top: 55%; left: -14px; }
.fp-chip:nth-child(3) { bottom: 21%; right: 6px; }

.fp-metric {
  position: absolute;
  z-index: 5;
  bottom: 7%;
  left: -10px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--acc);
  padding: 0.46rem 0.85rem;
  border-radius: 30px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 14px 30px -10px var(--acc);
  will-change: transform;
}

/* Demo sits below the header, clearly separated */
.fp-demo {
  order: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.fp-demo .browser-frame {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  box-shadow: 0 14px 32px -20px rgba(11, 16, 51, 0.28);
  overflow: hidden;
}

.fp-demo .browser-body {
  flex: 1;
  height: auto;
  min-height: 0;
}

/* Player demo: center the phone */
.fp-demo-player {
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--rm);
  background:
    radial-gradient(55% 55% at 26% 20%, color-mix(in srgb, var(--acc) 42%, transparent), transparent 62%),
    radial-gradient(48% 48% at 84% 86%, color-mix(in srgb, var(--acc) 26%, transparent), transparent 60%),
    linear-gradient(155deg, #0c1136, #171f56 72%);
}

.fp-demo-player .player-panel-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Shopify preview scrolls internally, like a real browser */
.fp-demo .customizer-preview {
  min-height: 0;
}

.fp-demo .preview-body-content {
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--bd) transparent;
}

.preview-body-content::-webkit-scrollbar {
  width: 7px;
}

.preview-body-content::-webkit-scrollbar-thumb {
  background: var(--bd);
  border-radius: 10px;
}

.preview-body-content::-webkit-scrollbar-thumb:hover {
  background: var(--mu);
}

.storefront-section-stub .stub-section-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 0.5rem;
}

.storefront-section-stub + .storefront-section-stub {
  margin-top: 0.25rem;
}

.storefront-footer-stub {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--bd);
}

.stub-foot-line {
  height: 8px;
  border-radius: 4px;
  background: var(--bg2);
}

.stub-foot-line.short {
  width: 55%;
}

/* ---------- Responsive: unpin & stack ---------- */
@media (max-width: 1024px) {
  .features-track {
    height: auto;
  }

  .features-pin {
    position: static;
    min-height: 0;
    display: block;
  }

  .features-focus {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .focus-list,
  .stage-progress {
    display: none;
  }

  .stage-panels {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .stage-panel {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
  }

  .fp-demo {
    flex: none;
    height: 360px;
  }

  .fp-demo-player {
    height: 440px;
  }

  /* On mobile the tags flow inline instead of floating (avoids overlap) */
  .fp-chips {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    z-index: auto;
    pointer-events: auto;
  }

  .fp-chip {
    position: static;
    inset: auto;
    transform: none !important;
    background: var(--bg2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .fp-metric {
    position: static;
    inset: auto;
    transform: none !important;
    align-self: flex-start;
  }

  .tag-studio {
    grid-template-columns: 1fr;
    grid-template-rows: 160px 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .fp-card {
    gap: 0.6rem;
  }

  .fp-desc {
    font-size: 0.88rem;
  }
}

/* Small phones: tighten the features section further */
@media (max-width: 560px) {
  .features-section {
    padding: 4rem 0 2rem;
  }

  .fp-demo {
    height: 300px;
  }

  .fp-title {
    font-size: 1.2rem;
  }

  .tag-studio {
    grid-template-rows: 140px 1fr;
  }

  .stage-panel {
    gap: 1.1rem;
  }
}

/* Phones: keep the player a comfortably-sized phone on the brand stage */
@media (max-width: 768px) {
  .fp-demo-player {
    height: auto;
    padding: 1.75rem 0;
  }

  .fp-demo-player .player-panel-demo {
    height: auto;
  }

  .fp-demo-player .mini-phone-view {
    width: min(70vw, 275px);
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 230 / 450;
    padding: 8px;
    border-width: 3px;
    border-radius: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .focus-item,
  .stage-panel {
    filter: none;
    transition: opacity 0.3s ease;
  }
  .focus-item { opacity: 0.55; }
  .focus-item.active { opacity: 1; }
  .focus-item.active .focus-icon { animation: none; }
}

.browser-frame {
  width: 100%;
  background-color: #fff;
  border-radius: var(--rl);
  border: 1px solid var(--bd);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}

.browser-header {
  padding: 0.75rem 1.25rem;
  background-color: var(--bg2);
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red { background-color: var(--red); }
.browser-dot.yellow { background-color: var(--gold); }
.browser-dot.green { background-color: var(--green); }

.browser-url {
  margin-left: 1.5rem;
  font-size: 0.75rem;
  color: var(--mu);
  font-weight: 500;
  background-color: #fff;
  padding: 0.25rem 2rem 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--bd);
  flex-grow: 1;
  max-width: 300px;
}

.browser-body {
  height: 500px;
  position: relative;
  overflow: hidden;
}

.demo-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Demo Grid System inside browser mockup */
.demo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  height: 100%;
  width: 100%;
}

.demo-visual-side {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--bd);
  background-color: #fff;
}

.demo-visual-side.no-padding {
  padding: 0;
}

.demo-info-side {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fafafa;
  overflow-y: auto;
}

.demo-feature-tag {
  align-self: flex-start;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.demo-info-side h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.demo-info-side p {
  font-size: 0.825rem;
  color: var(--mu);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.demo-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
}

.demo-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--dk);
  line-height: 1.4;
}

.demo-bullets li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.demo-metric-badge {
  align-self: flex-start;
  background-color: var(--green-light);
  color: var(--green);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}

.demo-screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Feature 1 Demo Layout (Tagging) */
.admin-panel {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  height: 100%;
}

.admin-sidebar {
  border-right: 1px solid var(--bd);
  padding-right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-sidebar h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--mu);
  margin-bottom: 0.25rem;
}

.product-item-drag {
  padding: 0.5rem;
  border-radius: 6px;
  background-color: var(--bg2);
  border: 1px solid var(--bd);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--tr);
}

.product-item-drag:hover {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.badge-add {
  color: var(--accent);
}

.admin-editor-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.editor-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-status-live {
  font-size: 0.7rem;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.video-canvas-mock {
  flex-grow: 1;
  background: linear-gradient(135deg, #fff0f9, #fef5ed);
  border-radius: 8px;
  position: relative;
  cursor: crosshair;
  border: 2px dashed #fca5a5;
  overflow: hidden;
}

.canvas-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drag-instruction {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  box-shadow: var(--sh);
  pointer-events: none;
}

.placed-tag {
  position: absolute;
  background-color: var(--dk);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: var(--sh-l);
  animation: pop-up 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-up {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Feature 1 Demo — Tag Products in Videos (video + product dropdown) */
.tag-studio {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 1.1rem;
  height: 100%;
  padding: 1rem;
}

.tag-video-wrap {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.tag-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tag-video-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.tag-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: tag-live-pulse 1.6s infinite;
}

@keyframes tag-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Shoppable-video banner along the bottom of the video */
.tag-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0.75rem 0.7rem 0.8rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4) 65%, transparent);
  transform: translateY(112%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.tag-banner.has-items {
  transform: translateY(0);
  opacity: 1;
}

.tag-banner-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-banner-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.tag-banner-track::-webkit-scrollbar {
  display: none;
}

.tag-banner-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 170px;
  padding: 0.4rem 0.45rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  animation: banner-card-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes banner-card-in {
  0% { transform: translateY(16px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.tbc-thumb {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--acc-soft);
  color: var(--acc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

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

.tbc-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--dk);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tbc-price {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--acc);
}

.tbc-add {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--acc);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s ease, background-color 0.2s ease;
}

.tbc-add:hover {
  filter: brightness(1.08);
}

.tbc-add.added {
  background: var(--green);
}

.tag-controls {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.5rem 0.25rem;
}

.tag-controls-eyebrow {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--acc);
}

.tag-controls-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dk);
  line-height: 1.3;
}

.tag-select-row {
  display: flex;
  gap: 0.5rem;
}

.tag-select {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dk);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tag-select.open {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px var(--acc-soft);
}

.tag-select-value.placeholder {
  color: var(--mu);
  font-weight: 500;
}

.tag-select-chevron {
  color: var(--mu);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.tag-select.open .tag-select-chevron {
  transform: rotate(180deg);
}

.tag-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 10px;
  box-shadow: 0 16px 34px -10px rgba(11, 16, 51, 0.22);
  max-height: 180px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.tag-select.open .tag-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tag-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--dk);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tag-option:hover,
.tag-option.active {
  background: var(--acc-soft);
  color: var(--acc);
}

.tag-option .opt-price {
  font-size: 0.72rem;
  color: var(--mu);
  font-weight: 600;
}

.tag-option.used {
  opacity: 0.4;
  pointer-events: none;
  text-decoration: line-through;
}

.tag-add-btn {
  flex-shrink: 0;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
}

.tag-hint {
  font-size: 0.72rem;
  color: var(--mu);
  line-height: 1.5;
  margin-top: auto;
}

/* Feature 2 Demo Layout (Importer) */
.import-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 2rem;
}

.panel-subtext {
  font-size: 0.85rem;
  margin: 0.5rem 0 1.5rem 0;
}

.import-input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.import-input-field {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--r);
  border: 1px solid var(--bd);
  font-family: inherit;
  outline: none;
  font-size: 0.85rem;
}

.import-input-field:focus {
  border-color: var(--accent);
}

.preset-links-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.btn-preset {
  background: none;
  border: 1px solid var(--bd);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--accent);
  transition: var(--tr);
}

.btn-preset:hover {
  background-color: var(--accent-light);
}

.import-loader-box {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--r);
  background-color: var(--bg2);
  border: 1px solid var(--bd);
}

.loader-circle {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-light);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

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

.loader-status {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--mu);
}

.import-success-box {
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--r);
  background-color: #e3faf2;
  border: 1px solid #bbf7d0;
  animation: slide-up 0.4s ease;
}

.success-icon {
  background-color: var(--green);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.success-details {
  display: flex;
  flex-direction: column;
}

.success-details strong {
  font-size: 0.85rem;
  color: #105943;
}

.success-details span {
  font-size: 0.75rem;
  color: #147257;
}

/* Feature 3 Demo Layout (Compression) */
.compress-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 2rem;
}

.compress-graphics {
  display: flex;
  justify-content: center;
}

.compress-circle-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.compress-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid var(--bd);
  background-color: var(--bg2);
  font-size: 0.75rem;
}

.compress-node span {
  color: var(--mu);
  margin-bottom: 0.25rem;
}

.compress-node.optimized {
  border-color: var(--green);
  background-color: #e3faf2;
  box-shadow: 0 0 15px rgba(0, 128, 96, 0.15);
}

.green-pct {
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.compress-arrow-anim {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  animation: arrow-shake 0.8s infinite alternate;
}

@keyframes arrow-shake {
  0% { transform: translateX(-4px); }
  100% { transform: translateX(4px); }
}

.speed-meter {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.meter-bar {
  width: 100%;
  height: 24px;
  background-color: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 6px;
  margin-top: 0.25rem;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  transition: width 1s ease-in-out;
}

.green-fill {
  background-color: var(--green);
}

/* Feature 4 Demo Layout (Carousel/Grid Widgets) */
.layout-panel {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  height: 100%;
  padding: 1.5rem;
  width: 100%;
}

.layout-controls {
  border-right: 1px solid var(--bd);
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mu);
  display: block;
  margin-bottom: 0.5rem;
}

.layout-toggle-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.btn-toggle {
  background-color: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--tr);
}

.btn-toggle.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
}

.color-picker-row {
  display: flex;
  gap: 0.5rem;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--tr);
}

.color-dot.active {
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--dk);
}

.layout-preview-area {
  display: flex;
  flex-direction: column;
}

.preview-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mu);
  margin-bottom: 0.75rem;
}

.mock-widget-view {
  flex-grow: 1;
  background-color: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  padding: 1rem;
}

.mock-carousel-feed {
  display: flex;
  gap: 0.5rem;
  overflow: hidden;
}

.carousel-active .mock-carousel-feed { display: flex; }
.carousel-active .mock-grid-feed { display: none; }

.grid-active .mock-carousel-feed { display: none; }
.grid-active .mock-grid-feed { display: grid; }

.mock-video-thumbnail {
  width: 90px;
  height: 160px;
  background: linear-gradient(180deg, #fca5a5, #fe52c0);
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
}

.play-triangle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.25rem;
  opacity: 0.8;
}

.mock-tag-bubble {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
}

.mock-grid-feed {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  height: 200px;
  overflow-y: auto;
}

.mock-grid-item {
  background: linear-gradient(180deg, #fca5a5, #fe52c0);
  border-radius: 8px;
  height: 100px;
  position: relative;
}

/* Feature 5 Demo Layout (Swipe Player - Fixed and Improved layout) */
.player-panel-demo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.mini-phone-view {
  background-color: #000000;
  border-radius: 36px;
  padding: 10px;
  height: 100%;
  max-height: 400px;
  aspect-ratio: 230 / 450;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 3px solid #27272a;
}

.mini-phone-screen {
  width: 100%;
  height: 100%;
  background: #111111;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}

/* Story-style progress bars */
.reels-progress {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 6;
  display: flex;
  gap: 4px;
}

.reels-progress-seg {
  flex: 1;
  height: 2.5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.reels-progress-seg i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: #fff;
}

/* Vertical swipeable feed */
.mini-reels {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.mini-reels:active {
  cursor: grabbing;
}

.mini-reel {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-reel.active {
  transform: translateY(0);
}

.mini-video-elem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-reel-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 42%);
  pointer-events: none;
}

.mini-player-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.9rem 3.4rem 1rem 0.9rem;
  color: #fff;
  z-index: 2;
  text-align: left;
  pointer-events: none;
}

.mini-author {
  font-weight: 700;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.25rem;
}

.mini-caption {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dk);
  padding: 0.3rem 0.6rem;
  border-radius: 30px;
  width: max-content;
  margin-top: 0.55rem;
  font-weight: 700;
  font-size: 0.68rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: mini-tag-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mini-tag svg {
  color: var(--accent);
}

@keyframes mini-tag-pop {
  0% { transform: translateY(8px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Right-side action rail */
.mini-rail {
  position: absolute;
  right: 0.5rem;
  bottom: 3.4rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

.rail-btn:hover {
  transform: scale(1.12);
}

.rail-btn:active {
  transform: scale(0.92);
}

.rail-ico {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  display: flex;
}

.rail-count {
  font-size: 0.6rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.like-btn.liked .rail-ico {
  color: #ff3b5c;
  animation: like-bounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.like-btn.liked .rail-ico svg {
  fill: #ff3b5c;
}

@keyframes like-bounce {
  0% { transform: scale(1); }
  45% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.bag-btn .rail-ico {
  background: var(--accent);
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(1, 111, 255, 0.5);
}

/* Double-tap heart burst */
.dbl-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.dbl-heart.show {
  animation: dbl-heart-pop 0.9s ease forwards;
}

@keyframes dbl-heart-pop {
  0% { transform: translate(-50%, -50%) scale(0) rotate(-12deg); opacity: 0; }
  25% { transform: translate(-50%, -50%) scale(1.15) rotate(6deg); opacity: 1; }
  60% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
  100% { transform: translate(-50%, -55%) scale(0.85) rotate(0); opacity: 0; }
}

/* Swipe hint */
.mini-swipe-hint {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.85;
  pointer-events: none;
  animation: swipe-nudge 1.8s ease-in-out infinite;
}

.mini-swipe-hint.hidden {
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: none;
}

@keyframes swipe-nudge {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.player-feature-bullets ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.player-feature-bullets li {
  font-size: 0.85rem;
}

/* Feature 6 Demo Layout (Analytics) */
.analytics-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 1.5rem;
}

.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.analytics-period-select {
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  font-family: inherit;
  font-size: 0.75rem;
  outline: none;
}

.analytics-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.stat-card {
  background-color: var(--bg2);
  border: 1px solid var(--bd);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.stat-lbl {
  font-size: 0.65rem;
  color: var(--mu);
}

.stat-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dk);
}

.stat-trend {
  font-size: 0.6rem;
  font-weight: 600;
}

.stat-trend.positive { color: var(--green); }

.chart-mock {
  flex-grow: 1;
  border-top: 1px solid var(--bd);
  padding-top: 0.75rem;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.5rem;
  height: 120px;
}

.chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--mu);
  text-align: right;
}

.chart-bars-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 12px;
}

.chart-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.chart-fill {
  background-color: var(--accent);
  width: 14px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  animation: grow-bar 1s ease-out;
}

@keyframes grow-bar {
  0% { height: 0; }
}

.chart-bar-col span {
  font-size: 0.6rem;
  color: var(--mu);
  position: absolute;
  bottom: -15px;
}

.text-accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   8B. Shopify Native Integration Showcase (Reworked with Customizer Animation)
   -------------------------------------------------------------------------- */
.banner-section {
  padding: 7rem 0;
  background-color: #fff;
  border-bottom: 1px solid var(--bd);
}

.banner-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

/* Customizer Editor Frame Mockup */
.shopify-customizer-mock {
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
  background-color: #fff;
  height: 100%;
  width: 100%;
}

.customizer-sidebar {
  background-color: #f6f6f7;
  border-right: 1px solid var(--bd);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--bd);
  padding-bottom: 0.6rem;
}

.shopify-bag-icon {
  background-color: var(--green);
  color: #fff;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.sidebar-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dk);
}

.sidebar-scroll {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.group-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mu);
  letter-spacing: 0.05em;
}

.customizer-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dk);
}

.customizer-control-row.flex-col {
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--mu);
}

.sidebar-range {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background-color: var(--bd);
  outline: none;
}

.sidebar-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--green);
  cursor: pointer;
  transition: transform 0.15s ease;
}

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

.sidebar-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--bd);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.7rem;
  outline: none;
  background-color: #fff;
  color: var(--dk);
  cursor: pointer;
}

/* Toggle Switch Polaris */
.switch-container {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 16px;
}

.switch-container input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .switch-slider {
  background-color: var(--green);
}

input:checked + .switch-slider:before {
  transform: translateX(12px);
}

/* Storefront Preview Pane */
.customizer-preview {
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.preview-header {
  background-color: var(--bg2);
  border-bottom: 1px solid var(--bd);
  padding: 0.4rem 1rem;
  text-align: center;
}

.preview-url-text {
  font-size: 0.65rem;
  color: var(--mu);
  font-weight: 500;
}

.preview-body-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.storefront-hero-stub {
  background-color: var(--bg2);
  padding: 0.6rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
  border: 1px solid var(--bd);
}

.stub-nav {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--mu);
}

.stub-banner {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--dk);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.storefront-shopeo-widget {
  border: 1.5px dashed var(--accent);
  border-radius: 8px;
  padding: 0.75rem;
  transition: opacity 0.4s ease, padding 0.4s ease;
  opacity: 1;
}

.storefront-shopeo-widget.disabled-state {
  opacity: 0.15;
  border-style: solid;
  border-color: var(--bd);
}

.preview-widget-heading {
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--dk);
}

.preview-widget-slider {
  display: flex;
  gap: 0.5rem;
  transition: var(--tr);
}

.preview-widget-slider.carousel-mode {
  flex-direction: row;
}

.preview-widget-slider.grid-mode {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.preview-feed-item {
  flex: 1;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-light), var(--orange-light));
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--bd);
  transition: var(--tr);
}

.preview-feed-play {
  font-size: 0.6rem;
  color: var(--accent);
  font-weight: 700;
}

.preview-feed-label {
  font-size: 0.5rem;
  color: var(--mu);
  margin-top: 0.2rem;
}

.storefront-grid-stub {
  display: flex;
  gap: 0.5rem;
}

.stub-grid-card {
  flex: 1;
  height: 50px;
  background-color: var(--bg2);
  border-radius: 4px;
  border: 1px solid var(--bd);
}

.shopify-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.shopify-features-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--green-light);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.shopify-features-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dk);
  margin-bottom: 0.25rem;
}

.shopify-features-list div {
  font-size: 0.9rem;
  color: var(--mu);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Niche Strategy — Autoplay Horizontal Slider
   -------------------------------------------------------------------------- */
.usecases-section {
  padding: 7rem 0;
  background-color: var(--bg2);
  overflow: hidden;
}

/* Per-niche accent tokens */
.uc-slide[data-niche="fashion"] { --uc: #e1306c; --uc2: #ff7eb3; }
.uc-slide[data-niche="jewelry"] { --uc: #8b5cf6; --uc2: #c4b5fd; }
.uc-slide[data-niche="tech"]    { --uc: #016fff; --uc2: #5eb0ff; }
.uc-slide[data-niche="decor"]   { --uc: #0ea5a4; --uc2: #5eead4; }

.uc-slider {
  position: relative;
  margin-top: 1rem;
}

.uc-viewport {
  overflow: hidden;
  padding: 0 0.5rem;
}

.uc-track {
  display: flex;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.uc-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.uc-slide-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem 3rem;
}

/* Open editorial content — no box, sits on the section */
.uc-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem 0 1.5rem;
}

/* Accent underline detail */
.uc-content::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: -0.75rem;
  width: 52px;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--uc), var(--uc2));
}

.uc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--uc);
  background: color-mix(in srgb, var(--uc) 12%, transparent);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.uc-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uc);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--uc) 60%, transparent);
  animation: uc-dot-pulse 1.8s infinite;
}

@keyframes uc-dot-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--uc) 55%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.uc-title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--dk);
  margin-bottom: 1rem;
}

.uc-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mu);
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.uc-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.uc-format {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dk);
  background: #fff;
  border: 1px solid var(--bd);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.uc-format:hover {
  transform: translateY(-2px);
  border-color: var(--uc);
  color: var(--uc);
}

.uc-stats {
  display: flex;
  gap: 2.5rem;
}

.uc-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.uc-stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--uc);
  line-height: 1;
}

.uc-stat span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mu);
}

/* Right visual */
.uc-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Organic color blob behind the phone — the color, without a box */
.uc-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  background: linear-gradient(150deg, var(--uc), var(--uc2));
  border-radius: 42% 58% 57% 43% / 54% 44% 56% 46%;
  box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--uc) 55%, transparent);
  animation: uc-blob 9s ease-in-out infinite;
}

/* Faint dotted texture floating over the blob */
.uc-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes uc-blob {
  0%, 100% { border-radius: 42% 58% 57% 43% / 54% 44% 56% 46%; }
  50% { border-radius: 55% 45% 42% 58% / 45% 57% 43% 55%; }
}

.uc-phone {
  position: relative;
  z-index: 1;
  width: 244px;
  aspect-ratio: 260 / 480;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  border: 5px solid #14141a;
  box-shadow: 0 26px 55px -16px color-mix(in srgb, var(--uc) 60%, rgba(11, 16, 51, 0.5));
}

.uc-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.uc-phone-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 35%);
  pointer-events: none;
}

.uc-live {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.25rem 0.55rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.uc-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b5c;
  animation: uc-dot-pulse 1.4s infinite;
}

/* Floating glass cards on the phone */
.uc-float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(11, 16, 51, 0.22);
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.uc-slide.is-active .uc-float-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.uc-slide.is-active .uc-float-stat { transition-delay: 0.15s; }
.uc-slide.is-active .uc-float-product { transition-delay: 0.28s; }

.uc-float-product {
  left: -26px;
  bottom: 20%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 205px;
  padding: 0.5rem 0.55rem;
  border-radius: 14px;
}

.uc-fp-thumb {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  background: color-mix(in srgb, var(--uc) 16%, #fff);
  color: var(--uc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.uc-fp-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.uc-fp-info strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dk);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uc-fp-info span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--uc);
}

.uc-fp-add {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--uc);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.uc-fp-add:hover { filter: brightness(1.1); transform: scale(1.1); }
.uc-fp-add.added { background: var(--green); }

.uc-float-stat {
  right: -20px;
  top: 16%;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dk);
  padding: 0.5rem 0.75rem;
  border-radius: 30px;
}

.uc-fs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uc);
}

/* Arrows */
.uc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--bd);
  background: #fff;
  color: var(--dk);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 16, 51, 0.12);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.uc-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.uc-prev { left: -12px; }
.uc-next { right: -12px; }

/* Dots */
.uc-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.uc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--bd);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.uc-dot.active {
  width: 26px;
  border-radius: 20px;
  background: var(--accent);
}

@media (max-width: 900px) {
  .uc-slide-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .uc-content {
    order: 2;
    padding: 2.25rem 1.75rem 2.5rem;
  }

  .uc-content::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .uc-visual {
    order: 1;
    padding: 2.5rem 1.5rem;
  }

  .uc-eyebrow { margin-inline: auto; }
  .uc-desc { margin-inline: auto; }
  .uc-formats,
  .uc-stats { justify-content: center; }

  .uc-phone { width: 210px; }
  .uc-float-product { left: 0; }
  .uc-float-stat { right: 0; }

  .uc-prev { left: 2px; }
  .uc-next { right: 2px; }
}

@media (max-width: 560px) {
  .usecases-section { padding: 4rem 0; }
  .uc-content { padding: 1.9rem 1.15rem 2.15rem; }
  .uc-visual { padding: 2rem 1rem; }
  .uc-stats { gap: 1.5rem; }
  .uc-stat-num { font-size: 1.6rem; }
  .uc-arrow { width: 38px; height: 38px; }
  .uc-float-product { width: 175px; }
}

/* --------------------------------------------------------------------------
   10. ROI Calculator Section (Simplified & Clarified)
   -------------------------------------------------------------------------- */
.roi-section {
  padding: 7rem 0;
  background-color: #fff;
}

.roi-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background-color: var(--dk3);
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}

.roi-inputs-side {
  padding: 4.5rem;
  color: #fff;
}

.roi-inputs-side h3 {
  color: #fff;
  font-size: 2rem;
  margin: 0.5rem 0 1.25rem 0;
}

.input-range-group {
  margin-top: 2.25rem;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.range-val {
  font-weight: 700;
  color: var(--accent);
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-explanation-text {
  margin-top: 1.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.roi-results-side {
  background: linear-gradient(135deg, var(--dk2), var(--dk3));
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 4.5rem;
  display: flex;
  align-items: center;
}

.results-inner {
  width: 100%;
}

.roi-box {
  background-color: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--rm);
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.roi-lbl {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
}

.roi-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0.5rem 0;
  letter-spacing: -0.03em;
}

.roi-subtext {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

/* ROI Horizontal Chart */
.roi-comparison-chart {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chart-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chart-bar-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

.bar-track {
  width: 100%;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease-out;
}

.gray-fill {
  background-color: rgba(255, 255, 255, 0.35);
}

.pink-fill {
  background: var(--primary-gradient);
}

.chart-bar-val {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
  color: rgba(255,255,255,0.9);
}

.text-pink {
  color: var(--accent) !important;
}

.roi-stats-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.breakdown-item strong {
  color: #fff;
}

.roi-stats-breakdown .text-green {
  color: var(--green);
}

/* --------------------------------------------------------------------------
   11. Pricing Plans Section
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 7rem 0;
  background-color: var(--bg2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background-color: #fff;
  border-radius: var(--rl);
  border: 1px solid var(--bd);
  padding: 3rem 2.25rem;
  position: relative;
  transition: var(--tr);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-l);
}

.pricing-card.recommended {
  border-color: var(--accent);
  box-shadow: var(--sh-xl);
  transform: scale(1.03);
}

.pricing-card.recommended:hover {
  transform: scale(1.03) translateY(-4px);
}

.recommended-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(254, 82, 192, 0.25);
}

.card-header {
  border-bottom: 1px solid var(--bd);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.25rem;
  color: var(--dk);
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

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

.price-num {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--dk);
  line-height: 1;
}

.period {
  font-size: 0.9rem;
  color: var(--mu);
}

.plan-desc {
  font-size: 0.85rem;
  line-height: 1.4;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.plan-features li span {
  color: var(--green);
  font-weight: 700;
}

.plan-features li.disabled {
  color: var(--mu);
  opacity: 0.5;
}

.plan-features li.disabled span {
  color: var(--mu);
}

.pricing-footnote {
  text-align: center;
  font-size: 0.8rem;
  color: var(--mu);
  margin-top: 3.5rem;
}

/* --------------------------------------------------------------------------
   12. Testimonial Slider
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 7rem 0;
  background: linear-gradient(160deg, #090a1f, #150f28 60%, #221432);
  overflow: hidden;
}

.text-white { color: #fff; }
.text-muted { color: rgba(255,255,255,0.6); }

.testimonials-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.testimonial-slides {
  position: relative;
  height: 220px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: transform 0.6s ease, opacity 0.6s ease;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.stars-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.quote-text {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.reviewer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviewer-name {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}

.reviewer-store {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Slider arrows */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
}

.slider-arrow:hover {
  background: var(--primary-gradient);
  border-color: transparent;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--tr);
}

.slider-dot.active {
  background-color: #fff;
  width: 24px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   13. FAQs Accordion Section
   -------------------------------------------------------------------------- */
.faqs-section {
  padding: 7rem 0;
  background-color: #fff;
}

.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--bd);
  border-radius: var(--rm);
  background-color: var(--bg2);
  overflow: hidden;
  transition: var(--tr);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dk);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--mu);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--mu);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. Final Call to Action Section
   -------------------------------------------------------------------------- */
.final-cta-section {
  position: relative;
  background: linear-gradient(160deg, #090a1f, #150f28 40%, #221432);
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.cta-inner {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

.cta-btn-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.cta-btn-row .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.cta-btn-row .btn-outline:hover {
  border-color: #fff;
  background-color: rgba(255,255,255,0.05);
}

.cta-trust-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}

/* --------------------------------------------------------------------------
   15. Footer Section with Co-Branded Acowebs Logos
   -------------------------------------------------------------------------- */
.footer-section {
  background-color: #090a1f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 3rem 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
}

.acowebs-footer-branding {
  margin-top: 0.5rem;
}

.branding-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
  display: block;
}

.acowebs-footer-logo {
  height: 24px;
  width: auto;
  margin-top: 0.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: var(--tr);
}

.acowebs-footer-logo:hover {
  opacity: 1;
}

.footer-credits {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-links-col h5 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-links-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   16. Scroll Reveal & Core Animations
   -------------------------------------------------------------------------- */
.anim-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   17. Responsive Layout Media Queries
   -------------------------------------------------------------------------- */

/* Breakpoint: Desktop / Laptop (1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-badge {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-scroll-nav {
    display: none !important;
  }
  
  .features-stack-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .feature-slide {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    width: 100% !important;
    padding: 4rem 1.5rem !important;
    box-shadow: none !important;
  }
  
  .feature-slide-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
  }
  
  .feature-card-info {
    order: 1 !important;
    padding: 0 !important;
  }
  
  .feature-card-visual {
    order: 2 !important;
    padding: 1.5rem !important;
  }
  
  .banner-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .shopify-customizer-mock {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .usecase-showcase {
    grid-template-columns: 1fr;
  }
  
  .usecase-details-col {
    padding: 3rem;
  }
  
  .usecase-preview-col {
    padding: 3rem;
  }
  
  .roi-container {
    grid-template-columns: 1fr;
  }
  
  .roi-inputs-side {
    padding: 3rem;
  }
  
  .roi-results-side {
    padding: 3rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 450px;
  }
  
  .pricing-card.recommended {
    transform: scale(1);
  }
  
  .pricing-card.recommended:hover {
    transform: translateY(-4px);
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .footer-info-col {
    grid-column: 1 / -1;
  }
}

/* Breakpoint: Tablet (768px) */
@media (max-width: 768px) {
  .parallax-element {
    display: none !important;
  }
  
  .nav-menu {
    display: none;
  }
  
  .demo-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: 220px 1fr !important;
    height: 100% !important;
  }
  
  .demo-visual-side {
    border-right: none !important;
    border-bottom: 1px solid var(--bd) !important;
  }
  
  .demo-info-side {
    padding: 1.25rem !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
  }
  
  .nav-bar {
    width: 95%;
  }
  
  .logos-grid {
    gap: 2.5rem;
  }
  
  .usecase-preview-col {
    flex-direction: column;
  }
  
  .cta-btn-row {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .cta-btn-row .btn {
    width: 100%;
    max-width: 320px;
  }
  
  .cta-trust-badges {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Breakpoint: Small Mobile (480px) */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  
  .hero-section {
    padding: 8rem 0 5rem 0;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .phone-container,
  .phone-frame {
    width: 100%;
    max-width: 300px;
    height: 560px;
  }
  
  .shoppable-drawer {
    transform: translateY(calc(100% - 126px));
  }
  
  .shoppable-drawer.expanded {
    transform: translateY(-70px);
  }
  
  .drawer-products-container {
    max-height: 140px;
  }
  
  .admin-panel {
    grid-template-columns: 1fr;
  }
  
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--bd);
    padding-bottom: 0.75rem;
    padding-right: 0;
    flex-direction: row;
    overflow-x: auto;
  }
  
  .product-item-drag {
    flex-shrink: 0;
  }
  
  .layout-panel {
    grid-template-columns: 1fr;
  }
  
  .layout-controls {
    border-right: none;
    border-bottom: 1px solid var(--bd);
    padding-bottom: 1rem;
    padding-right: 0;
  }
  
  .shopify-customizer-mock {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .customizer-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--bd);
  }
  
  .usecase-details-col {
    padding: 1.5rem;
  }
  
  .usecase-preview-col {
    padding: 1.5rem;
  }
  
  .roi-inputs-side {
    padding: 1.5rem;
  }
  
  .roi-results-side {
    padding: 1.5rem;
  }
  
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-slides {
    height: 280px;
  }
}

/* SVG Icon Helper Styles */
.play-triangle svg,
.reel-arrow svg,
.slider-arrow svg,
.drawer-toggle-btn svg,
.niche-back-arrow svg,
.niche-cart-icon svg,
.plan-features svg {
  display: block;
  flex-shrink: 0;
}

.play-triangle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.niche-back-arrow,
.niche-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Consolidated Responsive Spacing, Section Separation & Footer
   ========================================================================== */
@media (max-width: 1024px) {
  .benefits-section,
  .features-section,
  .usecases-section,
  .roi-section,
  .pricing-section,
  .testimonials-section,
  .faqs-section,
  .final-cta-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-section {
    padding: 8.5rem 0 4.5rem;
  }

  .integrations-bar {
    padding: 2.75rem 0;
  }

  .benefits-section,
  .features-section,
  .usecases-section,
  .roi-section,
  .pricing-section,
  .testimonials-section,
  .faqs-section,
  .final-cta-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* Footer: brand on top, links in two columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    margin-bottom: 2.5rem;
  }

  .footer-info-col {
    grid-column: 1 / -1;
  }

  .footer-section {
    padding: 3.5rem 0 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }

  .hero-section {
    padding: 7.5rem 0 3.5rem;
  }

  .benefits-section,
  .features-section,
  .usecases-section,
  .roi-section,
  .pricing-section,
  .testimonials-section,
  .faqs-section,
  .final-cta-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .logos-grid {
    gap: 1rem 1.5rem;
  }

  /* Footer: single centered column */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-info-col {
    align-items: center;
  }

  .footer-logo,
  .acowebs-footer-branding {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links-col ul {
    align-items: center;
  }
}
