:root {
    --primary-color: #e32c40;
    --secondary-color: #2bc6a7;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

input, textarea, button, select, a, div {
    -webkit-tap-highlight-color: transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

header {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 2rem; /* Add padding to create space */
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.language-switcher {
    margin-right: 1rem;
}

.styled-select {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: white;
    padding: 0.4rem 1.5rem 0.4rem 0.8rem; /* Plus d'espace à droite */
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.2s;
    appearance: none; /* Désactive le style par défaut */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center; /* Positionne la flèche */
    background-size: 12px;
}

.styled-select:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1rem;
    }
       
    .navbar {
        padding: 0 1rem;
    }

    .logo {
        padding-right: 1rem;
    }

    .language-switcher { 
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .currency-switcher {
        margin-right: 1rem;
    }
    
    .styled-select {
        padding: 0.25rem 1.2rem 0.25rem 0.5rem;
        background-position: right 0.3rem center;
    }
}

.hero {
    padding: 10rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-color), #2d2d2d);
    color: white;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: #d9d9d9;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #c22235;
    transform: translateY(-2px);
}

.phone-mockup {
    position: relative;
    margin-top: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    overflow: hidden;
    max-width: 300px;
    border: 8px solid #222;
}

.phone-mockup video {
    width: 100%;
    display: block;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title p {
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-color);
}

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

.animate-in {
    animation: slideUp 0.6s ease-out forwards;
}

/* Showcase Section */
.app-showcase {
    background-color: #f0f2f5;
    padding: 5rem 2rem;
    text-align: center;
}

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

.showcase-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.showcase-card:hover {
    transform: translateY(-5px);
}

.showcase-img {
    width: 100%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

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

.showcase-content {
    padding: 1.5rem;
}

.showcase-content h4 {
    margin-bottom: 0.5rem;
}

.showcase-content p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    background-color: #eee;
}

.carousel-slide {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

.carousel-nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 5;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.carousel-dot.active {
    background-color: white;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 5;
    transition: background-color 0.3s;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* Subscription Section */
.subscription-section {
    background-color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.subscription-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subscription-plans {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.subscription-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subscription-card:hover .subscription-price {
    color: var(--primary-color);
    transition: color 0.3s;
}

.subscription-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 1rem;
    transform: translateX(0%) translateY(-98%) rotate(45deg) translateX(42%);
    width: 150px;
    text-align: center;
}

.subscription-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.subscription-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.subscription-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.subscription-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--dark-color);
}

.subscription-period {
    font-size: 1rem;
    color: var(--gray-color);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.subscription-features {
    text-align: left;
    margin: 1.5rem 0;
}

.subscription-feature {
    margin-bottom: 0.8rem;
    color: var(--gray-color);
    position: relative;
    padding-left: 1.5rem;
}

.subscription-feature::before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.subscription-note {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    border-left: 4px solid var(--primary-color);
}

.subscription-note h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subscription-note p {
    color: var(--gray-color);
}

.free-trial-badge {
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    display: inline-block;
}

.demo-mode-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.demo-mode-button:hover {
    background-color: #24a58e;
    transform: translateY(-2px);
}

               
/* Download Section */ 
.download-section {
    background: linear-gradient(135deg, var(--primary-color), #d41e31);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-button {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.download-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.download-button svg {
    width: 24px;
    height: 24px;
}

 /* Contact Section */
.contact-section {
    background-color: var(--light-color);
    padding: 4rem 2rem;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-content p {
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.contact-email {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 0.6rem 2rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 4fr 2fr;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo h2 {
    font-size: 1.3rem;
}

.footer-about p {
    color: #aaa;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-end;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Mobile menu button */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

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

    .footer-about {
        text-align: center;
    }

    .footer-links {
        align-items: center;
        text-align: center;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transition: bottom 0.3s ease-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.active {
    bottom: 0;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { bottom: -100%; }
    to { bottom: 0; }
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-button {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cookie-button.accept {
    background-color: var(--secondary-color);
    color: white;
}

.cookie-button.decline {
    background-color: transparent;
    border-color: var(--gray-color);
    color: var(--gray-color);
}

.cookie-button.accept:hover {
    background-color: #24a58e;
    transform: translateY(-1px);
}

.cookie-button.decline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-button {
        width: 100%;
    }
}

/* Mobile menu styles */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}
