@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Outfit:wght@500;700&display=swap');

:root {
    --primary-color: #ff8c00; 
    --primary-light: #ffb74d;
    --navy-color: #0b1c3d; 
    --bg-color: #f8fafc; 
    --card-bg: #ffffff;
    --text-color: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body { background-color: var(--bg-color); color: var(--text-color); overflow-x: hidden; }

/* ================= Animations ================= */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.slide-down { animation: slideDown 0.5s ease forwards; }

/* ================= Header ================= */
.glass-header {
    background: rgba(11, 28, 61, 0.95); backdrop-filter: blur(10px); padding: 15px 5%;
    display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100;
}
.logo h2 { color: #ffffff; font-size: 1.6rem; font-family: 'Outfit', sans-serif; font-weight: 700; letter-spacing: 0.5px;}
.logo h2 span { color: var(--primary-color); }

/* ================= Buttons ================= */
.btn-glow { 
    background: linear-gradient(135deg, #ff8c00, #f97316); color: white; border: none; font-weight: 600; 
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3); transition: all 0.3s ease; cursor: pointer;
}
.btn-glow:hover { box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4); transform: translateY(-2px); }

/* ================= Animated Hero Section ================= */
.hero-section {
    position: relative; padding: 80px 20px 100px; text-align: center; overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-color) 100%);
    border-bottom: 1px solid rgba(0,0,0,0.03); border-radius: 0 0 40px 40px;
}
.hero-content { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; }

/* Floating Shapes Graphic */
.shape { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; opacity: 0.4; }
.shape-1 { background: var(--primary-color); width: 350px; height: 350px; top: -100px; left: -100px; animation: float 6s ease-in-out infinite; }
.shape-2 { background: #3b82f6; width: 300px; height: 300px; bottom: -50px; right: -50px; animation: float 8s ease-in-out infinite reverse; }

.badge-pill {
    display: inline-block; background: rgba(255, 140, 0, 0.1); color: #ea580c; font-size: 0.8rem; font-weight: 600;
    padding: 6px 15px; border-radius: 30px; margin-bottom: 20px; border: 1px solid rgba(255, 140, 0, 0.2);
}
.hero-title { font-size: 2.8rem; color: var(--navy-color); font-weight: 700; margin-bottom: 20px; line-height: 1.2; font-family: 'Outfit', sans-serif;}
.text-gradient { background: linear-gradient(135deg, #ff8c00, #ea580c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6;}

/* Search Bar */
.search-bar-container { position: relative; max-width: 550px; margin: 0 auto; display: flex; align-items: center; background: white; border-radius: 40px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid var(--border-color);}
.search-input { flex: 1; padding: 12px 20px 12px 45px; border: none; background: transparent; outline: none; font-size: 1rem; color: var(--navy-color);}
.search-icon { position: absolute; left: 22px; color: var(--text-muted); font-size: 1.1rem; }
.search-btn { background: var(--navy-color); color: white; border: none; padding: 12px 25px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.search-btn:hover { background: #1e293b; }

/* ================= Premium Split-Screen Auth Modal ================= */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 1000; }
.premium-modal { display: flex; flex-direction: row; max-width: 850px; width: 95%; background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); position: relative; }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; cursor: pointer; color: var(--text-muted); z-index: 10; transition: 0.3s;}
.close-btn:hover { color: #ef4444; }

/* Left Side Graphic */
.modal-info { background: linear-gradient(135deg, var(--navy-color), #1e293b); color: white; padding: 50px 40px; flex: 1; display: none; flex-direction: column; justify-content: center; position: relative; overflow: hidden;}
.modal-info::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,140,0,0.1) 0%, transparent 60%); }
.modal-info h2 { font-size: 2rem; margin-bottom: 15px; font-family: 'Outfit', sans-serif; position: relative; z-index: 1;}
.modal-info p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.6; margin-bottom: 30px; position: relative; z-index: 1;}
.features-list p { margin-bottom: 15px; font-size: 0.9rem; font-weight: 500; color: #f8fafc; }
.features-list i { color: var(--primary-color); margin-right: 10px; font-size: 1.1rem; }
@media(min-width: 768px) { .modal-info { display: flex; } } /* Show only on PC/Tab */

/* Right Side Form */
.auth-container { flex: 1.2; padding: 50px 40px; background: white; display: flex; align-items: center;}
.auth-form { display: none; flex-direction: column; width: 100%; }
.auth-form.active { display: flex; animation: fadeInUp 0.4s ease; }

.input-group { position: relative; margin-bottom: 20px; }
.input-group i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 1.1rem; transition: 0.3s;}
.form-control.with-icon { width: 100%; padding: 14px 15px 14px 45px; border: 1.5px solid var(--border-color); border-radius: 12px; font-size: 0.95rem; outline: none; transition: all 0.3s; background: #f8fafc;}
.form-control.with-icon:focus { border-color: var(--primary-color); background: #ffffff; box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1); }
.form-control.with-icon:focus + i, .input-group:focus-within i { color: var(--primary-color); }

.switch-form { text-align: center; font-size: 0.85rem; margin-top: 25px; color: var(--text-muted); }
.switch-form a { color: var(--primary-color); text-decoration: none; font-weight: 600; cursor: pointer; }

/* ================= Batch Grid ================= */
.batch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; padding: 0 5%; max-width: 1000px; margin: 0 auto;}
.batch-card { background: var(--card-bg); padding: 30px 15px; border-radius: 20px; text-align: center; cursor: pointer; box-shadow: 0 10px 30px rgba(11, 28, 61, 0.04); border: 1px solid rgba(0,0,0,0.02); transition: all 0.4s ease; }
.batch-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(255, 140, 0, 0.12); border-color: rgba(255, 140, 0, 0.3); }
.card-icon { font-size: 2.8rem; color: var(--primary-color); margin-bottom: 15px; background: linear-gradient(135deg, #ff8c00, #ea580c); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.batch-card h4 { color: var(--navy-color); font-weight: 700; font-size: 1.1rem; font-family: 'Outfit', sans-serif;}

/* Dashboard elements keep their previous styles... */
.batch-banner { width: 100%; max-height: 180px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-top: 15px; margin-bottom: 25px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); border: 2px solid #ffffff; }
.category-section { margin-bottom: 30px; padding: 0 15px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.category-title { font-size: 1.2rem; font-weight: 700; color: var(--navy-color); border-left: 4px solid var(--primary-color); padding-left: 10px; font-family: 'Outfit', sans-serif;}
.view-all { font-size: 0.8rem; color: var(--primary-color); font-weight: 600; text-decoration: none; background: rgba(255, 140, 0, 0.1); padding: 5px 12px; border-radius: 20px; }
.horizontal-scroll { display: flex; overflow-x: auto; gap: 15px; padding-bottom: 15px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.horizontal-scroll::-webkit-scrollbar { display: none; }
.pyq-card { width: 160px; flex: 0 0 160px; background: var(--card-bg); border-radius: 16px; padding: 12px; box-shadow: 0 5px 15px rgba(11, 28, 61, 0.05); scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--border-color); }
.pyq-cover { width: 100%; height: 100px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; border: 1px solid #f0f0f0; }
.card-title { color: var(--navy-color); font-size: 0.9rem; font-weight: 700; margin-bottom: 5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pyq-details { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-muted); font-weight: 500; margin-bottom: 12px; border-top: 1px dashed var(--border-color); padding-top: 8px; }
.empty-msg { color: var(--text-muted); font-size: 0.85rem; padding: 10px 0; width: 100%; text-align: center; }
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--card-bg); display: flex; justify-content: space-around; padding: 12px 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.05); border-top: 1px solid var(--border-color); z-index: 100; }
.nav-item { display: flex; flex-direction: column; align-items: center; color: var(--text-muted); text-decoration: none; font-size: 0.75rem; font-weight: 500; }
.nav-item i { font-size: 1.2rem; margin-bottom: 4px; }
.nav-item.active { color: var(--primary-color); }
/* ================= Premium Notification & Profile ================= */
.notif-btn {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); 
    width: 38px; height: 38px; border-radius: 50%; color: #fff; 
    position: relative; display: flex; justify-content: center; align-items: center; 
    cursor: pointer; transition: 0.3s;
}
.notif-btn:hover { background: rgba(255,255,255,0.2); }

@keyframes pulse-ring {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}
.pulse-badge {
    position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; 
    background: #ff4757; border-radius: 50%; 
    animation: pulse-ring 2s infinite;
}

.profile-wrapper {
    padding: 2px; background: linear-gradient(135deg, var(--primary-color), #ea580c); 
    border-radius: 50%; cursor: pointer; transition: 0.3s; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center;
}
.profile-wrapper img {
    width: 34px; height: 34px; border-radius: 50%; 
    border: 2px solid var(--navy-color); object-fit: cover; display: block;
}
.profile-wrapper:hover { transform: scale(1.05); box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4); }

.view-all { cursor: pointer; transition: 0.3s; }
.view-all:hover { background: var(--primary-color); color: white; }

/* ================= Premium Floating Bottom Nav (App Dock) ================= */
.floating-nav {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); 
    width: 92%; max-width: 450px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); 
    border: 1px solid rgba(255,255,255,0.8); border-radius: 25px; 
    padding: 12px 10px; display: flex; justify-content: space-around;
    box-shadow: 0 15px 35px rgba(11, 28, 61, 0.12); z-index: 1000;
}
.floating-nav .nav-item {
    display: flex; flex-direction: column; align-items: center; 
    color: var(--text-muted); text-decoration: none; 
    font-size: 0.7rem; font-weight: 600; gap: 4px; transition: 0.3s; width: 25%; cursor: pointer;
}
.floating-nav .nav-item i { font-size: 1.25rem; transition: 0.3s; }
.floating-nav .nav-item.active { color: var(--primary-color); }
.floating-nav .nav-item.active i { transform: translateY(-3px); }
.floating-nav .nav-item:hover { color: var(--navy-color); }

/* Hide old bottom nav if it exists */
.bottom-nav { display: none; }

/* Notice Card Style */
.notice-card { background: #ffffff; border-radius: 12px; padding: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-left: 4px solid var(--primary-color);}
.notice-title { font-size: 1rem; color: var(--navy-color); font-weight: 700; margin-bottom: 5px; }
.notice-time { font-size: 0.7rem; color: #94a3b8; margin-bottom: 10px; display: block; }
.notice-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.notice-img { width: 100%; border-radius: 8px; margin-top: 10px; border: 1px solid #f0f0f0; }