:root {
    --bg-dark: #060b19;
    --bg-surface: rgba(15, 23, 42, 0.62);
    --bg-surface-hover: rgba(22, 34, 62, 0.78);
    --glass-border: rgba(148, 163, 184, 0.18);
    --glass-highlight: rgba(0, 229, 255, 0.35);
    --primary: #00e5ff;
    --primary-dark: #0284c7;
    --accent: #6366f1;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-glow: 0 12px 40px rgba(0, 229, 255, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Tech Grid & Floating Orbs */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    z-index: -3;
    pointer-events: none;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(95px);
    z-index: -2;
    opacity: 0.45;
    pointer-events: none;
    animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #00e5ff, #2563eb);
    top: -110px;
    left: -90px;
}

.orb-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #6366f1, #0ea5e9);
    bottom: -100px;
    right: -80px;
    animation-delay: -6s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(35px, 25px) scale(1.08); }
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Base */
.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(4, 7, 17, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #04101f;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    display: grid;
    place-items: center;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.brand-text small {
    font-size: 0.68rem;
    color: var(--primary);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.btn-outline-sm {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid var(--glass-highlight);
    background: rgba(0, 229, 255, 0.08);
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.btn-outline-sm:hover {
    background: rgba(0, 229, 255, 0.18);
}

/* Hero Section */
.hero {
    padding: 64px 0 36px;
    text-align: center;
}

.security-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.28);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.15;
    max-width: 820px;
    margin: 0 auto 16px;
}

.gradient-text {
    background: linear-gradient(90deg, #00e5ff, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 34px;
    font-size: 1.02rem;
}

.stats-glass {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 18px 34px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--glass-border);
}

/* Search & Filter Panel */
.main-section {
    padding-bottom: 70px;
}

.filter-panel {
    padding: 22px;
    margin-bottom: 32px;
}

.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.glass-input,
.glass-select,
.glass-textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: rgba(6, 11, 25, 0.65);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar .glass-input {
    flex: 1;
    min-width: 240px;
}

.glass-input:focus,
.glass-select:focus,
.glass-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.btn-primary {
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), #0284c7);
    color: #031120;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.35);
}

.btn-ghost {
    padding: 13px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.btn-ghost:hover {
    color: var(--text-main);
    border-color: var(--text-muted);
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-chip {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
}

.tab-chip:hover,
.tab-chip.active {
    background: rgba(0, 229, 255, 0.16);
    border-color: var(--primary);
    color: var(--primary);
}

/* Jobs Grid & Cards */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.job-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-highlight);
    box-shadow: var(--shadow-glow);
    background: var(--bg-surface-hover);
}

.job-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.badge-cat {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.ref-code {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(0, 229, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
}

.job-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.job-desc {
    font-size: 0.92rem;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.job-requirements {
    background: rgba(6, 11, 25, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 0.83rem;
}

.job-requirements strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-requirements p {
    color: var(--text-muted);
}

.job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.deadline-box {
    display: flex;
    flex-direction: column;
}

.deadline-box small {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.deadline-box strong {
    font-size: 0.83rem;
    color: #e2e8f0;
}

.deadline-box strong.urgent {
    color: var(--warning);
}

.btn-apply {
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #38bdf8);
    color: #04101f;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 24px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    background: rgba(6, 11, 25, 0.8);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.footer-note {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    padding: 13px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
}

/* Responsive */
@media (max-width: 680px) {
    .nav-links {
        gap: 12px;
    }
    .nav-links a:not(.btn-outline-sm) {
        font-size: 0.82rem;
    }
    .stat-divider {
        display: none;
    }
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}