﻿body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    background: #f9f9f9;
}

/* Sticky header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

    .logo a {
        text-decoration: none;
        color: #302B54;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

/* Desktop nav */

#nav-appName {
    font-size: xx-large;
    color: #302B54;
}

.nav-links {
    display: flex;
    align-items: center; /* aligns text and button vertically */
    gap: 1.5rem;
}

.nav-cta-btn {
    background: #302B54;
    border: none;
    padding: 0.0rem 1.2rem;
    border-radius: 8px;
    color: #FFF;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    margin: 0.5rem 0; /* consistent spacing */
    font-family: "Nunito", sans-serif;
    text-decoration: none; /* in case it's an <a> */
    text-align: center;
    height: 50px;
    line-height: 50px;
}

.nav-links a {
    color: #302B54;
    text-decoration: none;
    font-size: large;
    font-weight: bold;
}

.footer-container a {
    color: white;
    text-decoration: none;
}


/* Hamburger (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

    .hamburger span {
        width: 24px;
        height: 2px;
        background: #352f5b;
        display: block;
    }

/* Mobile dropdown (hidden by default) */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
}

    .mobile-nav a {
        padding: 1rem;
        text-decoration: none;
        color: #000;
        border-bottom: 1px solid #eee;
        font-weight: bold;
    }

/* Breakpoint under 500px */
@media (max-width: 651px) {
    .nav-links {
        display: none; /* hide desktop links */
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav.show {
        display: flex;
    }
}


.hero {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

/* Images container */
.hero-images {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

@media (min-width: 651px) {
    .hero-images img {
        width: 50%; /* two side-by-side */
        height: auto;
        object-fit: cover;
    }
}


/* Content overlay */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 1rem;
}

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        background: rgba(0, 0, 0, 0.5);
        padding: 0.5rem 1rem;
        border-radius: 12px;
        display: inline-block;
        font-size: 1rem;
    }

/* MOBILE VERSION (less than 651px) */
@media (max-width: 651px) {
    .hero-images {
        flex-direction: column; /* stack images */
    }

        .hero-images img {
            width: 100%; /* full width */
        }

    .hero-content {
        top: auto;
        bottom: 10%; /* shift text lower */
        transform: translateX(-50%);
    }

        .hero-content h1 {
            font-size: 1.5rem;
        }

        .hero-content p {
            font-size: 0.9rem;
        }
}

/* Features section*/
.features-section {
    background: #f5f5f8; /* light background like screenshot */
    padding: 3rem 1rem;
}

.features-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.features-header {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d2752;
    grid-column: 1 / -1; /* header always on top row */
    margin-bottom: 0;
    text-align: left;
}

/* Feature card styling */
.feature-card {
    background: #302B54;
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
}

    .feature-card h3 {
        font-size: 1rem;
        margin: 0 0 0.5rem;
        font-weight: bold;
    }

    .feature-card p {
        font-size: 0.95rem;
        margin: 0;
    }

/* Responsive: side by side when wide enough */
@media (min-width: 651px) {
    .features-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Full-width gradient background */
.pricing-section {
    background: linear-gradient(180deg, #2e2670, #5a3ca4);
    color: white;
    padding: 2rem 1rem;
}

.pricing-container {
    max-width: 800px; /* align with FAQ */
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.pricing-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
    text-align: left;
    grid-column: 1 / -1; /* force the header to always span full width */
}

.card {
    background: white;
    color: black;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .card h3 {
        margin-top: 0;
        font-size: 1.25rem;
        font-weight: bold;
        text-align: center;
        color: #3a3a75;
    }

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #5a3ca4;
    text-align: center;
    margin: 1rem 0;
}

.per-month {
    text-align: center;
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .features li {
        margin: 0.5rem 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.95rem;
    }

        .features li::before {
            content: "☑";
            color: #5a3ca4;
            font-size: 1rem;
        }

/* Responsive: side by side if wide enough */
@media (min-width: 651px) {
    .pricing-container {
        grid-template-columns: 1fr 1fr;
    }


    /* Shared wrapper (pricing, image, FAQ) */
    .faq-wrapper {
        max-width: 800px; /* keeps consistent with FAQ and pricing */
        margin: 1rem auto;
        margin-bottom: 350px;
        position: relative;
    }



    /* The image itself */
    .scroll-image-container img {
        display: block;
        height: auto;
        max-width: none; /* allow natural width */
    }



    faq-accordion {
        display: block;
        font-family: "Nunito", sans-serif;
        max-width: 800px;
    }



    /* top section */

    .footer-container {
        max-width: 800px;
        margin: auto;
        position: relative;
        top: -200px;
    }

    .footer-top {
        display: flex;
        /* align-items: center; */
        gap: 2rem;
        margin-bottom: 1.5rem;
        margin: 1.5rem auto;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .footer-image img {
        max-width: 220px;
        height: auto;
    }

    .footer-cta {
        flex: 1;
        max-width: 312px;
        margin-top: 64px;
    }

        .footer-cta h2 {
            font-size: 1.2rem;
            margin-bottom: 5rem;
            color: #3a3a75;
        }






    /* divider */
    .footer hr {
        border: 0;
        border-top: 1px solid rgba(255,255,255,0.3);
        margin: 1.5rem 0;
    }

    /* bottom section */
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }



    .footer-col ul li {
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }

    .languages {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 0.3rem 1rem;
    }




    .footer-image img {
        margin-bottom: 1rem;
        max-width: 292px;
    }

    .store-buttons img {
        display: block;
        margin: 0.5rem auto;
    }




    /* Make the languages column always span full width */
    .footer-col.languages-col {
        flex: 1 1 100%;
    }

        /* Keep languages in a single column */
        .footer-col.languages-col ul.languages {
            display: block;
        }

            .footer-col.languages-col ul.languages li {
                margin-bottom: 0.3rem;
            }


    /* Languages section on desktop */
    .languages {
        display: grid;
        grid-template-columns: repeat(4, auto); /* 4 columns on wide screens */
        gap: 0.4rem 1.5rem;
    }
}

/* Responsive under 500px */
@media (max-width: 651px) {

    .faq-wrapper {
        margin-bottom: 350px;
    }

    .footer-container {
        margin: auto;
        position: relative;
        top: -200px;
    }

    .footer-image img {
        display: block;
        margin: auto;
    }


    .languages {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }

    .footer-cta h2 {
        font-size: 1.2rem;
        margin-bottom: 3rem;
        color: white;
    }

    .store-buttons img {
        display: block;
        height: 40px;
        margin: auto;
        margin-bottom: 8px;
    }


    .footer-top {
        margin-bottom: 32px;
    }
}


/* Scrollable image wrapper */
.scroll-image-container {
    position: relative;
    max-width: 1024px;
    margin: auto;
    overflow: clip;
    overflow-x: auto;
    white-space: nowrap;
}

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

.footer {
    background: #352f5b; /* dark purple */
    color: white;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
}


.footer-cta-btn {
    background: #6C2C69;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    color: #FFF;
    font-weight: bold;
    font-size: large;
    cursor: pointer;
    display: block;
    margin: 1rem auto;
    height: 50px;
}

.store-buttons img {
    height: 40px;
}

/* Add consistent vertical gap between sections */
section,
.scroll-image-container,
.faq-wrapper,
.footer {
    margin-top: 64px;
}
