:root {
    --primary-blue: #0a7db8;
    --secondary-blue: #12b6c8;
    --accent-green: #2de1a2;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #1ad6c3, #0a7db8);
    min-height: 100vh;
    overflow-x: hidden;
    color: #ffffff;
}

/* ===============================
   FIXED GLASS HEADER
=============================== */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.nav-pill {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 60px;
    padding: 14px 26px;
    margin: 18px auto;
    max-width: calc(100% - 36px);
    pointer-events: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.nav-pill img {
    height: 28px;
}

.menu-icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: #000;
    margin: 4px 0;
    border-radius: 2px;
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
    position: relative;
    padding: 160px 20px 120px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/hero.png") center top / contain no-repeat;
    opacity: 0.28;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: auto;
}

/* ===============================
   HERO TEXT CONTAINER
=============================== */
.hero-text-box {
    background: var(--primary-blue);
    border-radius: 28px;
    padding: 48px 36px 44px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--accent-green);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 40px;
}

/* ===============================
   BUTTONS
=============================== */
.btn-pill {
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-outline-light-custom {
    background: rgba(255,255,255,0.92);
    color: #000;
    border: none;
}

.btn-dark-gradient {
    background: linear-gradient(135deg, #111, #000);
    color: #fff;
    border: 2px solid var(--accent-green);
}

.btn-dark-gradient:hover {
    opacity: 0.9;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding-top: 140px;
    }

    .hero::before {
        top: -110px;
    }

    .hero-text-box {
        padding: 36px 24px 34px;
    }
}


/* ===============================
   NAV MENU
=============================== */
.nav-menu {
    position: fixed;
    top: 90px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 16px 20px;
    display: none;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    z-index: 999;
}

.nav-menu a {
    color: #000;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu a:hover {
    text-decoration: underline;
}


/* ===============================
   LOCATION DETECTION BANNER
=============================== */
.location-banner {
    position: relative;
    z-index: 1;
    margin-top: -60px;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1),
                    0 0 20px rgba(42, 225, 162, 0.1);
    }
    100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1),
                    0 0 30px rgba(42, 225, 162, 0.3);
    }
}

.flag-display {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: floatFlag 4s ease-in-out infinite;
}

@keyframes floatFlag {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.location-icon {
    position: relative;
}

.location-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(42, 225, 162, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.eligible-badge .badge {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-banner {
        margin-top: -30px;
    }
    
    .location-card {
        padding: 30px 20px !important;
    }
    
    .flag-display {
        font-size: 3rem !important;
    }
}



.onboarding-stage {
    padding: 160px 20px;
    color: #fff;
}

.intro-box h2 {
    font-weight: 700;
    margin-bottom: 14px;
}

.intro-box p {
    max-width: 620px;
    margin: auto;
    opacity: 0.9;
}

.onboarding-form {
    max-width: 820px;
    margin: auto;
    background: rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(12px);
}

.country-select-wrapper {
    position: relative;
}

.country-selected {
    background: rgba(255,255,255,0.95);
    color: #000;
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-selected img {
    width: 20px;
}

.country-dropdown {
    display: none;
    position: absolute;
    color: #000;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    max-height: 260px;
    overflow-y: auto;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 999;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    color: #000;
}

.country-option img {
    width: 22px;
}

.country-option:hover {
    background: rgba(0,0,0,0.05);
}

.privacy-note {
    font-size: 0.85rem;
    opacity: 0.75;
}

.flag-selected {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ccc;
}

/* Selected value (collapsed state) */
.flag-selected {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Flag size inside selected state */
.flag-selected img {
    width: 20px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.flag-options {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    z-index: 1000;
    color: #000;
}

.flag-options.open {
    display: block;
}

.flag-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

/* Keep options consistent */
.flag-option img {
    width: 20px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.flag-option:hover {
    background: #f2f2f2;
}




