/* ============================================================
   AGLOVEL GROUP — career.css
   Careers / Hiring Page Stylesheet
   Mirrors the existing design system from styles.css + about.css
   ============================================================ */

/* ===================== GLOBAL OVERRIDES ===================== */
body { overflow-x: hidden; }

/* ===================== SUCCESS BANNER ===================== */
.success-banner {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 9000;
  box-shadow: 0 10px 30px rgba(16,185,129,0.4);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  max-width: calc(100vw - 40px);
  animation: bannerSlide 0.4s ease;
}

@keyframes bannerSlide {
  from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.success-banner button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.success-banner button:hover { opacity: 1; }

/* ===================== SECTION LABEL ===================== */
.section-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 12px;
}

/* ===================== HERO ===================== */
.career-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #06060e;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
  top: -160px;
  left: -120px;
  animation: orbFloat1 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  animation: orbFloat2 18s ease-in-out infinite alternate;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,0.09) 0%, transparent 70%);
  top: 50%;
  left: 55%;
  animation: orbFloat3 22s ease-in-out infinite alternate;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

@keyframes orbFloat1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(90px, 70px) scale(1.25); }
}
@keyframes orbFloat2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-70px, -90px) scale(1.2); }
}
@keyframes orbFloat3 {
  from { transform: scale(0.7); opacity: 0.4; }
  to   { transform: scale(1.4); opacity: 0.9; }
}

/* Particles reuse */
.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Hero content */
.career-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.career-hero-content {
  max-width: 720px;
  padding: 130px 0 100px;
}

.hiring-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.28);
  color: #93c5fd;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 2s infinite;
}

.pulse-dot.small {
  width: 6px;
  height: 6px;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(59,130,246,0.55); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(59,130,246,0); }
}

.career-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  color: #f0f4ff;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.career-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #8fa3bf;
  line-height: 1.78;
  max-width: 560px;
  margin-bottom: 44px;
}

.career-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(59,130,246,0.32);
}

.career-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(59,130,246,0.48);
}

/* Scroll indicator */
.career-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.career-scroll .mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 15px;
  margin: 0 auto;
  position: relative;
}
.career-scroll .wheel {
  width: 4px;
  height: 8px;
  background: #3b82f6;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelC 2s infinite;
}
@keyframes scrollWheelC {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}
.career-scroll .arrows {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 3px;
}
.career-scroll .arrows span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,0.25);
  border-bottom: 2px solid rgba(255,255,255,0.25);
  transform: rotate(45deg);
  animation: arrowDownC 2s infinite;
}
.career-scroll .arrows span:nth-child(2) { animation-delay: 0.2s; }
.career-scroll .arrows span:nth-child(3) { animation-delay: 0.4s; }
@keyframes arrowDownC {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ===================== ABOUT STRIP ===================== */
.career-about-strip {
  background: #0d1524;
  border-top: 1px solid rgba(59,130,246,0.12);
  border-bottom: 1px solid rgba(59,130,246,0.12);
  padding: 44px 0;
}

.strip-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.strip-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.14));
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3b82f6;
  font-size: 1.3rem;
  margin-top: 2px;
}

.strip-inner p {
  color: #8fa3bf;
  line-height: 1.78;
  font-size: 0.96rem;
  font-family: 'Inter', sans-serif;
}

.strip-inner p strong {
  color: #93c5fd;
  font-weight: 600;
}

/* ===================== OPEN ROLES ===================== */
.open-roles-section {
  background: #ffffff;
  padding: 90px 0;
}

.open-roles-section .section-header {
  text-align: center;
  margin-bottom: 52px;
}

.open-roles-section .section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.open-roles-section .section-header p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Featured role card */
.role-card-featured {
  max-width: 800px;
  margin: 0 auto;
  padding: 42px 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: #0c1220;
  border: 1px solid rgba(59,130,246,0.18);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.role-card-glow {
  position: absolute;
  top: -60%;
  left: -40%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 40% 40%, rgba(59,130,246,0.07), transparent 60%);
  pointer-events: none;
}

.role-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 16px;
}

.role-tag-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.role-tag.remote {
  background: rgba(59,130,246,0.12);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.28);
}

.role-tag.female {
  background: rgba(236,72,153,0.1);
  color: #f9a8d4;
  border: 1px solid rgba(236,72,153,0.22);
}

.role-tag.open {
  background: rgba(16,185,129,0.1);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.22);
}

.role-salary {
  text-align: right;
}

.salary-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.salary-range {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #c9a24d;
  letter-spacing: -0.3px;
}

.role-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #f0f4ff;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.role-summary {
  color: #8fa3bf;
  line-height: 1.75;
  font-size: 0.94rem;
  margin-bottom: 28px;
  max-width: 580px;
}

.role-card-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 26px;
}

.role-quick-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8fa3bf;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
}

.spec-item i {
  color: #3b82f6;
  width: 16px;
  flex-shrink: 0;
}

.role-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(59,130,246,0.32);
}

.role-apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(59,130,246,0.52);
}

/* ===================== ROLE BREAKDOWN ===================== */
.role-breakdown-section {
  background: #12100d;
  padding: 90px 0;
}

.role-breakdown-section .section-header {
  text-align: center;
  margin-bottom: 52px;
}

.role-breakdown-section .section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #f0f4ff;
  margin-bottom: 10px;
}

.role-breakdown-section .section-label {
  color: #c9a24d;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.breakdown-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}

.breakdown-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(59,130,246,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.breakdown-card.non-neg {
  border-color: rgba(239,68,68,0.15);
}

.breakdown-card.non-neg:hover {
  border-color: rgba(239,68,68,0.35);
}

.breakdown-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.breakdown-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.14));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3b82f6;
  font-size: 1.1rem;
}

.breakdown-icon.warn {
  background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(220,38,38,0.1));
  color: #f87171;
}

.breakdown-card-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.3;
}

.breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.breakdown-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #8fa3bf;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  line-height: 1.55;
}

.breakdown-list li i {
  color: #3b82f6;
  font-size: 0.72rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.breakdown-list.warn-list li {
  color: #fca5a5;
}

.breakdown-list.warn-list li i {
  color: #f87171;
}

.breakdown-list.warn-list li strong {
  color: #fecaca;
}

/* ===================== TASK NOTICE ===================== */
.task-notice-section {
  background: #0d1524;
  padding: 56px 0;
  border-top: 1px solid rgba(59,130,246,0.1);
  border-bottom: 1px solid rgba(59,130,246,0.1);
}

.task-notice-card {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: linear-gradient(135deg, rgba(201,168,76,0.07), rgba(201,168,76,0.03));
  border: 1px solid rgba(201,168,76,0.32);
  border-radius: 18px;
  padding: 32px 34px;
  position: relative;
  overflow: hidden;
}

.task-notice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #c9a24d, #8a6620);
  border-radius: 4px 0 0 4px;
}

.task-notice-icon {
  width: 50px;
  height: 50px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c9a24d;
  font-size: 1.3rem;
}

.task-notice-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c9a24d;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.task-notice-text p {
  color: #8fa3bf;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.72;
}

/* ===================== APPLICATION FORM ===================== */
.application-section {
  background: #080810;
  padding: 90px 0;
}

.application-section .section-header {
  text-align: center;
  margin-bottom: 52px;
}

.application-section .section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #f0f4ff;
  margin-bottom: 10px;
}

.application-section .section-header p {
  color: #475569;
  font-size: 0.88rem;
}

.application-section .section-label {
  color: #3b82f6;
}

.form-wrapper {
  max-width: 840px;
  margin: 0 auto;
}

.career-form {
  background: #0e1118;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 50px 48px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Form section labels */
.form-section-label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  margin: 36px 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.form-section-label:first-of-type { margin-top: 0; }

.form-section-label span {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Rows */
.form-row { margin-bottom: 20px; }

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

/* Form groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #8fa3bf;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label i {
  color: #3b82f6;
  font-size: 0.82rem;
}

.req {
  color: #f87171;
  font-size: 0.72rem;
  margin-left: 1px;
}

/* Inputs */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 12px 16px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(100,116,139,0.55);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.04);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 148px;
  line-height: 1.65;
}

.input-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #334155;
  line-height: 1.5;
}

.char-counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.73rem;
  color: #334155;
  text-align: right;
  margin-top: -4px;
  transition: color 0.2s;
}

/* File Upload */
.file-upload-wrapper {
  position: relative;
  cursor: pointer;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.file-upload-ui {
  background: rgba(255,255,255,0.025);
  border: 2px dashed rgba(59,130,246,0.22);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.file-upload-wrapper:hover .file-upload-ui,
.file-upload-ui.drag-over {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.5);
}

.file-upload-ui i {
  font-size: 2rem;
  color: #3b82f6;
  opacity: 0.65;
  margin-bottom: 4px;
}

.file-upload-text {
  color: #8fa3bf;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
}

.file-upload-hint {
  color: #475569;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
}

.file-selected {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.22);
  border-radius: 10px;
  padding: 12px 16px;
}

.file-selected i {
  color: #10b981;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.file-selected span {
  flex: 1;
  color: #8fa3bf;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-clear {
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
  z-index: 4;
  position: relative;
}

.file-clear:hover { color: #f87171; }

/* Consent */
.consent-section {
  margin: 28px 0 24px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.consent-box {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: rgba(255,255,255,0.03);
  position: relative;
  margin-top: 1px;
}

.consent-box::after {
  content: '';
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -2px);
  opacity: 0;
  transition: opacity 0.18s ease;
  position: absolute;
}

.consent-label:has(input:checked) .consent-box {
  background: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}

.consent-label:has(input:checked) .consent-box::after {
  opacity: 1;
}

.consent-text {
  color: #4e6280;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
}

/* Submit */
.submit-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  padding: 17px 44px;
  border-radius: 12px;
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(59,130,246,0.32);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

.submit-btn:hover:not(:disabled)::before { opacity: 1; }

.submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(59,130,246,0.5);
}

.submit-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.submit-notice {
  color: #2c3a4e;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  text-align: center;
  transition: opacity 0.3s;
}

/* ===================== PROCESS ===================== */
.process-section {
  background: #f0ead8;
  padding: 90px 0;
}

.process-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-section .section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.process-section .section-label {
  color: #3b82f6;
}

.process-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #3b82f6;
  margin-bottom: 12px;
}

.step-connector {
  position: absolute;
  top: 50px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.4), rgba(139,92,246,0.35));
  z-index: 0;
}

.process-step.last .step-connector { display: none; }

.step-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(59,130,246,0.4);
  transition: all 0.3s ease;
}

.process-step:hover .step-icon {
  transform: scale(1.18);
  box-shadow: 0 10px 28px rgba(59,130,246,0.56);
}

.process-step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.process-step p {
  color: #64748b;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ===================== FAQ ===================== */
.faq-section {
  background: #0d1524;
  padding: 90px 0;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 52px;
}

.faq-section .section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #f0f4ff;
  margin-bottom: 10px;
}

.faq-section .section-label {
  color: #c9a24d;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(59,130,246,0.22);
}

.faq-item.active {
  border-color: rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.035);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.faq-question:hover { color: #f0f4ff; }

.faq-question[aria-expanded="true"] {
  color: #93c5fd;
}

.faq-icon {
  flex-shrink: 0;
  color: #3b82f6;
  font-size: 0.78rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.38s ease;
  padding: 0 26px;
}

.faq-answer.open {
  max-height: 350px;
  padding: 0 26px 22px;
}

.faq-answer p {
  color: #4e6280;
  font-family: 'Inter', sans-serif;
  font-size: 0.87rem;
  line-height: 1.78;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
}

.faq-answer p strong {
  color: #8fa3bf;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .breakdown-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .career-hero-content { padding: 120px 0 80px; }
  .career-hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .career-hero-sub { font-size: 0.95rem; }

  .strip-inner { flex-direction: column; gap: 14px; }

  .role-card-featured { padding: 28px 22px; }
  .role-quick-specs { grid-template-columns: 1fr; }
  .role-card-top { flex-direction: column; }
  .role-salary { text-align: left; }

  .form-row.two-col,
  .form-row.three-col { grid-template-columns: 1fr; }

  .career-form { padding: 28px 22px; }

  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    max-width: 380px;
  }
  .process-step { width: 100%; padding: 0; }
  .step-connector { display: none; }

  .task-notice-card { flex-direction: column; padding: 28px 22px; }

  .open-roles-section .section-header h2,
  .role-breakdown-section .section-header h2,
  .application-section .section-header h2,
  .process-section .section-header h2,
  .faq-section .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .career-cta-btn { width: 100%; justify-content: center; }
  .role-apply-btn { width: 100%; justify-content: center; }
  .submit-btn { width: 100%; justify-content: center; }
}


.career-hero {
  min-height: 60vh;
  padding: 60px 0 40px;
}

.career-hero-container {
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.career-hero-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hiring-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.career-hero-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  margin: 0;
}

.career-hero-sub {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 500px;
}

.career-cta-btn {
  padding: 11px 24px;
  font-size: 14px;
  margin-top: 4px;
  width: fit-content;
}

.scroll-indicator.career-scroll {
  margin-top: 24px;
}

.career-hero-container {
  justify-content: center;
}

.career-hero-content {
  align-items: center;
  text-align: center;
}

.career-hero-sub {
  text-align: center;
}

html, body {
  overflow-x: hidden;
}

.career-hero {
  overflow-x: hidden;
  width: 100%;
}

.hero-bg,
.particles-container {
  overflow: hidden;
  max-width: 100%;
}


.career-hero {
  min-height: 50vh;
  padding: 40px 0 30px;
}

.career-hero-title {
  font-size: clamp(22px, 5vw, 40px);
  line-height: 1.1;
}

.career-hero-sub {
  font-size: 13px;
  line-height: 1.6;
}

.career-cta-btn {
  padding: 10px 20px;
  font-size: 13px;
}

.hiring-badge {
  font-size: 11px;
  padding: 4px 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .career-hero {
    min-height: unset;
    padding: 36px 16px 28px;
  }

  .career-hero-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .career-hero-sub {
    font-size: 12.5px;
  }

  .career-hero-content {
    gap: 10px;
  }
}

.scroll-indicator.career-scroll {
  position: absolute;
  bottom: 0.5px; /* decrease this to move it further down */
  left: 45%;
  transform: translateX(-45%);
}


.open-roles-section {
  padding: 60px 0 50px;
}

.open-roles-section .section-header {
  margin-bottom: 28px;
}

.open-roles-section .section-header h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 8px;
}

.open-roles-section .section-header p {
  font-size: 13px;
}

/* Silver shining border */
.role-card-featured {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card-bg, #0f0f1a), var(--card-bg, #0f0f1a)),
    linear-gradient(135deg, #c0c0c0, #6e6e6e, #e8e8e8, #a0a0a0, #ffffff, #8a8a8a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 18px rgba(200, 200, 200, 0.06);
}

.role-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.role-tag-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.role-tag {
  font-size: 11px;
  padding: 4px 10px;
}

.salary-label {
  font-size: 11px;
}

.salary-range {
  font-size: 14px;
}

.role-title {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 8px;
}

.role-summary {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 0;
}

.role-card-divider {
  margin: 18px 0;
}

.role-quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.spec-item {
  font-size: 12.5px;
  gap: 7px;
}

.role-apply-btn {
  padding: 11px 24px;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 768px) {
  .open-roles-section {
    padding: 40px 0 36px;
  }

  .role-card-featured {
    padding: 20px;
  }

  .role-quick-specs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}


.role-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.role-salary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.role-apply-btn {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 6px;
  width: fit-content;
}




.role-breakdown-section {
  padding: 50px 0 40px;
}

.role-breakdown-section .section-header {
  margin-bottom: 24px;
}

.role-breakdown-section .section-header h2 {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 0;
}

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

.breakdown-card {
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #888888 20%,
    #ffffff 35%,
    #aaaaaa 50%,
    #ffffff 65%,
    #888888 80%,
    #ffffff 100%
  );
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.07),
    0 0 40px rgba(200, 200, 200, 0.04);
}

.breakdown-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.breakdown-card-header h3 {
  font-size: 13.5px;
  line-height: 1.3;
}

.breakdown-icon {
  width: 34px;
  height: 34px;
  font-size: 13px;
  flex-shrink: 0;
}

.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-list li {
  font-size: 12.5px;
  line-height: 1.5;
  gap: 8px;
}

.breakdown-list li i {
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Inner wrapper to show silver edge */
.breakdown-card > *:not(.breakdown-card-inner) {
  position: relative;
  z-index: 1;
}

.breakdown-card {
  position: relative;
}

.breakdown-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 12px;
  background: #0f0f1a; /* match your card bg */
  z-index: 0;
}

.breakdown-card > * {
  position: relative;
  z-index: 1;
}

/* Wrap inner content */
.breakdown-card .breakdown-card-header,
.breakdown-card .breakdown-list {
  padding: 0 18px;
}

.breakdown-card .breakdown-card-header {
  padding-top: 18px;
}

.breakdown-card .breakdown-list {
  padding-bottom: 18px;
}

/* Mobile */
@media (max-width: 768px) {
  .breakdown-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .role-breakdown-section {
    padding: 36px 0 30px;
  }
}



.task-notice-section {
  padding: 20px 0;
}

.task-notice-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: 10px;
  animation: bounce-notice 3s ease-in-out infinite;
}

@keyframes bounce-notice {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.task-notice-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.task-notice-text h4 {
  font-size: 13px;
  margin-bottom: 5px;
  line-height: 1.3;
}

.task-notice-text p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

@keyframes bounce-notice {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-14px); }
  50% { transform: translateY(-6px); }
  70% { transform: translateY(-12px); }
  85% { transform: translateY(-3px); }
}

.task-notice-card {
  animation: bounce-notice 1.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}


.application-section {
  padding: 50px 0 40px;
}

.application-section .section-header {
  margin-bottom: 24px;
}

.application-section .section-header h2 {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 6px;
}

.application-section .section-header p {
  font-size: 13px;
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

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

.form-section-label {
  font-size: 11.5px;
  padding: 5px 0;
  margin-bottom: -6px;
  letter-spacing: 0.04em;
}

.form-row {
  gap: 12px;
}

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

.form-group label {
  font-size: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.form-group textarea {
  rows: 4;
  min-height: 100px;
  resize: vertical;
}

.input-hint {
  font-size: 11.5px;
  line-height: 1.5;
  margin-top: 4px;
}

.file-upload-ui {
  padding: 18px 16px;
  gap: 6px;
}

.file-upload-ui i {
  font-size: 20px;
}

.file-upload-text {
  font-size: 13px;
}

.file-upload-hint {
  font-size: 11px;
}

.consent-section {
  margin: 4px 0;
}

.consent-text {
  font-size: 12px;
  line-height: 1.6;
}

.submit-btn {
  padding: 11px 28px;
  font-size: 13px;
}

.submit-notice {
  font-size: 12px;
  margin-top: 6px;
}

.char-counter {
  font-size: 11px;
  margin-top: 3px;
}

/* Mobile */
@media (max-width: 768px) {
  .application-section {
    padding: 36px 0 30px;
  }

  .form-row.two-col,
  .form-row.three-col {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }
}

.application-section {
  background: #562c18;
}




.application-section .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.application-section .section-header h2 {
  color: #ffffff;
}

.application-section .section-header h2 .gradient-text {
  background: linear-gradient(135deg, #e8c4a0, #d4956a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.application-section .section-header p {
  color: rgba(255, 255, 255, 0.75);
}


.form-wrapper {
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(135deg,
    #ffffff 0%,
    #888888 20%,
    #ffffff 35%,
    #aaaaaa 50%,
    #ffffff 65%,
    #888888 80%,
    #ffffff 100%
  );
}

.career-form {
  background: #0e1118;
  border: none;
  border-radius: 24px;
  padding: 50px 48px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.form-section-label {
  color: rgba(255, 255, 255, 0.95);
}

.input-hint {
  color: rgba(255, 255, 255, 0.4);
}


.consent-section {
  margin: 1px 0;
  padding: 1px 2px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}




.process-section {
  padding: 40px 0 30px;
}

.process-section .section-header {
  margin-bottom: 20px;
}

.process-section .section-header h2 {
  font-size: clamp(22px, 3vw, 34px);
}

.step-number {
  font-size: 11px;
  margin-bottom: 4px;
}

.step-icon {
  width: 36px;
  height: 36px;
  font-size: 14px;
  margin-bottom: 8px;
}

.process-step h4 {
  font-size: 12.5px;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 11.5px;
  line-height: 1.5;
}




.faq-section {
  padding: 40px 0 30px;
}

.faq-section .section-header {
  margin-bottom: 20px;
}

.faq-section .section-header h2 {
  font-size: clamp(22px, 3vw, 34px);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 8px;
}

.faq-question {
  padding: 13px 16px;
  font-size: 13px;
}

.faq-icon {
  font-size: 12px;
}

.faq-answer p {
  font-size: 12.5px;
  line-height: 1.65;
  padding: 0 16px 13px;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 30px 0 24px;
  }

  .faq-question {
    font-size: 12.5px;
    padding: 11px 14px;
  }
}


.success-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 90%;
  max-width: 520px;
}

.success-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #0e1118;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.success-icon {
  color: #22c55e;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.success-text h4 {
  font-size: 13.5px;
  color: #ffffff;
  margin-bottom: 4px;
}

.success-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin: 0;
}

.success-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
  padding: 0;
}

.success-close:hover {
  color: rgba(255,255,255,0.7);
}



.hero-video-overlay {
  background: rgba(21, 26, 47, 0.72);
}


.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 33, 0.72);
  z-index: 1;
}

.hero-video {
  opacity: 0.75;
}

.hero-video-overlay {
  background: rgba(6, 8, 15, 0.45);
}