/* ===== LEARNJOT SHARED STYLES ===== */
:root {
  --primary: #6355FF;
  --primary-dark: #4f43d4;
  --primary-light: #8577ff;
  --bg-dark: #0a0918;
  --bg-card: #13112a;
  --bg-card2: #1a1836;
  --text: #f0eeff;
  --text-muted: #a09cc2;
  --accent: #ff6b6b;
  --white: #ffffff;
  --success: #00c896;
  --danger: #ff4757;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'DM Sans',sans-serif; background:var(--bg-dark); color:var(--text); overflow-x:hidden; }
h1,h2,h3,h4,h5,h6 { font-family:'Syne',sans-serif; }

/* ===== NAVBAR ===== */
.navbar { background:rgba(10,9,24,0.95); backdrop-filter:blur(12px); border-bottom:1px solid rgba(99,85,255,0.15); padding:14px 0; position:sticky; top:0; z-index:999; }
.navbar-brand { font-family:'Syne',sans-serif; font-weight:800; font-size:1.5rem; color:var(--white) !important; }
.navbar-brand span { color:var(--primary); }
.nav-link { color:var(--text-muted) !important; font-weight:500; font-size:.95rem; padding:6px 14px !important; transition:color .2s; }
.nav-link:hover, .nav-link.active { color:var(--white) !important; }
.btn-nav-login { color:var(--text) !important; border:1px solid rgba(99,85,255,0.4); border-radius:8px; padding:7px 20px !important; }
.btn-nav-login:hover { border-color:var(--primary); color:var(--white) !important; }
.btn-nav-signup { background:var(--primary); color:var(--white) !important; border-radius:8px; padding:7px 20px !important; font-weight:600; }
.btn-nav-signup:hover { background:var(--primary-dark); }
.navbar-toggler { border-color:rgba(99,85,255,0.4); }
.navbar-toggler-icon { filter:invert(1); }

/* ===== SEARCH ICON & DROPDOWN ===== */
.nav-search-btn { background:none; border:none; color:var(--text-muted); font-size:1.05rem; cursor:pointer; padding:6px 10px; transition:color .2s; position:relative; }
.nav-search-btn:hover { color:var(--white); }
.search-dropdown { position:absolute; top:100%; right:0; left:0; border-bottom:1px solid rgba(99,85,255,0.2); z-index:1000; padding:16px 0; display:none; backdrop-filter:blur(12px); }
.search-dropdown.open { display:block; animation:searchSlide .2s ease; }
@keyframes searchSlide { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.search-input-wrap { position:relative; max-width:580px; margin:0 auto; }
.search-input-wrap input { width:100%; background:var(--bg-card2); border:1px solid rgba(99,85,255,0.35); border-radius:50px; color:var(--text); padding:12px 50px 12px 22px; font-size:.97rem; outline:none; font-family:'DM Sans',sans-serif; }
.search-input-wrap input::placeholder { color:var(--text-muted); }
.search-input-wrap input:focus { border-color:var(--primary); }
.search-input-wrap .search-icon-inner { position:absolute; right:18px; top:50%; transform:translateY(-50%); color:var(--text-muted); pointer-events:none; }
.search-results { max-width:580px; margin:12px auto 0; display:none; }
.search-results.show { display:block; }
.search-result-item { display:flex; align-items:center; gap:14px; padding:12px 16px; background:var(--bg-card); border:1px solid rgba(99,85,255,0.15); border-radius:12px; margin-bottom:8px; cursor:pointer; text-decoration:none; transition:all .2s; }
.search-result-item:hover { border-color:var(--primary); background:var(--bg-card2); transform:translateX(4px); }
.search-result-icon { width:44px; height:44px; border-radius:10px; background:var(--primary); display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.search-result-title { font-family:'Syne',sans-serif; font-weight:700; color:var(--white); font-size:.95rem; margin-bottom:2px; }
.search-result-sub { font-size:.8rem; color:var(--text-muted); }
.search-result-badge { margin-left:auto; background:rgba(99,85,255,0.15); color:var(--primary-light); font-size:.72rem; font-weight:700; padding:3px 10px; border-radius:50px; white-space:nowrap; }

/* ===== FOOTER ===== */
.lj-footer { background:#06050f; border-top:1px solid rgba(99,85,255,0.15); padding:60px 0 30px; }
.lj-footer-brand { font-family:'Syne',sans-serif; font-size:1.5rem; font-weight:800; color:#fff; margin-bottom:12px; }
.lj-footer-brand span { color:var(--primary); }
.lj-footer-social a { width:36px; height:36px; border-radius:8px; background:rgba(99,85,255,0.15); color:var(--text-muted); display:inline-flex; align-items:center; justify-content:center; margin-right:8px; text-decoration:none; transition:all .2s; }
.lj-footer-social a:hover { background:var(--primary); color:#fff; }
.lj-footer-heading { font-family:'Syne',sans-serif; font-size:.85rem; font-weight:700; color:var(--white); text-transform:uppercase; letter-spacing:1px; margin-bottom:16px; }
.lj-footer-links { list-style:none; padding:0; margin:0; }
.lj-footer-links li { margin-bottom:10px; }
.lj-footer-links a { color:var(--text-muted); font-size:.88rem; text-decoration:none; transition:color .2s; }
.lj-footer-links a:hover { color:var(--primary-light); }
.lj-footer-bottom { border-top:1px solid rgba(255,255,255,0.07); margin-top:48px; padding-top:24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.lj-footer-bottom p { color:var(--text-muted); font-size:.82rem; margin:0; }

/* ===== POPUP BASE ===== */
.popup-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.8); z-index:2000; display:none; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(4px); }
.popup-overlay.open { display:flex; }
.popup-box { background:var(--bg-card); border:1px solid rgba(99,85,255,0.3); border-radius:20px; width:100%; position:relative; animation:popIn .3s ease; }
@keyframes popIn { from{opacity:0;transform:scale(.95)} to{opacity:1;transform:scale(1)} }
.popup-header { background:var(--primary); padding:24px 28px 20px; border-radius:20px 20px 0 0; position:relative; }
.popup-header h2 { font-family:'Syne',sans-serif; font-size:1.25rem; font-weight:800; color:#fff; margin-bottom:4px; }
.popup-header p { color:rgba(255,255,255,0.82); font-size:.85rem; margin:0; }
.popup-close { position:absolute; top:14px; right:14px; background:rgba(255,255,255,0.2); border:none; color:#fff; width:32px; height:32px; border-radius:50%; cursor:pointer; font-size:.9rem; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.popup-close:hover { background:rgba(255,255,255,0.35); }
.popup-body { padding:24px 28px; }
.form-label-custom { font-size:.84rem; font-weight:600; color:var(--text); margin-bottom:5px; display:block; }
.form-control-custom { width:100%; background:var(--bg-card2); border:1px solid rgba(99,85,255,0.25); border-radius:10px; color:var(--text); padding:10px 14px; font-size:.9rem; font-family:'DM Sans',sans-serif; transition:border-color .2s; outline:none; }
.form-control-custom:focus { border-color:var(--primary); }
.form-control-custom option { background:var(--bg-card2); }
.btn-popup { background:var(--primary); color:#fff; border:none; border-radius:10px; padding:12px; font-family:'Syne',sans-serif; font-size:.95rem; font-weight:700; cursor:pointer; transition:background .2s; }
.btn-popup:hover { background:var(--primary-dark); }
.btn-popup-outline { background:var(--bg-card2); color:var(--text-muted); border:1px solid rgba(99,85,255,0.25); border-radius:10px; padding:12px; font-family:'Syne',sans-serif; font-size:.95rem; font-weight:600; cursor:pointer; transition:all .2s; }
.btn-popup-outline:hover { border-color:var(--primary); color:var(--white); }
.popup-alert { padding:10px 14px; border-radius:8px; font-size:.85rem; margin-bottom:16px; display:none; }
.popup-alert.error { background:rgba(255,71,87,0.15); border:1px solid rgba(255,71,87,0.4); color:#ff6b6b; }
.popup-alert.success { background:rgba(0,200,150,0.12); border:1px solid rgba(0,200,150,0.4); color:var(--success); }
.step-indicator { display:flex; gap:6px; margin-bottom:20px; }
.step-dot { flex:1; height:4px; border-radius:4px; background:rgba(99,85,255,0.2); transition:background .3s; }
.step-dot.active { background:var(--primary); }
.tc-box { background:var(--bg-dark); border:1px solid rgba(99,85,255,0.2); border-radius:10px; padding:14px; max-height:110px; overflow-y:auto; font-size:.79rem; color:var(--text-muted); line-height:1.6; margin-bottom:10px; }
.thankyou-block { display:none; text-align:center; padding:30px 20px; }
.thankyou-block.show { display:block; }
.thankyou-icon { font-size:3.5rem; color:var(--success); margin-bottom:14px; }
.form-step { display:none; }
.form-step.active { display:block; }
.auth-divider { display:flex; align-items:center; gap:12px; margin:16px 0; color:var(--text-muted); font-size:.82rem; }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background:rgba(99,85,255,0.2); }

/* ===== VIDEO POPUP ===== */
.video-popup-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.92); z-index:3000; display:none; align-items:center; justify-content:center; padding:20px; }
.video-popup-overlay.open { display:flex; }
.video-popup-inner { position:relative; width:100%; max-width:800px; }
.video-popup-close { position:absolute; top:-44px; right:0; background:rgba(255,255,255,0.15); border:none; color:#fff; width:36px; height:36px; border-radius:50%; cursor:pointer; font-size:1rem; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.video-popup-close:hover { background:rgba(255,255,255,0.3); }
.video-container { background:#000; border-radius:14px; overflow:hidden; aspect-ratio:16/9; width:100%; display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-size:1rem; }
.video-container iframe { width:100%; height:100%; border:none; }

@media(max-width:768px) {
  .popup-body, .popup-header { padding:18px 16px; }
  .popup-box { max-height:90vh; overflow-y:auto; }
}
