/* Application custom aesthetics overriding tailwind */
@layer utilities {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    .fade-up {
      transition: none;
      opacity: 1;
      transform: none;
    }
  }
}

/* Base resets for forms to prevent zoom on iOS */
input[type="text"], input[type="email"], input[type="url"], select, textarea {
    font-size: 16px;
}

/* Accordion details marker removal */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

/* Hard reset for default browser styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Pulse animation for primary buttons (Indigo #5865F2) */
@keyframes soft-pulse-indigo {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(88,101,242, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(88,101,242, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(88,101,242, 0); }
}

.button-pulse {
    animation: soft-pulse-indigo 2.5s infinite ease-in-out;
}

.hero-store-visual {
    position: relative;
    display: flex;
    justify-content: center;
    isolation: isolate;
}

.hero-store-shot {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 660px);
    height: auto;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: #fff;
    box-shadow: 0 34px 90px rgba(17, 19, 24, 0.16), 0 18px 42px rgba(88, 101, 242, 0.12);
}

.hero-store-glow {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    filter: blur(46px);
    pointer-events: none;
}

.hero-store-glow-primary {
    top: -3rem;
    right: 0;
    width: 14rem;
    height: 14rem;
    background: rgba(88, 101, 242, 0.26);
}

.hero-store-glow-soft {
    bottom: -3rem;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(199, 210, 254, 0.54);
}

@media (min-width: 1024px) {
    .hero-store-visual {
        justify-content: flex-start;
        margin-top: -1.25rem;
        margin-right: -11rem;
        margin-left: -1rem;
    }

    .hero-store-shot {
        width: min(800px, 58vw);
        max-width: none;
    }
}

@media (min-width: 1280px) {
    .hero-store-visual {
        margin-right: -15rem;
    }

    .hero-store-shot {
        width: min(880px, 60vw);
    }
}

@media (max-width: 640px) {
    .hero-store-shot {
        border-radius: 1.4rem;
    }

    .hero-store-glow-primary {
        right: 1rem;
        width: 10rem;
        height: 10rem;
    }

    .hero-store-glow-soft {
        left: 1rem;
        width: 11rem;
        height: 11rem;
    }
}
