/* ============================================
   STARSEEDS ON POINT — Careers Page
   Extends styles.css with careers-specific styles
   ============================================ */

/* ===== HERO ===== */
.careers-hero {
  position: relative;
  padding: 8rem 1.5rem 5rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.careers-hero-inner {
  max-width: 820px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.careers-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  margin: 1.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.careers-title .line {
  display: block;
}
.careers-title .italic {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #fff 0%, #fde68a 40%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.careers-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-soft);
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.careers-sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
}

.careers-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== ROLE OVERVIEW CARDS ===== */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.role-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: linear-gradient(160deg, rgba(74, 29, 150, 0.18), rgba(20, 8, 34, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  text-align: center;
}
.role-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.role-card-icon {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.role-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0 0 0.625rem;
  color: var(--text);
}
.role-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}
.role-card p strong {
  color: var(--gold-soft);
  font-weight: 600;
}

/* ===== DUTIES GRID ===== */
.duties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.duty {
  padding: 2rem 1.75rem;
  background: linear-gradient(160deg, rgba(74, 29, 150, 0.12), rgba(20, 8, 34, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.duty:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.duty-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.875rem;
  background: linear-gradient(135deg, var(--gold), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.duty h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0 0 0.625rem;
  color: var(--text);
}
.duty p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ===== FIT PILLARS (who fits / doesn't) ===== */
.fit-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.fit-pillar {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.fit-pillar.good {
  background: linear-gradient(160deg, rgba(74, 29, 150, 0.2), rgba(20, 8, 34, 0.5));
  border-color: rgba(192, 132, 252, 0.3);
}
.fit-pillar.bad {
  background: linear-gradient(160deg, rgba(40, 12, 50, 0.3), rgba(20, 8, 34, 0.6));
  border-color: rgba(200, 100, 150, 0.2);
}

.fit-pillar h4 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
}
.fit-pillar.good h4 {
  color: var(--gold-soft);
}
.fit-pillar.bad h4 {
  color: #f0a8c0;
}

.fit-pillar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.fit-pillar li {
  color: var(--text-dim);
  font-size: 0.975rem;
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}
.fit-pillar.good li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lavender);
  font-size: 0.875rem;
}
.fit-pillar.bad li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #d97b9c;
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ===== EXPECTATIONS CARD ===== */
.expectations-card {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(160deg, rgba(74, 29, 150, 0.25), rgba(26, 11, 46, 0.6) 60%, rgba(124, 58, 237, 0.18));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.expectations-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(251, 191, 36, 0.12), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(192, 132, 252, 0.18), transparent 50%);
  pointer-events: none;
}

.expectations-card .kicker,
.expectations-card .section-title {
  position: relative;
  z-index: 1;
}
.expectations-card .section-title {
  margin-bottom: 2.5rem;
}

.expectations-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem 2.5rem;
}

.expectations-grid h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--gold-soft);
}

.expectations-grid p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ===== CENTERED SECTION HEAD ===== */
.section-head-center {
  text-align: center;
}
.section-head-center .kicker,
.section-head-center .section-title {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ===== TWO ROLES SPLIT (side-by-side) ===== */
.roles-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.role-col {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: linear-gradient(160deg, rgba(74, 29, 150, 0.18), rgba(20, 8, 34, 0.55));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.role-col:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.role-col-recruiter {
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.22), rgba(20, 8, 34, 0.55));
}

.role-col-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.role-col-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.625rem;
  color: var(--text);
}

.role-col-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-soft);
  margin: 0 0 1.25rem;
  line-height: 1.4;
}

.role-col-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.meta-pill {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.25);
  color: var(--lavender);
}

.role-col-section {
  margin-bottom: 1.5rem;
}
.role-col-section h4 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gold-soft);
  margin: 0 0 0.75rem;
}

.role-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.625rem;
}
.role-col-list li {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-dim);
  padding-left: 1.25rem;
  position: relative;
}
.role-col-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lavender);
  font-size: 0.8125rem;
}
.role-col-list.good li::before {
  content: '✦';
  color: var(--gold);
}
.role-col-list.bad li::before {
  content: '✕';
  color: #d97b9c;
  opacity: 0.75;
  font-size: 0.8125rem;
}
.role-col-list strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.role-col-cta {
  margin-top: auto;
  justify-content: center;
}

/* ===== ROLE SELECT DROPDOWN ===== */
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(10, 1, 24, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.975rem;
  line-height: 1.5;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%23c084fc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.75rem;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.form-select:focus {
  outline: none;
  border-color: var(--lavender);
  background-color: rgba(10, 1, 24, 0.7);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}
.form-select option {
  background: #1A0B2E;
  color: var(--text);
}

/* ===== APPLICATION FORM ===== */
.form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.form-head {
  text-align: center;
  margin-bottom: 3rem;
}
.form-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0.75rem 0 1rem;
  background: linear-gradient(135deg, #fff 0%, #fde68a 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.form-sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}

.careers-form {
  padding: 2.5rem;
  background: linear-gradient(160deg, rgba(74, 29, 150, 0.18), rgba(20, 8, 34, 0.55));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  margin-bottom: 1.5rem;
}
.form-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.form-field .required {
  color: var(--gold);
  margin-left: 2px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(10, 1, 24, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.975rem;
  line-height: 1.5;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-mute);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lavender);
  background: rgba(10, 1, 24, 0.7);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-sans);
}

.checkbox-field .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.checkbox-field input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--lavender);
  flex-shrink: 0;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
  font-size: 1.0625rem;
  padding: 1.125rem 2rem;
}

.form-note {
  margin-top: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-mute);
  text-align: center;
  line-height: 1.5;
}

/* ===== FORM SUCCESS STATE ===== */
.form-success {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(160deg, rgba(74, 29, 150, 0.25), rgba(20, 8, 34, 0.55));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.success-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: twinkle 2.5s ease-in-out infinite alternate;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}
.form-success h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #fff 0%, #fde68a 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.form-success p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 auto 2rem;
}

/* ===== NAV ACTIVE STATE ===== */
.nav-links a.active {
  color: var(--gold-soft);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .roles-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .careers-hero {
    padding: 6rem 1.25rem 3rem;
    min-height: auto;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .fit-pillars {
    grid-template-columns: 1fr;
  }
  .careers-form {
    padding: 1.75rem 1.25rem;
  }
  .expectations-grid {
    grid-template-columns: 1fr;
  }
  .role-col {
    padding: 2rem 1.5rem;
  }
}
