/* =======================================
   CryptoAssetsGrow - Guest Page CSS
   SaaS 2026 Modern Layout
======================================= */

/* BODY PRINCIPAL */
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #ffffff;
}

.guest-main {
    display: flex;
    max-width: 1400px;
    margin: 60px auto;
    gap: 40px;
    padding: 0 20px;
}

/* COLONNES */
.guest-left {
    flex: 2; /* plus large */
}

.history-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cag-block {
    display: flex;
    align-items: center;
    gap: 30px;
}

.vision-img {
    flex: 1;
}

.vision-img img {
    width: 100%;
    max-width: 220px;
    border-radius: 14px;
}

.vision-text {
    flex: 2;
}

.vision-text h3 {
    color: orange;
}

.vision-text p {
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    font-size: large;
    line-height: 1.4;
}

.guest-right {
    flex: 1; /* plus étroite */
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #0b0f19;
    color: #ffffff;
}

header .logo {
    font-size: 22px;
    font-weight: 700;
    color: #4da3ff;
}
.cm-flag {
    width: 30px;
    height: 15px;
    border: 4px;
    object-fit: cover;
}

header nav a {
    margin-left: 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

header nav .btn-signup {
    padding: 8px 20px;
    background: #4da3ff;
    border-radius: 6px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

header nav .btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(77, 163, 255, 0.3);
}

/* how it works */

/* HOW IT WORKS */
.how-it-works {
    padding: 20px;
    background-color: #1e293b;
    border-radius: 16px;
    margin-bottom: 40px;
}

.how-it-works h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #4da3ff;
}

.how-it-works .intro {
    font-size: 15px;
    color: #d1d5db;
    margin-bottom: 30px;
}

/* PROCESS STEPS */
.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.process-step .icon {
    min-width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4da3ff;
    font-size: 20px;
}

.process-step h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.process-step h3 span {
    font-weight: normal;
    color: #9ca3af;
}

.process-step p {
    font-size: 14px;
    color: #d1d5db;
}

.process-step ul {
    margin-top: 8px;
    padding-left: 18px;
}

.process-step ul li {
    font-size: 13px;
    color: #9ca3af;
}

/* SUMMARY */
.summary-box {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.summary-box h3 {
    margin-bottom: 10px;
    color: #38bdf8;
}

.summary-box ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.summary-box li {
    font-size: 14px;
    color: #d1d5db;
}

.summary-box .note {
    font-size: 13px;
    color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
    }
}

/* CARDS */
.card {
    background: #111827;
    border-radius: 16px;
    padding: 30px 20px;
    margin-bottom: 30px;
    color: #ffffff;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(77, 163, 255, 0.2);
}

.card h2 {
    color: #4da3ff;
    margin-bottom: 15px;
}

/* CONTENT IMAGES ET TEXTE */
.card-content img {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 0 auto 20px auto;
}

.card-content p {
    line-height: 1.6;
}

/* GRID EXPANSION MONDIALE */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.countries-grid div {
    background: #1a2230;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

/* GRID CATEGORIES */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: #1a2230;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(77, 163, 255, 0.3);
}

.category-card h3 {
    margin-top: 15px;
    color: #4da3ff;
}

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

/* LISTES */
.card-content ol {
    padding-left: 20px;
    line-height: 1.8;
}

.card-content ol li {
    margin-bottom: 10px;
}

.goals {
    display: flex;
    align-items: center;
    gap: 40px;
}

.goals-text {
    flex: 1;
}

.goals-img img {
    width: 100%;
    max-width: 350px;
}
.goals-img {
    flex: 2;
}

/* ================= 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;
    }
}

@media (max-width: 1024px) {
    .guest-main {
        flex-direction: column;
        gap: 30px;
    }

    .guest-left,
    .guest-right {
        flex: 1;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    header nav a {
        margin-left: 0;
    }
}

/* MOBILE - moins de 768px */
@media (max-width: 768px) {
    .guest-main {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }

    .guest-left,
    .guest-right {
        width: 100%;
    }

    .card {
        padding: 20px 15px;
    }

    .countries-grid,
    .categories-grid {
        grid-template-columns: 1fr; /* full width pour chaque bloc */
        gap: 15px;
    }

    header {
        flex-direction: column;
        align-items: center;
    }

    header nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #4da3ff;
    }
}
