* {
    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;
    background: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 20px 0;
}

.header-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.header-nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav a:hover {
    color: #ff8c42;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8c42;
    transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000000;
    color: white;
    padding: 100px 0 60px 0;
    position: relative;
    overflow: hidden;
}

/* Animated Bubbles Background */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;
    border-radius: 50%;
    opacity: 0.3;
    animation: rise 15s infinite ease-in;
    filter: blur(60px);
}

.bubble:nth-child(1) {
    width: 150px;
    height: 150px;
    left: 10%;
    background: radial-gradient(circle, #ff6b35, #ff6b35, transparent);
    animation-delay: 0s;
    animation-duration: 12s;
}

.bubble:nth-child(2) {
    width: 200px;
    height: 200px;
    left: 25%;
    background: radial-gradient(circle, #ff4444, #ff4444, transparent);
    animation-delay: 2s;
    animation-duration: 14s;
}

.bubble:nth-child(3) {
    width: 120px;
    height: 120px;
    left: 40%;
    background: radial-gradient(circle, #ff8c42, #ff8c42, transparent);
    animation-delay: 4s;
    animation-duration: 16s;
}

.bubble:nth-child(4) {
    width: 180px;
    height: 180px;
    left: 55%;
    background: radial-gradient(circle, #4caf50, #4caf50, transparent);
    animation-delay: 1s;
    animation-duration: 13s;
}

.bubble:nth-child(5) {
    width: 160px;
    height: 160px;
    left: 70%;
    background: radial-gradient(circle, #66bb6a, #66bb6a, transparent);
    animation-delay: 3s;
    animation-duration: 15s;
}

.bubble:nth-child(6) {
    width: 140px;
    height: 140px;
    left: 85%;
    background: radial-gradient(circle, #ff5722, #ff5722, transparent);
    animation-delay: 5s;
    animation-duration: 17s;
}

.bubble:nth-child(7) {
    width: 190px;
    height: 190px;
    left: 15%;
    background: radial-gradient(circle, #81c784, #81c784, transparent);
    animation-delay: 2.5s;
    animation-duration: 14.5s;
}

.bubble:nth-child(8) {
    width: 170px;
    height: 170px;
    left: 50%;
    background: radial-gradient(circle, #ff7043, #ff7043, transparent);
    animation-delay: 4.5s;
    animation-duration: 16.5s;
}

.bubble:nth-child(9) {
    width: 155px;
    height: 155px;
    left: 35%;
    background: radial-gradient(circle, #ff6f00, #ff6f00, transparent);
    animation-delay: 1.5s;
    animation-duration: 13.5s;
}

.bubble:nth-child(10) {
    width: 145px;
    height: 145px;
    left: 65%;
    background: radial-gradient(circle, #8bc34a, #8bc34a, transparent);
    animation-delay: 3.5s;
    animation-duration: 15.5s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateX(50px) scale(1.3);
        opacity: 0.4;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        bottom: 110%;
        transform: translateX(-50px) scale(0.8);
        opacity: 0;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.logo {
    width: 220px;
    height: auto;
    margin: 0;
    filter: drop-shadow(0 4px 20px rgba(255, 140, 66, 0.3));
}

.tagline {
    font-size: 2rem;
    font-weight: 200;
    margin-bottom: 0;
    opacity: 0.95;
    letter-spacing: 2px;
}

.description {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 300;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-appstore {
    background: #000;
    color: white;
}

.btn-appstore:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-playstore {
    background: white;
    color: #333;
}

.btn-playstore:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel 3D */
.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    perspective: 1200px;
}

.carousel-3d {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    width: 280px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: block;
}

/* Position centrale (active) */
.carousel-slide[data-position="0"] {
    transform: translateX(0) scale(1) rotateY(0deg);
    z-index: 3;
    opacity: 1;
}

/* Position gauche */
.carousel-slide[data-position="-1"] {
    transform: translateX(-250px) scale(0.6) rotateY(25deg);
    z-index: 1;
    opacity: 0.5;
}

/* Position droite */
.carousel-slide[data-position="1"] {
    transform: translateX(250px) scale(0.6) rotateY(-25deg);
    z-index: 1;
    opacity: 0.5;
}

/* Positions cachées */
.carousel-slide[data-position="-2"],
.carousel-slide[data-position="2"] {
    transform: translateX(0) scale(0.5);
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Contact Page Styles */
.container-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-content {
    text-align: center;
}

.contact-content h1 {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: white;
}

.contact-intro {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0.9;
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    color: white;
    font-weight: 300;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff8c42;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.contact-info {
    margin-top: 40px;
}

.contact-info p {
    color: white;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.9;
}

.email-link {
    color: #ff8c42;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #ff6b35;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-status.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #4caf50;
    opacity: 1;
}

.form-status.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.4);
    color: #f44336;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav {
        gap: 20px;
        font-size: 0.9rem;
    }
    
    .header-nav a {
        font-size: 0.75rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .logo {
        width: 180px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 1.6rem;
        letter-spacing: 1.5px;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .carousel-container {
        height: 450px;
    }
    
    .carousel-slide {
        width: 200px;
    }
    
    .carousel-slide[data-position="-1"] {
        transform: translateX(-180px) scale(0.55) rotateY(25deg);
    }
    
    .carousel-slide[data-position="1"] {
        transform: translateX(180px) scale(0.55) rotateY(-25deg);
    }
    
    .carousel-slide img {
        border-radius: 15px;
    }
}
