:root {
  interpolate-size: allow-keywords;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: #D9D2C7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #BFB7AA;
}

.cosmic-mesh {
  background-image: 
    radial-gradient(at 15% 15%, rgba(254, 218, 196, 0.45) 0px, transparent 55%),
    radial-gradient(at 85% 10%, rgba(212, 196, 250, 0.4) 0px, transparent 60%),
    radial-gradient(at 50% 50%, rgba(250, 237, 227, 0.5) 0px, transparent 50%),
    radial-gradient(at 90% 85%, rgba(220, 204, 252, 0.45) 0px, transparent 55%),
    radial-gradient(at 10% 90%, rgba(254, 228, 214, 0.35) 0px, transparent 50%);
}

.hero-orb-wrapper {
  width: 320px;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

@media (min-width: 640px) {
  .hero-orb-wrapper {
    width: 360px;
    height: 360px;
  }
}

@media (min-width: 768px) {
  .hero-orb-wrapper {
    width: 390px;
    height: 390px;
  }
}

.hero-orb-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  touch-action: none;
  filter: blur(12px);
  will-change: filter, transform;
}

.hero-orb-aura {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 205, 250, 0.24) 0%, rgba(254, 222, 210, 0.20) 50%, transparent 75%);
  filter: blur(55px);
  pointer-events-none;
  animation: aura-pulse 16s ease-in-out infinite alternate;
}

@keyframes aura-pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.88;
    transform: scale(1.05);
  }
}

.waitlist-orb {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.phone-mockup {
  transform-origin: center center;
  will-change: transform;
}

.phone-1 {
  transform: perspective(1000px) rotate(-2deg);
  box-shadow: 
    0 20px 40px -10px rgba(70, 50, 90, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.phone-1:hover {
  transform: perspective(1000px) rotate(-1deg) translateY(-4px);
  box-shadow: 
    0 28px 50px -12px rgba(70, 50, 90, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.phone-2 {
  transform: perspective(1000px) rotate(2.5deg);
  box-shadow: 
    0 22px 42px -12px rgba(70, 50, 90, 0.20),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.phone-2:hover {
  transform: perspective(1000px) rotate(1.5deg) translateY(-4px);
  box-shadow: 
    0 30px 52px -12px rgba(70, 50, 90, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.feature-card {
  box-shadow: 0 4px 20px -2px rgba(120, 110, 95, 0.04);
}

.feature-card:hover {
  transform: translateY(-3px);
}

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

.faq-item {
  transition: all 0.25s ease;
}

.faq-item[open] {
  padding-bottom: 1.25rem;
}

.faq-content {
  animation: faq-expand 0.3s ease-out;
}

@keyframes faq-expand {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
