/* ==========================================================================
   Furever Rainbow â€” Brand Design System & Liquid Glass Stylesheet
   ========================================================================== */

:root {
  /* Brand Standardized Color System (Anchored by Logo & Kickstarter Button) */
  /* 1. Primary Action & Renewal (Kickstarter Emerald Green) */
  --primary-green: #028858;
  --primary-green-light: #03A068;
  --primary-green-dark: #015738;
  --primary-green-glow: rgba(2, 136, 88, 0.35);

  /* 2. Warmth, Golden Memories & Comfort (Honey Gold from Logo & Golden Retriever) */
  --honey-gold: #D99B4B;
  --honey-gold-light: #E6BA6E;
  --honey-gold-dark: #B87A30;
  --honey-gold-glow: rgba(217, 155, 75, 0.28);

  /* 3. Soft Sky Mist & Celestial Pods (Sky Mist from Logo Pod) */
  --sky-mist: #E4F1FA;
  --sky-mist-light: #EFF7FD;
  --sky-mist-dark: #D4E8F7;
  --sky-mist-glow: rgba(228, 241, 250, 0.6);

  /* Backward Compatibility Aliases */
  --sage-mist: var(--primary-green);
  --sage-mist-light: var(--primary-green-light);
  --sage-mist-dark: var(--primary-green-dark);
  --sage-mist-glow: var(--primary-green-glow);
  --soft-sage: var(--primary-green);
  --soft-sage-dark: var(--primary-green-dark);

  /* 4. Warm Neutrals & Gentle Accents */
  --warm-taupe: #D4C4B5;      /* Secondary: Warmth, safety, cards, dividers */
  --warm-taupe-light: #E5DACF;
  --warm-taupe-dark: #B8A695;
  --warm-taupe-alpha: rgba(212, 196, 181, 0.35);

  --dusty-rose: #C4A4A8;      /* Accent: Gentle love, comfort, highlights */
  --dusty-rose-light: #D9BFC2;
  --dusty-rose-dark: #A9858A;
  --dusty-rose-glow: rgba(196, 164, 168, 0.3);

  --warm-charcoal: #4A4A48;   /* Neutral: Body text, secondary UI, icons */
  --cream: #F5F0EB;           /* Light: Soft safe primary background */
  --cream-pure: #FAF7F2;
  --deep-charcoal: #2C2C2A;   /* Dark: Headlines, logo, emphasis */

  /* Liquid Glass Gradients & Overlays */
  --glass-bg: rgba(245, 240, 235, 0.65);
  --glass-bg-card: rgba(255, 255, 255, 0.45);
  --glass-bg-card-hover: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-border-subtle: rgba(212, 196, 181, 0.45);
  --glass-shadow: 0 16px 40px -8px rgba(74, 74, 72, 0.08), 0 0 1px 1px rgba(255, 255, 255, 0.7) inset;
  --glass-shadow-lg: 0 24px 60px -12px rgba(44, 44, 42, 0.12), 0 0 1px 1.5px rgba(255, 255, 255, 0.8) inset;
  --glass-glow: 0 0 35px rgba(2, 136, 88, 0.22);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Dimensions & Spacing */
  --nav-height: 72px;
  --container-max: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --spring-easing: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --smooth-easing: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto !important; /* Handled smoothly by Lenis */
  background-color: #e2e8f0;
  color: var(--warm-charcoal);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: #cbd5e1;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.65;
  font-weight: 400;
}

/* Atmospheric Celestial Mountain Cloud Sea Background across entire website */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0.10) 40%, rgba(15, 23, 42, 0.24) 100%),
              url('../assets/clouds/sunbeams_clouds.jpg') center top / cover no-repeat;
  will-change: transform;
  transform: translateZ(0);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--deep-charcoal);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
  color: var(--warm-charcoal);
  font-size: 1.0625rem;
}

p.lead {
  font-size: clamp(1.15rem, 1.75vw, 1.35rem);
  font-weight: 300;
  color: var(--warm-charcoal);
  line-height: 1.7;
}

.text-sage { color: var(--sage-mist); }
.text-rose { color: var(--dusty-rose); }
.text-taupe { color: var(--warm-taupe-dark); }
.text-deep { color: var(--deep-charcoal); }
.text-italic { font-style: italic; }

/* Container & Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.section-wrapper {
  position: relative;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  z-index: 2;
}

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(74, 74, 72, 0.04);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-green);
  box-shadow: 0 0 0 0 var(--primary-green);
  animation: badgePulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.badge-pill.gold .pulse-dot {
  background-color: var(--honey-gold);
  box-shadow: 0 0 0 0 var(--honey-gold);
}

.badge-pill.rose .pulse-dot {
  background-color: var(--dusty-rose);
  box-shadow: 0 0 0 0 var(--dusty-rose);
}

@keyframes badgePulse {
  to {
    box-shadow: 0 0 0 8px rgba(2, 136, 88, 0);
  }
}

/* Liquid Glass Cards & Surfaces */
.glass-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--glass-shadow);
  transition: all 0.4s var(--smooth-easing);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--glass-bg-card-hover);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: var(--glass-shadow-lg);
  transform: translateY(-4px);
}

/* Buttons & iOS Liquid Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.35s var(--smooth-easing);
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--primary-green-glow), 0 1px 2px rgba(255, 255, 255, 0.3) inset;
}

.btn-primary:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(1, 87, 56, 0.45), 0 1px 2px rgba(255, 255, 255, 0.4) inset;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--glass-border);
  color: var(--deep-charcoal);
  box-shadow: 0 6px 18px rgba(74, 74, 72, 0.05);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--warm-taupe);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(74, 74, 72, 0.08);
}

.btn-rose {
  background: var(--dusty-rose);
  color: #FDFBF8;
  box-shadow: 0 8px 24px var(--dusty-rose-glow);
}

.btn-rose:hover {
  background: var(--dusty-rose-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(169, 133, 138, 0.35);
}

/* ==========================================================================
   1. Portal Loading Screen (Wormhole -> Circular Portal -> Shockwave Open)
   ========================================================================== */
.portal-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #030712;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s ease, visibility 0.85s;
}

.portal-loader-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.12) 0%, rgba(2, 6, 23, 0.25) 50%, rgba(3, 7, 18, 0.65) 100%),
              url('../assets/clouds/rainbow_bridge_tunnel.jpg?v=1') center center / cover no-repeat;
  z-index: 1;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform;
  transform: scale(1);
  transition: filter 0.85s ease;
}

.portal-loader.opening {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(12px);
  pointer-events: none;
}

.portal-loader.hidden {
  display: none !important;
}

#portalLoaderCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

/* ==========================================================================
   Heavenly Golden Status Text (Pure Floating Words, No Pill Box)
   ========================================================================== */
@keyframes heavenlyShimmer {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(255, 230, 160, 0.7)) 
            drop-shadow(0 0 24px rgba(245, 190, 85, 0.45)) 
            drop-shadow(0 2px 14px rgba(0, 0, 0, 0.8));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 15px rgba(255, 245, 195, 0.9)) 
            drop-shadow(0 0 32px rgba(255, 205, 110, 0.65)) 
            drop-shadow(0 2px 14px rgba(0, 0, 0, 0.8));
  }
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(255, 230, 160, 0.7)) 
            drop-shadow(0 0 24px rgba(245, 190, 85, 0.45)) 
            drop-shadow(0 2px 14px rgba(0, 0, 0, 0.8));
  }
}

@keyframes heavenlyHaloPulse {
  0%, 100% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.portal-loader-content {
  position: absolute;
  bottom: clamp(65px, 12vh, 120px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 28px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  max-width: 92vw;
  width: auto;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ethereal Soft Ambient Golden Aura behind the words (feathered, no edges) */
.portal-loader-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 200%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 220, 130, 0.16) 0%,
    rgba(240, 180, 80, 0.07) 45%,
    rgba(0, 0, 0, 0.3) 75%,
    transparent 100%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
  animation: heavenlyHaloPulse 6s ease-in-out infinite;
}

.portal-loader.opening .portal-loader-content {
  opacity: 0;
  transform: translateX(-50%) translateY(16px) scale(0.96);
}

.portal-loader-status {
  font-family: var(--font-display), 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 0;
  text-align: center;
  
  /* Celestial Golden Shimmering Gradient */
  color: #FFF3D1;
  background: linear-gradient(
    135deg,
    #FFFFFF 0%,
    #FFF8E7 20%,
    #FFE5A3 45%,
    #F6CA65 65%,
    #FFDF88 85%,
    #FFFFFF 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  /* Multilayered Warm Golden Divine Bloom with Legibility Back-Shadow */
  filter: drop-shadow(0 0 14px rgba(255, 235, 160, 0.8))
          drop-shadow(0 0 32px rgba(245, 185, 80, 0.5))
          drop-shadow(0 3px 18px rgba(0, 0, 0, 0.88));
  animation: heavenlyShimmer 8s ease-in-out infinite;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

@media (max-width: 768px) {
  .portal-loader-content {
    bottom: calc(clamp(85px, 16vh, 145px) + env(safe-area-inset-bottom, 0px));
    padding: 12px 16px;
    max-width: 95vw;
  }
  
  .portal-loader-status {
    font-size: clamp(1.45rem, 5.5vw, 1.95rem);
    letter-spacing: 0.035em;
  }
}

@media (max-width: 480px) {
  .portal-loader-content {
    bottom: calc(clamp(100px, 20vh, 165px) + env(safe-area-inset-bottom, 0px));
    padding: 10px 12px;
  }
  
  .portal-loader-status {
    font-size: clamp(1.3rem, 5.8vw, 1.6rem);
    line-height: 1.35;
  }
}

/* Final Shockwave Flash Overlay */
.portal-shockwave-flash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 1) 0%, rgba(224, 242, 254, 0.9) 40%, rgba(255, 255, 255, 0) 80%);
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
}

.portal-shockwave-flash.flashing {
  opacity: 1;
}

@keyframes pulseLogo {
  0% { transform: scale(0.96); box-shadow: 0 6px 18px rgba(122, 158, 126, 0.15); }
  100% { transform: scale(1.04); box-shadow: 0 12px 28px rgba(196, 164, 168, 0.3); }
}

/* ==========================================================================
   2. Hero Section & GSAP 192-Frame Canvas Scrub
   ========================================================================== */
.hero-scroll-container {
  position: relative;
  width: 100%;
  height: 320vh; /* Scroll scrub track length */
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Soft vignetting over canvas to blend seamlessly with celestial cloud background */
.hero-canvas-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, rgba(224, 242, 254, 0.22) 60%, rgba(203, 213, 225, 0.65) 100%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 20%, transparent 80%, rgba(224, 242, 254, 0.65) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-content-layer {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
  pointer-events: auto;
}

.hero-text-card {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 20px 60px rgba(2, 132, 199, 0.08), 0 0 20px rgba(255, 255, 255, 0.5) inset;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: transform, opacity;
  contain: paint;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--warm-charcoal);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Interactive Butterfly Chase Trigger */
.butterfly-chase-btn {
  background: rgba(212, 196, 181, 0.65);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--deep-charcoal);
  cursor: pointer;
  position: relative;
  animation: butterflyHover 3.5s ease-in-out infinite;
}

.butterfly-chase-btn:hover {
  background: rgba(212, 196, 181, 0.95);
  transform: scale(1.04);
}

.butterfly-icon {
  display: inline-block;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

@keyframes butterflyHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-charcoal);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mouse-scroll-indicator {
  width: 22px;
  height: 36px;
  border-radius: 12px;
  border: 2px solid var(--warm-charcoal);
  position: relative;
}

.mouse-scroll-dot {
  width: 4px;
  height: 8px;
  background-color: var(--sage-mist);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseWheel 2s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* ==========================================================================
   4. Moving Portrait & Grief Section
   ========================================================================== */
.grief-section {
  position: relative;
  background: transparent;
}

.grief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.grief-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote-highlight {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.3;
  color: var(--deep-charcoal);
  border-left: 3px solid var(--dusty-rose);
  padding-left: 1.5rem;
  margin: 0.75rem 0;
  font-style: italic;
}

/* Harry Potter Moving Portrait 3D Frame */
.portrait-frame-wrapper {
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.portrait-frame {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(212, 196, 181, 0.7), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 70px rgba(44, 44, 42, 0.14), 0 0 1px 2px rgba(255, 255, 255, 0.9) inset;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.portrait-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #2C2C2A;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.portrait-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12) translate3d(0, 0, 0);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

.portrait-hologram-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(122, 158, 126, 0.2) 48%,
    rgba(196, 164, 168, 0.25) 52%,
    rgba(255, 255, 255, 0.1) 70%,
    transparent 100%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: shimmerHolo 7s ease-in-out infinite;
}

@keyframes shimmerHolo {
  0% { transform: translateX(-100%) translateY(-100%); }
  50% { transform: translateX(100%) translateY(100%); }
  100% { transform: translateX(-100%) translateY(-100%); }
}

.portrait-caption-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 44, 42, 0.88);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: #FAF7F2;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

/* ==========================================================================
   5. Interactive iPhone App Mockup & Simulation
   ========================================================================== */
.simulator-section {
  position: relative;
}

.simulator-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* Realistic iPhone 16 Pro Mockup Chassis */
.iphone-chassis {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9/19.5;
  background: #1E1E1D;
  border-radius: 52px;
  padding: 12px;
  box-shadow: 0 35px 80px rgba(44, 44, 42, 0.22), 0 0 0 1px #4A4A48, inset 0 0 0 2px #333;
  position: relative;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.iphone-chassis:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #232220;
  border-radius: 42px;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Dynamic Island (iPhone Camera Cutout) */
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.island-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
  border: 1px solid #222;
}

/* Screen Content Area */
.app-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.app-screen-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-overlay-header {
  position: absolute;
  top: 48px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-pet-tag {
  background: rgba(44, 44, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: #FFF;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-live-badge {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-mist);
}

/* App Bottom Floating Controls in Matching Rainbow Liquid Glass (Live Zoomies Pill) */
.app-controls-bar,
.app-controls-bar.transparent-liquid-glass {
  position: absolute !important;
  bottom: 16px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  min-width: 125px !important;
  max-width: calc(100% - 32px) !important;
  height: 42px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  z-index: 30 !important;
  border-radius: 21px !important;
  padding: 3px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  user-select: none !important;
  isolation: isolate !important;
  background: rgba(18, 20, 26, 0.72) !important;
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
}

.app-controls-bar.transparent-liquid-glass::before {
  border-radius: 22px !important;
  inset: -1px !important;
  padding: 1.2px !important;
  box-sizing: border-box !important;
}

.app-controls-bar.transparent-liquid-glass::after {
  border-radius: 23px !important;
  inset: -2px !important;
  filter: blur(8px) saturate(150%) !important;
  opacity: 0.75 !important;
}

.app-controls-bar .transparent-glass--bend {
  border-radius: 21px !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0) 100%) !important;
}

.app-controls-bar .transparent-glass--edge {
  border-radius: 21px !important;
  box-shadow: 
    inset 1px 1px 1.5px 0 rgba(255, 255, 255, 0.75),
    inset -1px -1px 1.5px 0 rgba(255, 255, 255, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.app-controls-inner {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.app-action-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  padding: 4px 10px;
  height: 32px;
  border-radius: 16px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.app-action-btn.active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.65),
    0 2px 8px rgba(0, 0, 0, 0.28);
  color: #ffffff;
}

.app-action-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseLiveDot 2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 0.8; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px #4ade80; }
}

.app-action-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
}

/* Interactive Simulator Controls (Right Column) */
.simulator-features-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.activity-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.activity-card:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateX(6px);
  border-color: var(--sage-mist);
}

.activity-card.active {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--sage-mist);
  box-shadow: 0 8px 25px var(--sage-mist-glow);
}

.activity-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(122, 158, 126, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.activity-card.rose .activity-icon {
  background: rgba(196, 164, 168, 0.2);
}

.activity-info h4 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.activity-info p {
  font-size: 0.875rem;
  color: var(--warm-charcoal);
  margin: 0;
}

/* ==========================================================================
   6. Phases Comparison (Phase 1 vs Phase 2)
   ========================================================================== */
.phases-section {
  position: relative;
}

.phases-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.phases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.phase-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--glass-shadow);
  position: relative;
}

.phase-card.phase-active {
  border-color: var(--sage-mist);
  background: rgba(255, 255, 255, 0.65);
}

.phase-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.phase-tag.p1 {
  background: rgba(122, 158, 126, 0.2);
  color: var(--sage-mist-dark);
}

.phase-tag.p2 {
  background: rgba(196, 164, 168, 0.25);
  color: var(--dusty-rose-dark);
}

.phase-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--warm-charcoal);
}

.phase-list-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(122, 158, 126, 0.2);
  color: var(--sage-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 3px;
}

.phase-card.phase-future .phase-list-icon {
  background: rgba(196, 164, 168, 0.25);
  color: var(--dusty-rose-dark);
}


/* ==========================================================================
   8. Kickstarter Exclusive Reward Tiers & Pricing
   ========================================================================== */
.pricing-section {
  position: relative;
}

.pricing-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

/* Category Groups */
.pricing-category-block {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.pricing-category-block + .pricing-category-block {
  border-top: 1px solid rgba(212, 196, 181, 0.4);
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.pricing-category-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.pricing-category-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  color: var(--deep-charcoal);
  margin: 0.75rem 0 0.5rem;
  line-height: 1.15;
}

.pricing-category-desc {
  font-size: 1rem;
  color: var(--warm-charcoal);
  line-height: 1.6;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  width: 100%;
}

.pricing-cards-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.tier-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.35s var(--spring-easing);
  box-sizing: border-box;
  width: 100%;
}

.tier-card.featured {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 240, 235, 0.85));
  border: 2px solid var(--primary-green);
  box-shadow: 0 25px 60px var(--primary-green-glow);
}

@media (hover: hover) and (pointer: fine) {
  .tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 65px rgba(44, 44, 42, 0.14);
  }
}

.tier-ribbon {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px var(--primary-green-glow);
  z-index: 2;
}

.tier-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--deep-charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  word-break: break-word;
}

.tier-desc {
  font-size: 0.95rem;
  color: var(--warm-charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.tier-price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 1.75rem;
}

.tier-price-current {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--deep-charcoal);
  line-height: 1;
}

.tier-price-original {
  font-size: 0.95rem;
  color: var(--warm-taupe-dark);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  font-weight: 500;
}

.tier-price-original .strikethrough {
  text-decoration: line-through;
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 0.85;
}

.tier-save-badge {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  background: rgba(2, 136, 88, 0.12);
  color: var(--primary-green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.tier-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
  padding: 0;
}

.tier-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--warm-charcoal);
}

.tier-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(2, 136, 88, 0.15);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.tier-card .btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 0.95rem;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* ==========================================================================
   9. The Butterfly & Scrolling Dog Chase (fureverrainbow.com Motion System)
   ========================================================================== */
/* The Meadow Butterfly (Butterfly 2 - Lightweight Wing Flap Animation) */
.scroll-butterfly {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 40px;
  z-index: 1001;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  cursor: url('../assets/cursor-pointer-32.png') 12 0,
          url('../assets/cursor-pointer.png') 24 0,
          pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  filter: drop-shadow(0 3px 14px rgba(230, 186, 110, 0.85));
  transition: opacity 0.4s ease, visibility 0.4s ease, filter 0.3s ease;
  will-change: transform, opacity;
}

.scroll-butterfly.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-butterfly:hover {
  filter: drop-shadow(0 4px 18px rgba(230, 186, 110, 1));
}

.butterfly-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.38s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.scroll-butterfly.face-left .butterfly-wrap {
  transform: scaleX(-1);
}

.scroll-butterfly-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  animation: butterflyFlutterGlide 0.52s ease-in-out infinite;
  will-change: transform;
}

/* Organic Butterfly Cadence: Snappy downstrokes with soft glide pauses */
@keyframes butterflyFlutterGlide {
  0% {
    transform: scaleX(1) scaleY(1) rotate(0deg);
  }
  20% {
    transform: scaleX(0.42) scaleY(1.04) rotate(2deg);
  }
  42% {
    transform: scaleX(0.92) scaleY(0.98) rotate(-1deg);
  }
  62% {
    transform: scaleX(0.46) scaleY(1.03) rotate(2deg);
  }
  82%, 100% {
    transform: scaleX(1) scaleY(1) rotate(0deg);
  }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .scroll-butterfly-img {
    animation-duration: 0.8s;
  }
}

@media (max-width: 640px) {
  .scroll-butterfly {
    width: 40px;
    height: 33px;
  }
}

/* The Running Dog Silhouette */
.scroll-dog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: auto;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  cursor: url('../assets/cursor-pointer-32.png') 12 0,
          url('../assets/cursor-pointer.png') 24 0,
          pointer;
  filter: drop-shadow(0 3px 14px rgba(230, 186, 110, 0.85));
  user-select: none;
  transition: opacity 0.4s ease, visibility 0.4s ease, filter 0.3s ease;
  will-change: transform, opacity;
}

.scroll-dog.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-dog:hover {
  filter: drop-shadow(0 4px 18px rgba(230, 186, 110, 1));
}

.scroll-dog-img {
  width: 100%;
  height: auto;
  display: block;
  transform: scaleX(1);
  transition: transform 0.32s cubic-bezier(0.34, 1.25, 0.64, 1);
}

.scroll-dog.face-left .scroll-dog-img {
  transform: scaleX(-1);
}

.scroll-dog-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--deep-charcoal);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(44, 44, 42, 0.12);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s var(--smooth-easing);
}

.scroll-dog-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.94) transparent transparent transparent;
}

.scroll-dog-bubble.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Floating Avatar Alternative / Mobile Assist */
.dog-fetch-avatar {
  display: none;
}

/* ==========================================================================
   10. Footer Section with Footer Background
   ========================================================================== */
.memorial-footer {
  position: relative;
  background: url('../assets/Footer.jpeg') center/cover no-repeat;
  color: #FAF7F2;
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: 2.5rem;
}

.footer-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 240, 235, 0.92) 0%, rgba(44, 44, 42, 0.82) 40%, rgba(30, 30, 28, 0.95) 100%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-main-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  max-width: 860px;
  margin: 0 auto 4rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.footer-main-card h2 {
  color: #FAF7F2;
  margin-bottom: 1rem;
}

.footer-main-card p {
  color: rgba(250, 247, 242, 0.85);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.footer-chase-zone {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.chase-again-btn {
  background: rgba(255, 255, 255, 0.88);
  color: var(--deep-charcoal);
  border-color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.chase-again-btn:hover {
  background: #FFF;
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.7);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-link {
  color: rgba(250, 247, 242, 0.8);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #FAF7F2;
  text-decoration: underline;
}

/* ==========================================================================
   11. Modals & Popups (Liquid Glass)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 44, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--smooth-easing);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FAF7F2;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s var(--spring-easing);
}

.modal-backdrop.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--warm-charcoal);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #FFF;
  color: var(--deep-charcoal);
  transform: scale(1.08);
}

/* Form Styling */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--deep-charcoal);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--warm-taupe);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--deep-charcoal);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--sage-mist);
  background: #FFF;
  box-shadow: 0 0 0 3px var(--sage-mist-glow);
}



/* ==========================================================================
   11f. Waitlist Modal & Neumorphic Flipping Auth Card
   ========================================================================== */

/* Outer Card Shell */
.electric-card-shell {
  position: relative;
  border-radius: 40px;
  padding: 4px;
  isolation: isolate;
  transition: transform 0.3s ease;
}

/* Card 3D Wrapper */
.auth-wrapper {
  position: relative;
  width: 100%;
  perspective: 1600px;
}

/* The 3D Flipping Card */
.auth-card {
  position: relative;
  width: 100%;
  min-height: 600px;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.auth-card.flipped {
  transform: rotateY(180deg);
}

/* Front & Back Neumorphic Panels */
.form-panel {
  position: absolute;
  inset: 0;
  padding: 38px 30px;
  border-radius: 36px;
  background: #e5eaf5;
  box-shadow: 14px 14px 28px rgba(163, 177, 198, 0.65), -14px -14px 28px rgba(255, 255, 255, 0.95);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.signup-panel {
  transform: rotateY(180deg);
}

/* Crest / Emblem */
.auth-card .logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 28px;
  color: var(--primary-green);
  background: var(--sky-mist);
  box-shadow: 0 4px 14px rgba(2, 136, 88, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.auth-card:hover .logo {
  transform: scale(1.06);
  color: var(--primary-green-light);
  box-shadow: 0 0 20px var(--primary-green-glow), 0 4px 14px rgba(2, 136, 88, 0.2);
}

/* Card Headings */
.auth-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin: 0 0 6px;
  font-family: var(--font-display), 'Cormorant Garamond', serif;
  letter-spacing: -0.5px;
}

.auth-subtitle {
  text-align: center;
  font-size: 13.5px;
  color: var(--warm-charcoal);
  margin-bottom: 22px;
  font-family: var(--font-body), 'Karla', sans-serif;
  line-height: 1.5;
}

/* Debossed Inset Containers (Inputs & Selectors) */
.input-group {
  position: relative;
  width: 100%;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #e5eaf5;
  box-shadow: inset 4px 4px 7px rgba(163, 177, 198, 0.55), inset -4px -4px 7px rgba(255, 255, 255, 0.95);
}

.input-group input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 18px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: var(--font-body), 'Karla', sans-serif;
  color: #1e293b;
  z-index: 3;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  font-size: 12.5px;
  color: #8a99a8;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 8px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-green);
  transform: translateY(0);
}

.input-group:focus-within {
  box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.6), inset -3px -3px 6px rgba(255, 255, 255, 1), 0 0 0 2px var(--primary-green);
}

/* Debossed Metric Pods on Back Panel */
.cloud-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 24px;
}

.metric-pod {
  background: #e5eaf5;
  padding: 14px 8px;
  border-radius: 16px;
  text-align: center;
  box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.5), inset -3px -3px 6px rgba(255, 255, 255, 0.95);
}

.metric-pod-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-green);
  font-family: var(--font-display);
}

.metric-pod-label {
  font-size: 10.5px;
  color: var(--warm-charcoal);
  margin-top: 4px;
  font-weight: 500;
}

/* Main Neumorphic Action Button */
.main-btn {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 16px;
  background: var(--primary-green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 14px var(--primary-green-glow);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.main-btn:hover {
  color: #ffffff;
  background: var(--primary-green-dark);
  box-shadow: 0 10px 24px rgba(1, 87, 56, 0.45);
  transform: translateY(-2px);
}

.main-btn:active {
  transform: translateY(2px);
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.2);
}

/* Switch Area & Neumorphic Flip Button */
.switch-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--warm-charcoal);
}

.switch-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--sky-mist);
  box-shadow: 4px 4px 8px rgba(163, 177, 198, 0.6), -4px -4px 8px rgba(255, 255, 255, 0.95);
  color: var(--primary-green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.25s ease;
}

.switch-circle:hover {
  color: #ffffff;
  background: var(--primary-green);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 16px var(--primary-green-glow);
}

.switch-circle:active {
  transform: scale(0.95);
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Close button inside modal form panel */
.form-panel .modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #e5eaf5;
  box-shadow: 3px 3px 6px rgba(163, 177, 198, 0.6), -3px -3px 6px rgba(255, 255, 255, 0.95);
  color: #7f8c8d;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.form-panel .modal-close-btn:hover {
  color: #e74c3c;
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .auth-wrapper {
    max-width: 95vw;
  }
  .form-panel {
    padding: 28px 20px;
    border-radius: 28px;
  }
  .auth-card {
    min-height: 580px;
  }
}

/* ==========================================================================
   12. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .grief-grid,
  .simulator-container,
  .phases-grid,
  .pricing-cards-grid,
  .pricing-cards-grid.two-cols {
    grid-template-columns: 1fr !important;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
  }

  .iphone-chassis {
    transform: none;
  }
}

@media (max-width: 640px) {
  .pricing-header {
    margin-bottom: 2rem;
  }

  .pricing-category-block {
    margin-bottom: 2.75rem;
  }

  .pricing-category-block + .pricing-category-block {
    padding-top: 2.5rem;
  }

  .pricing-category-header {
    margin-bottom: 1.75rem;
    padding: 0 6px;
  }

  .pricing-category-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .pricing-category-desc {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .pricing-cards-grid,
  .pricing-cards-grid.two-cols {
    grid-template-columns: 1fr !important;
    max-width: 100%;
    gap: 1.5rem;
  }

  .tier-card {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }

  .tier-ribbon {
    top: -11px;
    right: 18px;
    font-size: 0.68rem;
    padding: 4px 10px;
    letter-spacing: 0.05em;
  }

  .tier-price-current {
    font-size: 2.5rem;
  }

  .tier-price-box {
    margin-bottom: 1.5rem;
    gap: 6px 10px;
  }

  .tier-features-list {
    gap: 10px;
    margin-bottom: 1.75rem;
  }

  .tier-features-list li {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero-scroll-container {
    height: 250vh;
  }

  .hero-text-card {
    padding: 1.5rem;
  }
}

@media (max-width: 380px) {
  .tier-card {
    padding: 1.5rem 1rem;
  }
  .tier-price-current {
    font-size: 2.25rem;
  }
  .tier-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Pure Clean Apple Glass Section (Neutral Monochromatic Clarity, No Rainbow)
   ========================================================================== */

.pure-glass-section {
  position: relative;
  background: transparent;
  color: var(--warm-charcoal);
  overflow: hidden;
  padding: 100px 0 130px;
}

.pure-glass-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 2;
}

.pure-glass-badge {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  color: #334155 !important;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.pure-glass-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-family: var(--font-display), 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.pure-glass-lead {
  font-size: 1.12rem;
  color: #475569;
  line-height: 1.7;
}

.pure-stage-wrap {
  position: relative;
  max-width: 490px;
  margin: 0 auto;
  z-index: 30;
  isolation: isolate;
}

.pure-glass-shell {
  position: relative;
  border-radius: 40px;
  padding: 2px;
  box-shadow: 
    0 30px 70px -15px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Global Pure Apple Glass & Rainbow Border Card Architecture
   Applied to all website cards (excluding navbar & Platform 9 ¾ in Apple Liquid Glass)
   ========================================================================== */
.hero-text-card,
.portrait-frame,
.activity-card,
.phase-card,
.tier-card,
.footer-main-card,
.modal-card,
.glass-card {
  position: relative !important;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.88) 0%, 
    rgba(255, 255, 255, 0.76) 50%, 
    rgba(255, 255, 255, 0.84) 100%
  ) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 
    inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.95),
    inset -1.5px -1.5px 2px rgba(255, 255, 255, 0.3),
    0 16px 36px -10px rgba(15, 23, 42, 0.08) !important;
}

/* Footer card tailored glass density for starry background */
.footer-main-card {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.18) 0%, 
    rgba(255, 255, 255, 0.08) 50%, 
    rgba(255, 255, 255, 0.14) 100%
  ) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 
    inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.65),
    inset -1.5px -1.5px 2px rgba(255, 255, 255, 0.15),
    0 25px 60px rgba(0, 0, 0, 0.3) !important;
}

/* Prismatic Rainbow Border for all website cards */
.hero-text-card::before,
.portrait-frame::before,
.activity-card::before,
.phase-card::before,
.tier-card::before,
.footer-main-card::before,
.modal-card::before,
.glass-card::before,
.pure-glass-shell::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  padding: 2px !important;
  background: linear-gradient(135deg, 
    rgba(255, 80, 120, 0.85) 0%, 
    rgba(255, 170, 50, 0.8) 18%, 
    rgba(255, 230, 60, 0.75) 32%, 
    rgba(60, 230, 150, 0.75) 50%, 
    rgba(40, 180, 255, 0.85) 68%, 
    rgba(160, 100, 255, 0.85) 85%,
    rgba(255, 80, 120, 0.85) 100%
  ) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  pointer-events: none !important;
  z-index: 2 !important;
  opacity: 0.75 !important;
  transition: opacity 0.3s ease !important;
}

/* Card hover and interactive accent states */
.hero-text-card:hover::before,
.portrait-frame:hover::before,
.activity-card:hover::before,
.phase-card:hover::before,
.tier-card:hover::before,
.footer-main-card:hover::before,
.modal-card:hover::before,
.glass-card:hover::before,
.pure-glass-shell:hover::before {
  opacity: 1 !important;
}

.activity-card.active::before,
.phase-card.phase-active::before,
.tier-card.featured::before {
  opacity: 1 !important;
}

.pure-glass-shell .auth-wrapper {
  position: relative;
  z-index: 2;
}

/* Ensure elevated badges and ribbons stay on top */
.tier-ribbon,
.modal-close-btn {
  z-index: 10 !important;
}

/* In the waitlist modal, disable the conflicting electric spin glow */
.electric-card-shell::after {
  display: none !important;
}

.pure-glass-card {
  border-radius: 36px;
  min-height: auto;
  transform-style: flat;
}

.pure-glass-panel {
  position: relative !important;
  inset: auto !important;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.88) 0%, 
    rgba(255, 255, 255, 0.76) 50%, 
    rgba(255, 255, 255, 0.84) 100%
  ) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 36px !important;
  overflow: hidden;
  box-shadow: 
    inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.95),
    inset -1.5px -1.5px 2px rgba(255, 255, 255, 0.3),
    0 20px 45px -10px rgba(15, 23, 42, 0.08) !important;
  padding: 36px 30px !important;
}

.pure-panel-content,
.pure-panel-footer {
  position: relative;
  z-index: 2;
}

.pure-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 28px;
  color: #334155;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    inset 1.5px 1.5px 2px #ffffff,
    inset -1px -1px 2px rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
  cursor: pointer;
}

.pure-glass-card:hover .pure-logo {
  transform: scale(1.06);
  color: #0f172a;
  box-shadow: 
    inset 1.5px 1.5px 2px #ffffff,
    0 12px 30px rgba(15, 23, 42, 0.12);
}

.pure-auth-title {
  color: #0f172a !important;
  font-weight: 700;
}

.pure-auth-subtitle {
  color: #475569 !important;
  font-weight: 500;
}

.pure-pills-container {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.03);
}

.pure-glass-pill {
  flex: 1;
  padding: 9px 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0.8) 100%);
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 
    inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(0, 0, 0, 0.04),
    0 3px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.pure-glass-pill:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}

.pure-glass-pill.active {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 100%);
  color: var(--primary-green);
  border-color: #ffffff;
  box-shadow: 
    inset 0 1.5px 1.5px #ffffff,
    0 4px 14px rgba(2, 136, 88, 0.12);
}

.pure-glass-btn {
  width: 100%;
  padding: 15px;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  background: var(--primary-green);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  cursor: pointer;
  box-shadow: 
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.4),
    0 8px 22px var(--primary-green-glow);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pure-glass-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-green-dark);
  color: #ffffff;
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
    0 12px 28px rgba(1, 87, 56, 0.45);
}

@media (max-width: 640px) {
  .pure-glass-section {
    padding: 80px 0 100px;
  }
  .pure-stage-wrap {
    max-width: 100%;
    padding: 0 10px;
  }
  .pure-glass-panel {
    padding: 28px 20px !important;
  }
  .pure-pills-container {
    flex-direction: column;
    border-radius: 20px;
  }
  .pure-glass-pill {
    padding: 8px 12px;
  }
}

/* ==========================================================================
   Transparent Liquid Glass 3-Layer Optical Refraction Architecture
   ========================================================================== */
@keyframes borderRainbowRotate {
  0% { filter: saturate(135%) hue-rotate(0deg); }
  100% { filter: saturate(135%) hue-rotate(360deg); }
}

.transparent-liquid-glass {
  position: relative;
  width: 300px;
  padding: 48px 34px 40px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  touch-action: none;
  transition: background 0.3s ease;
}

.transparent-glass--bend {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 28px;
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
  background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0) 100%);
  transform: translateZ(0);
  z-index: 1;
  transition: -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease;
}

.transparent-glass--edge {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: 
    inset 1.5px 1.5px 2px 0 rgba(255, 255, 255, 0.85),
    inset -1.5px -1.5px 2px 0 rgba(255, 255, 255, 0.3),
    0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.transparent-liquid-glass::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 29px;
  padding: 1.2px;
  background: linear-gradient(
    135deg,
    rgba(255, 95, 135, 0.8) 0%,
    rgba(255, 175, 60, 0.75) 18%,
    rgba(255, 235, 75, 0.7) 32%,
    rgba(70, 230, 160, 0.7) 50%,
    rgba(50, 190, 255, 0.8) 68%,
    rgba(165, 110, 255, 0.8) 85%,
    rgba(255, 95, 135, 0.8) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
  filter: saturate(145%);
  animation: borderRainbowRotate 16s linear infinite;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.transparent-liquid-glass::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 95, 135, 0.38) 0%,
    rgba(255, 175, 60, 0.32) 18%,
    rgba(255, 235, 75, 0.28) 32%,
    rgba(70, 230, 160, 0.28) 50%,
    rgba(50, 190, 255, 0.38) 68%,
    rgba(165, 110, 255, 0.38) 85%,
    rgba(255, 95, 135, 0.38) 100%
  );
  filter: blur(5px) saturate(150%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  animation: borderRainbowRotate 16s linear infinite;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.transparent-liquid-glass:hover::before {
  filter: saturate(175%);
  opacity: 1;
}

.transparent-liquid-glass:hover::after {
  opacity: 0.9;
  filter: blur(6px) saturate(175%);
}

.transparent-liquid-glass.mode-ultra-clear {
  background: rgba(255, 255, 255, 0.015);
}

.transparent-liquid-glass.mode-ultra-clear .transparent-glass--bend {
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
}

/* ==========================================================================
   Bottom Transparent Liquid Glass Navbar (Shared with Gallery Page)
   ========================================================================== */
.bottom-dual-glass-nav {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  transform: translateZ(0);
  transition: bottom 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-dual-glass-nav.nav-hidden {
  bottom: -140px;
}

.bottom-dual-glass-nav.nav-hidden .glass-rect-nav {
  pointer-events: none;
}

.bottom-glass-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 820px;
  width: 100%;
}

.glass-rect-nav {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 96px;
  border-radius: 26px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  pointer-events: auto;
  user-select: none;
  transition:
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-rect-nav.transparent-liquid-glass,
.glass-rect-nav.transparent-liquid-glass.mode-ultra-clear {
  width: 100%;
  max-width: 820px;
  height: 96px;
  border-radius: 26px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.015);
  box-shadow: 
    0 22px 55px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.glass-rect-nav .transparent-glass--bend,
.glass-rect-nav .transparent-glass--edge {
  border-radius: 26px;
  transition: border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-rect-nav.transparent-liquid-glass::before {
  border-radius: 27px;
  transition: border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, filter 0.3s ease;
}

.glass-rect-nav.transparent-liquid-glass::after {
  border-radius: 28px;
  transition: border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, filter 0.3s ease;
}

/* Expanded Menu State (Preserves 290px Height & 48px Radius) */
.glass-rect-nav.is-expanded,
.glass-rect-nav.transparent-liquid-glass.is-expanded,
.glass-rect-nav.transparent-liquid-glass.mode-ultra-clear.is-expanded {
  height: 290px;
  border-radius: 48px;
  padding: 20px 16px 12px;
}

.glass-rect-nav.is-expanded .transparent-glass--bend,
.glass-rect-nav.is-expanded .transparent-glass--edge {
  border-radius: 48px;
}

.glass-rect-nav.transparent-liquid-glass.is-expanded::before {
  border-radius: 49px;
}

.glass-rect-nav.transparent-liquid-glass.is-expanded::after {
  border-radius: 50px;
}

.glass-nav-inner {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  user-select: none;
}

.glass-rect-nav.is-expanded .glass-nav-inner {
  justify-content: flex-end;
}

/* Bottom Row: Corner Anchors (Shifted Flush Left & Flush Right) */
.glass-nav-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 16px;
}

/* Bottom Left Corner: High-Altitude Sky Mist Logo Pill Pod */
.glass-nav-bottom-left {
  display: flex;
  align-items: center;
  height: 100%;
}

.glass-nav-logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.glass-nav-logo-pod {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px 4px 5px;
  background: #E4F1FA;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 
    0 6px 18px rgba(14, 116, 144, 0.14),
    inset 0 1px 2px #ffffff;
  transition: box-shadow 0.25s ease, background 0.25s ease;
  margin: auto 0;
}

.glass-nav-logo-pod:hover {
  background: #eff7fd;
  box-shadow: 
    0 10px 24px rgba(14, 116, 144, 0.2),
    inset 0 1px 2px #ffffff;
}

.glass-nav-brand-logo {
  height: 66px;
  width: auto;
  max-width: 225px;
  object-fit: contain;
  display: block;
}

/* Bottom Right Corner: Kickstarter Button */
.glass-nav-bottom-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.glass-nav-kickstarter-btn {
  --bttn-bg: #028858;
  --bttn-text: white;
  --bttn-icon: white;
  --bttn-border: #028858;
  --bttn-hover-bg: #015738;
  --bttn-hover-text: white;
  --bttn-hover-icon: white;
  --bttn-hover-border: #015738;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-body, 'Karla', sans-serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bttn-text) !important;
  background: var(--bttn-bg) !important;
  border: 1px solid var(--bttn-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 18px rgba(2, 136, 88, 0.35);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-nav-kickstarter-btn i,
.glass-nav-kickstarter-btn svg {
  color: var(--bttn-icon);
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.glass-nav-kickstarter-btn:hover svg {
  transform: scale(1.08);
}

.glass-nav-kickstarter-btn:hover {
  background: var(--bttn-hover-bg) !important;
  color: var(--bttn-hover-text) !important;
  border-color: var(--bttn-hover-border) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(1, 87, 56, 0.45);
}

.glass-nav-kickstarter-btn:hover i {
  color: var(--bttn-hover-icon);
}

.glass-nav-kickstarter-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsiveness for Bottom Glass Bar */
@media (max-width: 768px) {
  .bottom-dual-glass-nav {
    bottom: 12px;
    padding: 0 12px;
  }
  .glass-rect-nav,
  .glass-rect-nav.transparent-liquid-glass,
  .glass-rect-nav.transparent-liquid-glass.mode-ultra-clear {
    height: 74px;
    border-radius: 22px;
    padding: 6px 10px;
  }
  .glass-nav-inner {
    justify-content: center !important;
  }
  .glass-rect-nav.is-expanded .glass-nav-inner {
    justify-content: flex-end !important;
  }
  .glass-nav-bottom-row {
    align-items: center !important;
    height: 100% !important;
  }
  .glass-nav-bottom-left {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }
  .glass-rect-nav .transparent-glass--bend,
  .glass-rect-nav .transparent-glass--edge {
    border-radius: 22px;
  }
  .glass-rect-nav.transparent-liquid-glass::before {
    border-radius: 23px;
  }
  .glass-rect-nav.transparent-liquid-glass::after {
    border-radius: 24px;
  }
  .glass-rect-nav.is-expanded,
  .glass-rect-nav.transparent-liquid-glass.is-expanded {
    height: 220px;
    border-radius: 32px;
  }
  .glass-nav-logo-pod {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 8px 3px 4px !important;
    border-radius: 14px;
    margin: auto 0 !important;
    transform: translateY(-1.5px);
  }
  .glass-nav-brand-logo {
    height: 46px;
    max-width: 165px;
    display: block !important;
    margin: 0 !important;
  }
  .glass-nav-kickstarter-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
    gap: 7px;
    border-radius: 14px !important;
    margin: auto 0 !important;
  }
  .glass-nav-kickstarter-btn i {
    font-size: 1.05rem;
  }
}

@media (max-width: 520px) {
  .glass-rect-nav,
  .glass-rect-nav.transparent-liquid-glass,
  .glass-rect-nav.transparent-liquid-glass.mode-ultra-clear {
    height: 68px;
    padding: 5px 8px;
  }
  .glass-nav-inner {
    justify-content: center !important;
  }
  .glass-nav-bottom-row {
    align-items: center !important;
    height: 100% !important;
  }
  .glass-nav-bottom-left {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }
  .glass-nav-logo-pod {
    padding: 2px 7px 2px 3px !important;
    margin: auto 0 !important;
    transform: translateY(-1.5px);
  }
  .glass-nav-brand-logo {
    height: 38px;
    max-width: 135px;
    display: block !important;
    margin: 0 !important;
  }
  .glass-nav-kickstarter-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    margin: auto 0 !important;
  }
}

/* ==========================================================================
   The Living Gallery Wall Section (Shared with Gallery Page)
   ========================================================================== */
:root {
  --sky-mist: #E4F1FA;
  --sky-mist-hover: #D4E8F7;
  --wall-bg: #ece6dd;
  --wall-shadow: rgba(50, 35, 20, 0.12);
  --wall-shadow-dark: rgba(30, 20, 10, 0.22);
  --mat-cream: #faf7f2;
  --mat-pure-white: #ffffff;
  --mat-bevel-shadow: rgba(0, 0, 0, 0.28);
  --mat-bevel-highlight: rgba(255, 255, 255, 0.85);
}

.gallery-section {
  position: relative;
  min-height: 100vh;
  padding: 100px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #e8ded1;
  background-image: url('../assets/gallery-frames/plaster-wall-texture.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
  z-index: 2;
}

.sunlight-beam {
  position: absolute;
  top: -10%;
  left: -15%;
  width: 70%;
  height: 120%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 70%);
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 2;
  filter: blur(40px);
}

.gallery-header-meta {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 720px;
  margin-bottom: 36px;
  padding: 0 16px;
}

.gallery-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky-mist);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.1), inset 0 1px 2px #ffffff;
}

.gallery-title {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1f1d1a;
  margin-bottom: 12px;
}

.gallery-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #625c54;
  line-height: 1.5;
}

.wall-stage {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto 40px;
}

.gallery-wall-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(18px, 2.5vw, 32px);
  align-items: center;
  justify-items: center;
  padding: 16px 24px;
  position: relative;
}

.photo-frame-wrapper {
  position: relative;
  width: 100%;
}

.photo-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 
    0 4px 6px -1px var(--wall-shadow),
    0 12px 24px -4px var(--wall-shadow-dark),
    0 24px 38px -8px rgba(0, 0, 0, 0.15);
}

.photo-frame.finish-white {
  background: linear-gradient(145deg, #ffffff 0%, #f4f3ef 60%, #e6e3dc 100%);
  padding: 12px;
  border: 1px solid #d4d0c8;
  box-shadow: 
    inset 1px 1px 3px rgba(255, 255, 255, 0.9),
    inset -1px -1px 2px rgba(0, 0, 0, 0.15),
    0 14px 28px -5px var(--wall-shadow-dark);
}

.photo-frame.custom-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.photo-frame.custom-image-frame .frame-overlay-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4)) drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.photo-frame.custom-image-frame .custom-frame-aperture-wrap {
  position: absolute;
  overflow: hidden;
  z-index: 2;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.7);
}

.photo-frame.custom-image-frame .custom-frame-aperture-wrap .frame-aperture {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.photo-frame.custom-wood-frame .custom-frame-aperture-wrap {
  top: 10.74%;
  left: 9.06%;
  width: 82.10%;
  height: 77.61%;
}

.photo-frame.custom-gold-baroque-frame .custom-frame-aperture-wrap {
  top: 20.85%;
  left: 18.97%;
  width: 61.44%;
  height: 57.82%;
}

.photo-frame.custom-gold-portrait-frame .custom-frame-aperture-wrap {
  top: 19.55%;
  left: 21.88%;
  width: 56.94%;
  height: 60.52%;
}

.mat-board {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--mat-cream);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    inset 0 0 0 1px rgba(0, 0, 0, 0.05),
    inset 1px 1px 2px rgba(0, 0, 0, 0.08);
}

.mat-board.mat-pure {
  background-color: var(--mat-pure-white);
}

.frame-aperture {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  border-radius: 1px;
  transform: translateZ(0);
  isolation: isolate;
  box-shadow: 
    inset 3px 3px 6px var(--mat-bevel-shadow),
    inset -1px -1px 3px var(--mat-bevel-highlight);
}

.frame-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none;
  pointer-events: none;
  user-select: none;
}

.frame-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(255, 255, 255, 0.07) 35%,
    rgba(255, 255, 255, 0) 55%
  );
  z-index: 2;
  opacity: 0.8;
}

/* Desktop Grid Placement for 5 Frames (3 Columns) */
.custom-gold-portrait-frame {
  aspect-ratio: 713 / 808;
}

.custom-wood-frame {
  aspect-ratio: 905 / 661;
}

.custom-gold-baroque-frame {
  aspect-ratio: 975 / 825;
}

/* Column 1 (Left): Golden Portrait + Walnut */
.frame-hero-1 {
  grid-column: 1;
  grid-row: 1;
  max-width: 320px;
  justify-self: center;
}

.frame-hero-2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 350px;
  justify-self: center;
}

/* Column 2 (Middle): 1 Main Landscape Golden Frame */
.frame-hero-3 {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  max-width: 560px;
  width: 100%;
  filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.28));
}

/* Column 3 (Right): Walnut + Golden Portrait */
.frame-hero-4 {
  grid-column: 3;
  grid-row: 1;
  max-width: 350px;
  justify-self: center;
}

.frame-hero-5 {
  grid-column: 3;
  grid-row: 2;
  max-width: 320px;
  justify-self: center;
}

/* Scroll Down Prompt Indicator (Sky Mist Pill + Gilded Gold Animation) */
.scroll-indicator-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.scroll-indicator-btn {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-indicator-btn span {
  display: inline-flex;
  align-items: center;
  background: var(--sky-mist);
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(217, 155, 75, 0.55);
  box-shadow: 
    0 4px 14px var(--honey-gold-glow),
    inset 0 1px 2px #ffffff;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.scroll-indicator-btn:hover {
  transform: translateY(3px);
}

.scroll-indicator-btn:hover span {
  background: var(--sky-mist-hover);
  border-color: var(--honey-gold);
  box-shadow: 
    0 6px 18px var(--honey-gold-glow),
    inset 0 1px 2px #ffffff;
}

.scroll-mouse-icon {
  width: 24px;
  height: 38px;
  background: var(--sky-mist);
  border: 2px solid var(--honey-gold);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  box-shadow: 
    0 4px 12px var(--honey-gold-glow),
    inset 0 1px 2px #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.scroll-indicator-btn:hover .scroll-mouse-icon {
  border-color: var(--honey-gold-dark);
  box-shadow: 
    0 6px 16px var(--honey-gold-glow),
    inset 0 1px 2px #ffffff;
}

.scroll-mouse-wheel {
  width: 4px;
  height: 8px;
  background: linear-gradient(180deg, var(--honey-gold-light) 0%, var(--honey-gold-dark) 100%);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--honey-gold-glow);
  animation: wheelBounce 1.8s ease-in-out infinite;
}

@keyframes wheelBounce {
  0% { transform: translateY(0); opacity: 1; }
  65% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Mobile Gallery Wall: 3 Rows
   Row 1: 2 (Golden Portrait + Walnut)
   Row 2: 1 Main Landscape Golden Frame
   Row 3: 2 (Walnut + Golden Portrait) */
@media (max-width: 860px) {
  .gallery-section {
    padding: 76px 12px 40px;
  }

  .gallery-header-meta {
    margin-bottom: 20px;
  }

  .gallery-title {
    font-size: 2rem;
  }

  .gallery-desc {
    font-size: 0.92rem;
  }

  .wall-stage {
    margin: 0 auto 25px;
  }

  .gallery-wall-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    gap: 16px 12px;
    padding: 10px 12px;
    max-width: 560px;
    margin: 0 auto;
  }

  /* Row 1: Golden Portrait + Walnut */
  .frame-hero-1 {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    align-self: center;
  }

  .frame-hero-2 {
    grid-column: 2;
    grid-row: 1;
    max-width: 100%;
    align-self: center;
  }

  /* Row 2: 1 Main Landscape Golden Frame */
  .frame-hero-3 {
    grid-column: 1 / span 2;
    grid-row: 2;
    max-width: 440px;
    margin: 4px auto;
  }

  /* Row 3: Walnut + Golden Portrait */
  .frame-hero-4 {
    grid-column: 1;
    grid-row: 3;
    max-width: 100%;
    align-self: center;
  }

  .frame-hero-5 {
    grid-column: 2;
    grid-row: 3;
    max-width: 100%;
    align-self: center;
  }
}

@media (max-width: 440px) {
  .gallery-wall-grid {
    gap: 12px 8px;
    padding: 6px 8px;
  }
}

/* ==========================================================================
   Custom 3D Holographic Liquid Cursors
   ========================================================================== */
html,
body,
*,
*::before,
*::after {
  cursor: url('../assets/cursor-default-32.png') 1 1,
          url('../assets/cursor-default.png') 2 2,
          auto;
}

/* 1. Interactive elements use the 3D Holographic Hand Pointer */
a,
a *,
button,
button *,
[role="button"],
[role="button"] *,
input[type="button"],
input[type="submit"],
input[type="reset"],
select,
summary,
label,
label *,
[onclick],
[tabindex],
.btn,
.btn *,
.glass-nav-kickstarter-btn,
.glass-nav-kickstarter-btn *,
.glass-nav-logo-link,
.glass-nav-logo-link *,
.scroll-butterfly,
.scroll-butterfly *,
.scroll-dog,
.scroll-dog *,
.butterfly-chase-btn,
.butterfly-chase-btn *,
.gallery-filter-btn,
.gallery-filter-btn *,
.activity-card,
.activity-card *,
.phase-card,
.phase-card *,
.tier-card,
.tier-card *,
.tier-card-btn,
.tier-card-btn *,
.faq-question,
.faq-question *,
.accordion-header,
.accordion-header *,
.simulator-action-btn,
.simulator-action-btn *,
.app-action-btn,
.app-action-btn *,
.tab-btn,
.tab-btn *,
.pill,
.badge-pill,
.clickable,
.clickable * {
  cursor: url('../assets/cursor-pointer-32.png') 12 0,
          url('../assets/cursor-pointer.png') 24 0,
          pointer !important;
}

/* 2. Specific Steady Surfaces & Cards (Force 3D Holographic Arrow) */
.photo-frame-wrapper,
.photo-frame-wrapper *,
.photo-frame,
.photo-frame *,
.portrait-frame-wrapper,
.portrait-frame,
.portrait-inner,
.portrait-media,
.portrait-hologram-shimmer,
.bottom-dual-glass-nav,
.glass-rect-nav,
.transparent-liquid-glass,
.gallery-wall-grid,
.grief-section,
.simulator-container,
.simulator-screen,
.iphone-chassis {
  cursor: url('../assets/cursor-default-32.png') 1 1,
          url('../assets/cursor-default.png') 2 2,
          auto !important;
}

/* 3. Re-enable Hand Pointer on Interactive Children inside those Cards/Bars */
.glass-nav-kickstarter-btn,
.glass-nav-kickstarter-btn *,
.glass-nav-logo-link,
.glass-nav-logo-link *,
.portrait-frame-wrapper a,
.portrait-frame-wrapper a *,
.portrait-frame-wrapper button,
.portrait-frame-wrapper button *,
.simulator-container button,
.simulator-container button *,
.simulator-container a,
.simulator-container a * {
  cursor: url('../assets/cursor-pointer-32.png') 12 0,
          url('../assets/cursor-pointer.png') 24 0,
          pointer !important;
}

/* 4. Maintain native UX for text and form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea {
  cursor: text !important;
}

/* 5. Disabled elements */
button:disabled,
.btn:disabled,
[disabled],
[aria-disabled="true"] {
  cursor: not-allowed !important;
}

/* ==========================================================================
   Golden Cursor Light Effect
   ========================================================================== */
.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 2147483646;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  will-change: transform;
}

.cursor-light::before,
.cursor-light::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Outer sunlight halo */
.cursor-light::before {
  width: 116px;
  height: 116px;
  background: radial-gradient(
    circle,
    rgba(255, 253, 220, 0.85) 0%,
    rgba(255, 240, 130, 0.55) 24%,
    rgba(255, 225, 90, 0.22) 48%,
    transparent 72%
  );
  transition: width 0.2s, height 0.2s;
}

/* Sunlight center */
.cursor-light::after {
  width: 6px;
  height: 6px;
  background: #fffef5;
  box-shadow:
    0 0 9px 3px rgba(255, 235, 100, 0.9),
    0 0 22px 7px rgba(255, 220, 80, 0.55);
}

.cursor-light.is-visible {
  opacity: 1;
}

.cursor-light.is-interactive::before {
  width: 150px;
  height: 150px;
}

.cursor-light.is-pressed::before {
  width: 78px;
  height: 78px;
}

@media (hover: none), (pointer: coarse) {
  .cursor-light {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-light,
  .cursor-light::before {
    transition: none;
  }
}




