/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Variables CSS */
:root {
    --primary-color: #00799E;
    --secondary-color: #00A680;
    --gradient-bg: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --shadow-light: rgba(0, 121, 158, 0.1);
    --shadow-medium: rgba(0, 121, 158, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 121, 158, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.cloud-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--text-white);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.4s forwards;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: slideInUp 1s ease-out 0.6s forwards;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Dashboard Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideInRight 1s ease-out 0.8s forwards;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    transition: var(--transition);
}

.dashboard-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.dashboard-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.dashboard-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.dashboard-content {
    position: relative;
}

/* Kiki Main Graphic - remplace cloud-graphic */
.kiki-main-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.kiki-main-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.kiki-main-image:hover {
    animation-play-state: paused;
    transform: rotate(360deg) scale(1.1);
    transition: transform 0.8s ease-in-out;
}

.connection-lines {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.line {
    width: 2px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 auto 4px;
    border-radius: 1px;
}

.line-1 { height: 20px; }
.line-2 { height: 15px; }
.line-3 { height: 10px; }

.app-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    cursor: pointer;
}

.app-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.app-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.app-icon.orange { background: linear-gradient(135deg, #ff6b35, #f7931e); }
.app-icon.blue { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.app-icon.teal { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.app-icon.yellow { background: linear-gradient(135deg, #fa709a, #fee140); }

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.feature-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-title {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Store Section */
.store-section {
    padding: 6rem 2rem;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.store-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.store-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.store-text {
    color: var(--text-white);
}

.store-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.store-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
}

.store-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 20px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: var(--transition);
}

.phone-mockup:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 30px;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.phone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.phone-cloud {
    margin-bottom: 2rem;
}

.phone-cloud svg {
    width: 80px;
    height: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.phone-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: var(--transition);
}

.bar-1 { width: 80%; }
.bar-2 { width: 60%; }
.bar-3 { width: 90%; }
.bar-4 { width: 40%; }

.phone-mockup:hover .bar {
    background: rgba(255, 255, 255, 0.5);
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.dashboard-mockup {
    animation: float 6s ease-in-out infinite;
}

.phone-mockup {
    animation: float 8s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .store-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .features,
    .store-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .dashboard-mockup {
        max-width: 300px;
        padding: 1rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}


/* Effets visuels avancés et animations supplémentaires */

/* Animation de pulsation pour les éléments interactifs */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 166, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 166, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 166, 128, 0);
    }
}

.cta-button {
    animation: pulse 2s infinite;
}

/* Effet de glassmorphism renforcé */
.dashboard-mockup,
.feature-card,
.phone-mockup {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Effet de morphing sur les icônes */
.app-icon {
    position: relative;
    overflow: hidden;
}

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

.app-icon:hover::before {
    left: 100%;
}

/* Animation de rotation pour les éléments cloud */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cloud-main {
    transition: var(--transition);
}

.dashboard-mockup:hover .cloud-main {
    animation: rotate 3s linear infinite;
}

/* Effet de vague sur le background */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="rgba(255,255,255,0.1)"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="rgba(255,255,255,0.1)"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="rgba(255,255,255,0.2)"/></svg>') repeat-x;
    background-size: 1200px 120px;
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}

/* Effet de parallax sur les sections */
.features {
    transform-style: preserve-3d;
}

.feature-card {
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateZ(20px) translateY(-8px);
}

/* Animation de typing pour les textes */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--text-white);
    }
}

.hero-title {
    overflow: hidden;
    border-right: 3px solid var(--text-white);
    white-space: nowrap;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
}

/* Effet de particules flottantes */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.particle {
    animation: particleFloat 6s linear infinite;
}

/* Effet de glow sur les éléments interactifs */
.cta-button:hover,
.app-icon:hover,
.feature-card:hover {
    box-shadow: 
        0 0 20px rgba(0, 166, 128, 0.3),
        0 0 40px rgba(0, 166, 128, 0.2),
        0 0 60px rgba(0, 166, 128, 0.1);
}

/* Animation de révélation progressive */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card {
    animation: reveal 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

/* Effet de distorsion sur les images au hover */
.feature-image {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover .feature-image {
    transform: scale(1.2) rotate(5deg);
    filter: brightness(1.2) contrast(1.1);
}

/* Animation de loading pour les éléments */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
}

/* Effet de morphing sur les boutons */
.cta-button {
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before {
    left: 100%;
}

/* Responsive amélioré avec animations */
@media (max-width: 768px) {
    .hero-title {
        animation: none;
        border-right: none;
        white-space: normal;
    }
    
    .particle {
        display: none;
    }
    
    .dashboard-mockup:hover .cloud-main {
        animation: none;
    }
}

/* Effet de focus amélioré pour l'accessibilité */
.nav-link:focus,
.cta-button:focus,
.app-icon:focus,
.feature-card:focus {
    outline: 2px solid var(--text-white);
    outline-offset: 2px;
}

/* Animation de chargement de page */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body.loaded {
    animation: pageLoad 0.5s ease-out;
}

/* Effet de transition entre les sections */
.section-transition {
    position: relative;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: sectionReveal 2s ease-in-out infinite;
}

@keyframes sectionReveal {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}


/* Icônes CSS pour remplacer les images */
.feature-icon-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon-placeholder::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
}

.security::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/><path d="M9 12l2 2 4-4"/></svg>') no-repeat center;
    background-size: contain;
}

.reliability::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M20 6L9 17l-5-5"/></svg>') no-repeat center;
    background-size: contain;
}

.speed::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>') no-repeat center;
    background-size: contain;
}

.france::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>') no-repeat center;
    background-size: contain;
}

/* Ajout du bouton CTA manquant */
.hero-text {
    position: relative;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
}

/* Correction de l'animation typing pour mobile */
@media (max-width: 768px) {
    .hero-title {
        animation: none !important;
        border-right: none !important;
        white-space: normal !important;
    }
}

/* Amélioration de la visibilité du bouton CTA */
.cta-button {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Animation de pulsation pour le bouton CTA */
@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cta-button {
    animation: ctaPulse 2s infinite;
}

/* Amélioration des effets hover sur les cartes */
.feature-card:hover .feature-icon-placeholder {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.feature-icon-placeholder {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


/* Animation d'installation d'application sur le téléphone */
.app-installation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.3s ease;
    z-index: 10;
    min-width: 200px;
    text-align: center;
}

.app-installation.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.installing-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.app-icon-installing {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 121, 158, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

.app-icon-installing svg {
    width: 32px;
    height: 32px;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 121, 158, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 121, 158, 0.4);
    }
}

.app-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.progress-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 121, 158, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 1.5s ease-in-out infinite;
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.installation-status {
    font-size: 0.75rem;
    color: rgba(0, 121, 158, 0.7);
    font-weight: 500;
}

/* Animation de succès */
.app-installation.success .app-icon-installing {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: successPulse 0.6s ease-out;
}

.app-installation.success .app-icon-installing svg path:last-child {
    stroke: white;
    animation: checkmark 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        stroke-dasharray: 0 20;
    }
    100% {
        stroke-dasharray: 20 0;
    }
}

/* Animation de l'icône de téléchargement */
.app-icon-installing svg path:first-child {
    animation: downloadArrow 1s ease-in-out infinite;
}

@keyframes downloadArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(2px);
    }
}

/* Responsive pour l'animation d'installation */
@media (max-width: 480px) {
    .app-installation {
        padding: 1rem;
        min-width: 160px;
    }
    
    .app-icon-installing {
        width: 50px;
        height: 50px;
    }
    
    .app-icon-installing svg {
        width: 28px;
        height: 28px;
    }
    
    .app-name {
        font-size: 0.875rem;
    }
    
    .progress-text {
        font-size: 0.75rem;
    }
    
    .installation-status {
        font-size: 0.625rem;
    }
}

/* Animation d'apparition en cascade */
.app-installation .installing-app > * {
    opacity: 0;
    transform: translateY(10px);
    animation: slideInUp 0.4s ease-out forwards;
}

.app-installation .installing-app > *:nth-child(1) { animation-delay: 0.1s; }
.app-installation .installing-app > *:nth-child(2) { animation-delay: 0.2s; }
.app-installation .installing-app > *:nth-child(3) { animation-delay: 0.3s; }
.app-installation .installing-app > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Stay Informed Section */
.stay-informed-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.stay-informed-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.stay-informed-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.stay-informed-text {
    color: white;
}

.stay-informed-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #e0f7fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stay-informed-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.stay-informed-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.stay-informed-form {
    position: relative;
}

.notification-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.feature-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.feature-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.feature-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.feature-option input[type="checkbox"]:checked + .checkmark {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.feature-option input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submit-button {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

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

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.button-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.submit-button:hover .button-icon {
    transform: translateX(4px);
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: white;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.form-success p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

/* Responsive pour la section Stay Informed */
@media (max-width: 768px) {
    .stay-informed-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stay-informed-title {
        font-size: 2.5rem;
    }
    
    .notification-form {
        padding: 2rem;
    }
    
    .feature-options {
        grid-template-columns: 1fr;
    }
    
    .stay-informed-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .stay-informed-title {
        font-size: 2rem;
    }
    
    .notification-form {
        padding: 1.5rem;
    }
}


/* Mascotte Kiki - ancienne version supprimée car remplacée par kiki-main-graphic */

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive pour Kiki */
@media (max-width: 768px) {
    .kiki-mascotte {
        top: 10px;
        right: 10px;
    }
    
    .kiki-image {
        width: 40px;
        height: 40px;
    }
}

