:root {
    --brand-font: 'Plus Jakarta Sans', sans-serif;
    --section-gap: 3.5rem; /* ~56px on mobile */
}

@media (min-width: 768px) {
    :root {
        --section-gap: 5.5rem; /* ~88px on tablet */
    }
}

@media (min-width: 1024px) {
    :root {
        --section-gap: 7.5rem; /* ~120px on desktop */
    }
}

body {
    font-family: 'Manrope', sans-serif;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: var(--brand-font);
}

.fluid-h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.template-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(185, 10, 90, 0.15);
    border-color: rgba(185, 10, 90, 0.2);
}

.review-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.review-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(185, 10, 90, 0.2);
    box-shadow: 0 20px 45px rgba(185, 10, 90, 0.1);
}

.step-item {
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(6px);
}

.btn-gradient {
    background: linear-gradient(135deg, #b90a5a 0%, #ff4d8d 100%);
    box-shadow: 0 4px 15px rgba(185, 10, 90, 0.3);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(185, 10, 90, 0.4);
    filter: brightness(1.1);
}

.reveal-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-anim.active {
    opacity: 1;
    transform: translateY(0);
}

details[open] summary ~ * {
    animation: sweep 0.3s ease-out;
}

@keyframes sweep {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-float {
    animation: float 6s ease-in-out infinite;
}

.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e1bec5;
    border-radius: 10px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

webgl-shader {
    pointer-events: none;
}

/* New custom animations and styles */
.hero-radial-glow {
    background: radial-gradient(circle at 75% 40%, rgba(255, 182, 193, 0.35) 0%, rgba(255, 235, 238, 0.15) 45%, rgba(255, 255, 255, 0) 75%),
        radial-gradient(circle at 15% 75%, rgba(255, 182, 193, 0.15) 0%, rgba(255, 235, 238, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
    background-color: #fff8f8;
}

@keyframes heartFloat {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    100% {
        transform: translateY(-12px) scale(1.06) rotate(6deg);
    }
}

.heart-float-slow {
    animation: heartFloat 7s ease-in-out infinite alternate;
}

.heart-float-fast {
    animation: heartFloat 4.5s ease-in-out infinite alternate-reverse;
}

@media (min-width: 1024px) and (max-height: 800px) {
    .hero-short-screen-adjust {
        padding-top: 5rem !important;
        padding-bottom: 0.75rem !important;
        min-height: 600px !important;
    }

    .hero-short-screen-grid {
        gap: 1rem !important;
    }

    .hero-short-screen-title {
        font-size: 2.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-short-screen-para {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }

    .hero-short-screen-ratings {
        margin-top: 0.75rem !important;
        space-y: 2 !important;
    }

    .hero-short-screen-mockup {
        max-width: 380px !important;
    }

    .hero-short-screen-stats {
        margin-top: 0.75rem !important;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .hero-short-screen-scroll {
        margin-top: 0.5rem !important;
    }
}

/* ==========================================================================
   Category Buttons Interactive Styling
   ========================================================================== */
.category-btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(185, 10, 90, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.category-btn .material-symbols-outlined {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

/* Hover State */
.category-btn:hover:not(.text-primary) {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(185, 10, 90, 0.25) !important;
    background: rgba(255, 248, 250, 0.9) !important;
    box-shadow: 0 10px 22px rgba(185, 10, 90, 0.06);
    color: #b90a5a !important;
}

.category-btn:hover .material-symbols-outlined {
    transform: scale(1.22) rotate(8deg);
    color: #b90a5a;
}

/* Active State (controlled via JS toggling of text-primary) */
.category-btn.text-primary {
    background: linear-gradient(135deg, rgba(185, 10, 90, 0.08) 0%, rgba(255, 77, 141, 0.08) 100%) !important;
    border-color: #b90a5a !important;
    color: #b90a5a !important;
    box-shadow: 0 8px 20px rgba(185, 10, 90, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
}

.category-btn.text-primary .material-symbols-outlined {
    transform: scale(1.18);
    color: #b90a5a !important;
    font-variation-settings: 'FILL' 1;
}

/* Scroll Fade Indicator Overlays */
.category-scroll-container {
    position: relative;
    width: 100%;
}

.category-scroll-container::before,
.category-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 24px; /* Align with scroll padding bottom */
    width: 40px;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.category-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, #fff8f8 10%, rgba(255, 248, 248, 0) 100%);
}

.category-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, #fff8f8 10%, rgba(255, 248, 248, 0) 100%);
}

