/* ═══════════════════════════════════════════════════
   OPPORTUNITIES PAGE — PREMIUM STYLES
   ═══════════════════════════════════════════════════ */

/* ───── Page Hero ───── */
.opp-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-grad);
  overflow: hidden;
  padding: 120px 20px 80px;
}

.opp-hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 1;
}


/* ───── Why Join Section ───── */
.why-join {
  background: var(--bg-off);
  padding: clamp(80px, 10vw, 140px) 0;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.perk-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s var(--ease-luxury), box-shadow 0.5s var(--ease-luxury);
}

.perk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.perk-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 20px;
}

.perk-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.perk-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Stagger perks */
.perks-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.perks-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.perks-grid .reveal:nth-child(4) { transition-delay: 0.3s; }


/* ───── Positions Section ───── */
.positions {
  background: var(--bg-white);
  padding: clamp(80px, 10vw, 140px) 0;
}

.positions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.position-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--bg-white);
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s var(--ease-luxury),
              box-shadow 0.5s var(--ease-luxury),
              border-color 0.4s;
}

.position-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 217, 255, 0.3);
}

.position-left {
  flex: 1;
}

.position-dept {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
  display: block;
}

.position-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.position-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}

.position-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.position-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-off);
  color: var(--text-mid);
  white-space: nowrap;
}

.position-arrow {
  font-size: 24px;
  color: var(--text-light);
  transition: transform 0.4s var(--ease-luxury), color 0.3s;
}

.position-card:hover .position-arrow {
  transform: translateX(6px);
  color: var(--cyan);
}

/* Stagger positions */
.positions-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.positions-list .reveal:nth-child(3) { transition-delay: 0.16s; }
.positions-list .reveal:nth-child(4) { transition-delay: 0.24s; }
.positions-list .reveal:nth-child(5) { transition-delay: 0.32s; }
.positions-list .reveal:nth-child(6) { transition-delay: 0.4s; }


/* ───── Open Application CTA ───── */
.open-application {
  background: var(--bg-off);
  padding: clamp(60px, 8vw, 100px) 0;
}

.open-app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  border-radius: 24px;
  background: var(--hero-grad);
  position: relative;
  overflow: hidden;
}

.open-app-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.open-app-content {
  flex: 1;
}

.open-app-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.open-app-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 480px;
}

.open-app-card .btn:hover {
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .navbar { height: auto; }
  .nav-inner { height: var(--nav-height); }

  .opp-hero {
    min-height: 50vh;
    padding: 100px 20px 60px;
  }

  .perks-grid {
    grid-template-columns: 1fr;
  }

  .position-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .position-right {
    width: 100%;
    justify-content: space-between;
  }

  .open-app-card {
    flex-direction: column;
    padding: 40px 28px;
    text-align: center;
    align-items: center;
  }

  .open-app-desc {
    max-width: 100%;
  }
}
