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

body {
    font-family: "Inter", system-ui, sans-serif;
    background: #0b0f19;
    color: #ffffff;
    line-height: 1.5;
}

/* HEADER */
header {
    width: 100%;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
}

header .logo {
    font-size: 20px;
    font-weight: 700;
    color: #4da3ff;
}

.cm-flag {
    width: 30px;
    height: 15px;
    border: 4px;
    object-fit: cover;
}

header .btn-getstarted {
    padding: 10px 26px;
    background: linear-gradient(135deg, #4da3ff, #6bb8ff);
    color: #0b0f19;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

header .btn-getstarted:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(77, 163, 255, 0.35);
}

/* HERO CENTRAL */
.hero {
    text-align: center;
    padding: 50px 20px 60px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
}

.hero img {
    width: 450px;
    max-width: 80%;
    margin: auto;
    display: block;
    animation: float 6s ease-in-out infinite;
}

/* SECTION 3 CARTES */
.invest-section {
    max-width: 1200px;
    margin: 60px auto 100px;
    text-align: center;
}

.invest-section h2 {
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.card {
    background: #111827;
    border-radius: 16px;
    padding: 30px 20px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(77, 163, 255, 0.2);
}

.card h3 {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
}

.card p {
    margin-top: 10px;
    font-size: 16px;
    color: #9ca3af;
}

/* BOUTON CONTINUER */
.btn-continue {
    display: inline-block;
    margin-top: 60px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #4da3ff, #6bb8ff);
    color: #0b0f19;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.btn-continue:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(77, 163, 255, 0.35);
}

/* ANIMATION FLOTTE */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* modale */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
    transition: 0.3 ease;
}

.modal-content {
    background-color: white;
    color: black;
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.arrow-down {
    font-size: 40px;
    color: #0056b3;
    margin-left: 90%;
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        translatey: (10px);
    }
}

.btn-close {
    background: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
/* ================= FOOTER CAG ================= */

.cag-footer {
    background: #0f172a;
    color: #d1d5db;
    padding: 60px 40px 0 40px;
    margin-top: 80px;
    font-family: Arial, Helvetica, sans-serif;
}

/* GRID 4 COLONNES */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: auto;
}

/* COLONNES */
.footer-col h4 {
    margin-bottom: 15px;
    font-size: 15px;
    color: #ffffff;
}

.footer-logo {
    color: #4da3ff;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
}

/* LIENS */
.footer-col a {
    text-decoration: none;
    color: #9ca3af;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-col a:hover {
    color: #4da3ff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

/* SUPPORT */
.support-hours {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

/* FLAGS */
.flags {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.flags img {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
    opacity: 0.9;
    transition: 0.3s ease;
}

.flags img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.locations {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

/* FOOTER BOTTOM */
.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #1f2937;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cag-footer {
        padding: 40px 20px 0 20px;
    }
}

/* RESPONSIVE */
@media (max-width: 760px) {
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100;
        visibility: hidden;
        opacity: 0;
        transition: 0.3 ease;
    }

    .modal-content {
        background-color: white;
        color: black;
        padding: 20px;
        border-radius: 10px;
        max-width: 360px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .arrow-down {
        font-size: 30px;
        color: #0056b3;
        margin-left: 90%;
        animation: bounce 3s infinite;
    }
    .hero h1 {
        font-size: 30px;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }
}
