/* style.css - HelloBadge Official Website Design System */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;600;700;800&family=Varela+Round&display=swap');

:root {
  --bg-app: #07080c;
  --bg-canvas: #090a0f;

  --text-primary: #FFFFFF;
  --text-secondary: #9d9eb3;
  --text-muted: #626375;

  --brand-purple: #8142FF;
  --brand-green: #11CFBC;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;

  --border-white-wide: 11px solid rgba(255, 255, 255, 0.13);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-rounded: 'M PLUS Rounded 1c', 'Varela Round', system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', sans-serif;
  
  --radius-card: 28px;
  --radius-inner: 17px;
}

/* ── Global Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: auto;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-rounded);
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* ── Infinite Fixed Dot Grid Canvas (Never ends, 100% fixed) ── */
.bg-dots-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-app);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.11) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}

/* ── Ambient Background Glows ── */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(95px);
  z-index: 1;
  opacity: 0.55;
}

.ambient-glow-top {
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 520px;
  background: radial-gradient(circle, rgba(129, 66, 255, 0.32) 0%, rgba(17, 207, 188, 0.16) 45%, transparent 70%);
}

.ambient-glow-mid {
  top: 45%;
  right: -180px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(129, 66, 255, 0.22) 0%, rgba(17, 207, 188, 0.12) 50%, transparent 75%);
}

.ambient-glow-bottom {
  bottom: 5%;
  left: -180px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(17, 207, 188, 0.18) 0%, rgba(129, 66, 255, 0.14) 50%, transparent 75%);
}

/* ── HERO SECTION ── */
.hero-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px 70px;
  text-align: center;
  overflow: hidden;
}

/* ── Violet / Purple Ambient Glow Behind Phone (Eventbrite style) ── */
.phone-glow-ambient {
  position: absolute;
  width: 380px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45) 0%, rgba(124, 58, 237, 0.28) 40%, rgba(79, 70, 229, 0.12) 65%, transparent 75%);
  filter: blur(55px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  top: 140px;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glowBreathe 6s ease-in-out infinite alternate;
}

@keyframes glowBreathe {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

/* ── Hanging Upside-Down Phone Mockup (1x size: 306px wide, 2/3 visible from top edge = 340px) ── */
.hero-phone-stage {
  position: relative;
  width: 306px;
  height: 340px;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  animation: phoneSway 6s ease-in-out infinite alternate;
  cursor: pointer;
}

.hero-phone-canvas {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 306px;
  height: 1258px;
}

.phone-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.9));
}

.hero-phone-video-screen {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 278px;
  height: 600px;
  border-radius: 33px;
  overflow: hidden;
  z-index: 3;
  background: #000000;
}

.hero-phone-video-el {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

@keyframes phoneSway {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(3px) rotate(0.6deg); }
}

/* ── Hero Slot / Indent: 210px reserved space with Animated Slot Builder ── */
.hero-slot-spacer {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ── Animated Slot Builder Simulator ── */
.slot-builder-simulator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 820px;
  width: 100%;
  padding: 8px;
}

.slot-builder-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(129, 66, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 54px;
}

.slot-pills-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.slot-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(129, 66, 255, 0.3) 0%, rgba(124, 58, 237, 0.16) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 4px 14px rgba(129, 66, 255, 0.25), inset 0 0 12px rgba(168, 85, 247, 0.15);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  animation: slotSqueezePop 0.24s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  will-change: transform, opacity;
}

.slot-pill-item.slot-pop-out {
  animation: slotPopOut 0.22s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

.slot-pill-icon {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.slot-pill-text {
  font-size: 13px;
  letter-spacing: -0.1px;
}

/* Dashed Add Slot Button */
.slot-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.slot-add-btn.clicked {
  transform: scale(0.92);
  background: rgba(129, 66, 255, 0.25);
  border-color: #8142FF;
  color: #FFFFFF;
}

/* Virtual Animated Mouse Cursor */
.slot-virtual-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 10;
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(129, 66, 255, 0.7));
  opacity: 0;
}

.slot-virtual-cursor.active {
  opacity: 1;
}

.slot-virtual-cursor.clicking {
  transform: scale(0.85) translate(2px, 2px);
}

@keyframes slotSqueezePop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes slotPopOut {
  0% {
    opacity: 1;
    transform: scale(1, 1);
  }
  100% {
    opacity: 0;
    transform: scale(0.5, 0.5) translateY(-4px);
  }
}

/* ── Hero Content (Shared with duplicate loop block) ── */
.hero-content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
}

/* ── Hero Title: Gradient with Radiant Reveal & Neon Glow ── */
.hero-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.6px;
  max-width: 920px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, #8142FF 0%, #4f46e5 35%, #06b6d4 70%, #11CFBC 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: titleReveal 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.15s,
             titleGlow 3.5s ease-in-out infinite alternate 2.8s;
  will-change: letter-spacing, filter, opacity;
}

@keyframes titleReveal {
  0% {
    letter-spacing: -2px;
    opacity: 0.05;
    filter: blur(14px) brightness(0.5);
  }
  65% {
    letter-spacing: 0.8px;
    filter: blur(1.5px) brightness(1.25);
  }
  100% {
    letter-spacing: -0.6px;
    opacity: 1;
    filter: blur(0px) brightness(1);
    background-size: 100% 100%;
  }
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(129, 66, 255, 0.3)) drop-shadow(0 0 20px rgba(17, 207, 188, 0.18));
  }
  100% {
    filter: drop-shadow(0 0 24px rgba(129, 66, 255, 0.6)) drop-shadow(0 0 40px rgba(17, 207, 188, 0.4));
  }
}

/* ── Hero Description: Bright White (#FFFFFF) ── */
.hero-description {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.55;
  color: #FFFFFF;
  max-width: 720px;
  margin: 0 auto 34px;
}

/* ── Action Buttons Row ── */
.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ── Shimmering Gradient Button (54px height, 220px width, 12px radius, 18px Medium font) ── */
.btn-shimmer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 54px;
  padding: 0 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #8142FF 0%, #ec4899 50%, #f97316 100%);
  background-size: 200% 200%;
  animation: gradientShine 3s ease infinite;
  color: #ffffff;
  font-family: var(--font-rounded);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.2px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4), 0 0 18px rgba(129, 66, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.btn-shimmer:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.6), 0 0 24px rgba(129, 66, 255, 0.4);
}

.btn-shimmer:active {
  transform: translateY(1px) scale(0.99);
}

/* ── Apple App Store Button Badge (220x54px, 12px radius) ── */
.btn-appstore-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 54px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 12px;
  box-sizing: border-box;
}

.btn-appstore-img:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08) drop-shadow(0 8px 20px rgba(255, 255, 255, 0.25));
}

.btn-appstore-img:active {
  transform: translateY(1px) scale(0.99);
}

.appstore-badge-img {
  width: 220px;
  height: 54px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

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

/* ── STICKY PINNED SCROLL SHOWCASE (5 STEPS WITH HORIZONTAL SLIDE TRANSITIONS) ── */
.showcase-scroll-track {
  position: relative;
  width: 100%;
  height: 500vh;
  z-index: 2;
}

.showcase-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 60px;
}

.showcase-viewport {
  position: relative;
  width: 100%;
  max-width: 1140px;
  height: 100%;
  max-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Slide Transitions: Multi-Layer Parallax (Media, Text, Glow with independent speeds) ── */
.showcase-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-slide .showcase-media-col {
  transform: translateX(110px) scale(0.96);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.showcase-slide .showcase-content-col {
  transform: translateX(150px);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

/* ── Deep Ambient Glow Orb per Slide with Parallax Blur & Scale ── */
.showcase-slide-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.7s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-glow-0 {
  background: radial-gradient(circle, rgba(129, 66, 255, 0.48) 0%, rgba(79, 70, 229, 0.25) 45%, transparent 70%);
}
.slide-glow-1 {
  background: radial-gradient(circle, rgba(17, 207, 188, 0.48) 0%, rgba(6, 182, 212, 0.22) 45%, transparent 70%);
}
.slide-glow-2 {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.48) 0%, rgba(168, 85, 247, 0.25) 45%, transparent 70%);
}
.slide-glow-3 {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.48) 0%, rgba(236, 72, 153, 0.25) 45%, transparent 70%);
}
.slide-glow-4 {
  background: radial-gradient(circle, rgba(17, 207, 188, 0.48) 0%, rgba(129, 66, 255, 0.32) 45%, transparent 70%);
}

/* Active Slide */
.showcase-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.showcase-slide.active .showcase-media-col {
  transform: translateX(0) scale(1);
}

.showcase-slide.active .showcase-content-col {
  transform: translateX(0);
}

.showcase-slide.active .showcase-slide-ambient-glow {
  opacity: 0.65;
  transform: translate(-50%, -50%) scale(1.15);
}

/* Prev Slide (exits left with staggered parallax) */
.showcase-slide.prev-slide .showcase-media-col {
  transform: translateX(-110px) scale(0.96);
}

.showcase-slide.prev-slide .showcase-content-col {
  transform: translateX(-150px);
}

.showcase-slide.prev-slide .showcase-slide-ambient-glow {
  opacity: 0;
  transform: translate(-70%, -50%) scale(0.85);
}

/* Next Slide (waiting on right with staggered parallax) */
.showcase-slide.next-slide .showcase-media-col {
  transform: translateX(110px) scale(0.96);
}

.showcase-slide.next-slide .showcase-content-col {
  transform: translateX(150px);
}

.showcase-slide.next-slide .showcase-slide-ambient-glow {
  opacity: 0;
  transform: translate(-30%, -50%) scale(0.85);
}

/* ── 2-Column Inner Layout ── */
.showcase-slide-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}

.showcase-slide.layout-media-left .showcase-slide-inner {
  flex-direction: row;
}

.showcase-slide.layout-media-right .showcase-slide-inner {
  flex-direction: row-reverse;
}

/* ── Video Column with 11px semi-transparent white outer border & Softened 3D tilt ── */
.showcase-media-col {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.showcase-video-card {
  position: relative;
  width: 400px;
  height: 500px;
  border: var(--border-white-wide);
  border-radius: var(--radius-card);
  background: #0d0e14;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(129, 66, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.showcase-video-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.9), 0 0 60px rgba(236, 72, 153, 0.35);
}

.showcase-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--radius-inner);
}

.showcase-card-ambient-glow {
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle, rgba(129, 66, 255, 0.3) 0%, rgba(17, 207, 188, 0.15) 50%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

/* ── Content Column ── */
.showcase-content-col {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-tag {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #11CFBC;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 12px;
}

.showcase-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.showcase-desc {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ── 3. OUTRO & INFINITE SEAMLESS LOOP SECTION ── */
.loop-outro-section {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 200vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 100px 24px 80vh; /* Generous bottom padding to allow complete scroll into loop point */
  text-align: center;
}

.loop-stage-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ── CTA Overlay sitting ON TOP (higher z-index) of the upper ribbons of the image ── */
.loop-cta-overlay {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 960px;
  margin: 0 auto -460px; /* Raised by another 180px to pull ribbons directly behind CTA */
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loop-cta-title {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 960px;
  white-space: nowrap;
  background: linear-gradient(90deg, #8142FF 0%, #ec4899 50%, #f97316 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: titleGlowCta 3.5s ease-in-out infinite alternate;
  will-change: filter;
}

@keyframes titleGlowCta {
  0% {
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.35)) drop-shadow(0 0 20px rgba(129, 66, 255, 0.2));
  }
  100% {
    filter: drop-shadow(0 0 26px rgba(236, 72, 153, 0.65)) drop-shadow(0 0 45px rgba(249, 115, 22, 0.45));
  }
}

.loop-cta-desc {
  font-size: 20px;
  color: #FFFFFF;
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

/* ── Circle Arrow Scroll Button (72x72px, border: 2px solid #fff, Violet Glow) ── */
.loop-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: rgba(129, 66, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  cursor: pointer;
  margin-top: 36px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
  box-shadow: 0 8px 24px rgba(129, 66, 255, 0.45), 0 0 20px rgba(129, 66, 255, 0.3);
  z-index: 7;
}

.loop-arrow-btn:hover {
  transform: translateY(4px) scale(1.06);
  background: rgba(129, 66, 255, 0.25);
  border-color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(129, 66, 255, 0.65), 0 0 28px rgba(129, 66, 255, 0.45);
}

.loop-arrow-btn:active {
  transform: translateY(7px) scale(0.97);
}

.loop-arrow-btn svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
}

/* ── Full Uncropped Phone with Lanyard (1258px tall) ── */
.full-phone-container {
  position: relative;
  width: 306px;
  height: 1258px;
  margin: 0 auto;
  z-index: 2;
}

.full-phone-ambient-glow {
  position: absolute;
  top: 920px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45) 0%, rgba(124, 58, 237, 0.28) 40%, rgba(79, 70, 229, 0.12) 65%, transparent 75%);
  filter: blur(55px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* ── Duplicate Hero Block directly below the full phone ── */
.loop-hero-duplicate {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
}

/* ── Responsive Overrides ── */
/* ── RESPONSIVE DESIGN: TABLET & MOBILE ── */

/* ── Tablet View (max-width: 992px) ── */
@media (max-width: 992px) {
  .hero-title {
    font-size: 42px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-phone-stage {
    width: 280px;
    height: 310px;
  }
  .hero-phone-canvas {
    width: 280px;
    height: 1151px;
  }
  .full-phone-container {
    width: 280px;
    height: 1151px;
  }
  .hero-phone-video-screen {
    width: 254px;
    height: 549px;
    bottom: 11px;
    border-radius: 30px;
  }

  /* 5 Steps Showcase: Vertical Flow (One video + text per screen) */
  .showcase-scroll-track {
    height: auto;
    position: static;
  }
  .showcase-sticky-stage {
    position: static;
    height: auto;
    padding: 60px 20px;
  }
  .showcase-viewport {
    display: flex;
    flex-direction: column;
    gap: 90px;
    height: auto;
    max-height: none;
    width: 100%;
  }
  .showcase-slide {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    padding: 24px 0;
    width: 100%;
  }
  .showcase-slide-inner {
    flex-direction: column !important;
    text-align: center;
    gap: 28px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .showcase-media-col {
    transform: none !important;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .showcase-content-col {
    transform: none !important;
    width: 100%;
    max-width: 460px;
    text-align: center;
    align-items: center;
  }
  .showcase-video-card {
    width: 350px;
    height: 440px;
    border-width: 9px;
  }
  .showcase-slide-ambient-glow {
    opacity: 0.55 !important;
    transform: translate(-50%, -50%) scale(1) !important;
    width: 500px;
    height: 500px;
  }
  .showcase-title {
    font-size: 32px;
  }
  .showcase-desc {
    font-size: 17px;
  }
  
  /* Outro */
  .loop-cta-title {
    font-size: 42px;
    white-space: normal;
  }
  .loop-cta-overlay {
    margin-bottom: -320px;
  }
}

/* ── Mobile View (max-width: 768px) ── */
@media (max-width: 768px) {
  .hero-section {
    padding: 0 16px 40px;
  }
  .hero-phone-stage {
    width: 250px;
    height: 275px;
  }
  .hero-phone-canvas {
    width: 250px;
    height: 1028px;
  }
  .hero-phone-video-screen {
    width: 227px;
    height: 490px;
    bottom: 10px;
    border-radius: 27px;
  }
  .full-phone-container {
    width: 250px;
    height: 1028px;
  }

  /* Slot Builder Compact */
  .hero-slot-spacer {
    min-height: 140px;
    margin: 4px 0 10px;
  }
  .slot-builder-track {
    padding: 6px 10px;
    gap: 6px;
    border-radius: 14px;
    min-height: 48px;
  }
  .slot-pill-item {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 8px;
  }
  .slot-pill-icon {
    font-size: 11px;
  }
  .slot-pill-text {
    font-size: 11.5px;
  }
  .slot-add-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 11.5px;
    border-radius: 8px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -0.6px;
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 32px;
  }
  .hero-actions-row {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 16px;
  }
  .btn-shimmer, .btn-appstore-img {
    width: 220px !important;
    height: 54px !important;
    font-size: 18px !important;
    border-radius: 12px !important;
  }
  .appstore-badge-img {
    width: 220px !important;
    height: 54px !important;
    border-radius: 12px !important;
  }

  /* 5 Steps Showcase (1 Step per screen view) */
  .showcase-sticky-stage {
    padding: 30px 16px;
  }
  .showcase-viewport {
    gap: 80px;
  }
  .showcase-slide {
    min-height: calc(100vh - 60px);
    padding: 16px 0;
  }
  .showcase-slide-inner {
    gap: 24px;
    max-width: 100%;
  }
  .showcase-video-card {
    width: min(330px, 88vw);
    height: 410px;
    border-width: 8px;
    border-radius: 22px;
  }
  .showcase-slide-ambient-glow {
    width: 400px;
    height: 400px;
    filter: blur(65px);
  }
  .showcase-tag {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .showcase-title {
    font-size: 38px;
    line-height: 1.18;
    margin-bottom: 12px;
  }
  .showcase-desc {
    font-size: 20px;
    line-height: 1.5;
  }

  /* Outro & Infinite Loop */
  .loop-outro-section {
    padding: 60px 16px 60vh;
  }
  .loop-cta-overlay {
    margin-bottom: -260px;
  }
  .loop-cta-title {
    font-size: 44px;
    white-space: normal;
    line-height: 1.18;
    margin-bottom: 16px;
  }
  .loop-cta-desc {
    font-size: 21px;
    line-height: 1.5;
  }
  .loop-arrow-btn {
    width: 64px;
    height: 64px;
    margin-top: 24px;
  }
  .loop-arrow-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* ── Small Mobile View (max-width: 480px) ── */
@media (max-width: 480px) {
  .hero-title {
    font-size: 40px;
    line-height: 1.16;
  }
  .hero-description {
    font-size: 20px;
    line-height: 1.48;
  }
  .hero-actions-row {
    flex-direction: column !important;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .btn-shimmer, .btn-appstore-img {
    width: 220px !important;
    height: 54px !important;
    border-radius: 12px !important;
  }
  .appstore-badge-img {
    width: 220px !important;
    height: 54px !important;
    border-radius: 12px !important;
  }
  .showcase-video-card {
    width: min(300px, 90vw);
    height: 375px;
  }
  .showcase-title {
    font-size: 32px;
    line-height: 1.2;
  }
  .showcase-desc {
    font-size: 18px;
    line-height: 1.48;
  }
  .loop-cta-title {
    font-size: 36px;
    line-height: 1.2;
  }
  .loop-cta-desc {
    font-size: 18px;
    line-height: 1.48;
  }
}
