/* ========================================
   POLAROID BACKGROUND IMAGES
   ======================================== */
.polaroid-bg {
  position: absolute;
  width: 200px;
  background: white;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform-origin: center;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.polaroid-bg img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.polaroid-bg-caption {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  text-align: center;
  padding: 0.5rem 0 0;
  color: #666;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: max(32px, var(--safe-area-inset-bottom));
  right: max(32px, var(--safe-area-inset-right));
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.back-to-top:hover {
  background: var(--color-dark);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:active {
  transform: scale(0.95) translateY(0);
}

.back-to-top [data-lucide] {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }

  .back-to-top [data-lucide] {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
  position: fixed;
  top: max(24px, var(--safe-area-inset-top));
  right: max(24px, var(--safe-area-inset-right));
  z-index: 9999;
  transform: translateX(420px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
  color: white;
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 360px;
  max-width: 420px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.toast.error .toast-content {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toast-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.toast-icon [data-lucide] {
  width: 24px;
  height: 24px;
  color: white;
}

.toast-text {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
  color: white;
}

.toast-message {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.toast-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.toast-close [data-lucide] {
  width: 18px;
  height: 18px;
  color: white;
}

/* Toast animations */
@keyframes toast-progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.toast-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 16px 16px;
}

.toast.show .toast-content::after {
  animation: toast-progress 5s linear forwards;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .toast {
    top: 16px;
    right: 16px;
    left: 16px;
    transform: translateY(-120px);
  }
  
  .toast.show {
    transform: translateY(0);
  }
  
  .toast-content {
    min-width: auto;
    max-width: none;
    padding: 16px;
    gap: 12px;
  }
  
  .toast-icon {
    width: 40px;
    height: 40px;
  }
  
  .toast-icon [data-lucide] {
    width: 20px;
    height: 20px;
  }
  
  .toast-title {
    font-size: 15px;
  }
  
  .toast-message {
    font-size: 13px;
  }
}

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

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --color-dark: #1a1a1a;
  --color-white: #ffffff;
  --color-gray-100: #f5f5f5;
  --color-gray-200: #e5e5e5;
  --color-gray-300: #d4d4d4;
  --color-gray-400: #a3a3a3;
  --color-gray-500: #737373;
  --color-gray-600: #525252;
  --color-gray-700: #404040;
  --color-accent: #7C3AED;
  --color-accent-light: #A78BFA;
  --radius-full: 9999px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --shadow-card: 0 4px 40px rgba(0,0,0,0.06);
  --container-max: 1200px;
  --container-px: 40px;
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: #f5f3ff;
  overflow-x: hidden;
  padding-left: var(--safe-area-inset-left);
  padding-right: var(--safe-area-inset-right);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

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

/* ========================================
   AFFIRMATION WORDS
   ======================================== */
.affirmation {
  position: fixed;
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5) rotate(-10deg);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-shadow: 2px 2px 4px rgba(124, 58, 237, 0.2);
  white-space: nowrap;
}

.affirmation.show {
  opacity: 0.6;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

/* ========================================
   SHARED CONTAINER
   ======================================== */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--container-px), var(--safe-area-inset-left));
  padding-right: max(var(--container-px), var(--safe-area-inset-right));
  width: 100%;
}


/* ========================================
   HEADER
   ======================================== */
.header {
  position: relative;
  z-index: 100;
  padding: 24px 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
}

.header.is-open {
  z-index: 1001;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--color-dark);
  white-space: nowrap;
}

.logo-icon {
  height: 80px;
  object-fit: contain;
  display: block;
}

/* Nav container */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray-700);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--color-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-accent);
  border-radius: var(--radius-full);
  margin-left: 6px;
}

.nav-link--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-link--disabled:hover {
  color: inherit;
}

.nav-link--disabled::after {
  display: none;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--color-gray-100);
  border-radius: 12px;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: var(--color-gray-200);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.2s;
}

.header.is-open .nav-toggle-bars {
  display: none;
}

.nav-toggle-close {
  display: none;
  width: 24px;
  height: 24px;
  color: var(--color-dark);
}

.header.is-open .nav-toggle-close {
  display: block;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
  background: linear-gradient(
    135deg,
    #f5f3ff 0%,
    #ede9fe 15%,
    #e8e0fd 30%,
    #ecdcf9 45%,
    #f3d9f4 55%,
    #f8dbe8 65%,
    #fce4db 78%,
    #fef0e4 90%,
    #fef7ed 100%
  );
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
  padding-top: 80px;
  padding-bottom: 160px;
  min-width: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 40%, #C084FC 70%, #E879F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-gray-600);
  max-width: 520px;
  margin-bottom: 36px;
  overflow-wrap: break-word;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-platforms {
  font-size: 13px;
  color: var(--color-gray-500);
  letter-spacing: 0.2px;
  margin-bottom: 32px;
}

.hero-platforms strong {
  color: var(--color-gray-700);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn [data-lucide] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-dark) 0%, #404040 100%);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #404040 0%, var(--color-dark) 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-dark);
  border: 2px solid var(--color-gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
  background: var(--color-gray-100);
  border-color: var(--color-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ========================================
   FLOATING DECORATIONS
   ======================================== */
.confetti {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  opacity: 0.75;
  animation: balloonFloat 6s ease-in-out infinite;
}

.confetti img {
  display: block;
  filter: drop-shadow(0 4px 8px rgba(192, 132, 252, 0.25));
}

/* Balloon 1 — top-left area */
.confetti-balloon-1 {
  top: 8%;
  left: 3%;
  --r: -15deg;
  animation-delay: 0s;
  animation-duration: 7s;
}

/* Balloon 2 — upper-center-left */
.confetti-balloon-2 {
  top: 18%;
  left: 28%;
  --r: 10deg;
  animation-delay: 1.2s;
  animation-duration: 5.5s;
}

/* Balloon 3 — upper-center */
.confetti-balloon-3 {
  top: 5%;
  left: 48%;
  --r: -8deg;
  animation-delay: 2.4s;
  animation-duration: 6.5s;
}

/* Balloon 4 — mid-left */
.confetti-balloon-4 {
  top: 52%;
  left: 1%;
  --r: 18deg;
  animation-delay: 0.7s;
  animation-duration: 8s;
}

/* Balloon 5 — mid-center */
.confetti-balloon-5 {
  top: 60%;
  left: 35%;
  --r: -6deg;
  animation-delay: 1.8s;
  animation-duration: 6s;
}

/* Balloon 6 — top-right corner */
.confetti-balloon-6 {
  top: 10%;
  right: 3%;
  --r: 22deg;
  animation-delay: 3s;
  animation-duration: 5s;
}

/* Balloon 7 — right-center */
.confetti-balloon-7 {
  top: 42%;
  right: 2%;
  --r: -20deg;
  animation-delay: 0.4s;
  animation-duration: 7.5s;
}

/* Balloon 8 — bottom-right area */
.confetti-balloon-8 {
  top: 75%;
  right: 8%;
  --r: 12deg;
  animation-delay: 2s;
  animation-duration: 9s;
}

@keyframes balloonFloat {
  0%   { transform: translateY(0px)   rotate(var(--r, 0deg)) scale(1); }
  25%  { transform: translateY(-10px) rotate(calc(var(--r, 0deg) + 4deg)) scale(1.03); }
  50%  { transform: translateY(-18px) rotate(calc(var(--r, 0deg) - 3deg)) scale(1); }
  75%  { transform: translateY(-8px)  rotate(calc(var(--r, 0deg) + 2deg)) scale(0.98); }
  100% { transform: translateY(0px)   rotate(var(--r, 0deg)) scale(1); }
}

/* ========================================
   FEATURES CARD
   ======================================== */
.features-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: 48px 48px 44px;
  box-shadow: var(--shadow-card);
  z-index: 10;
  text-align: center;
  margin-top: -40px;
  margin-bottom: 35px;
  opacity: 0.9;
}

.features-confetti {
  position: absolute;
  top: 16px;
  left: 32px;
  pointer-events: none;
  opacity: 0.7;
}

.features-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.features-subtitle {
  font-size: 15px;
  color: var(--color-gray-500);
  margin-bottom: 32px;
}

/* Marquee slideshow */
.features-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.features-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: marquee-slide 24s linear infinite;
}

.features-marquee:hover .features-track {
  animation-play-state: paused;
}

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px 12px 12px;
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  white-space: nowrap;
  user-select: none;
  cursor: default;
  transition: transform 0.2s;
}

.feature-badge:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-lucide {
  width: 20px;
  height: 20px;
}

/* Feature icon colors */
.feature-lucide--matching { color: #E11D48; }
.feature-lucide--ai { color: #7C3AED; }
.feature-lucide--mood { color: #059669; }
.feature-lucide--anonymous { color: #2563EB; }
.feature-lucide--support { color: #D97706; }
.feature-lucide--mobile { color: #0891B2; }

.feature-icon--matching { background: #FFE4E6; }
.feature-icon--ai { background: #EDE9FE; }
.feature-icon--mood { background: #D1FAE5; }
.feature-icon--anonymous { background: #DBEAFE; }
.feature-icon--support { background: #FEF3C7; }
.feature-icon--mobile { background: #CFFAFE; }

/* Feature badge backgrounds to match icons */
.feature-badge:has(.feature-icon--matching) {
  background: #FFF1F2;
}

.feature-badge:has(.feature-icon--ai) {
  background: #F5F3FF;
}

.feature-badge:has(.feature-icon--mood) {
  background: #ECFDF5;
}

.feature-badge:has(.feature-icon--anonymous) {
  background: #EFF6FF;
}

.feature-badge:has(.feature-icon--support) {
  background: #FFFBEB;
}

.feature-badge:has(.feature-icon--mobile) {
  background: #ECFEFF;
}

/* ========================================
   FEATURES SLIDER
   ======================================== */
.slider-section {
  padding: 100px 0 120px;
  background: #f5f3ff;
}

.slider-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

/* ---------- Left sidebar ---------- */
.slider-sidebar {
  flex: 0 0 240px;
}

.slider-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.slider-heading {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 40px;
}

.slider-heading-gradient {
  background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 40%, #E879F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slider-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-menu-item {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-gray-500);
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.3s, font-weight 0.3s, transform 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  user-select: none;
}

.slider-menu-item:hover {
  color: var(--color-gray-700);
}

.slider-menu-item.active {
  color: var(--color-dark);
  font-weight: 700;
}

.slider-menu-item.active::after {
  content: '↗';
  font-size: 14px;
  color: var(--color-dark);
  margin-left: 2px;
}

/* ---------- Right card ---------- */
.slider-card-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.slider-card-viewport {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 255px;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
  opacity: 0;
  transform: scale(0.98) translateY(6px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  pointer-events: none;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

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

/* Background image layer */
.slide-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Color overlay */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-bg);
  opacity: 0.78;
  z-index: 1;
}

/* Slide header — positioned top-right with background */
.slide-header {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  background: #f5f3ff;
  padding: 15px 30px 30px 35px;
  border-bottom-left-radius: 28px;
  text-align: right;
}

.slide-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: 4px;
}

.slide-label::before {
  content: '✦ ';
  color: #FBBF24;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-dark);
}

.slide-title-accent {
  color: var(--color-accent);
}

/* Slide body */
.slide-body {
  display: flex;
  align-items: flex-start;
  flex: 1;
  padding: 12px 0;
  position: relative;
  z-index: 3;
}

.slide-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slide-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  overflow-wrap: break-word;
  min-width: 0;
}

.slide-features li [data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.5);
}


/* Slide decorative elements */
.slide-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
  z-index: 3;
}

.slide-decor-1 {
  top: 56%;
  left: 8%;
}

.slide-decor-2 {
  top: 24%;
  left: 32%;
}

/* Progress bar */
.slider-progress {
  height: 3px;
  background: var(--color-gray-200);
  border-radius: 3px;
  margin-top: 20px;
  overflow: hidden;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 3px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
  :root {
    --container-px: 24px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .features-card {
    padding: 36px 24px 32px;
  }

  .slider-section {
    padding: 60px 0 80px;
  }

  .slider-layout {
    gap: 32px;
  }

  .slider-sidebar {
    flex: 0 0 200px;
  }

  .slider-heading {
    font-size: 32px;
  }

  .slide {
    padding: 32px 28px;
  }

  .slide-title {
    font-size: 28px;
  }

  .slider-card-viewport {
    min-height: 520px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-pill {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .header.is-open .nav-toggle {
    z-index: 1002;
    position: relative;
  }

  .header.is-open .nav-pill {
    opacity: 1;
    visibility: visible;
  }

  .nav-pill .nav-link {
    font-size: 18px;
    padding: 12px 0;
  }

  .logo-icon {
    height: 56px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  /* Fewer balloons on tablet to reduce clutter */
  .confetti-balloon-2,
  .confetti-balloon-5,
  .confetti-balloon-7 {
    opacity: 0.35;
  }

  .confetti-balloon-1 img,
  .confetti-balloon-3 img,
  .confetti-balloon-6 img {
    max-width: 40px;
    max-height: 40px;
  }

  /* Smaller polaroids in hero on tablet */
  .hero .polaroid-bg {
    width: 150px;
    padding: 10px;
  }

  .hero .polaroid-bg img {
    height: 130px;
  }

  .hero .polaroid-bg-caption {
    font-size: 1.05rem;
  }

  .features-title {
    font-size: 26px;
  }

  .features-track {
    gap: 8px;
  }

  .feature-badge {
    padding: 10px 18px 10px 10px;
    font-size: 13px;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
  }

  .feature-lucide {
    width: 16px;
    height: 16px;
  }

  .slider-layout {
    flex-direction: column;
    gap: 24px;
  }

  .slider-sidebar {
    flex: none;
    width: 100%;
  }

  .slider-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }

  .slider-menu-item {
    font-size: 13px;
    padding: 10px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: all 0.2s;
  }

  .slider-menu-item:hover {
    background: rgba(255, 255, 255, 0.8);
  }

  .slider-menu-item.active {
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .slider-menu-item.active::after {
    display: none;
  }

  .slider-heading {
    font-size: 30px;
    margin-bottom: 24px;
  }

  .slide-features li {
    font-size: 14px;
  }

  .slider-card-viewport {
    min-height: 480px;
  }

  .slide {
    padding: 24px 20px 60px;
  }

  .slide-title {
    font-size: 22px;
  }

  .slide-header {
    padding: 14px 20px 20px 24px;
    border-bottom-left-radius: 24px;
  }

  .slide-body {
    padding-top: 80px;
  }

  .slider-progress {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --container-px: 16px;
  }

  .affirmation {
    display: none;
  }

  .logo-icon {
    height: 48px;
  }

  .hero {
    padding-top: 90px;
  }

  .hero-content {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 15px;
    min-height: 44px;
  }

  .hero-ctas {
    width: 100%;
    gap: 12px;
  }

  .hero-ctas .btn {
    flex: 1;
    min-width: 0;
  }

  /* Hide most balloons on small screens for performance and clarity */
  .confetti-balloon-1,
  .confetti-balloon-2,
  .confetti-balloon-3,
  .confetti-balloon-5,
  .confetti-balloon-6,
  .confetti-balloon-7 {
    display: none;
  }

  .confetti-balloon-4,
  .confetti-balloon-8 {
    opacity: 0.5;
  }

  .confetti-balloon-4 img,
  .confetti-balloon-8 img {
    max-width: 28px;
    max-height: 28px;
  }

  /* Scale down polaroids in hero so they don’t cover content */
  .hero .polaroid-bg {
    width: 120px;
    padding: 8px;
  }

  .hero .polaroid-bg img {
    height: 100px;
  }

  .hero .polaroid-bg-caption {
    font-size: 1rem;
  }

  .features-card {
    padding: 28px 16px 24px;
  }

  .features-title {
    font-size: 22px;
  }

  .slider-section {
    padding: 48px 0 60px;
  }

  .slider-heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .slider-menu {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .slider-menu-item {
    font-size: 14px;
    padding: 12px 16px;
  }

  .slide {
    padding: 20px 16px 50px;
  }

  .slide-title {
    font-size: 20px;
  }

  .slide-header {
    padding: 12px 16px 18px 20px;
    border-bottom-left-radius: 20px;
  }

  .slide-body {
    padding-top: 70px;
  }

  .slide-features li {
    font-size: 13px;
    gap: 8px;
  }

  .slider-card-viewport {
    min-height: 420px;
  }
}

/* ========================================
   VIDEO EXPLAINER SECTION
   ======================================== */
.video-explainer-section {
  padding: 100px 0 120px;
  background: var(--color-white);
  overflow: hidden;
}

.video-explainer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.video-explainer-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.video-explainer-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.video-explainer-title-accent {
  background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 40%, #E879F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-explainer-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-gray-600);
  margin-bottom: 16px;
}

.video-explainer-text:last-of-type {
  margin-bottom: 0;
}

.video-explainer-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-explainer-parallax {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.video-explainer-video-wrap {
  /* border-radius: var(--radius-2xl); */
  overflow: hidden;
  /* box-shadow: 0 24px 60px rgba(124, 58, 237, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08); */
  aspect-ratio: 9 / 16;
  max-height: 520px;
}

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

@media (max-width: 1024px) {
  .video-explainer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .video-explainer-content {
    order: 1;
    text-align: center;
  }
  .video-explainer-media {
    order: 0;
  }
  .video-explainer-title {
    font-size: 32px;
  }
  .video-explainer-video-wrap {
    max-height: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .video-explainer-section {
    padding: 60px 0 80px;
  }
  .video-explainer-inner {
    gap: 40px;
  }
  .video-explainer-title {
    font-size: 28px;
  }
  .video-explainer-text {
    font-size: 16px;
  }
  .video-explainer-video-wrap {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .video-explainer-section {
    padding: 48px 0 60px;
  }
  .video-explainer-title {
    font-size: 24px;
  }
}

/* ========================================
   ONBOARDING SECTION
   ======================================== */
.onboarding-section {
  padding: 80px 0;
  background: var(--color-white);
}

.onboarding-header {
  text-align: center;
  margin-bottom: 48px;
}

.onboarding-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.onboarding-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.onboarding-subtitle {
  font-size: 15px;
  color: var(--color-gray-500);
  line-height: 1.5;
}

/* Form styles */
.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
}

.form-input {
  padding: 12px 16px;
  min-height: 44px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-gray-100);
  border: 1.5px solid transparent;
  border-radius: 12px;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.form-input::placeholder {
  color: var(--color-gray-400);
}

/* Option buttons */
.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-btn {
  flex: 1;
  min-width: 110px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
  background: var(--color-gray-100);
  border: 1.5px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.option-btn [data-lucide] {
  width: 16px;
  height: 16px;
}

.option-btn:hover {
  background: var(--color-white);
  border-color: var(--color-gray-300);
}

.option-btn.active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

/* Join Waitlist button - elegant style (Uiverse) with project colors */
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-dark);
  border: 2px solid var(--color-gray-700);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.4s ease;
  outline: none;
  position: relative;
  overflow: hidden;
  align-self: center;
}
.form-submit [data-lucide] {
  width: 18px;
  height: 18px;
}
.form-submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: scale(0);
  transition: transform 0.5s ease;
}
.form-submit:hover::after {
  transform: scale(4);
}
.form-submit:hover {
  border-color: var(--color-gray-600);
  background: var(--color-gray-700);
}
.form-submit:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .onboarding-section {
    padding: 60px 0;
  }

  .onboarding-header {
    margin-bottom: 40px;
  }

  .onboarding-title {
    font-size: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .option-btn {
    min-width: 100px;
  }

  .form-submit {
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  .onboarding-section {
    padding: 48px 0;
  }

  .onboarding-header {
    margin-bottom: 32px;
  }

  .onboarding-title {
    font-size: 28px;
  }

  .option-buttons {
    gap: 6px;
  }

  .option-btn {
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
    font-size: 12px;
    padding: 10px 12px;
  }

  .option-btn [data-lucide] {
    width: 14px;
    height: 14px;
  }

  .form-submit {
    font-size: 14px;
    padding: 13px 28px;
  }
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */
.download-section {
  position: relative;
  padding: 130px 0;
  background: linear-gradient(
    135deg,
    #f5f3ff 0%,
    #ede9fe 15%,
    #e8e0fd 30%,
    #ecdcf9 45%,
    #f3d9f4 55%,
    #f8dbe8 65%,
    #fce4db 78%,
    #fef0e4 90%,
    #fef7ed 100%
  );
}

.download-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.download-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.download-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.download-title-gradient {
  background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 40%, #C084FC 70%, #E879F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-subtitle {
  font-size: 16px;
  color: var(--color-gray-600);
  margin-bottom: 32px;
}

.download-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-link {
  display: block;
  transition: transform 0.2s, opacity 0.2s;
}

.badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.badge-link--disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
  filter: grayscale(0.7);
}

.badge-link--disabled:hover {
  transform: none;
  opacity: 0.5;
}

.store-badge {
  height: 54px;
  width: auto;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .download-section {
    padding: 60px 0;
  }

  .download-title {
    font-size: 34px;
  }

  .download-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .store-badge {
    height: 48px;
  }
}

@media (max-width: 480px) {
  .download-section {
    padding: 48px 0;
  }

  .download-title {
    font-size: 28px;
  }

  .download-badges {
    gap: 12px;
  }

  .store-badge {
    height: 44px;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  position: relative;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 32px;
  overflow: hidden;
  z-index: 1;
}

/* Hide polaroids in footer */
.footer .polaroid-bg {
  display: none !important;
}

/* Hide polaroids on mobile — they overlap content */
@media (max-width: 768px) {
  .polaroid-bg {
    display: none !important;
  }
}

.footer-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-logo {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--color-white);
  text-decoration: none;
}

.footer-logo-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
}

.footer-tagline {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 0;
  border-top: none;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  margin-left: 0.5em;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--color-white);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-link [data-lucide] {
  width: 20px;
  height: 20px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Responsive Footer */
@media (max-width: 640px) {
  .footer {
    padding: 48px 0 24px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-right {
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer-copyright {
    font-size: 13px;
  }

  .footer-logo-icon {
    width: 80px;
    height: 80px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }
}

/* ========================================
   EXTRA SMALL SCREENS (e.g. 320–360px)
   ======================================== */
@media (max-width: 360px) {
  :root {
    --container-px: 12px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .features-title {
    font-size: 20px;
  }

  .feature-badge {
    padding: 8px 14px 8px 8px;
    font-size: 12px;
  }

  .feature-icon {
    width: 32px;
    height: 32px;
  }

  .slider-heading {
    font-size: 22px;
  }

  .slide-title {
    font-size: 18px;
  }

  .onboarding-title {
    font-size: 24px;
  }

  .option-btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .download-title {
    font-size: 24px;
  }

  .store-badge {
    height: 40px;
  }

  .footer-logo-icon {
    width: 52px;
    height: 52px;
  }
}
