/* ==========================================================
   STYLE_HOME.CSS - Styles spécifiques pour les pages d'accueil
   Compatible avec toutes les versions (Angular et statiques)
   ========================================================== */

/* Hero Section Améliorée */
.hero {
    background: linear-gradient(135deg, #1C1C1C 0%, #2d2d2d 100%);
    color: #FFFFFF;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out;
}

.hero .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #FFFFFF;
}

.features h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #1C1C1C;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.features h3 {
    font-size: 2rem;
    color: #1C1C1C;
    font-weight: 400;
}

.features > .container > p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-card {
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: #FFD700;
}

.comparison-card.highlight {
    border-color: #FFD700;
    border-width: 3px;
    background: linear-gradient(135deg, #FFFEF7 0%, #FFFFFF 100%);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.comparison-card.highlight::before {
    content: '⭐ RECOMMANDÉ';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: #1C1C1C;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.comparison-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1C1C1C;
    font-weight: 600;
}

.comparison-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.comparison-card.highlight .price {
    color: #1C1C1C;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.comparison-card .time {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    line-height: 1.5;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section générique */
.section {
    padding: 4rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features h2 {
        font-size: 1.8rem;
    }
    
    .features h3 {
        font-size: 1.5rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-card {
        padding: 2rem 1.5rem;
    }
    
    .comparison-card .price {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .comparison-card.highlight::before {
        font-size: 0.7rem;
        padding: 0.25rem 0.75rem;
    }
}

/* Amélioration des boutons dans le hero */
.hero .btn {
    min-width: 200px;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.hero .btn-primary {
    background: #FFD700;
    color: #1C1C1C;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.hero .btn-primary:hover {
    background: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.hero .btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.hero .btn-secondary:hover {
    background: #FFFFFF;
    color: #1C1C1C;
    transform: translateY(-3px);
}