:root {
    --bg: #ffffff;
    --dark: #0a0a0b;
    --blue: #0071ff;
    --blue-hover: #1a82ff;
    --yellow: #ffcf00; /* Cyber Yellow for Elite highlights */
    --gray-bg: #f5f5f7;
    --text-main: #1d1d1f;
    --text-dim: #86868b;
    --border: #e5e5e7;
    --glass: rgba(255, 255, 255, 0.8);
}

/* --- CORE RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background: var(--bg); color: var(--text-main); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* --- NAVIGATION --- */
.glass-nav { 
    position: fixed; top: 0; width: 100%; z-index: 1000; 
    background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); 
}
.nav-content { max-width: 1200px; margin: 0 auto; padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; }
.brand-logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.5px; }

/* --- HERO SECTION --- */
.hero-split {
    display: flex; min-height: 100vh; padding: 140px 5% 80px; gap: 40px; 
    max-width: 1400px; margin: 0 auto; align-items: center;
}
.hero-text-side { flex: 1.2; text-align: left; }
.punch-line { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -3px; margin: 20px 0; font-weight: 800; }
.punch-line span { color: var(--blue); }

/* --- BENTO GRID (The 4 Sections) --- */
.bento-grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.m-item { 
    background: var(--gray-bg); padding: 35px; border-radius: 28px; 
    border: 1px solid var(--border); transition: 0.3s cubic-bezier(0.2, 0, 0.2, 1); 
}
.m-item.wide { 
    grid-column: span 2; background: var(--dark); color: #fff; border: none; 
}
.m-item.wide h3 { color: var(--yellow) !important; font-size: 1.6rem; }
.m-item.wide p { color: rgba(255,255,255,0.7); }
.m-item i { font-size: 1.8rem; color: var(--blue); margin-bottom: 20px; display: block; }
.m-item:hover { transform: translateY(-5px); border-color: var(--blue); }

/* --- BUTTONS (High Energy) --- */
button.btn-main-trigger {
    position: relative; z-index: 10;
    background: linear-gradient(135deg, var(--blue) 0%, #0056b3 100%) !important;
    color: #ffffff !important; padding: 22px 48px; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    cursor: pointer; font-size: 1.2rem; font-weight: 800; text-align: left;
    display: inline-block; box-shadow: 0 20px 40px rgba(0, 113, 255, 0.3);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto !important;
    animation: button-pulse 2s infinite;
}

button.btn-main-trigger:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 113, 255, 0.5);
    background: linear-gradient(135deg, var(--blue-hover) 0%, #0062cc 100%) !important;
}

button.btn-main-trigger small {
    display: block; font-size: 0.8rem; font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important; margin-top: 4px;
}

/* --- MODALS (The Popups) --- */
.modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(10, 10, 11, 0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    align-items: center; justify-content: center; padding: 20px;
}
.premium-dialog {
    background: var(--dark); color: #fff; padding: 48px 40px; border-radius: 36px;
    width: 100%; max-width: 420px; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    animation: modalSlideUp 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}
.elite-icon {
    width: 72px; height: 72px; background: var(--yellow); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 28px; font-size: 28px; color: var(--dark);
    box-shadow: 0 0 30px rgba(255, 207, 0, 0.3);
}
.premium-dialog h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; color: #fff; }
.premium-dialog p { color: rgba(255,255,255,0.6); margin-bottom: 32px; }

/* Modal Action Buttons */
.btn-elite-primary {
    background: var(--yellow); color: var(--dark) !important;
    padding: 18px 24px; border-radius: 16px; font-weight: 800;
    width: 100%; border: none; cursor: pointer; transition: 0.2s;
}
.btn-elite-primary:hover { transform: scale(1.03); background: #fff; }
.btn-link-guest { 
    background: transparent; color: rgba(255,255,255,0.5) !important;
    margin-top: 15px; border: none; cursor: pointer; font-weight: 600;
}
.btn-link-guest:hover { color: #fff !important; }

/* --- FOOTER --- */
.modern-footer { background: var(--dark); padding: 80px 5% 40px; margin-top: 100px; color: #fff; }
.footer-content { 
    max-width: 1200px; margin: 0 auto; display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; 
}
.footer-brand .logo { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 15px; }
.footer-brand p { color: #86868b; font-size: 0.9rem; }
.footer-links h3 { font-size: 0.75rem; text-transform: uppercase; color: var(--yellow); margin-bottom: 25px; letter-spacing: 1px; }
.footer-links a { color: #86868b; text-decoration: none; display: block; margin-bottom: 12px; font-size: 0.9rem; transition: 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding-top: 40px; margin-top: 60px; color: #555; font-size: 0.8rem; }

/* --- ITR VERIFICATION MODAL STYLING --- */

/* Modal Header & Close Button */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    color: var(--yellow);
}

/* Form Groups */
.input-group {
    margin-bottom: 25px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--yellow);
    margin-bottom: 10px;
}

/* Custom File Upload Area */
.custom-file-upload {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    background: rgba(0, 113, 255, 0.05);
    border-color: var(--blue);
}

.custom-file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
}

.custom-file-upload i {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 15px;
    display: block;
}

#file-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Password Input Styling */
.input-group input[type="password"] {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    transition: 0.2s;
}

.input-group input[type="password"]:focus {
    outline: none;
    border-color: var(--blue);
    background: rgba(255, 255, 255, 0.08);
}

/* Verification Status Message */
#verify-status {
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 20px;
}

/* Final Submit Button inside Modal */
.btn-submit-pay {
    width: 100%;
    padding: 20px;
    background: var(--yellow);
    color: var(--dark);
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-submit-pay:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 207, 0, 0.3);
    background: #fff;
}

.btn-submit-pay:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* --- NEW GEN LOADER STYLING --- */
#payment-loader {
    display: none; /* Controlled by JS */
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 11, 0.98); /* Deep Obsidian */
    z-index: 20000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loader-content {
    text-align: center;
    max-width: 400px;
}

.elite-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(0, 113, 255, 0.1);
    border-top: 4px solid var(--blue);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 113, 255, 0.2);
}

#loader-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.loader-sub {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.progress-bar-container {
    width: 250px;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

#loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--yellow));
    transition: width 0.4s ease;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* --- TABS CSS --- */
.tabs-header {
    display: flex;
    background: var(--gray-bg);
    padding: 6px;
    border-radius: 16px;
    gap: 5px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    background: transparent;
    color: var(--text-dim);
    transition: 0.3s;
}

.tab-btn.active {
    background: #fff;
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- ANIMATIONS --- */
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes button-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 113, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 113, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 113, 255, 0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero-split { flex-direction: column; text-align: center; padding-top: 100px; }
    .hero-text-side { text-align: center; }
    .bento-grid { width: 100%; grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; margin-bottom: 30px; }
}