@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-accent: #F97316;
    --bg-main: #1A1D21;
    --card-bg: #2D3238;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --border-color: rgba(255, 255, 255, 0.08);
}

.app-download-page {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    padding: 60px 20px;
    background-color: var(--bg-main);
    overflow: hidden;
}

/* Section Héros */
.app-hero {
    max-width: 1100px;
    margin: 0 auto 100px auto;
    text-align: center;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
}
.hero-content h1 { font-size: 48px; font-weight: 800; line-height: 1.2; margin: 0 0 20px 0; }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; }

/* Section Bénéfices */
.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    /* MODIFIÉ : On rend la transition plus douce (0.3s) et on inclut la bordure */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* NOUVEAU : C'est ici que toute la magie de l'animation se passe */
.feature-item:hover {
    transform: translateY(-8px) scale(1.02); /* Lévitation plus prononcée + léger zoom */
    border-color: var(--primary-accent); /* La bordure devient orange */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(249, 115, 22, 0.15); /* Ombre plus forte + lueur orange */
}

.feature-icon {
    display: inline-flex;
    padding: 15px;
    border-radius: 12px;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--primary-accent);
    margin-bottom: 20px;
    /* NOUVEAU : On ajoute une transition pour l'icône aussi */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* NOUVEAU : L'icône s'anime aussi au survol de la carte parente */
.feature-item:hover .feature-icon {
    transform: scale(1.1); /* L'icône grossit légèrement */
    background-color: var(--primary-accent); /* Le fond devient orange plein */
}

.feature-icon svg { 
    width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.5;
    /* NOUVEAU : On ajoute une transition pour la couleur de l'icône */
    transition: color 0.3s ease;
}

/* NOUVEAU : L'icône (le trait) devient blanche au survol */
.feature-item:hover .feature-icon svg {
    color: var(--text-primary);
}

.feature-item h3 { font-size: 20px; margin: 0 0 10px 0; color: var(--text-primary); }
.feature-item p { color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Boutons de téléchargement */
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.store-badge-link {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.store-badge {
    height: 50px;
    width: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .app-hero { margin-bottom: 80px; }
    .hero-content h1 { font-size: 36px; }
}

@media (max-width: 640px) {
    .app-features { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 32px; }
    .app-download-page { padding: 40px 15px; }
}