:root {
    /* Colors */
    --primary-bg: #050505;
    --secondary-bg: #0a0a0a;
    --accent-main: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.1);
    --whatsapp-green: #25D366;

    /* Typography */
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 120px 5%;
    --container-width: 1300px;

    /* New Modern Variables */
    --card-bg: #0d0d0d;
    --card-border: rgba(255, 255, 255, 0.05);
    --dot-color: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 900; /* Unified bold weight */
    line-height: 1.1;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem; /* Style from Avis section */
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.logo img {
    max-width: none !important;
    /* Libère le logo des contraintes générales */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-main);
    color: #000;
    box-shadow: 0 0 0 rgba(0, 242, 255, 0);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    transform: translateY(-4px);
}

.btn-sm {
    padding: 10px 25px;
    font-size: 0.75rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 1s ease forwards;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

/* Page Transitions */
.page-fade {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modern Background Patterns */
.bg-dots {
    position: relative;
    z-index: 1;
}

.bg-dots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.section-title-group {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-group h2 {
    /* Styles are now handled globally */
    margin-bottom: 15px;
}

.section-title-group p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Info Cards (Step-by-step or Features) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.info-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.info-card i {
    color: var(--accent-main);
    margin-bottom: 25px;
    display: block;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature Checkmarks */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.feature-list li i {
    color: #22c55e;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Brand Grid Refinement */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    opacity: 0.7;
    margin: 50px 0;
}

.brands-grid img {
    height: 45px;
    object-fit: contain;
    opacity: 1;
    transition: all 0.4s ease;
}

.brands-grid img:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Two-column layout for features */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 80px;
}

.feature-split-img img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.feature-split-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-transform: none !important;
}

@media (max-width: 768px) {
    .feature-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* Testimonials / Reviews */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

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

.reviewer-info .avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-main), #fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 1.2rem;
}

.reviewer-name h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
}

.reviewer-name span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.stars {
    color: #f59e0b;
    margin-bottom: 15px;
    display: flex;
    gap: 2px;
}

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

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-top: 40px;
    border: 1px solid var(--glass-border);
}

.google-badge img {
    height: 18px;
}
