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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-static-dark, #0a0a0a);
    color: var(--text-on-light);
    overflow-x: hidden;
}

/* Sélecteur de thème */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.theme-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 0.9em;
    margin: 0;
    cursor: pointer;
}

.theme-label-text {
    display: none;
}

.theme-select {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.theme-select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(var(--primary-light-rgb, 156, 141, 134), 0.3);
}

.theme-select option {
    background: #1a1a1a;
    color: #fff;
}

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

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 1px solid var(--primary-light);
    color: #fff;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: auto;
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    transform: translateY(-1px);
}

.mobile-menu-toggle .menu-text {
    display: inline-block;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--bg-static-header, rgba(20, 20, 20, 0.95));
    padding: 0 20px 15px;
}

.mobile-nav.active {
    display: flex !important;
}

.mobile-nav .nav-link {
    color: #fff;
    text-decoration: none;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav .nav-link:hover {
    padding-left: 10px;
    color: rgba(255, 255, 255, 0.8);
}

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

    .header-actions .nav-buttons {
        display: none;
    }
}

/* Responsive - Mobile : déplacer le sélecteur dans le menu */
@media (max-width: 767px) {
    /* Masquer le sélecteur du header principal en mobile */
    .header-actions .theme-selector-wrapper {
        display: none;
    }

    /* Style pour le sélecteur dans le menu mobile */
    .mobile-nav .theme-selector-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin: 10px 0;
    }

    .mobile-nav .theme-label {
        color: #fff;
        font-size: 0.9em;
        font-weight: 600;
    }

    .mobile-nav .theme-label-text {
        display: inline;
    }

    .mobile-nav .theme-select {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.95em;
    }
}

@media (min-width: 768px) {
    .theme-label-text {
        display: inline;
    }

    .theme-selector-wrapper {
        margin-right: 20px;
    }
}

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

/* Header Styles */
header {
    background: var(--bg-static-header, rgba(20, 20, 20, 0.95));
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: slideDown 0.5s ease-out;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #0055A4 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #EF4135 66.6%) 1;
}

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

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

#header-logo {
    height: 80px;
    width: auto;
    vertical-align: middle;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#header-logo:hover {
    transform: scale(1.05);
}

h1, h2 {
    margin-bottom: 20px;
    font-weight: 800;
}

h1 {
    margin-top: 0;
    font-size: 3em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2em;
    color: var(--text-on-light);
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

section {
    padding: 60px 20px;
    margin-bottom: 0;
    background: var(--bg-primary);
    border-radius: 0;
    animation: fadeInUp 0.8s ease-out;
}

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

section:nth-child(even) {
    background: var(--bg-static-section-even, linear-gradient(135deg, #e8e3e0 0%, #d9d4d1 100%));
}

.screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.02);
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-static-footer);
    color: #fff;
}

/* Button Styles */
a.button {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb, 124, 109, 102), 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-light);
}

a.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

a.button:hover::before {
    left: 100%;
}

a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--primary-color-rgb, 124, 109, 102), 0.6);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
}

a.button1 {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb, 124, 109, 102), 0.4);
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
    border: 1px solid var(--accent-light);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(var(--primary-color-rgb, 124, 109, 102), 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(var(--primary-light-rgb, 156, 141, 134), 0.6);
    }
}

a.button1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

a.button1:hover::before {
    left: 100%;
}

a.button1:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--primary-light-rgb, 156, 141, 134), 0.7);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-light) 100%);
}

.cta-section {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.cta-section .button, .cta-section .button1 {
    font-size: 1.1em;
    padding: 18px 40px;
    margin: 10px;
}

/* Hero Section */
#hero {
    background: var(--bg-static-hero, linear-gradient(135deg, #7c6d66 0%, #4c3d36 100%));
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
    -webkit-text-fill-color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#hero .subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

#hero .stat {
    text-align: center;
}

#hero .stat-number {
    font-size: 3em;
    font-weight: 800;
    display: block;
}

#hero .stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}



@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Feature Icons */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    font-size: 3em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-on-light);
}

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

/* Screenshots Slider */
#screenshots-slider {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 80px 0;
}

#screenshots-slider h2 {
    color: var(--text-on-dark) !important;
}

#screenshots-slider p,
#screenshots-slider * {
    color: var(--text-on-dark);
}

#screenshots-slider h2::after {
    background: linear-gradient(90deg, var(--accent-light) 0%, var(--primary-light) 100%);
}

.slider-container {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

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

.slider-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.slider-arrow.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.slider-arrow.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.slider-arrow:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Trust Section */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    text-align: center;
    padding: 20px;
}

.trust-badge i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trust-badge h4 {
    margin-bottom: 10px;
    color: var(--text-on-light);
}

.trust-badge p {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: center;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1em;
    border-bottom: 2px solid var(--primary-light);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table .check {
    color: #28a745;
    font-size: 1.5em;
}

.comparison-table .cross {
    color: #dc3545;
    font-size: 1.5em;
}

.comparison-table tr:hover {
    background: #e9ecef;
}
