/* ====================================
   BUDGET TIER: HIGH - PREMIUM PC STYLING
   ==================================== */

/* 1. SECTIONS HÉRO ET PARALLAXE */
.parallax-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

#pc-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrière-plans personnalisés pour PC haut de gamme */
#pc-hero.ultra-instinct {
    background: linear-gradient(rgba(20,20,20,0.7), rgba(0,0,0,0.5)), 
                url("../../assets/images/products/badfon-epic-dragon-knight-fight.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#pc-hero.le-rat {
    background: linear-gradient(rgba(30,0,50,0.8), rgba(0,0,0,0.6)), 
                url("../../assets/images/products/cyberpunk-rat.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#pc-hero.artifichat {
    background: linear-gradient(rgba(0,30,60,0.8), rgba(0,0,0,0.6)), 
                url("../../assets/images/products/ai-cat-tech.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-content h1,
.hero-content h2 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInSlideUp 1s ease-out;
}

.hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0;
    animation: fadeInSlideUp 1s ease-out 0.3s forwards;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* 2. CARTES DE SPÉCIFICATIONS */
.pc-showcase {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pc-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.pc-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.pc-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 300%;
    border-radius: 22px;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pc-card:hover::before {
    opacity: 1;
}

.pc-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pc-card h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 3. SPÉCIFICATIONS TECHNIQUES */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.spec-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #4facfe;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.spec-item h4 {
    color: #4facfe;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-item p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

/* 4. SECTION PRIX */
.price-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
}

.price-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-tag {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin: 20px 0;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* 5. ANIMATIONS */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 6. RESPONSIVE */
@media (max-width: 768px) {
    #pc-hero {
        padding: 80px 0;
        min-height: 70vh;
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .pc-card {
        padding: 25px;
        margin: 15px 0;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .price-tag {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .pc-card {
        padding: 20px;
    }
    
    .price-container {
        padding: 25px;
        margin: 0 15px;
    }
}

/* 7. ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce) {
    .pc-card,
    .spec-item,
    .hero-content h1,
    .hero-content h2,
    .hero-content p {
        animation: none;
        transition: none;
    }
    
    #pc-hero {
        background-attachment: scroll;
    }
}

/* 8. MODE IMPRESSION */
@media print {
    #pc-hero {
        background: none;
        color: #000;
        padding: 20px 0;
    }
    
    .pc-card {
        background: #f5f5f5;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}