/* Alpha Orbit - Careers Application Redesign Stylesheet */
:root {
  --bg-dark: #030305;
  --bg-panel: #0A0B10;
  --bg-card: #0F1018;
  --bg-input: #0D0E16;
  
  --border-subtle: #1A1C29;
  --border-gold: rgba(250, 204, 21, 0.2);
  --border-gold-glow: rgba(250, 204, 21, 0.45);

  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;

  --accent-gold: #FACC15;
  --accent-gold-mid: #EAB308;
  --accent-gold-dark: #CA8A04;

  --grad-gold: linear-gradient(135deg, #FDE047 0%, #FACC15 40%, #EAB308 70%, #CA8A04 100%);
  --grad-gold-btn: linear-gradient(90deg, #FACC15 0%, #EAB308 100%);

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  background-image: 
    radial-gradient(ellipse at 75% 25%, rgba(250, 204, 21, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse at 25% 75%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #06070B 0%, #020204 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* SPLIT CONTAINER */
.split-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 50px rgba(250, 204, 21, 0.04);
  overflow: hidden;
  padding: 16px;
}

@media (min-width: 1024px) {
  .split-container {
    grid-template-columns: 1fr 1.25fr;
    padding: 20px;
    gap: 24px;
  }
}

/* LEFT BRAND PANEL (Uses exact uploaded brand-bg.png image as background) */
.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px;
  background-color: #030305;
  background-image: url('./brand-bg.png');
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

@media (min-width: 640px) {
  .brand-panel {
    padding: 36px 32px;
  }
}

.brand-header {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-logo-img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.25));
}

.future-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: 16px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.brand-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-headline {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.brand-pitch {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 440px;
}

/* VALUE POINTS LIST */
.value-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(15, 16, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.value-card:hover {
  background: rgba(21, 22, 34, 0.92);
  border-color: rgba(250, 204, 21, 0.3);
  transform: translateY(-2px);
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.08);
  color: var(--accent-gold);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.value-text h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.value-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  background: rgba(15, 16, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* RIGHT FORM PANEL */
.form-panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .form-panel {
    padding: 32px 36px;
  }
}

.form-panel-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .form-panel-header {
    flex-direction: row;
    align-items: flex-start;
  }
}

.header-text h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.header-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* STEPPER INDICATOR */
.stepper-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
  transition: var(--transition);
}

.step-item.active {
  opacity: 1;
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #141622;
  border: 1px solid #282A3A;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
}

.step-item.active#step-node-1 .step-circle,
.step-item.active#step-node-2 .step-circle {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #030305;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.45);
}

.step-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.step-item.active .step-name {
  color: #FFFFFF;
}

.step-line-track {
  width: 36px;
  height: 2px;
  background: #212332;
  border-radius: 2px;
  overflow: hidden;
}

.step-line-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-gold);
  transition: width 0.35s ease;
}

.step-line-fill.step-2-active {
  width: 100%;
}

/* STATUS BANNER */
.status-banner {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.4;
}

.status-banner.visible {
  display: block;
}

.status-banner.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

.status-banner.info {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #FDE047;
}

.status-banner.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
}

/* STEP 1 LAYOUT (Form + Side Promo Card) */
.step-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-group.hidden {
  display: none !important;
}

.step-1-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 860px) {
  .step-1-layout {
    grid-template-columns: 1fr 220px;
    gap: 20px;
  }
}

.step-1-form-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-1-promo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
}

.step-subheading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

.step-heading h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* SIDE PROMO CARD IN STEP 1 */
.promo-card {
  padding: 18px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-icon-sparkle {
  margin-bottom: 2px;
}

.promo-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
}

.promo-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FORM FIELDS & INPUTS */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group.hidden {
  display: none !important;
}

.field-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.required-tag {
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-wrapper input,
.input-wrapper select,
textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.input-wrapper input {
  padding-left: 40px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
textarea:focus {
  border-color: var(--accent-gold);
  background: #121420;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.2);
}

.input-wrapper input::placeholder,
textarea::placeholder {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* SELECT STYLING */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  cursor: pointer;
  background-color: var(--bg-input);
}

.select-wrapper select option {
  background-color: #0D0E16;
  color: var(--text-main);
  padding: 10px;
}

.select-chevron {
  position: absolute;
  right: 14px;
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* STEP 2 ROLE SPECIFIC GRID */
.selected-role-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.pill-icon {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 0.92rem;
}

.pill-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
}

.role-specific-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .role-specific-grid {
    grid-template-columns: 1fr 1fr;
  }
  .role-specific-grid .full-width {
    grid-column: 1 / -1;
  }
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.hint {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: right;
  margin-top: 2px;
}

/* FILE UPLOAD STYLING */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

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

.file-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 16px;
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-muted);
  text-align: center;
  transition: var(--transition);
}

.file-upload-wrapper:hover .file-upload-box,
.file-upload-wrapper input[type="file"]:focus + .file-upload-box {
  border-color: var(--accent-gold);
  background: rgba(250, 204, 21, 0.04);
  color: #FFFFFF;
}

.file-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.file-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* PRIVACY POLICY CHECKBOX & GOLD STYLING */
.privacy-policy-group {
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent-gold);
  border-radius: 4px;
}

.privacy-link {
  color: var(--accent-gold);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.privacy-link:hover {
  color: #FDE047;
}

.privacy-subtext {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 3px;
  line-height: 1.4;
}

/* BUTTONS & ACTIONS */
.form-actions {
  display: flex;
  margin-top: 10px;
}

.step-2-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-next,
.btn-submit,
.btn-gold-home {
  width: 100%;
  background: var(--grad-gold-btn);
  color: #030305;
  box-shadow: 0 4px 18px rgba(250, 204, 21, 0.35);
}

.btn-next:hover,
.btn-submit:hover:not(:disabled),
.btn-gold-home:hover {
  background: #FDE047;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(250, 204, 21, 0.5);
}

.btn-back,
.btn-outline-explore {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
}

.btn-back:hover,
.btn-outline-explore:hover {
  background: #141624;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-submit:disabled,
.btn-submit[disabled] {
  opacity: 0.45;
  cursor: not-allowed !important;
  pointer-events: none;
  box-shadow: none !important;
  filter: grayscale(0.5);
  transform: none !important;
}

/* SUCCESS STATE CENTERED CARD */
.success-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  width: 100%;
}

.success-state.hidden {
  display: none !important;
}

.success-card-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 24px;
}

.success-orb-container {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.orb-outer-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.25) 0%, transparent 70%);
}

.orb-ring-spin {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.4);
  animation: spinOrb 12s linear infinite;
}

@keyframes spinOrb {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success-check-orb {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.65);
  z-index: 2;
}

.success-title {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.success-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: -6px;
}

.success-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  margin-top: 12px;
}

@media (min-width: 480px) {
  .success-actions {
    flex-direction: row;
  }
}

/* ==========================================================================
   ACTIVELY HIRING OPENINGS SECTION
   ========================================================================== */
.hiring-now-section {
  margin: 24px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

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

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hiring-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
}

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

.hiring-card-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.hiring-card-pill:hover {
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pill-icon {
  font-size: 1.25rem;
}

.pill-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pill-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.pill-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.pill-action {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.hiring-card-pill:hover .pill-action {
  opacity: 1;
}
