/* === RESET ET VARIABLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs Kuma */
    --primary: #FF6B35;
    --primary-light: #FF8C42;
    --secondary: #FFC107;
    --accent: #228B22;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --border: #E0E0E0;
    
    /* Typographie */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Ombres */
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-card: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

/* === HEADER & NAVIGATION === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(255, 140, 66, 0.8) 50%, rgba(255, 193, 7, 0.8) 100%);
    color: white;
    padding: 120px 2rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.7) 0%, rgba(255, 140, 66, 0.7) 50%, rgba(255, 193, 7, 0.7) 100%);
    z-index: 2;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    
    opacity: 0.9;
    z-index: 4;
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-60%) translateX(5px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.app-button {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.app-button:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.app-button i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* === SECTIONS COMMUNES === */
.section {
    padding: 80px 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === SECTION FONCTIONNALITÉS === */
.features {
    background: var(--surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

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

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === SECTION PREMIUM === */
.premium {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-card {
    background: var(--surface);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    max-width: 500px;
    margin: 0 auto;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 25px;
    z-index: -1;
    padding: 3px;
}

.trial-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
}

.price-cfa {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0.3rem 0;
}

.period {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.monthly-equivalent {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.benefits {
    text-align: left;
    margin: 2rem 0;
}

.benefits li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.benefits li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

.premium-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    display: inline-block;
}

.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.premium-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.premium-buttons .premium-button {
    flex: 1;
    max-width: 180px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.premium-buttons .premium-button i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .premium-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .premium-buttons .premium-button {
        width: 100%;
        max-width: 280px;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-download-footer {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

/* === SECTION VIDÉO DÉMO === */
.video-demo {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 0;
}

.video-demo .section-title {
    color: white;
}

.video-demo .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: #000;
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.play-button i {
    font-size: 2rem;
    color: white;
    margin-left: 4px; /* Alignement visuel du triangle */
}

.video-title {
    text-align: center;
}

.video-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-title p {
    opacity: 0.8;
    font-size: 1rem;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-feature {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.video-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.video-feature i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.video-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.video-feature p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive pour la section vidéo */
@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .video-feature {
        padding: 1rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .video-title h3 {
        font-size: 1.2rem;
    }
}

/* === SECTION GALERIE === */
.gallery {
    background: var(--background);
}

.screenshots-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: var(--shadow-card);
}

.screenshots-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.screenshot-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.screenshot-phone {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.screenshot-phone::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    border-radius: 35px;
    pointer-events: none;
}

.screenshot-phone:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05) translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.2);
}

.screenshot-phone::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.screenshot-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.screenshot-phone:hover img {
    transform: scale(1.02);
}

.screenshot-info {
    flex: 1;
    max-width: 400px;
}

.screenshot-info h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.screenshot-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.screenshot-features {
    list-style: none;
}

.screenshot-features li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.screenshot-features li::before {
    content: '✨';
    margin-right: 0.5rem;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.nav-button:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* === SECTION TÉMOIGNAGES === */
.testimonials {
    background: var(--surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.rating i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 25px;
    box-shadow: var(--shadow-card);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.stat-icon-small {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.stat-icon-small i {
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
}

/* === SECTION SÉCURITÉ === */
.security {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    padding: 80px 2rem;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.security-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.security-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.security-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.security-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.badge-item {
    display: flex;
    align-items: center;
}

.badge-item img {
    height: 35px;
    transition: transform 0.3s ease;
}

.badge-item img:hover {
    transform: scale(1.1);
}

/* === SECTION FAQ === */
.faq {
    background: var(--background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-answer.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* === SECTION CONTEUR === */
.storyteller {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8df 100%);
    position: relative;
}

.storyteller-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.storyteller-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.storyteller-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

/* GIF animé du conteur */
.main-storyteller-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    /* Ajouter un bord doré animé */
    border: 3px solid transparent;
    background: linear-gradient(45deg, #ff6b35, #f39c12, #ff6b35) border-box;
    background-clip: padding-box, border-box;
}

/* Image de fallback */
.main-storyteller-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

/* Afficher fallback si GIF ne charge pas */
.main-storyteller-gif:not([src*=".gif"]) + .main-storyteller-fallback,
.main-storyteller-gif[src=""] + .main-storyteller-fallback {
    opacity: 1;
    visibility: visible;
}

/* Effets WOW au hover */
.storyteller-avatar:hover .main-storyteller-gif {
    filter: brightness(1.2) saturate(1.3) drop-shadow(0 8px 16px rgba(255, 107, 53, 0.4));
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6), 0 0 60px rgba(243, 156, 18, 0.4);
}

/* Animation continue de respiration */
.main-storyteller-gif {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: brightness(1) saturate(1) drop-shadow(0 4px 8px rgba(0,0,0,0.2));
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    }
    50% { 
        transform: scale(1.02) rotate(1deg);
        filter: brightness(1.05) saturate(1.1) drop-shadow(0 6px 12px rgba(255, 107, 53, 0.2));
        box-shadow: 0 0 25px rgba(255, 107, 53, 0.5), 0 0 40px rgba(243, 156, 18, 0.3);
    }
}

/* Animation de pulsation continue */
.storyteller-avatar::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.storyteller-expressions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.expression-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expression-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

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

.expression-card:hover::before {
    left: 100%;
}

.expression-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.expression-card:hover .expression-icon {
    transform: scale(1.1) rotate(5deg);
}

.expression-caption {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.expression-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.expression-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* === RESPONSIVE ET OPTIMISATIONS MOBILE === */

/* === OPTIMISATIONS TACTILES ET MOBILES === */
@media (hover: none) and (pointer: coarse) {
    /* Masquer particules pour performance */
    .particles-container {
        display: none !important;
    }
    
    /* Gestures tactiles */
    .interactive-element {
        transition: all 0.2s ease;
        min-height: 44px;
        min-width: 44px;
    }
    
    .feature-card:active {
        transform: translateY(-3px) scale(0.98);
    }
    
    .app-button:active {
        transform: scale(0.95);
    }
    
    .region-point:active {
        transform: scale(1.8);
        opacity: 0.8;
    }
    
    /* Héro optimisé pour tactile */
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.3;
    }
    
    .africa-map-3d {
        width: 85%;
        height: 40%;
        opacity: 0.7;
    }
    
    /* Hero adaptatif mobile */
    .hero-content {
        padding: 0 1rem;
    }
}

/* Touch feedback visuel */
.interactive-element {
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
    tap-highlight-color: rgba(255, 107, 53, 0.2);
    -webkit-user-select: none;
    user-select: none;
}

/* Smooth scroll sur tous les navigateurs */
html {
    scroll-behavior: smooth;
}

/* Optimisation iOS Safari */
body {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === RESPONSIVE TABLETTE ET MOBILE === */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 120px 1.5rem 80px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.8rem !important;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }
    
    /* Améliorer la carte sur tablette */
    .africa-map-3d {
        width: 75%;
        height: 45%;
    }
    
    /* Zones tactiles améliorées */
    .app-button {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        min-height: 48px;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .app-button {
        width: 100%;
        max-width: 280px;
    }
    
    .section {
        padding: 50px 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .screenshot-slide {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .screenshot-phone {
        width: 220px;
        height: 440px;
        transform: none;
    }
    
    .screenshot-info {
        max-width: none;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .badge-item img {
        height: 28px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .price-cfa {
        font-size: 1.5rem;
    }
    
    .monthly-equivalent {
        font-size: 0.8rem;
    }
}

/* === RESPONSIVE PETITS MOBILES === */
@media (max-width: 480px) {
    .hero {
        padding: 100px 1rem 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-break: break-word;
    }
    
    .hero .subtitle {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    
    /* Carte optimisée petits écrans */
    .africa-map-3d {
        width: 90%;
        height: 35%;
        opacity: 0.8;
    }
    
    /* Zones tactiles minimum 44px */
    .app-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
        width: 100%;
        max-width: 300px;
    }
    
    .region-point {
        r: 10; /* Plus gros pour tactile */
    }
    
    /* Améliorer l'accessibilité tactile */
    .interactive-element {
        min-height: 44px;
        min-width: 44px;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .screenshot-phone {
        width: 180px;
        height: 360px;
    }
    
    .gallery-nav {
        gap: 0.5rem;
    }
    
    .nav-button {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        margin: 4px;
    }
    
    .hero::after {
        width: 80px;
        height: 80px;
        right: 2%;
    }
    
    .hero-video {
        height: 300px;
        opacity: 0.7;
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(255, 140, 66, 0.8) 50%, rgba(255, 193, 7, 0.8) 100%);
    }
    
    .storyteller-expressions {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .expression-card {
        padding: 1rem;
    }
    
    .expression-icon {
        width: 60px;
        height: 60px;
    }
    
    .storyteller-avatar {
        width: 150px;
        height: 150px;
    }
    
    /* Réduire les animations GIF sur mobile pour performance */
    .main-storyteller-gif {
        animation-duration: 6s; /* Plus lent sur mobile */
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)) !important;
    }
    
    .main-storyteller-gif:hover {
        transform: scale(1.02) !important; /* Moins intense sur mobile */
    }
    
    /* Garder fallback prêt */
    .main-storyteller-fallback {
        opacity: 0;
        visibility: hidden;
    }
    
    /* Réduire l'effet glow sur mobile */
    .storyteller-avatar::before {
        animation-duration: 5s;
        opacity: 0.2;
    }
    
    .gallery-dots {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .storyteller-expressions {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .section {
        padding: 40px 1rem;
    }
    
    .hero::after {
        display: none;
    }
    
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-logo {
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .app-store-link {
        display: flex;
        justify-content: center;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, #2C3E50 0%, #3E5771 100%);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-description {
    color: #BDC3C7;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.app-download-footer {
    margin-top: 1.5rem;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.app-store-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.app-store-link i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 0.5rem;
    width: 16px;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    color: #BDC3C7;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary);
    margin-right: 0.75rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.social-link i {
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright p {
    color: #BDC3C7;
    margin-bottom: 0.5rem;
}

.made-with {
    color: #95A5A6;
    font-size: 0.9rem;
    font-style: italic;
}

/* === ANIMATIONS SPECTACULAIRES === */

/* Particules africaines */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.particle.star {
    color: var(--secondary);
    font-size: 12px;
}

.particle.diamond {
    color: var(--primary);
    font-size: 8px;
}

.particle.circle {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 0.8; }
    50% { transform: translateY(-10px) rotate(180deg); opacity: 0.4; }
    75% { transform: translateY(-30px) rotate(270deg); opacity: 0.7; }
}

/* Animations d'apparition avancées */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes morphBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.05) rotate(2deg); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(255, 107, 53, 0); }
}

@keyframes wiggle {
    0%, 7% { transform: rotateZ(0); }
    15% { transform: rotateZ(-15deg); }
    20% { transform: rotateZ(10deg); }
    25% { transform: rotateZ(-10deg); }
    30% { transform: rotateZ(6deg); }
    35% { transform: rotateZ(-4deg); }
    40%, 100% { transform: rotateZ(0); }
}

/* Classes d'animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.morph-bounce:hover {
    animation: morphBounce 0.6s ease;
}

.pulse-effect {
    animation: pulse 2s infinite;
}

.wiggle-effect:hover {
    animation: wiggle 0.8s ease;
}

/* Parallax containers */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    transition: transform 0.1s ease-out;
}

/* Motifs culturels africains */
.african-pattern {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.pattern-diamond {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary) 25%, transparent 25%),
                linear-gradient(-45deg, var(--primary) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, var(--primary) 75%),
                linear-gradient(-45deg, transparent 75%, var(--primary) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.pattern-zigzag {
    width: 60px;
    height: 20px;
    background: linear-gradient(135deg, var(--secondary) 25%, transparent 25%) -10px 0,
                linear-gradient(225deg, var(--secondary) 25%, transparent 25%) -10px 0,
                linear-gradient(315deg, var(--secondary) 25%, transparent 25%),
                linear-gradient(45deg, var(--secondary) 25%, transparent 25%);
    background-size: 20px 20px;
}

/* Curseur personnalisé */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewport="0 0 20 20"><circle cx="10" cy="10" r="6" fill="%23FF6B35"/></svg>') 10 10, auto;
}

.interactive-element {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewport="0 0 24 24"><circle cx="12" cy="12" r="8" fill="%23FFC107"/><text x="12" y="16" text-anchor="middle" font-size="12" fill="white">✨</text></svg>') 12 12, pointer;
}

/* === LOADING SCREEN CRÉATIF === */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 2rem;
}

.loading-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.loading-content h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--surface), var(--accent));
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.loading-text {
    font-size: 1.1rem;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

/* === CARTE INTERACTIVE 3D DE L'AFRIQUE === */
.africa-map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.africa-map-3d {
    width: 60%;
    height: 60%;
    max-width: 600px;
    max-height: 450px;
    opacity: 0.4;
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.africa-path {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.africa-path:hover {
    transform: scale(1.05);
    filter: url(#glow) drop-shadow(0 15px 30px rgba(255, 107, 53, 0.5));
}

.region-point {
    transition: all 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.region-point:hover {
    transform: scale(1.5);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.region-point:hover + .region-label,
.region-point:hover ~ .region-label {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.region-label {
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* === TITRE HÉRO STANDARD === */
.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* === AMÉLIORATIONS VISUELLES === */