:root {
    --primary-color: #2fd9f7;  /* Vert clair */
    --secondary-color: #082fddbe;  /* Bleu vif */
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --card-bg: #1e1e1e;
    --card-hover: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

/* Tous les autres styles restent identiques, le dégradé est automatiquement mis à jour grâce à la variable --gradient */

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

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 5%;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-gradient {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: var(--gradient);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient:hover {
    box-shadow: 0 10px 20px rgba(47, 247, 160, 0.3); /* Ombre verte */
}

.btn-outline {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 5% 50px;
    gap: 50px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.app-stores {
    display: flex;
    gap: 15px;
}

.app-stores img {
    height: 50px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.app-stores img:hover {
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

/* Stats Section */
.stats-section {
    padding: 80px 5%;
    background-color: var(--darker-bg);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background-color: var(--card-bg);
    transition: transform 0.3s ease;
    min-width: 200px;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: var(--gradient);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-card:hover h3 {
    color: white;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.stat-card p {
    color: var(--text-secondary);
}

.stat-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* Sections Common Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Features Section */
.features-section {
    padding: 100px 5%;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--gradient);
    color: white;
}

.tab-btn:hover:not(.active) {
    background-color: var(--card-hover);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(47, 247, 160, 0.3); /* Bordure verte */
}


.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 5%;
    background-color: var(--darker-bg);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    z-index: 1;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    border: 5px solid var(--darker-bg);
}

.step-content {
    text-align: center;
    padding: 0 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.video-placeholder {
    background-color: var(--card-bg);
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    cursor: pointer;
}

.video-placeholder i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.video-placeholder:hover i {
    color: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 5%;
}
.progress-bar {
    background: var(--gradient); /* Dégradé vert-bleu */
}
.stat-card:hover {
    background: var(--gradient); /* Dégradé vert-bleu */
}
.tab-btn.active {
    background: var(--gradient); /* Dégradé vert-bleu */
}
.video-placeholder i {
    color: var(--primary-color); /* Vert clair */
}
.video-placeholder:hover i {
    color: var(--secondary-color); /* Bleu vif */
}
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.pricing-card.featured {
    border: 1px solid var(--primary-color);
    transform: translateY(-20px);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.price {
    text-align: center;
    margin-bottom: 30px;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

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

.features-list i {
    width: 20px;
    color: var(--primary-color);
}

.features-list i.fa-times {
    color: var(--text-secondary);
}

.pricing-card button {
    width: 100%;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 5%;
    background-color: var(--darker-bg);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 350px;
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.rating {
    color: var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: 100px 5%;
}

.contact-container {
    display: flex;
    gap: 50px;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-method i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--darker-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(123, 47, 247, 0.2);
}

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

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 80px 5% 30px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none !important;
    }
    .nav-links.active, .nav-buttons.active {
        display: flex !important;
        flex-direction: column;
        background: rgba(18, 18, 18, 0.98);
        position: absolute;
        top: 65px;
        left: 0;
        width: 100vw;
        z-index: 3000;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        padding: 20px 0 10px 0;
        align-items: center;
        gap: 20px;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        animation: mobileMenuFadeIn 0.4s cubic-bezier(.4,0,.2,1);
    }
    .nav-links.active a, .nav-buttons.active a {
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
        padding: 10px 0;
    }
    .navbar {
        flex-wrap: wrap;
        z-index: 4000;
    }
    .mobile-menu-btn {
        display: block;
        z-index: 5000;
        position: relative;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
    
    .step-number {
        margin-bottom: 0;
        min-width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .app-stores {
        flex-direction: column;
        align-items: center;
    }
    
    .features-tabs {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Login Page Styles */
.login-container {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--darker-bg);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(47, 247, 160, 0.2);
}

.show-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.show-password:hover {
    color: var(--primary-color);
}

.forgot-password {
    text-align: right;
    font-size: 0.85rem;
}

.forgot-password a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    accent-color: var(--primary-color);
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

.social-login {
    text-align: center;
    margin: 20px 0;
}

.social-login p {
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: var(--border-color);
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn.google {
    background-color: #db4437;
    color: white;
}

.social-btn.facebook {
    background-color: #4267B2;
    color: white;
}

.social-btn.apple {
    background-color: #000000;
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.register-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.register-link a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: var(--secondary-color);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.login-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.login-footer .footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        border-radius: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full viewport height */
    background: linear-gradient(45deg, #000000, var(--primary-color)); /* Black to green gradient */
}

/* Effet de surbrillance sur le chiffre du compteur */
.counter-highlight {
  background: linear-gradient(90deg, #ffe082 0%, #ffd54f 100%);
  border-radius: 8px;
  box-shadow: 0 0 10px #ffd54f99;
  transition: background 0.2s, box-shadow 0.2s;
}

/* Effet de vibration à la fin de l'animation */
@keyframes counter-vibrate {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}
.counter-vibrate {
  animation: counter-vibrate 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

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