:root[data-theme="light"] {
    --bg-primary: #fcfcfd;
    --bg-secondary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent-1: #6d28d9;
    --accent-2: #ea580c;
    --accent-3: #0891b2;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --navbar-bg: rgba(252, 252, 253, 0.8);
}

:root[data-theme="dark"] {
    --bg-primary: #050508;
    --bg-secondary: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-1: #a78bfa;
    --accent-2: #fb923c;
    --accent-3: #22d3ee;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
    --navbar-bg: rgba(5, 5, 8, 0.8);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 1.5rem;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: var(--accent-1);
    color: #fff;
    transform: rotate(15deg);
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 63, 228, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .cursor-glow {
    opacity: 1;
}

.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-2);
    border: 1px solid rgba(255, 122, 89, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    background: linear-gradient(45deg, #fff, var(--accent-1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.role-grid {
    padding-bottom: 120px;
}

.job-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.job-card:hover {
    background: rgba(123, 63, 228, 0.05);
    border-color: var(--accent-1);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(123, 63, 228, 0.1);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover::before {
    opacity: 1;
}

.job-icon {
    font-size: 2rem;
    color: var(--accent-1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.job-card:hover .job-icon {
    transform: scale(1.1) rotate(5deg);
}

.job-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.job-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.apply-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.apply-btn:hover {
    color: var(--accent-1);
}

.apply-btn:hover i {
    transform: translateX(5px);
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
}

.blob-1 {
    top: -10%;
    right: -5%;
    background: var(--accent-1);
}

.blob-2 {
    bottom: 10%;
    left: -5%;
    background: var(--accent-2);
}

/* ===== NAVBAR Custom ===== */
.navbar-landing {
    background: var(--navbar-bg) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    z-index: 2000;
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    overflow: hidden;
}

.navbar-landing .navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #7b3fe4, #00f3ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.navbar-landing .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem !important;
    position: relative;
}

.navbar-landing .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background: #7b3fe4;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-landing .nav-link:hover::after,
.navbar-landing .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-landing .nav-link:hover {
    color: var(--text-primary) !important;
}

.navbar-landing .nav-link.active {
    color: var(--text-primary) !important;
}