/* assets/css/websites.css */

/* --- Animations --- */
@keyframes float {

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

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

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

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

/* --- Components --- */

/* --- Base CTA Style (Shared) --- */
.btn-whatsapp,
.btn-scroll-landing {
    background: linear-gradient(135deg, #25D366 0%, #075E54 100%);
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 9999px;
    /* rounded-full */
    font-weight: 700;
    /* font-bold */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* gap-2 */
}

.btn-whatsapp:hover,
.btn-scroll-landing:hover {
    box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.1);
}

/* Mobile Button - Visible only on mobile */
.btn-whatsapp {
    width: 90%;
    padding: 1.25rem 0.5rem;
    /* py-5 px-2 */
    margin: 0 auto;
}

@media (min-width: 768px) {
    .btn-whatsapp {
        display: none !important;
    }
}

/* Desktop Button - Visible only on desktop */
.btn-scroll-landing {
    display: none !important;
}

@media (min-width: 768px) {
    .btn-scroll-landing {
        display: flex !important;
        width: auto;
        padding: 1.5rem 1.25rem;
        /* md:py-6 md:px-5 */
    }

    /* Extra padding for the last CTA */
    .btn-scroll-landing.px-extra {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s;
}

.btn-group:hover .btn-shine {
    animation: shine 1.5s infinite;
}

/* Accordion */
.accordion-item {
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.0);
    transition: all 0.3s ease;
}

.accordion-item.is-open {
    border-color: rgba(124, 58, 237, 0.5);
    background: rgba(0, 0, 0, 0.0);
}

.accordion-trigger:hover {
    color: white;
}

.accordion-trigger svg {
    transition: transform 0.3s ease;
}

.accordion-item.is-open .accordion-trigger svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.accordion-item.is-open .accordion-content {
    opacity: 1;
}

/* Glassmorphism & Cards */
.glass-card {
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.step-number-container {
    background: #0A0A0A;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.step-card:hover .step-number-container {
    border-color: rgba(124, 58, 237, 0.5);
    transform: scale(1.1);
}

/* Noise Overlay removed for cleaner background */

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.reveal-immediate {
    transition: none !important;
}

/* --- Background Texture & Atmosphere --- */

.bg-grain {
    position: relative;
}

.bg-grain::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.grid-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.mesh-glow {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.section-divider-glow {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(124, 58, 237, 0.2), transparent);
}

/* --- Tilted Testimonials Stack --- */
.testimonial-stack-container {
    position: relative;
    padding: 3rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card-print {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0A0A0A;
    overflow: hidden;
    flex: 1 1 420px;
}

.testimonial-card-print img {
    width: 100%;
    height: auto;
    display: block;
}

.testimonial-card-print:hover {
    transform: translateY(-10px) scale(1.05) !important;
    z-index: 50 !important;
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.2);
}

/* Specific tilts for 2x2 arrangement */
.tilt-left {
    transform: rotate(-2deg) translateY(5px);
    z-index: 10;
}

.tilt-right {
    transform: rotate(2deg) translateY(-5px);
    z-index: 10;
}

.tilt-left-2 {
    transform: rotate(-1.5deg) translateY(10px);
    z-index: 10;
}

.tilt-right-2 {
    transform: rotate(1.5deg) translateY(8px);
    z-index: 10;
}

.testimonial-disclaimer {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    border-left: 2px solid rgba(124, 58, 237, 0.3);
    padding-left: 1.5rem;
}

@media (max-width: 768px) {
    .testimonial-stack {
        flex-direction: column;
        gap: 2rem;
    }

    .testimonial-card-print {
        width: 100%;
        max-width: 400px;
        transform: rotate(0) !important;
        margin: 0 !important;
    }

    .testimonial-disclaimer {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }
}