/* --- CSS VARIABLES (Brand Colors) --- */
:root {
    --primary-blue: #0047FF; /* Strong Blue Brand Color */
    --bg-color: #F4F6F9;
    --text-dark: #1A1A1A;
    --text-light: #737373;
    --white: #FFFFFF;
}

/* --- BASIC RESET (App-like feel) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    user-select: none; /* Text selection disable karta hai real app jaisa feel dene ke liye */
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    overflow: hidden; /* Main window scroll nahi hogi, sirf andar ka content hoga */
}

/* --- UTILITY CLASSES --- */
.hidden {
    display: none !important;
}

/* --- 1. SPLASH SCREEN --- */
.splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-blue);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    padding: 40px 20px;
}

.splash-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.splash-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.splash-title {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.splash-footer {
    text-align: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verify-icon {
    font-size: 18px;
}

/* --- 2. MAIN APP LAYOUT --- */
.app-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

/* Full Blue Header */
.app-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 18px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.app-header h2 {
    font-size: 20px;
    font-weight: 600;
}

/* Smooth Scrollable Content Area */
.scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* iPhone/Android me makhan jaisa smooth scroll */
    padding: 15px;
    padding-bottom: 80px; /* Bottom nav ke liye space */
}

/* Screen Management */
.screen {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 3. BOTTOM NAVIGATION --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.05);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 100;
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item .icon {
    font-size: 22px;
    transition: transform 0.2s ease;
}

.nav-item.active {
    color: var(--primary-blue);
}

.nav-item.active .icon {
    transform: scale(1.15);
}
