/* ========== HOME PAGE ========== */
html, body { height: 100%; overflow: hidden; }
body { height: 100vh; }

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    background: rgb(0, 0, 109);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sign { height: 40px; width: 100px; vertical-align: middle; }

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 90px;
    overflow-y: auto;
    padding: 0 1rem;
}
main::-webkit-scrollbar { width: 0; background: transparent; }

.hero-row {
    width: 100%;
    align-items: center;
    margin: 0;
    padding: 2rem 5%;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    min-height: 5rem;
    position: relative;
}
.typer { display: inline-block; white-space: nowrap; }
.hero-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2d3e5f;
    margin: 1rem 0;
    text-align: justify;
}
.download-btn {
    background: rgb(0, 0, 109);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    margin: 1rem 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.download-btn:hover { background: #1e38a8; }

.hero-img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Legal line at bottom of home page */
.footer {
    text-align: left;
    padding: 1rem;
    font-size: 1.0rem;
    background: white;
    width: 100%;
    margin-left: 5%;
}
.footer a { color: #0066cc; text-decoration: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    body { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
    .hero-title { font-size: 2.5rem; min-height: 4rem; }
    .hero-row { flex-direction: column-reverse; text-align: center; }
    .hero-desc {
        text-align: center;
        margin-top: -3%;
        font-size: 1rem;
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
    main {
        margin-top: 70px;
        width: 125%;
        align-items: flex-start;
        justify-content: flex-start;
    }
    main .download-btn {
        width: 80%;
        font-size: 0.9rem;
        padding: 8px 4px;
        border-radius: 10px;
    }
    .hero-row { flex-direction: column-reverse; text-align: center; padding: 1rem 2rem; }
    .hero-img { margin-bottom: 1rem; max-height: 45vh; height: 200px; }
    .footer {
        text-align: center;
        padding: 1rem;
        font-size: 0.8rem;
        background: white;
        width: 100%;
        margin-left: 0;
    }
}
@media (max-width: 576px) {
    .hero-title { font-size: 2rem; min-height: 3.5rem; }
    .hero-img { max-height: 40vh; }
}
@media (min-width: 1025px) and (max-width: 1440px) {
    .header-container { padding: 0 5%; }
}