@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #0B1120; 
    color: white;
    overflow-x: hidden;
}

/* Header */
.top-bar {
    display: flex;
    align-items: center;
    padding: 15px 50px;
    background-color: #0F172A; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    color: #38BDF8; 
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: auto; 
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Hamburger - Hidden by default */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.main-nav {
    display: flex;
    margin-right: 35px; 
}

.main-nav a {
    color: #94A3B8;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #38BDF8;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    background-color: transparent;
    color: white;
    padding: 10px 24px;
    border: 2px solid white;
    border-radius: 50px; 
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: white;
    color: #0B1120;
}

.signup-btn {
    background-color: #38BDF8;
    color: #0B1120;
    padding: 10px 24px;
    border-radius: 50px; 
    border: 2px solid #38BDF8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
}

/* Hero Section */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px 60px;
    max-width: 1500px; 
    margin: 0 auto;
    gap: 60px; 
}

.text-content {
    flex: 1;
    max-width: 650px;
}

h1 {
    font-size: 66px; 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px; 
    letter-spacing: -1px;
}

p {
    font-size: 22px;
    color: #94A3B8;
    margin-bottom: 30px; 
    line-height: 1.6;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 20px;
}

button {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px; 
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
}

.btn-blue {
    background-color: #38BDF8; 
    color: #0B1120;
    border: none;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid #38BDF8;
}

.btn-outline:hover {
    background-color: #38BDF8;
    color: #0B1120;
}

/* Reviews Block */
.reviews-container {
    display: flex;
    gap: 40px;
    margin-top: 30px; 
}

.review-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-icon {
    background-color: white;
    color: #0B1120;
}

.play-icon {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.review-stats {
    display: flex;
    flex-direction: column;
}

.stars-row {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #FBBF24; 
    font-size: 16px;
    letter-spacing: 2px;
}

.review-label {
    font-size: 14px;
    color: #94A3B8;
    margin-top: 4px;
}

/* Hero Image */
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image {
    width: 100%;
    max-width: 750px; 
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Mission Section */
.mission-section {
    background-color: white;
    color: #0B1120;
    padding: 60px 50px; 
    text-align: center;
}

.mission-section h2 {
    font-size: 30px; 
    font-weight: 800;
    margin-bottom: 25px; 
    letter-spacing: -0.5px;
}

.mission-tabs {
    display: flex;
    justify-content: center; /* CORRECTED ALIGNMENT */
    gap: 20px;
    flex-wrap: wrap;
}

.mission-tab {
    background-color: #F8FAFC;
    color: #64748B;
    border: 2px solid #E2E8F0;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mission-tab:hover, .mission-tab.active {
    border-color: #0B1120;
    color: #0B1120;
    background-color: white;
    transform: translateY(0);
    box-shadow: none;
}

/* Footer Section */
.site-footer {
    background-color: #0F172A;
    padding: 80px 50px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0; 
}

.footer-top {
    display: flex;
    justify-content: space-between;
    max-width: 1500px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

/* FIX: Centering the logo in the footer */
.footer-brand .logo {
    margin-bottom: 15px;
    margin-right: 0;
    justify-content: center;
}

.footer-brand p {
    font-size: 16px;
    color: #94A3B8;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
}

.link-column h4, .footer-contact h4 {
    color: white;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
}

.link-column a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.link-column a:hover, .legal-links a:hover {
    color: #38BDF8;
}

.footer-contact p {
    color: #94A3B8;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 0;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    color: #38BDF8;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
}

.footer-bottom {
    max-width: 1500px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 14px;
    color: #94A3B8;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.qr-placeholder {
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 120px;
    height: 120px;
    background-color: white;
    padding: 8px;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .top-bar {
        padding: 10px 15px;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo {
        font-size: 18px;
        gap: 8px;
    }

    .logo-img {
        height: 25px;
    }

    .auth-buttons {
        display: flex !important;
        gap: 8px;
    }

    .login-btn, .signup-btn {
        padding: 6px 12px;
        font-size: 11px;
        border-width: 1px;
    }

    .menu-toggle {
        display: flex;
        margin-left: 10px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0F172A;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px 0;
        text-align: center;
        border-bottom: 2px solid #38BDF8;
        z-index: 2000;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        margin: 15px 0;
        font-size: 18px;
    }

    .hero-container {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 30px;
    }

    .hero-image-container {
        order: -1;
        width: 100%;
    }

    h1 {
        font-size: 28px !important;
        line-height: 1.2;
        margin: 0 auto 15px;
        width: 100%;
    }

    p {
        font-size: 16px !important;
        line-height: 1.5;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .button-group {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .button-group button {
        padding: 12px 10px;
        font-size: 13px;
        flex: 1;
        min-width: 0;
    }

    .reviews-container { 
        flex-direction: column; 
        align-items: center; 
        gap: 20px; 
        margin-top: 20px; 
        width: 100%;
        overflow: hidden;
    }

    .mission-section {
        padding: 40px 15px;
    }

    .mission-section h2 {
        font-size: 20px !important;
        line-height: 1.4;
    }

    .footer-top {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-contact {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .footer-links {
        gap: 30px;
        flex-direction: column;
    }

    .link-column {
        width: 100%;
        text-align: center;
    }

    .qr-placeholder {
        margin: 20px auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}