/* =========================================================================
   CAREERS PAGE — Enhanced Redesign CSS
   Light cinematic hero + Editorial Job Openings + Upgraded Application UX
   ========================================================================= */

:root {
    --primary-blue: #2563eb;
    --primary-dark: #0f172a;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: #e2e8f0;
}

.careers-page {
    position: relative;
    background-color: #fafcff;
    overflow: hidden;
}

/* =========================================================================
   HERO — Light Cinematic Showcase
   ========================================================================= */
/* =========================================================================
   HERO — Light Cinematic Showcase (Events & Gallery Unified Design System)
   ========================================================================= */
.careers-hero-wrap {
    background: linear-gradient(160deg, #f0f6ff 0%, #e8f0fe 40%, #f5f8ff 100%);
    padding: 135px 0 75px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.careers-hero-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Ambient glow orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
}

.hero-orb.orb-1 {
    width: 600px; height: 600px;
    top: -200px; left: -150px;
    background: rgba(37, 99, 235, 0.12);
}

.hero-orb.orb-2 {
    width: 500px; height: 500px;
    bottom: -250px; right: -100px;
    background: rgba(99, 102, 241, 0.1);
}

/* Giant background watermark */
.careers-watermark {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.8);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(4rem, 14vw, 16rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.04;
    z-index: 2;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.careers-hero-inner {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.careers-hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: #2563eb;
}

.hero-eyebrow-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: #2563eb;
    text-transform: uppercase;
}

.hero-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-heading .accent {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #2563eb;
    font-size: 0.9em;
}

.hero-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: #0f172a;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.hero-primary-action:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.hero-secondary-action {
    display: inline-flex;
    align-items: center;
    padding: 14px 22px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-secondary-action:hover {
    background: #f8fafc;
    border-color: #2563eb;
    color: #2563eb;
}

/* Stats Row (From Gallery & Events) */
.hero-metrics {
    display: flex;
    gap: 40px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Right — Dual Showcase Composite */
.careers-showcase-composite {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Live Expo Spotlight Card (From Events Page) */
.expo-spotlight-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.07);
    position: relative;
    overflow: hidden;
}

.expo-spotlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.expo-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.expo-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expo-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.expo-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 0.04em;
    display: block;
    margin-top: 2px;
}

.expo-text {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Engineering Perks Grid (Vector SVG Icons + Typography, NO IMAGES) */
.hero-perks-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.perk-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.perk-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transform: translateX(4px);
}

.perk-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.perk-icon.cyan-accent {
    background: #ecfeff;
    color: #0891b2;
    border-color: #cff4fc;
}

.perk-icon.emerald-accent {
    background: #ecfdf5;
    color: #059669;
    border-color: #d1fae5;
}

.perk-content h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px;
}

.perk-content p {
    font-size: 0.83rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Scroll Hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 5;
    cursor: pointer;
}

.scroll-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, #2563eb, transparent);
    animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* =========================================================================
   EDITORIAL OPEN POSITIONS SECTION
   ========================================================================= */
.careers-positions-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.editorial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.editorial-left {
    max-width: 500px;
}

.editorial-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #2563eb;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.editorial-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.editorial-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    text-align: right;
    letter-spacing: -0.02em;
}

/* Role Filter Bar */
.careers-filter-wrapper {
    margin-bottom: 40px;
}

.careers-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    color: #0f172a;
    background: #ffffff;
    border-color: #cbd5e1;
}

.filter-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Open Positions Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.job-card:hover::before {
    opacity: 1;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.job-dept-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.job-type-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.job-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.3;
}

.job-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 24px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.job-tag {
    font-size: 0.78rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.job-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-apply-btn:hover {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.job-apply-btn svg {
    transition: transform 0.3s ease;
}

.job-apply-btn:hover svg {
    transform: translateX(4px);
}

/* =========================================================================
   WHY CHOOSE SHAGUN / CULTURE & BENEFITS
   ========================================================================= */
.benefits-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    position: relative;
}

.premium-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-align: center;
}

.premium-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 36px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.benefit-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* =========================================================================
   APPLICATION FORM SECTION
   ========================================================================= */
.apply-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.apply-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 36px 40px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.07);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.apply-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #06b6d4, #10b981);
}

.apply-card-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.apply-card-header {
    text-align: left;
    margin-bottom: 24px;
}

.apply-card-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.apply-card-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.premium-input {
    width: 100%;
    padding: 12px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.premium-input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.premium-input {
    min-height: 85px;
    resize: vertical;
}

/* Custom Select Dropdown UI */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #0f172a;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: #cbd5e1;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.custom-select-selected-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-selected-text.placeholder {
    color: #94a3b8;
}

.custom-select-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: transform 0.3s ease, color 0.3s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
    color: #2563eb;
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.custom-select-wrapper.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 11px 18px;
    font-size: 0.95rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.custom-select-option:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.custom-select-option.selected {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

/* Resume Dropzone */
.resume-dropzone-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}

.resume-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 24px 16px;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.resume-dropzone:hover, .resume-dropzone.dragover {
    border-color: #2563eb;
    background: #eff6ff;
}

.resume-dropzone.has-file {
    border-color: #10b981;
    background: #ecfdf5;
}

.dropzone-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.form-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================================================
   FLOATING TOP BUTTON
   ========================================================================= */
.careers-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.careers-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.careers-top-btn:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

/* =========================================================================
   ANIMATIONS & ENTRANCE TRANSITIONS
   ========================================================================= */

/* Giant Background Watermark Animation */
.careers-watermark {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.8);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(4rem, 14vw, 16rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    z-index: 2;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
                letter-spacing 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, letter-spacing;
}

.careers-hero-wrap.is-active .careers-watermark {
    opacity: 0.04;
    letter-spacing: 0.04em;
    transform: translate(-50%, -50%) scale(1);
}

/* Hero Staggered Content Entrance */
.careers-hero-wrap .reveal-slide-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.careers-hero-wrap .careers-hero-gfx {
    opacity: 0;
    transform: scale(0.94) translateY(25px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.careers-hero-wrap.is-active .reveal-slide-up,
.careers-hero-wrap.is-active .careers-hero-gfx {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delay Utilities */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* Status Dot Pulse Animation */
@keyframes pulseGfxDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
}

.gfx-status-dot {
    position: relative;
}
.gfx-status-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: #10b981;
    animation: pulseGfxDot 2s infinite ease-in-out;
}

/* Scroll Section Entrance Animations (Job Cards, Benefit Cards, Application Form) */
.editorial-header,
.careers-filter-wrapper,
.job-card,
.benefit-card,
.apply-card {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    will-change: opacity, transform;
}

.editorial-header.revealed,
.careers-filter-wrapper.revealed,
.job-card.revealed,
.benefit-card.revealed,
.apply-card.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Micro-interaction Hover Animations */
.job-card.revealed:hover {
    transform: translateY(-6px) !important;
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.benefit-card.revealed:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {
    .reveal-slide-up, .job-card, .benefit-card, .apply-card, .editorial-header {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================= */
@media (max-width: 1024px) {
    .careers-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .careers-hero-wrap {
        padding: 110px 0 60px;
    }
    .editorial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .editorial-title {
        text-align: left;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .apply-card {
        padding: 30px 20px;
    }
    .apply-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .apply-card-header {
        text-align: center;
    }
    .careers-hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .metric-card-val {
        font-size: 1.5rem;
    }
}
