/* CSS Variables for colors based on the image */
:root {
    --primary-green: #5aa663;
    --primary-green-hover: #4a8c52;
    --notification-orange: #eb943d;
    --text-dark: #2c3e50;
    --text-gray: #5a6b7c;
    --bg-light-green: #effaf3;
    --white: #ffffff;
}
/* Change 'header' to '.site-header' */
.site-header {
    width: 100%;
    background: var(--white);
    background: radial-gradient(ellipse at top, var(--bg-light-green) 0%, var(--white) 70%);
    padding: 20px 0;
}
/* --- Header Section --- */
header {
    width: 100%;
    background: var(--white); /* This keeps the header white */
    /* The gradient will sit on top of this white background */
    background: radial-gradient(ellipse at top, var(--bg-light-green) 0%, var(--white) 70%);
    padding: 20px 0;
}

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

/* Logo Area */
.logo img {
    height: 60px;
    width: auto;
    border-radius: 12px;
    border: 2px solid #f0cdcd; /* Subtle border matching the image */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-green);
}

/* The 'App Deals' link is active/green in the reference */
.nav-link.active {
    color: var(--primary-green);
}

/* Buttons */
.btn {
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.1s, background-color 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

/* "Promote Your App" Button */
.btn-promote {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 28px;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(90, 166, 99, 0.2);
}

.btn-promote:hover {
    background-color: var(--primary-green-hover);
}

/* --- Notification Bar Section --- */
.notification-bar {
    background-color: var(--notification-orange);
    color: var(--white);
    width: 100%;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 500;
}

.notification-text strong {
    font-weight: 700;
}

/* "Download Now" Button inside bar */
.btn-download {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 6px; /* Slightly squarer than the top button */
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-download:hover {
    background-color: var(--primary-green-hover);
}

/* Mobile Responsiveness (Basic) */
@media (max-width: 900px) {
    .nav-menu {
        display: none; /* Hidden on mobile for this demo */
    }
    
    .notification-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
/* --- Desktop header visibility --- */
/* Default: hidden everywhere (mobile browsers + PWAs) */
#desktop-header-wrapper {
    display: none !important;
}

/* Show ONLY on desktop-class devices (bigger screens + real hover/pointer) */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
    #desktop-header-wrapper {
        display: block !important;
    }
}

/* Always hide in standalone/PWA mode (even on large screens) */
@media (display-mode: standalone) {
    #desktop-header-wrapper {
        display: none !important;
    }
}