/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    background-color: #f7f9fc;
    color: #1f2937;
    line-height: 1.7;
}

/* ===========================
   HEADER (DEEP BLUE - FIXED)
=========================== */
header {
    background-color: #020d2d;
    color: #ffffff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

header .logo img {
    height: 40px;
    width: auto;
}

header nav a {
    color: #e0e7ff;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
}

header nav a:hover {
    color: #38bdf8;
}

/* ===========================
   MAIN LAYOUT
=========================== */
main {
    margin-top: 70px; /* offset for fixed header */
	
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #020d2d, #081a3e);
    color: #ffffff;
}

.hero-content {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
    text-align: center; /* center text */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* ===========================
   DOWNLOAD BUTTONS INLINE & CENTERED
=========================== */
.download-buttons {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #38bdf8;
    color: #020d2d;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background-color: #22d3ee;
}

.store-btn span {
    font-size: 0.75rem;
    margin-right: 0.3rem;
    display: block;
}

.hero-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #cbd5f5;
}

/* ===========================
   TRUST BAR
=========================== */
.trust {
    text-align: center;
    padding: 1.5rem 2rem;
    background-color: #e0f2fe;
    font-weight: 500;
    color: #0369a1;
}

/* ===========================
   FEATURES SECTION
=========================== */
.features {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #020617;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    flex: 1 1 280px;
    max-width: 300px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #475569;
}

/* ===========================
   CTA SECTION
=========================== */
.cta {
    background-color: #38bdf8;
    color: #020d2d;
    text-align: center;
    padding: 4rem 2rem;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta .download-buttons {
    justify-content: center; /* center download buttons in CTA */
}

.cta .store-btn {
    background-color: #020d2d;
    color: #ffffff;
}

.cta .store-btn:hover {
    background-color: #081a3e;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background-color: #020d2d;
    color: #dbeafe;
    text-align: center;
    padding: 2.2rem 1rem;
}

footer .footer-links {
    margin-top: 0.7rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

footer .footer-links a {
    color: #F0B90B;
    text-decoration: none;
    font-weight: 500;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header nav {
        margin-top: 0.6rem;
    }

    header nav a {
        margin: 0 0.6rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features {
        padding: 3rem 1rem;
    }

    .feature-card {
        max-width: 90%;
    }

    .cta {
        padding: 3rem 1rem;
    }
}
