/* main.css - Styles principaux pour AWC Apps */

/* Styles des téléphones */
.phone-wrapper {
    width: 180px;
    height: 360px;
    position: relative;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 25px;
    padding: 12px;
    box-shadow: 
        0 0 0 3px #4a5568,
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.3s ease;
}

.phone-wrapper:hover {
    transform: perspective(1000px) rotateY(5deg) scale(1.02);
    box-shadow: 
        0 0 0 3px #4a5568,
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* Styles des badges de téléchargement */
.badge {
    display: block;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.badge:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Navigation flottante */
nav button:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .phone-wrapper {
        width: 140px;
        height: 280px;
        padding: 10px;
    }
    
    section h2 {
        font-size: 2rem !important;
    }
    
    .badge img {
        height: 40px !important;
    }
    
    /* Ajustements pour mobile */
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 480px) {
    .phone-wrapper {
        width: 120px;
        height: 240px;
        padding: 8px;
    }
    
    section h2 {
        font-size: 1.5rem !important;
    }
    
    .badge img {
        height: 35px !important;
    }
    
    /* Sections très compactes sur petits écrans */
    section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    section .gap-8 {
        gap: 1rem !important;
    }
    
    section .gap-4 {
        gap: 0.75rem !important;
    }
}
