@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #020406;
    --bg-card: rgba(10, 15, 25, 0.95);
    --accent-blue: #00f2ff;
    --accent-glow: rgba(0, 242, 255, 0.3);
    --accent-highlight: #3b82f6;
    --text-primary: #ffffff;
    --text-muted: #94a3b8;
    --danger: #ff0055;
    --success: #00ffaa;
    --border-color: rgba(0, 242, 255, 0.2);
    --glass-bg: rgba(6, 9, 15, 0.95);
    --btn-aura: 0 0 15px rgba(0, 242, 255, 0.5);
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --accent-blue: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.1);
    --accent-highlight: #1d4ed8;
    --text-primary: #0f172a;
    --text-muted: #334155;
    --danger: #e11d48;
    --success: #059669;
    --border-color: #cbd5e1;
    --glass-bg: #ffffff;
    --btn-aura: 0 4px 12px rgba(37, 99, 235, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Hide Hacker Visuals in Light Mode for Clarity */
[data-theme="light"] .hacker-bg,
[data-theme="light"] .scanning-line,
[data-theme="light"] body::before {
    display: none !important;
}

/* ── HACKER MATRIX BACKGROUND ── */
.hacker-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    opacity: 0.25; 
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

[data-theme="light"] .hacker-bg {
    opacity: 0.05;
}

/* ── ANIMATED OVERLAY GRID ── */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.05) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.05) 2px, transparent 2px);
    background-size: 250px 250px;
    z-index: -1;
    animation: gridMove 60s linear infinite;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 95%);
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-250px, -250px); }
}

@keyframes logo-pulse {
    0% { filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.4)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.8)); transform: scale(1.05); }
    100% { filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.4)); transform: scale(1); }
}

.brand-logo {
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.6));
    animation: logo-pulse 4s infinite ease-in-out;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 1));
    transform: scale(1.1);
}

/* ── SIDEBAR STYLES ── */

/* ── HACKER VIBE ANIMATIONS ── */
@keyframes scanline {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

.scanning-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 242, 255, 0.08), transparent);
    z-index: 10000;
    pointer-events: none;
    animation: scanline 12s linear infinite;
}

@keyframes glitch {
    0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, 2px); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(1px, -3px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(-1px, 2px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(3px, 1px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, -2px); }
    100% { clip-path: inset(58% 0 43% 0); transform: translate(1px, 1px); }
}

.glitch-hover:hover {
    animation: glitch 0.3s infinite linear alternate-reverse;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

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

.glass-panel-3d {
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: var(--accent-highlight);
    transition: all 0.3s ease;
}

a:hover {
    color: #60a5fa;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Sharper, more technical look */
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    animation: panelAppear 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Cyber Corner Brackets */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 20px; height: 20px;
    border-top: 2px solid var(--accent-blue);
    border-left: 2px solid var(--accent-blue);
    z-index: 2;
}
.glass-panel::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 20px; height: 20px;
    border-bottom: 2px solid var(--accent-blue);
    border-right: 2px solid var(--accent-blue);
    z-index: 2;
}

.glass-panel:hover {
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.15), 0 0 10px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.4);
    transform: translateY(-5px) scale(1.01);
}

.glass-panel-3d {
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 2px; /* Sharp corners */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.btn-primary:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-blue);
    transform: scale(1.05);
}

[data-theme="light"] .btn-primary {
    color: #fff;
    clip-path: none;
    border-radius: 4px;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-blue);
}

[data-theme="light"] .form-control {
    background-color: #fff;
    border-left: 3px solid var(--accent-blue);
}

.form-control:focus {
    outline: none;
    background-color: rgba(0, 242, 255, 0.05);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

/* Landing Page Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 2rem;
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    from { filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3)); }
    to { filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.8)); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
}

/* Portal Cards */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    width: 100%;
    margin-bottom: 4rem;
}

.portal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.portal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-highlight);
    transition: transform 0.3s ease;
}

.portal-card:hover .portal-icon {
    transform: scale(1.1);
}

.portal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-wrapper, .portal-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        min-height: auto;
    }
    .main-content {
        margin-left: 0 !important;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-content > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .btn-primary {
        width: 100%;
        margin-bottom: 10px;
        clip-path: none;
        border-radius: 4px;
    }
    .topbar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================
   LIGHT MODE OVERRIDES
   ============================ */

[data-theme="light"] body::before {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .glass-panel:hover {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .form-control {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

[data-theme="light"] .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .hero-title {
    background: linear-gradient(135deg, #0f172a, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .btn-primary {
    background-color: #2563eb;
    color: white;
}

[data-theme="light"] .btn-primary:hover {
    background-color: #1d4ed8;
}

[data-theme="light"] a {
    color: #2563eb;
}

[data-theme="light"] a:hover {
    color: #1d4ed8;
    text-shadow: none;
}

[data-theme="light"] .portal-card {
    color: #0f172a;
}

/* ── MAIN LANDING HEADER ── */
.main-header {
    height: 80px; width: 100%; display: flex;
    justify-content: space-between; align-items: center;
    padding: 0 50px; background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}
.main-header .logo { font-size: 1.5rem; font-weight: bold; color: var(--accent-blue); display: flex; align-items: center; gap: 10px; font-family: 'Rajdhani', sans-serif;}
.main-header nav { display: flex; align-items: center; gap: 20px; }
.main-header nav a { 
    color: var(--text-primary); 
    font-size: 1.1rem; 
    font-weight: 500;
    transition: 0.3s; 
    position: relative;
    padding-bottom: 5px;
}
.main-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent-blue);
    transition: 0.3s ease;
}
.main-header nav a:hover { color: var(--accent-blue); }
.main-header nav a:hover::after { width: 100%; }

/* ── PREMIUM CYBER BUTTON ── */
.btn-cyber {
    position: relative;
    padding: 20px 50px;
    background: transparent;
    border: none;
    color: var(--accent-blue);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    box-shadow: inset 0 0 0 1px var(--border-color);
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent-blue);
    opacity: 0.1;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-cyber::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn-cyber:hover::before {
    opacity: 1;
    background: var(--accent-blue);
}

.btn-cyber:hover {
    color: #000;
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-cyber:hover::after {
    left: 100%;
}

.btn-lea::before {
    background: var(--accent-highlight);
    opacity: 0.2;
}

.btn-lea:hover::before {
    background: var(--accent-highlight);
}

[data-theme="light"] .btn-cyber:hover {
    color: #fff;
}

/* ── LANDING PAGE SPECIFIC (SPLIT PANE) ── */
.split-container { display: flex; height: calc(100vh - 80px); width: 100%; }
.pane {
    position: relative; flex: 1; display: flex; align-items: center;
    justify-content: center; text-align: center; transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer; overflow: hidden;
}

.pane::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pane:hover::before {
    opacity: 1;
}

.pane .content { 
    z-index: 2; 
    padding: 60px; 
    color: white; 
    max-width: 600px;
    transition: transform 0.5s ease;
}

.pane:hover .content {
    transform: scale(1.05);
}

.pane .icon { 
    display: block;
    font-size: 6rem; 
    line-height: 1;
    margin-bottom: 30px; 
    color: var(--accent-blue);
    filter: drop-shadow(0 0 20px var(--accent-glow));
    font-style: normal;
}

.pane h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pane p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.intern-pane { 
    background: radial-gradient(circle at 70% 30%, rgba(0, 242, 255, 0.03), var(--bg-card)); 
    border-right: 1px solid var(--border-color); 
}
.lea-pane { 
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.03), var(--bg-primary)); 
}

.pane:hover { flex: 1.8; }

[data-theme="light"] .pane .content { color: var(--text-primary); }
[data-theme="light"] .pane h2 {
    background: linear-gradient(to bottom, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
    .split-container { flex-direction: column; height: auto; }
    .pane { min-height: 500px; }
    .pane h2 { font-size: 2.5rem; }
}

/* Table Visibility Improvements for Light Mode */
[data-theme="light"] table td, 
[data-theme="light"] table th {
    color: #1e293b !important;
    font-weight: 500;
}

[data-theme="light"] .text-muted, 
[data-theme="light"] td[style*="color: #ccc"],
[data-theme="light"] td[style*="color: #999"],
[data-theme="light"] td[style*="color: #cbd5e1"] {
    color: #475569 !important;
}

/* ── INFO & NEWS SECTION ── */
.info-container {
    padding: 80px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.section-title {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Portal Link Cards */
.portal-link-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: 0.3s;
}

.portal-img-placeholder {
    width: 80px; height: 80px;
    background: var(--accent-blue);
    color: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: bold;
    border-radius: 4px;
    flex-shrink: 0;
}
.portal-img-placeholder.green { background: var(--success); }
.portal-img-placeholder.yellow { background: #eab308; }

.portal-text h4 { margin: 0 0 10px 0; font-size: 1.1rem; }
.portal-text p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; }
.link-glow { color: var(--accent-blue); font-size: 0.85rem; font-weight: 600; }

/* News Feed */
.news-item-card {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    transition: 0.3s;
}
.news-item-card:last-child { border-bottom: none; }
.news-item-card:hover { background: rgba(0, 242, 255, 0.03); }

.news-date { font-size: 0.8rem; color: var(--accent-blue); font-weight: 700; display: block; margin-bottom: 10px; }
.news-item-card h4 { margin: 0 0 10px 0; font-size: 1.2rem; }
.news-item-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 15px; }
.news-item-card a { color: var(--accent-highlight); font-weight: 600; font-size: 0.9rem; }

[data-theme="light"] .portal-link-card { background: #fff; }
[data-theme="light"] .news-item-card:hover { background: #f1f5f9; }

@media (max-width: 1000px) {
    .info-grid { grid-template-columns: 1fr; }
}
.cyber-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-header .close {
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}

.modal-header .close:hover { color: var(--danger); }

.modal-body { color: var(--text-primary); line-height: 1.7; }

/* Feature Highlight inside About */
.feature-highlight {
    background: rgba(0, 242, 255, 0.05);
    border-left: 4px solid var(--accent-blue);
    padding: 20px;
    margin: 25px 0;
}
.feature-highlight h4 { color: var(--accent-blue); margin-bottom: 10px; }

/* Contact Items */
.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 4px;
}
.contact-item .label { color: var(--text-muted); font-weight: 500; }
.contact-item .value { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; }
.contact-item .value.cyan { color: var(--accent-blue); }

/* Career Options */
.career-grids {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.career-option {
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
.career-option:hover {
    border-color: var(--accent-blue);
    background: rgba(0,242,255,0.05);
}
.career-option h4 { color: var(--accent-blue); margin-bottom: 10px; }
.career-option p { font-size: 0.9rem; margin: 0; }

[data-theme="light"] .cyber-modal { background-color: rgba(255, 255, 255, 0.8); }
[data-theme="light"] .contact-item { background: #f1f5f9; }
[data-theme="light"] .career-option { background: #f8fafc; }
[data-theme="light"] .feature-highlight { background: rgba(37, 99, 235, 0.05); border-left-color: #2563eb; }

/* ═══════════════════════════════════════════════
   UI POLISH PACK — Cyber Noir 2.0
   ═══════════════════════════════════════════════ */

/* ── Neon Cyber Toast Notifications ── */
@keyframes toastIn  { from { opacity:0; transform:translateX(60px) scale(0.9); } to { opacity:1; transform:translateX(0) scale(1); } }
@keyframes toastOut { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(60px); } }
@keyframes neonBorderPulse {
    0%,100% { box-shadow: 0 0 8px rgba(0,243,255,0.5), inset 0 0 8px rgba(0,243,255,0.05); }
    50%      { box-shadow: 0 0 20px rgba(0,243,255,0.8), inset 0 0 15px rgba(0,243,255,0.1); }
}
.cyber-toast {
    display:flex; align-items:center; gap:12px;
    padding:14px 20px; border-radius:6px; margin-bottom:10px;
    font-family:'Rajdhani',sans-serif; font-weight:700; font-size:0.95rem;
    letter-spacing:0.5px; backdrop-filter:blur(20px); border:1px solid;
    animation:toastIn 0.4s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
    position:relative; overflow:hidden; min-width:260px; max-width:380px;
}
.cyber-toast::before { content:''; position:absolute; bottom:0; left:0; height:2px; background:currentColor; animation:toastTimer 3.5s linear forwards; }
@keyframes toastTimer { from{width:100%} to{width:0%} }
.cyber-toast.toast-success { background:rgba(16,185,129,0.12); border-color:rgba(16,185,129,0.4); color:#10b981; }
.cyber-toast.toast-error   { background:rgba(239,68,68,0.12);  border-color:rgba(239,68,68,0.4);  color:#ef4444; }
.cyber-toast.toast-info    { background:rgba(0,243,255,0.10);  border-color:rgba(0,243,255,0.35); color:#00f3ff; animation:toastIn 0.4s ease forwards,neonBorderPulse 2s ease-in-out; }
.cyber-toast.toast-warn    { background:rgba(245,158,11,0.12); border-color:rgba(245,158,11,0.4); color:#f59e0b; }
.cyber-toast .toast-close  { margin-left:auto; cursor:pointer; opacity:0.5; }
.cyber-toast .toast-close:hover { opacity:1; }
.cyber-toast.removing { animation:toastOut 0.3s ease forwards; }

/* ── Pulse-Glow on primary buttons ── */
@keyframes btnPulseGlow {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,243,255,0); }
    50%      { box-shadow: 0 0 18px 4px rgba(0,243,255,0.3); }
}
.btn-primary { animation: btnPulseGlow 3.5s ease-in-out infinite; }
.btn-primary:hover { animation:none; box-shadow:0 0 25px rgba(0,243,255,0.55); }

/* ── Skeleton Loader ── */
@keyframes skeletonShimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}
.skeleton {
    background:linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.04) 75%);
    background-size:800px 100%;
    animation:skeletonShimmer 1.4s infinite linear;
    border-radius:6px;
}
.skeleton-line   { height:14px; margin-bottom:10px; }
.skeleton-title  { height:24px; width:60%; margin-bottom:16px; }
.skeleton-block  { height:80px; width:100%; margin-bottom:16px; }
.skeleton-circle { border-radius:50%; }

/* ── Typewriter Heading ── */
@keyframes blink-caret { 0%,100%{border-color:transparent} 50%{border-color:#00f3ff} }
.typewriter {
    overflow:hidden; white-space:nowrap;
    border-right:3px solid #00f3ff;
    animation: typing 2.5s steps(40,end) forwards, blink-caret 0.75s step-end infinite;
}
@keyframes typing { from{width:0} to{width:100%} }

/* ── Glassmorphism 2.0 ── */
.glass-panel { backdrop-filter:blur(20px)!important; -webkit-backdrop-filter:blur(20px)!important; background:rgba(15,23,42,0.70)!important; }
[data-theme="light"] .glass-panel { background:rgba(255,255,255,0.82)!important; }

/* ── 3D card tilt base (JS drives inline transform) ── */
.tilt-card { transform-style:preserve-3d; transition:transform 0.15s ease,box-shadow 0.3s ease; will-change:transform; }

/* ── Speed-up grid anim ── */
body::before { animation:gridMove 40s linear infinite!important; }

/* ── Share Tech Mono for UID / terminal data ── */
.user-role, .intern-badge, .mapped-id-text, .stat-uid { font-family:'Share Tech Mono',monospace!important; }
