:root {
    --primary-color: #CCFF00;
    --secondary-color: #9FCC00;
    --text-color: #FFFFFF;
    --dark-bg: #0A0A0A;
    --card-bg: #1A1A1A;
    --light-text: #CCCCCC;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

.nav-links .cta-button {
    background: var(--gradient);
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

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

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

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

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

/* Menu mobile */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 5%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        flex-direction: column;
        background: var(--dark-bg);
        padding: 2rem 2rem;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0.4rem 0;
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.1rem;
        padding: 0.3rem 0;
        display: block;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .language-switch {
        margin: 0.4rem 0;
        display: flex;
        justify-content: center;
    }

    .lang-btn {
        margin: 0 auto;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 6rem 5% 2rem;
    display: flex;
    flex-direction: column;
    background-color: var(--dark-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/freepik__upload__44763.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.9),
        rgba(10, 10, 10, 0.7)
    );
    z-index: 2;
}

.hero-text {
    position: relative;
    z-index: 3;
    max-width: 50%;
    margin-top: 8vh;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 600px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 25%;
    transform: translateY(-20%);
    z-index: 3;
    width: 45%;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.primary-button {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(204, 255, 0, 0.2);
}

.secondary-button {
    background: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(204, 255, 0, 0.1);
    transform: translateY(-3px);
}

/* Buttons */
.button-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
}

.button-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.button-secondary {
    background: rgba(204, 255, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.button-secondary:hover {
    background: rgba(204, 255, 0, 0.2);
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.primary-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-button {
    background: var(--gradient);
    border: none;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
    color: white;
}

.secondary-button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.primary-button:hover {
    background: var(--secondary-color);
}

.secondary-button:hover {
    background: var(--dark-bg);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: var(--dark-bg);
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(204, 255, 0, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    animation: float 4s ease-in-out infinite;
    animation-delay: calc(var(--animation-order) * 0.5s);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Why Choose Us Section */
.why-us {
    padding: 5rem 5%;
    background: var(--dark-bg);
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

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

/* Case Studies Section */
.case-studies {
    padding: 5rem 5%;
    background: var(--dark-bg);
}

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

.case-card {
    background: var(--card-bg);
    border: 1px solid rgba(204, 255, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
}

.case-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-card h3, .case-card p {
    padding: 1rem;
}

/* Process Section */
.process {
    padding: 5rem 5%;
    background: var(--dark-bg);
}

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

.step {
    background: var(--card-bg);
    border: 1px solid rgba(204, 255, 0, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
}

.step-number {
    background: var(--primary-color);
    color: var(--dark-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: absolute;
    top: -20px;
    left: 2rem;
}

.step-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.process-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background: var(--dark-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    color: var(--text-color);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group textarea + label {
    top: 1rem;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    background: var(--dark-bg);
    padding: 0 0.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 255, 0, 0.4);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 5%;
    text-align: center;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(204, 255, 0, 0.2);
    color: var(--white);
}

.final-cta h2 {
    margin-bottom: 1.5rem;
}

.final-cta p {
    margin-bottom: 2rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 5%;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.pricing-card {
    background: linear-gradient(145deg, #1c1c1c, #242424);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(204, 255, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.1);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    color: var(--light-text);
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin: 1rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features-list li i {
    color: var(--primary-color);
    font-size: 1rem;
}

.pricing-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(204, 255, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 1rem;
}

.pricing-button:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.pricing-button.featured {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.pricing-button.featured:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Footer */
footer {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(204, 255, 0, 0.2);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

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

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .cta-buttons {
        justify-content: center;
    }

    .service-image,
    .case-image {
        height: 180px;
    }

    .step-image {
        height: 150px;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 5% 2rem;
        text-align: left;
    }

    .hero-text {
        max-width: 100%;
        margin-top: 2vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

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

    .hero-image {
        display: none; /* Cache l'image sur mobile */
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        padding: 1rem;
        background: var(--dark-bg);
    }

    .language-switch {
        margin: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }
}

/* Language Switch */
.language-switch {
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(204, 255, 0, 0.1);
    transform: translateY(-2px);
}

.lang-btn i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.current-lang {
    font-weight: 500;
}

/* Hide elements based on language */
[data-lang="en"] {
    display: none;
}

html[lang="en"] [data-lang="fr"] {
    display: none;
}

html[lang="en"] [data-lang="en"] {
    display: block;
}
