/* =============================================
   INFOLIB — CAREERS PAGE STYLESHEET
   Engineered with ui-ux-pro-max & taste-skill
   ============================================= */

:root {
  --bg-deep:       #040714;
  --bg-surface:    #070d22;
  --bg-card:       rgba(8, 15, 36, 0.72);
  --accent-cyan:   #00f0ff;
  --accent-blue:   #3b82f6;
  --text-primary:  #f8fafc;
  --text-muted:    #94a3b8;
  --text-dim:      #64748b;
  --border-glass:  rgba(255, 255, 255, 0.08);
  --border-cyan:   rgba(0, 240, 255, 0.32);
  --glow-cyan:     0 0 35px rgba(0, 240, 255, 0.25);

  --font-display:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:     'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --radius-full:   9999px;

  --space-1:  4px; --space-2:  8px; --space-3:  12px; --space-4:  16px;
  --space-5:  20px; --space-6:  24px; --space-8:  32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  --nav-h: 72px;

  --text-xs:   clamp(0.70rem, 0.8vw, 0.78rem);
  --text-sm:   clamp(0.82rem, 1vw, 0.88rem);
  --text-base: clamp(0.95rem, 1.2vw, 1.05rem);
  --text-lg:   clamp(1.08rem, 1.6vw, 1.18rem);
  --text-xl:   clamp(1.22rem, 2vw, 1.35rem);
  --text-2xl:  clamp(1.45rem, 2.6vw, 1.75rem);
  --text-3xl:  clamp(1.85rem, 3.4vw, 2.35rem);
  --text-4xl:  clamp(2.35rem, 4.4vw, 3.15rem);
  --text-5xl:  clamp(2.95rem, 5.8vw, 4.25rem);
  --text-6xl:  clamp(3.60rem, 7.2vw, 5.25rem);
}

/* =============================================
   CAREERS HERO
   ============================================= */
.careers-hero {
  padding-top: calc(var(--nav-h) + var(--space-16));
  padding-bottom: var(--space-20);
  position: relative;
  z-index: 1;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.careers-hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 25%;
  width: 700px;
  max-width: 90vw;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
}

.careers-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: var(--space-5);
  letter-spacing: -0.025em;
  color: #ffffff;
}

.careers-hero p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.18), transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

/* =============================================
   VALUES SECTION (DOUBLE-BEZEL CARDS)
   ============================================= */
.values-section {
  padding: var(--space-20) 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-glass);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.glass-card {
  background: rgba(8, 14, 32, 0.74);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 20px 45px -10px rgba(0, 0, 0, 0.65);
  transition: all var(--duration-base) var(--ease-spring);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-cyan);
  box-shadow: 
    0 0 0 1px rgba(0, 240, 255, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 28px 65px -12px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(0, 240, 255, 0.18);
}

.val-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-cyan-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: var(--space-6);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.15);
  transition: transform var(--duration-fast) var(--ease-spring);
}

.glass-card:hover .val-icon {
  transform: scale(1.08);
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: #ffffff;
  letter-spacing: -0.01em;
}

.glass-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   OPENINGS SECTION (DOUBLE-BEZEL JOB CARDS)
   ============================================= */
.openings-section {
  padding: var(--space-20) 0;
  position: relative;
  z-index: 1;
}

.openings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
  gap: var(--space-6);
}

.open-filters {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--border-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

.openings-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.job-card {
  background: rgba(8, 14, 32, 0.74);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 10px 30px -5px rgba(0, 0, 0, 0.5);
  transition: all var(--duration-fast) var(--ease-spring);
}

.job-card:hover {
  background: rgba(10, 18, 42, 0.88);
  border-color: var(--border-cyan);
  transform: translateX(8px);
  box-shadow: 
    0 0 0 1px rgba(0, 240, 255, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.2),
    0 16px 40px -8px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(0, 240, 255, 0.12);
}

.job-left {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.job-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-cyan-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.job-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.job-meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.job-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.job-tags {
  display: flex;
  gap: var(--space-2);
}

.job-tag {
  padding: 4px 12px;
  background: rgba(0, 240, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-cyan);
  border: 1px solid var(--border-cyan-subtle);
  letter-spacing: 0.02em;
}

.job-arrow {
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-spring);
}

.job-card:hover .job-arrow {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

/* =============================================
   APPLICATION FORM (DOUBLE-BEZEL CARD)
   ============================================= */
.apply-section {
  padding: var(--space-20) 0 var(--space-24);
  position: relative;
  z-index: 1;
}

.apply-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(8, 14, 34, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass-hi);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-12);
  box-shadow: 
    0 0 0 1px rgba(0, 240, 255, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 32px 80px -15px rgba(0, 0, 0, 0.85);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 2px;
}

.form-input {
  background: #050a1c;
  border: 1px solid var(--border-glass-hi);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: all var(--duration-fast) var(--ease-spring);
  width: 100%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 
    0 0 0 2px rgba(0, 240, 255, 0.25),
    inset 0 1px 2px rgba(0, 0, 0, 0.6);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

/* File Upload */
.file-upload {
  display: flex;
  align-items: center;
  width: 100%;
  height: 58px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-glass-hi);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
}

.file-upload:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.04);
}

.file-btn {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #040714;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-right: var(--space-4);
  transition: transform var(--duration-fast) var(--ease-spring);
}

.file-upload:hover .file-btn {
  transform: scale(1.03);
}

.file-name {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Checkboxes & Radios */
.check-box-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
}

.check-box-wrap:hover {
  background: rgba(0, 240, 255, 0.04);
  border-color: var(--border-cyan-subtle);
}

.custom-check {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-glass-hi);
  border-radius: 6px;
  outline: none;
  transition: all var(--duration-fast) var(--ease-spring);
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.custom-check:checked {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

.custom-check::after {
  content: '✓';
  position: absolute;
  top: -1px;
  left: 4px;
  color: #040714;
  font-weight: 800;
  font-size: 13px;
  opacity: 0;
}

.custom-check:checked::after {
  opacity: 1;
}

.check-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  flex-grow: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .careers-hero p {
    margin: 0 auto var(--space-8);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .job-right {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

@media (max-width: 640px) {
  .careers-hero h1 {
    font-size: var(--text-4xl);
  }
  .apply-card {
    padding: var(--space-8) var(--space-6);
  }
}