/* Variables pour les couleurs et la typographie */
:root {
    --primary-color: #4a86e8;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --dark-color: #202124;
    --light-color: #ffffff;
    --gray-color: #f1f3f4;
    --text-color: #3c4043;
    --text-light: #5f6368;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(32, 33, 36, 0.1);
    --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

img {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

section {
    padding: 80px 0;
}

/* Styles pour le header */
header {
    background-color: var(--light-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
}

.emoji {
    font-size: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Styles pour le dropdown de langue */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: var(--text-color);
    font-weight: 500;
    padding: 0;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropbtn i {
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 10px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--gray-color);
}

.language-dropdown:hover .dropdown-content {
    display: block;
}

/* Styles pour la section hero */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f5 100%);
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn.primary:hover {
    background-color: #3a76d8;
    transform: translateY(-3px);
}

.btn.secondary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Styles pour la section features */
.features {
    background-color: var(--light-color);
    text-align: center;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

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

.feature-card {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

/* Styles pour la section how-it-works */
.how-it-works {
    background-color: var(--gray-color);
}

.how-it-works h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.step-number {
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Styles pour la section installation */
.installation {
    background-color: var(--light-color);
}

.installation h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.installation-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.installation-step {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.installation-step h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.code-block {
    background-color: #2d2d2d;
    border-radius: var(--border-radius);
    padding: 15px;
    overflow-x: auto;
    margin: 15px 0;
    border: 1px solid #444;
}

.code-block code {
    color: #e6e6e6;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

.installation-step ol {
    padding-left: 20px;
}

.installation-step li {
    margin-bottom: 10px;
}

.installation-step code {
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
}

/* Styles pour la section FAQ */
.faq {
    background-color: var(--gray-color);
}

.faq h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
}

.accordion-button {
    width: 100%;
    background-color: var(--light-color);
    padding: 20px;
    text-align: left;
    border: none;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.accordion-button:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    transition: var(--transition);
}

.accordion-button.active:after {
    content: '-';
}

.accordion-content {
    background-color: var(--light-color);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.accordion-button.active + .accordion-content {
    padding: 20px;
    max-height: 1000px;
}

/* Styles pour le footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-light);
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-links ul li a {
    color: var(--text-light);
}

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

.footer-social h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries pour la responsivité */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px 10px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

.highlight-step {
    background-color: #f5f9ff;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.highlight-step .btn {
    margin-top: 15px;
    font-size: 1.1rem;
    padding: 12px 24px;
}

.highlight-step .btn i {
    margin-right: 8px;
} 