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

html, body {
    height: 100%;
}

/* ================= BODY ================= */
body {
    background: #000;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* ================= BACKGROUND ANIMATION ================= */
.background-animation {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.425), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.4), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.15), transparent 50%);
    animation: moveBg 18s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes moveBg {
    0% {
        transform: translate(0%, 0%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-5%, -5%) scale(1.1) rotate(2deg);
    }
    100% {
        transform: translate(-12%, -10%) scale(1.2) rotate(-2deg);
    }
}

/* ================= NAVBAR ================= */
.navbar {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: white;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #00ffff;
}

/* ================= HERO SECTION ================= */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 8px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    margin-top: 15px;
    font-size: 1.2rem;
    opacity: 0.85;
}

.buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    margin: 10px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s ease;
}

.primary {
    border: 2px solid #00ffff;
    color: #00ffff;
}

.secondary {
    border: 2px solid #ff00ff;
    color: #ff00ff;
}

.btn:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,0.05);
}

/* ================= MISSION SECTION ================= */
.mission-section {
    padding: 100px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mission-section h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 1s ease forwards;
}

.mission-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.85;
    max-width: 750px;
    margin: 0 auto;
    animation: fadeUp 1s ease forwards;
}

/* ================= WHY & FOUNDER SECTION ================= */
.why-founder-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-container, .founder-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    transition: 0.4s ease;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.why-container h2, .founder-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #00ffff;
}

.why-container p, .founder-container p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* Animation delay pour effet smooth */
.why-container { animation-delay: 0.2s; }
.founder-container { animation-delay: 0.4s; }

/* Hover effect */
.why-container:hover, .founder-container:hover {
    transform: translateY(-10px) scale(1.03);
    border: 1px solid #00ffff;
    box-shadow: 0 0 25px #00ffff44;
}

/* ================= ANIMATION KEYFRAMES ================= */
@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================= FOOTER ================= */
footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    opacity: 0.6;
}
