:root {
    /* Mode Lumière - Premium */
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-secondary: #475569;
    --accent-color: #7c3aed; 
    --accent-light: #f3f0ff; 
    --card-bg: #ffffff; 
    --border-color: #e2e8f0;
    --header-bg: rgba(248, 250, 252, 0.9);
    
    /* Ombres Premium */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(124, 58, 237, 0.1), 0 10px 10px -5px rgba(124, 58, 237, 0.04);
    --shadow-premium-hover: 0 25px 50px -12px rgba(124, 58, 237, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* En-tête et Langues */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    box-sizing: border-box;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #7c3aed, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lang-switch {
    display: flex;
    gap: 15px;
}

.lang-switch img {
    width: 30px;
    height: 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
    opacity: 0.5;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.lang-switch img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.lang-switch img.active {
    opacity: 1;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
    border-color: var(--accent-color);
}

/* Sections */
section {
    padding: 120px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #0f172a;
}

p {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Grille de Fonctionnalités */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.card {
    background-color: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: 0.5s;
}

.card:hover::after {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: var(--shadow-premium-hover);
}

.card h3 {
    color: var(--accent-color);
    margin-top: 0;
    font-size: 1.5em;
    font-weight: 700;
}

/* Prix */
.pricing {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.price-card {
    background: var(--card-bg);
    padding: 45px;
    border-radius: 20px;
    width: 320px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-hover);
    border-color: rgba(124, 58, 237, 0.3);
}

.price-card.premium {
    background: var(--accent-light);
    border: 2px solid var(--accent-color);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.price-card.premium:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 30px 60px -15px rgba(124, 58, 237, 0.3);
}

.price-card.premium h3 {
    color: var(--accent-color);
}

.price {
    font-size: 2.8em;
    font-weight: bold;
    margin: 20px 0;
    color: #0f172a;
}

/* Disponibilité */
.availability {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    margin-top: 70px;
    border: 2px dashed rgba(124, 58, 237, 0.4);
    box-shadow: var(--shadow-md);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.availability:hover {
    border-color: rgba(124, 58, 237, 0.8);
    box-shadow: var(--shadow-lg);
}

.availability h3 {
    margin-top: 0;
    color: #0f172a;
}

.btn-appstore {
    background: #000000;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 15px 0;
}

.btn-appstore:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: #ffffff;
}

.apple-logo {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.tiktok-warning {
    font-size: 0.85rem;
    margin-top: 10px;
    color: #475569;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.4;
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    margin-bottom: 20px;
}

/* Testimonial */
.testimonial {
    font-style: italic;
    font-size: 1.3em;
    color: var(--text-color);
    margin: 100px 0;
    padding: 35px;
    border-left: 6px solid var(--accent-color);
    background: var(--card-bg);
    border-radius: 0 20px 20px 0;
    text-align: left;
    box-shadow: var(--shadow-md);
}

footer {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    background: transparent;
}

@media (max-width: 600px) {
    h1 { font-size: 2.2em; }
    header { padding: 10px 20px; }
    .pricing { flex-direction: column; align-items: center; gap: 30px;}
    .price-card { width: 100%; box-sizing: border-box; padding: 35px;}
    .price-card.premium { transform: scale(1); margin-top: 20px; }
    .price-card.premium:hover { transform: translateY(-8px) scale(1); }
}
