/* MOCKUP & DELIVERABLES */
.mockup-section {
    margin-top: 30px;
    text-align: center;
}

/* CAROUSEL NAVIGATION CONTROLS */
.carousel-wrapper {
    position: relative;
    max-width: 400px;
    /* Largura ajustada para focar no celular central */
    margin: 0 auto;
    padding: 0 40px;
    /* Espaço para as setas no desktop */
}

/* Nav Buttons Styles */
.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    color: #333;
    z-index: 50;
    /* Z-index prioritário */
    transition: transform 0.2s, background 0.3s;

    /* Absolute Positioning Centered Vertically */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-nav-btn.prev {
    left: -20px;
    /* Desktop: Fora do wrapper */
}

.carousel-nav-btn.next {
    right: -20px;
    /* Desktop: Fora do wrapper */
}

.carousel-nav-btn:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .carousel-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0;
        overflow: visible;
        /* Permitir que sombras apareçam */
    }

    .carousel-nav-btn {
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }

    .carousel-nav-btn.prev {
        left: 10px;
        /* Dentro da tela */
    }

    .carousel-nav-btn.next {
        right: 10px;
        /* Dentro da tela */
    }
}

.carousel-pagination {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--brand-primary);
    width: 10px;
    box-shadow: 0 0 10px var(--brand-primary);
}

.deliverables-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
}

.deliverable-item {
    background: rgba(255, 255, 255, 0.08);
    /* Fundo mais sutil */
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Borda fina */
    padding: 6px 14px;
    /* Mais compacto */
    border-radius: 50px;
    /* Formato Pílula */
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.85rem;
    /* Fonte levemente menor */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.deliverable-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--brand-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.deliverable-item span {
    color: var(--brand-primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Container */
.mockup-carousel {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    margin-top: 20px;
    /* Desktop: Center alignment */
    flex-wrap: wrap;
}

/* Mobile Scroll Behavior */
@media (max-width: 900px) {
    .mockup-carousel {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        /* Scroll Snap REMOVIDO para evitar bugs com JS */
        /* scroll-snap-type: x mandatory; */

        /* Full width break-out */
        width: 100vw;
        margin-left: -20px;

        /* Center Alignment Logic: 50vw - Half Item Width (150px) */
        padding-left: calc(50vw - 150px);
        padding-right: calc(50vw - 150px);
        /* Balanceamento */

        -webkit-overflow-scrolling: touch;
        /* Smooth scroll no iOS e Android antigo */
        gap: 20px;
        scroll-padding-left: calc(50vw - 150px);
    }

    .mockup-carousel .phone-frame {
        flex: 0 0 300px;
        /* Slightly bigger (was 280), perfectly centered */
        width: 300px;
        max-width: none;
        scroll-snap-align: center;
    }
}

.phone-frame {
    position: relative;
    width: 280px;
    max-width: 90%;
    margin: 0 auto;
    /* Frame border: Black with subtle gray edge for bezel */
    border: 10px solid #111;
    border-radius: 45px;
    overflow: hidden;
    background: #000;
    /* Realistic depth shadows */
    box-shadow:
        0 0 0 2px #2a2a2a,
        0 30px 60px rgba(0, 0, 0, 0.9),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
    aspect-ratio: 9/19.5;
    /* iPhone aspect ratio */
    z-index: 10;
    flex-shrink: 0;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 35px;
    /* Matches internal frame curve */
    opacity: 0.98;
}

/* Notch Container */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #000;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 20;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Speaker Grill Detail */
.phone-notch::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Camera Lens Detail */
.phone-notch::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.1);
}