/* ═══════════════════════════════════════
   JOIN THE CAPTAIN – Skipper Application
   pages/skipper-apply.css
   ═══════════════════════════════════════ */

/* Body override */
.apply-body { background: var(--bg); }

/* NAV */
.apply-body nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7,17,28,.96); border-bottom: 1px solid var(--line);
  padding: 1.1rem 2.5rem; display: flex; justify-content: space-between;
  align-items: center; backdrop-filter: blur(4px);
}
.apply-body .logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--gold); text-decoration: none; }
.apply-body .logo em { font-style: italic; }
.back-link {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; opacity: .7; transition: opacity .3s;
}
.back-link:hover { opacity: 1; color: var(--gold); }

/* HERO */
.apply-hero { padding: 8rem 2rem 5rem; text-align: center; position: relative; overflow: hidden; }
.apply-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 30%,rgba(30,122,150,.2),transparent 70%); }
.hero-eyebrow { font-size: .65rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.apply-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem,5vw,4rem); font-weight: 400; line-height: 1.1; margin-bottom: 1rem; position: relative; }
.apply-hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { opacity: .65; max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.85; font-size: .95rem; font-weight: 300; }
.hero-badges { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-badge-item { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid rgba(200,168,75,.3); color: var(--gold); padding: .45rem 1rem; }

/* BENEFITS */
.benefits { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 2rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.benefit { text-align: center; padding: 1rem; }
.benefit-icon { font-size: 1.8rem; margin-bottom: .7rem; }
.benefit-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 400; margin-bottom: .4rem; }
.benefit-text { font-size: .78rem; opacity: .6; line-height: 1.7; }

/* EARNINGS CALC */
.earnings { padding: 4rem 2rem; background: var(--bg); max-width: 1100px; margin: 0 auto; }
.section-label { font-size: .65rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.calc-box { background: var(--panel); border: 1px solid var(--line); padding: 1.5rem; }
.calc-box h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 400; margin-bottom: 1rem; color: var(--gold); }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.calc-row:last-child { border-bottom: none; }
.calc-row.total { border-top: 2px solid var(--gold); margin-top: .5rem; padding-top: .7rem; font-weight: 500; color: var(--gold); }
.calc-row.deduct { color: rgba(240,235,225,.5); }
.calc-note { font-size: .72rem; opacity: .45; margin-top: .8rem; line-height: 1.7; }

/* FORM */
.form-wrapper { max-width: 820px; margin: 0 auto; padding: 4rem 2rem; }
.form-section { background: var(--panel); border: 1px solid var(--line); padding: 2rem; margin-bottom: 1.5rem; }
.form-section-title {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 400;
  margin-bottom: .4rem; display: flex; align-items: center; gap: .7rem;
}
.form-section-sub { font-size: .78rem; opacity: .5; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

/* UPLOAD BOX */
.upload-box {
  border: 1.5px dashed rgba(200,168,75,.35); padding: 1.5rem; text-align: center;
  cursor: pointer; transition: border-color .3s, background .3s; position: relative;
}
.upload-box:hover { border-color: var(--gold); background: rgba(200,168,75,.05); }
.upload-box input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icon  { font-size: 1.5rem; margin-bottom: .5rem; }
.upload-title { font-size: .82rem; font-weight: 500; margin-bottom: .3rem; }
.upload-hint  { font-size: .72rem; opacity: .5; }
.upload-status{ font-size: .75rem; color: var(--green); margin-top: .5rem; display: none; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cert-item { background: rgba(200,168,75,.05); border: 1px solid rgba(200,168,75,.2); padding: 1rem; }
.cert-name { font-size: .8rem; font-weight: 500; margin-bottom: .2rem; }
.cert-req { font-size: .7rem; color: var(--ember); margin-bottom: .6rem; }
.cert-req.optional { color: var(--teal2); }

/* QUIZ */
.quiz-q { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.quiz-q:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.quiz-q-text { font-size: .9rem; font-weight: 400; margin-bottom: .8rem; line-height: 1.55; }
.quiz-options { display: flex; flex-direction: column; gap: .45rem; }
.quiz-opt { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; padding: .5rem .7rem; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.quiz-opt:hover { border-color: rgba(200,168,75,.3); background: rgba(200,168,75,.04); }
.quiz-opt input[type=radio] { accent-color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.quiz-opt-label { font-size: .83rem; opacity: .8; line-height: 1.5; }
.quiz-scale { margin-top: .5rem; }
.quiz-scale-labels { display: flex; justify-content: space-between; font-size: .7rem; opacity: .5; margin-bottom: .4rem; }
.quiz-scale input[type=range] { width: 100%; accent-color: var(--gold); }

/* TERMS */
.terms-box { background: rgba(200,168,75,.05); border: 1px solid rgba(200,168,75,.2); padding: 1.2rem; margin-bottom: 1rem; }
.check-row { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .7rem; }
.check-row:last-child { margin-bottom: 0; }
.check-row input[type=checkbox] { accent-color: var(--gold); flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; }
.check-label { font-size: .8rem; opacity: .7; line-height: 1.6; }
.check-label a { color: var(--gold); }

/* SUBMIT */
.submit-area { text-align: center; padding: 1rem 0; }
.btn-submit {
  background: var(--gold); border: none; color: #0a1520;
  padding: 1.1rem 3rem; font-family: 'Outfit', sans-serif; font-size: .85rem;
  letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  cursor: pointer; transition: background .3s, transform .2s;
}
.btn-submit:hover { background: #dbb84d; transform: translateY(-2px); }
.submit-note { font-size: .72rem; opacity: .4; margin-top: .8rem; }

/* SUCCESS */
#successScreen { display: none; text-align: center; padding: 4rem 2rem; max-width: 580px; margin: 0 auto; }
.success-icon { font-size: 3rem; margin-bottom: 1.2rem; }
#successScreen h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 400; margin-bottom: .8rem; color: var(--gold); }
#successScreen p { opacity: .7; line-height: 1.85; margin-bottom: 1.5rem; }

/* PROCESS */
.process { padding: 4rem 2rem; background: var(--panel); border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; max-width: 1100px; margin: 1.5rem auto 0; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 1px; background: rgba(200,168,75,.2); }
.proc-step { text-align: center; position: relative; z-index: 1; }
.proc-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg);
  border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold);
  margin: 0 auto .7rem;
}
.proc-title { font-size: .78rem; font-weight: 500; margin-bottom: .3rem; }
.proc-desc { font-size: .7rem; opacity: .55; line-height: 1.6; }

/* RESPONSIVE */
@media(max-width:768px){
  .benefits-grid, .calc-grid { grid-template-columns: 1fr; }
  .field-row, .field-row-3, .cert-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .apply-hero { padding: 6rem 1.5rem 3rem; }
  .form-wrapper { padding: 2rem 1rem; }
  .form-section { padding: 1.4rem; }
}
