:root {
    --primary-color: #38b1ed;
    --primary-dark: #2d95cc;
    --dark-bg: #15182d;
    --secondary-bg: #1c1f36;
    --tertiary-bg: #232842;
    --text-light: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #9ca3af;
    --text-dark: #333333;
    --border-color: rgba(255, 255, 255, 0.1);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Container and layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
    min-width: 0; /* Prevent overflow */
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Header styles */
header {
    background-color: rgba(21, 24, 45, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.topbar {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    font-size: 0.9rem;
}

.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-right: 15px;
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin: 0 5px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 5px;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Styles */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    
    transition: opacity 0.3s ease;
    opacity: 0;
}

.menu-overlay.active {
    opacity: 1;
}

.menu-buttons {
    display: flex;
    align-items: center;
}

#menu-toggle {
    display: none;
    cursor: pointer;
    margin-left: 15px;
    color: var(--text-light);
    background: none;
    border: none;
    z-index: 1001;
    padding: 0;
}

.burger-icon {
    display: block;
    width: 25px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.burger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.burger-icon span:nth-child(1) {
    top: 0px;
}

.burger-icon span:nth-child(2) {
    top: 8px;
}

.burger-icon span:nth-child(3) {
    top: 16px;
}

.burger-icon.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.burger-icon.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.mobile-menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--secondary-bg);
    z-index: 1000;
    padding: 60px 20px 20px;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

/* Buttons */
.btn-main {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-main:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.btn-line {
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    background-color: transparent;
}

.btn-line:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero section */
.hero {
    padding: 100px 0;
    text-align: left;
    background: linear-gradient(to bottom, rgba(21, 24, 45, 0.8), rgba(21, 24, 45, 0.95)), 
                url('images/background/dark-1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--dark-bg), transparent);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 600px;
}

.hero h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--success-color);
}

.color-gradient {
    background: linear-gradient(90deg, var(--primary-color), #3498db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

/* Languages section */
.languages {
    padding: 40px 0;
    background-color: var(--secondary-bg);
    position: relative;
}

.language-item {
    display: inline-block;
    margin: 10px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    width: 120px;
    height: 120px;
}

.language-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.language-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.language-item p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features section */
.features {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.section-header {
    margin-bottom: 50px;
}

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

.feature-box {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--secondary-bg);
    transition: all 0.3s;
    height: 100%;
}

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

.feature-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature-box:hover img {
    transform: scale(1.1);
}

.feature-box h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Pricing section */
.pricing {
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

.pricing-table {
    background-color: var(--tertiary-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

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

.pricing-head {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.pricing-head h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

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

.pricing-price p {
    color: var(--text-muted);
    margin-bottom: 5px;
}

.pricing-price h4 {
    font-size: 2.2rem;
    margin: 0;
}

.pricing-price h4 span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-action {
    text-align: center;
    margin-bottom: 25px;
}

.pricing-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.pricing-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.pricing-list li:last-child {
    border-bottom: none;
}

.pricing-list li b {
    color: var(--primary-color);
}

/* Opinions section */
.opinions {
    padding: 40px 0;
    background-color: var(--dark-bg);
}

.opinions div div div p b {
    color: var(--primary-color);
}

.carousel {
    position: relative;
    margin-top: 40px;
}

.carousel-inner {
    overflow: hidden;
}

.carousel-item {
    display: none;
    padding: 30px;
    background-color: var(--secondary-bg);
    border-radius: 10px;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-item h5 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--tertiary-bg);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100%;
    background-repeat: no-repeat;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Footer */
footer {
    background-color: var(--tertiary-bg);
    padding: 20px 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent, var(--primary-color));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

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

/* GDPR Cookie consent styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--tertiary-bg);
    color: var(--text-light);
    padding: 20px;
    z-index: 9999;
    border-top: 1px solid var(--primary-color);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    max-height: 100vh;
    overflow-y: auto;
}

.cookie-content {
    display: flex;
    flex-direction: column;
}

.cookie-text {
    margin-bottom: 20px;
}

.cookie-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cookie-text ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.cookie-text ul li {
    margin-bottom: 8px;
}

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

.cookie-buttons .btn-main {
    min-width: 120px;
}

.cookie-options {
    margin: 15px 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.cookie-option label {
    cursor: pointer;
    flex: 1;
}

.cookie-option-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-small {
    background-color: var(--secondary-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-small:hover {
    background-color: var(--tertiary-bg);
    color: var(--text-light);
}

/* Page loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

/* Utility classes */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Steps Section */
.steps {
    padding: 80px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.steps-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    padding: 0 20px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3498db);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 15px;
    width: 25%;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover .step-number {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

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

/* Responsive styles for steps */
@media (max-width: 992px) {
    .steps-timeline {
        flex-wrap: wrap;
    }
    
    .steps-timeline::before {
        display: none;
    }
    
    .step {
        width: 50%;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .step {
        width: 100%;
    }
    
    .steps-timeline {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .header-content {
        flex-direction: row;
    }

    .header-content nav {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: var(--secondary-bg);
        width: 100%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        padding: 127px;
    }

    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-table {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .topbar-flex {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 17px;
        height: auto;
    }

    .topbar-right {
        position: relative;
        display: flex;
        justify-content: center !important;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .hero {
        text-align: center;
        padding: 60px 0;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-links a {
        margin: 0 7px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* --- MENU BURGER RESPONSIVE --- */
@media (max-width: 991px) {
    nav {
        display: none;
    }
    .menu-buttons {
        flex-direction: row;
        align-items: center;
    }
    #menu-toggle {
        display: block;
        margin-left: 15px;
        font-size: 2rem;
        background: none;
        border: none;
        color: var(--text-light);
        cursor: pointer;
    }
}

@media (max-width: 991px) {
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100%;
        background-color: var(--secondary-bg);
        z-index: 1000;
        padding: 60px 20px 20px;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    .mobile-menu.active {
        right: 0;
    }
    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    .mobile-menu ul li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    .mobile-menu ul li a {
        display: block;
        padding: 18px 0;
        color: var(--text-light);
        font-size: 1.1rem;
        text-align: left;
    }
    .mobile-menu .btn-main {
        margin: 20px 0 0 0;
        width: 100%;
        text-align: center;
    }
    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        color: var(--text-light);
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.6);
        z-index: 999;
    }
    .menu-overlay.active {
        display: block;
    }

    #menu-toggle {
        display: block !important;
    }

    .topbar-left {
        display: none;
    }
    
    .topbar-right {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .mobile-menu,
    .mobile-menu-close,
    .menu-overlay {
        display: none !important;
    }
    nav {
        display: block !important;
    }
    #menu-toggle {
        display: none !important;
    }
}

/* Correction pour éviter le scroll horizontal lors de l'ouverture du menu mobile */
body.menu-open {
    overflow: hidden;
}

.show {
    display: block !important;
}

.loader-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: auto;
    animation: fadeIn 0.5s ease;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.topbar-right a img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 5px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;

}

.topbar-right a img:hover {
    filter: none;
}