:root {
    --bg-color: #0b0d12;
    --card-bg: rgba(22, 27, 38, 0.7);
    --primary-diamond: #00d2ff;
    --secondary-diamond: #3a7bd5;
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --border-glow: rgba(0, 210, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

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

a {
    text-decoration: none;
    display: inline-block;
}

/* --- EFFETS D'ARRIÈRE-PLAN --- */
.glow-bg {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- NAVBAR --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-diamond), var(--secondary-diamond));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.lang-selector {
    position: relative;
}

.lang-selector select {
    background-color: var(--card-bg);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lang-selector select:hover {
    border-color: var(--primary-diamond);
}

.lang-selector select:focus {
    border-color: var(--primary-diamond);
    box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.2);
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 8rem 10% 5rem;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary-diamond);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(135deg, #ffffff, var(--primary-diamond));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-diamond), var(--secondary-diamond));
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 210, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    border-color: var(--primary-diamond);
    color: var(--primary-diamond);
}

/* --- FEATURES SECTION --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


footer {
    text-align: center;
    padding: 3rem 10%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
    background-color: rgb(34, 40, 54);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .btn-group {
        flex-direction: column;
    }
}

.about {
    padding: 40px;
    background-color: #559daf; 
    border-radius: 5px;
    cursor: pointer; 
}

.about h1 {
    text-align: center;
    color: white;
    font-size: 2rem; 
}

.about p {
    color: #ffffff;
    text-align: center;
}


.about-2 {
    padding: 40px;
    background-color: #4978ae; 
    border-radius: 5px;
    cursor: pointer; 
}

.about-2 h1 {
    text-align: center;
    color: white;
    font-size: 2rem; 
}

.about-2 p {
    color: #ffffff;
    text-align: center;
}