/* ============================================================
   SHOWCASE SECTIONS - Clay Mockup Image Layouts
   New page structure with marketing images
   ============================================================ */

/* ============================================================
   1. BASE SHOWCASE SECTION
   ============================================================ */
.showcase-section {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /* Allow cropping of large images */
}

/* ============================================================
   2. CENTERED LAYOUT (Big Goals section)
   ============================================================ */
.showcase-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.showcase-text-center {
    max-width: 680px;
    margin-bottom: 60px;
}

.showcase-text-center h2 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.showcase-text-center p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.showcase-mockup-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ============================================================
   3. SPLIT LAYOUT (Lock In / Your Feelings Matter)
   ============================================================ */
.showcase-split {
    display: flex;
    align-items: center;
    gap: 80px;
}

.showcase-split.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 0.9;
    max-width: 480px;
    min-width: 320px;
    position: relative;
    z-index: 2;
    /* Ensure text is on top */
}

.showcase-text h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

.showcase-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.showcase-mockup {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Allow text to be on top if overlap occurs */
    z-index: 1;
}

/* ============================================================
   4. CLAY MOCKUP IMAGES
   ============================================================ */
.clay-mockup {
    /* "Crop and make it bigger" - User request */
    max-width: none;
    width: 125%;
    height: auto;
    border-radius: 24px;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.4s ease;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    will-change: transform;

    /* Pull images towards edges to bleed */
    transform: translateX(5%);
}

.showcase-split.reverse .clay-mockup {
    transform: translateX(-5%);
}

/* Zoomed variant for the centered section */
.clay-mockup.zoomed {
    max-width: 85%;
    transform: scale(1.05);
}

/* Hover effect for all clay mockups */
.showcase-section:hover .clay-mockup {
    transform: scale(1.03);
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}

.showcase-centered:hover .clay-mockup.zoomed {
    transform: scale(1.08);
}

.clay-mockup.stretched {
    width: 100%;
    max-width: none;
    transform: none;
    margin-top: 40px;
    border-radius: 20px;
    /* Remove default clay shadow if needed, or keep it */
}

.clay-mockup.stretched:hover {
    transform: scale(1.01);
}

/* ============================================================
   5. EQ SECTION (Fade-in Image + Badge)
   ============================================================ */
.showcase-eq {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 140px 24px 160px;
    min-height: 80vh;
    justify-content: center;
}

.eq-badge {
    margin-bottom: 48px;
}

.eq-badge span {
    display: inline-block;
    padding: 16px 40px;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 60px;
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.eq-mockup-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 700px;
}

.eq-fade-img {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
}

/* Triggered via IntersectionObserver in JS */
.eq-fade-img.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ============================================================
   6. UPDATED DECAY SECTION (Simpler, no phone mockup)
   ============================================================ */
.decay-demo-section .decay-demo-layout {
    max-width: 560px;
    margin: 60px auto 0;
    padding: 0 24px;
    display: block;
}

/* ============================================================
   7. SCROLL-TRIGGERED ANIMATIONS
   ============================================================ */

/* Text entrance */
.showcase-text-center,
.showcase-text,
.eq-badge {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-text-center.in-view,
.showcase-text.in-view,
.eq-badge.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Mockup entrance */
.showcase-mockup-center,
.showcase-mockup,
.eq-mockup-wrapper {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
        transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.showcase-mockup-center.in-view,
.showcase-mockup.in-view,
.eq-mockup-wrapper.in-view {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   8. RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .showcase-split {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }

    .showcase-split.reverse {
        flex-direction: column;
    }

    .showcase-text {
        max-width: 100%;
    }

    .clay-mockup.zoomed {
        max-width: 95%;
        transform: scale(1);
    }

    .clay-mockup {
        width: 100%;
        max-width: 100%;
    }

    .showcase-section {
        padding: 80px 20px;
    }

    .showcase-eq {
        padding: 100px 20px 120px;
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .showcase-section {
        padding: 60px 16px;
    }

    .showcase-text-center h2,
    .showcase-text h2 {
        font-size: 2rem;
    }

    .showcase-text-center p,
    .showcase-text p {
        font-size: 1rem;
    }

    .eq-badge span {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .showcase-eq {
        padding: 80px 16px 100px;
        min-height: auto;
    }

    .clay-mockup.zoomed {
        max-width: 100%;
    }
}