:root {
    --primary: #306083;
    --primary-hover: #3c76a1;
    --bg-color: #334868;
    --text-main: #d9d9d9;
    --text-muted: rgba(217, 217, 217, 0.7);
    --glass-bg: rgba(217, 217, 217, 0.05);
    --glass-border: rgba(217, 217, 217, 0.15);
    --card-bg: rgba(217, 217, 217, 0.08);

    --hero-bg: #F9E5C8;
    --header-bg: #F5F0E6;
    --apps-section-bg: #B9A590;
    --app-card-bg: #ECE3DA;
    --app-type-badge-bg: #a4d4cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Google Sans", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--hero-bg);
}

/* Header Start */
header {
    padding: 1.25rem 2rem;
    background-color: var(--header-bg);
    box-shadow: 0 1px 0 var(--glass-border);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-color);
    text-decoration: none;
}

.brand img {
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-container {
    position: relative;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bg-color);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger svg {
    width: 28px;
    height: 28px;
}

.nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--header-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.nav-menu a {
    color: var(--bg-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Header End */

.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hero Banner Start */
.hero-banner {
    width: 100%;
    background-color: var(--hero-bg);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    color: #000;
}

.hero-banner-inner {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero-banner-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    text-align: left;
}

.hero-banner h1 {
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-banner p {
    font-size: 18px;
    color: #222;
    line-height: 1.4;
}

.hero-banner-graphic-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-banner-graphic-left svg {
    height: 100%;
    width: 100%;
    transform: scaleX(-1);
    opacity: 0.5;
    /* slightly softer for the left side as an accent */
}

.hero-banner-graphic {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-banner-graphic svg {
    height: 100%;
    width: 100%;
}

/* Hero Banner End */

.apps-section {
    width: 100%;
    background-color: var(--apps-section-bg);
    padding: 2rem;
    border-radius: 24px;
}

.apps-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.app-card {
    background: var(--app-card-bg);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 140px;
    color: #000;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.app-info {
    margin-left: 20px;
    text-align: left;
    max-width: 65%;
}

.app-info p {
    font-size: 18px;
    line-height: 1.4;
    color: #000;
    margin: 0;
}

.play-store-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background-color: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}

.play-store-btn:hover {
    background-color: var(--primary-hover);
}

.play-store-btn--soon {
    background-color: transparent;
    color: #6b6355;
    border: 1px solid #6b6355;
    cursor: default;
}

.play-store-btn--soon:hover {
    background-color: transparent;
}

.app-privacy-link {
    display: inline-block;
    margin-top: 8px;
    margin-left: 12px;
    font-size: 13px;
    color: #6b6355;
    text-decoration: underline;
}

.app-privacy-link:hover {
    color: var(--primary);
}

.app-type {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--app-type-badge-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-type svg {
    width: 16px;
    height: 16px;
}

/* Legal Pages Start */
.legal-content {
    width: 100%;
    text-align: left;
    color: var(--bg-color);
}

.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.legal-content .legal-updated {
    color: rgba(51, 72, 104, 0.65);
    font-size: 14px;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: 1.25rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content a {
    color: var(--primary);
}

/* Legal Pages End */

/* Footer Start */
footer {
    padding: 2rem;
    text-align: center;
    color: var(--bg-color);
    background-color: var(--header-bg);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
    font-size: 12px;
}

footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 12px;
}

/* Footer End */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeUp 0.8s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .animated {
        animation: none;
    }
}



@media (max-width: 768px) {
    header {
        padding: 0.85rem 0rem;
    }

    .header {
        padding: 1rem 2rem;
        justify-content: space-between;
    }

    .hero-banner {
        flex-direction: column;
        padding: 4rem 0;
        text-align: left;
    }

    .hero-banner h1 {
        font-size: 2.5rem;
    }

    .hero-banner-graphic {
        opacity: 0.3;
        width: 100%;
    }
}
