* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5091f3;
    --primary-dark: #3a6cc4;
    --secondary-color: #5865F2;
    --bg-dark: #0a0414;
    --bg-card: #1a0f2e;
    --text-light: #ffffff;
    --text-muted: #a0a0b8;
    --accent-red: #ff4757;
    --gradient-start: #2c09c7;
    --gradient-end: #12023f;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a0a2e 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: rgba(26, 15, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(80, 145, 243, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Bungee', cursive;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-brand:hover {
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.section {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 2rem;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-content {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(80, 145, 243, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(80, 145, 243, 0.2);
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-light);
}

/* Image Container */
.image-container {
    max-width: 300px;
    /* limite le conteneur */
    margin: 2rem auto;
    /* centre le conteneur */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(80, 145, 243, 0.3);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.image-container:hover img {
    transform: scale(1.02);
}

/* Button */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.6);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.button-container {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

/* Code Highlight */
.code-highlight {
    background: rgba(255, 71, 87, 0.1);
    color: var(--accent-red);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    padding: 3rem 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-content {
        padding: 1.5rem;
    }

    .footer-container {
        gap: 2rem;
    }
}

/* Grid Layout for Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(80, 145, 243, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(80, 145, 243, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
