* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
}

/* Header avec navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    z-index: 1001;
}

/* Menu burger pour mobile */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    margin: 3px 0;
    transition: 0.4s;
    border-radius: 3px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: 0.3s;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #a463f5;
}

.nav-btn {
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    transition: all 0.3s !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap; 
    text-decoration: none;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
    background: linear-gradient(135deg, #7c6cf7, #b574ff);
    color: white !important;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #a463f5 100%);
    padding: 100px 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: white;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2d3748;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #6c5ce7;
}

.about-text p {
    margin-bottom: 20px;
    color: #4a5568;
}

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

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
}

.features-list li::before {
    content: '✓';
    color: #a463f5;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image {
    background: linear-gradient(135deg, #f0f5fa, #e6edf5);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.about-image .placeholder-icon {
    font-size: 8rem;
    line-height: 1;
    filter: drop-shadow(0 10px 20px rgba(108, 92, 231, 0.2));
}

/* How it works */
.how-it-works {
    background: #edf2f7;
    padding: 80px 20px;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

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

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(108, 92, 231, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(108, 92, 231, 0.15);
    border-color: #a463f5;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: #6c5ce7;
}

.step p {
    color: #4a5568;
}

/* Plans Section */
.plans {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    scroll-margin-top: 100px;
}

.plans-subtitle {
    text-align: center;
    color: #4a5568;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid rgba(108, 92, 231, 0.2);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.2);
    border-color: #a463f5;
}

.card.popular {
    border: 2px solid #a463f5;
    background: linear-gradient(135deg, #ffffff, #faf5ff);
}

.card.popular::before {
    content: '🏆 RECOMMANDÉ';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-header {
    text-align: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: #6c5ce7;
    display: block;
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.2);
}

.plan-invest {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.plan-invest p {
    color: #4a5568;
    margin-bottom: 5px;
}

.invest-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #a463f5;
}

.plan-details {
    margin: 25px 0;
    padding: 0 15px;
}

.plan-details p {
    margin-bottom: 8px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-btn {
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
}

/* Testimonials Section avec slider unique */
.testimonials {
    background: #edf2f7;
    padding: 80px 20px;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(108, 92, 231, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: #a463f5;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
}

.testimonial p {
    margin-bottom: 20px;
    color: #4a5568;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h4 {
    color: #2d3748;
    margin-bottom: 5px;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
}

/* Styles du slider unique */
.testimonials-media {
    margin-top: 60px;
}

.media-title {
    text-align: center;
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 30px;
    position: relative;
}

.media-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    margin: 15px auto 0;
    border-radius: 2px;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.media-slider {
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #a463f5 #e2e8f0;
    padding: 10px 0;
    cursor: grab;
}

.media-slider:active {
    cursor: grabbing;
}

.media-slider::-webkit-scrollbar {
    height: 8px;
}

.media-slider::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.media-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    border-radius: 10px;
}

.slider-track {
    display: flex;
    gap: 25px;
    width: max-content;
    padding: 5px;
}

.media-item {
    flex: 0 0 auto;
    width: 320px;
    transition: transform 0.3s;
}

.media-item:hover {
    transform: translateY(-5px);
}

.media-item video,
.media-item img {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(108, 92, 231, 0.2);
    transition: all 0.3s;
    display: block;
}

.media-item video {
    object-fit: cover;
    background: #000;
}

.media-item img {
    object-fit: contain;
    background: #f0f0f0;
    cursor: pointer;
}

.media-item video:hover,
.media-item img:hover {
    border-color: #a463f5;
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.25);
}

.media-label {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.media-caption {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    color: #6c5ce7;
    font-weight: 500;
    padding: 10px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid #a463f5;
    color: #a463f5;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    color: white;
    transform: scale(1.1);
    border-color: transparent;
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Modal Zoom Image */
.image-zoom-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
}

.image-zoom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoomed-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(108, 92, 231, 0.3);
}

.close-zoom {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 3001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid white;
}

.close-zoom:hover {
    color: #a463f5;
    border-color: #a463f5;
    transform: rotate(90deg);
}

/* Modal Formulaire */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    animation: slideDown 0.3s ease-out;
    border: 1px solid rgba(108, 92, 231, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: #a0aec0;
    transition: color 0.3s;
}

.close:hover {
    color: #a463f5;
}

.modal h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2d3748;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
    color: #2d3748;
}

input:focus, select:focus {
    outline: none;
    border-color: #a463f5;
    box-shadow: 0 0 10px rgba(164, 99, 245, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #6c5ce7, #a463f5);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.4);
}

/* Footer */
footer {
    background: #2d3748;
    color: #cbd5e0;
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: #a463f5;
}

.footer-col p, .footer-col a {
    color: #cbd5e0;
    text-decoration: none;
    line-height: 2;
}

.footer-col a:hover {
    color: #a463f5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #a0aec0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: #2d3748;
        padding: 15px;
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }

    .nav-links a:hover {
        background: rgba(108, 92, 231, 0.1);
    }

    .nav-links .nav-btn {
        font-size: 1.3rem;
        padding: 15px 40px;
        margin-top: 20px;
        width: auto;
        min-width: 250px;
        background: linear-gradient(135deg, #6c5ce7, #a463f5);
        border: 2px solid rgba(255, 255, 255, 0.2);
        color: white !important;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step {
        padding: 25px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 25px;
    }

    .plan-price .amount {
        font-size: 2.5rem;
    }

    .invest-amount {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .slider-container {
        padding: 0 5px;
    }

    .media-item {
        width: 280px;
    }

    .media-item video,
    .media-item img {
        height: 350px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .media-title {
        font-size: 1.5rem;
    }

    .media-caption {
        font-size: 0.9rem;
        padding: 8px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .modal h2 {
        font-size: 1.5rem;
    }

    input, select {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        padding: 80px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links .nav-btn {
        min-width: 200px;
        font-size: 1.1rem;
        padding: 12px 30px;
    }
    
    .media-item {
        width: 240px;
    }

    .media-item video,
    .media-item img {
        height: 300px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .media-caption {
        font-size: 0.8rem;
    }

    .close-zoom {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 40px;
    }
}

body.menu-open {
    overflow: hidden;
}
