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

:root {
  --navy:   #060D2B;
  --navy2:  #0E1A45;
  --blue:   #2563EB;
  --blue-l: #3B82F6;
  --orange: #F97316;
  --green:  #10B981;
  --yellow: #FBBF24;
  --red:    #F87171;
  --white:  #FFFFFF;
  --gray:   #94A3B8;
  --card:   rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--navy); color: var(--white); min-height: 100vh; }

/* ─── NAV ─── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%; background: rgba(6,13,43,0.95);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700;
  background: linear-gradient(135deg, var(--blue-l), var(--orange));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-back {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--gray); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s;
}
.nav-back:hover { color: var(--white); }

/* ─── HEADER ─── */
.page-header {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.2) 0%, transparent 70%), var(--navy);
  padding: 4rem 5% 3rem; text-align: center;
}
.role-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.35);
  padding: 0.4rem 1.1rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700; color: var(--yellow);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem;
}
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 0.75rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-header p { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }
.resp-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem; }
.resp-chip {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.4rem 0.9rem; font-size: 0.8rem; font-weight: 600;
}

/* ─── LAYOUT ─── */
.page-body { max-width: 820px; margin: 0 auto; padding: 3rem 5% 5rem; }

/* ─── FORM SECTIONS ─── */
.form-section { margin-bottom: 2.75rem; }
.section-divider {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem;
}
.section-divider h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700;
  white-space: nowrap; color: var(--white);
}
.section-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.section-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800;
}

/* ─── FORM FIELDS ─── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-row.single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
label, .group-label {
  font-size: 0.82rem; font-weight: 600; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.05em;
}
label span.req, .group-label span.req { color: var(--orange); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--white); padding: 0.8rem 1rem; border-radius: 8px;
  font-size: 0.92rem; font-family: inherit; outline: none;
  transition: border-color 0.2s, background 0.2s; width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(148,163,184,0.6); }
input:focus, select:focus, textarea:focus { border-color: var(--blue-l); background: rgba(37,99,235,0.08); }
input.error, select.error, textarea.error { border-color: var(--red); }
.field-error { font-size: 0.75rem; color: var(--red); margin-top: 0.15rem; display: none; }
.field-error.show { display: block; }
select option { background: var(--navy2); }
textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.char-count { font-size: 0.72rem; color: var(--gray); text-align: right; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ─── RESUME UPLOAD ─── */
.upload-zone {
  border: 2px dashed var(--border); border-radius: 10px;
  padding: 2rem 1.5rem; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s; position: relative;
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--blue-l); background: rgba(37,99,235,0.06); }
.upload-zone.has-file { border-color: var(--green); background: rgba(16,185,129,0.06); }
.upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
  width: 100%; height: 100%; padding: 0; border: none; background: transparent;
}
.upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.upload-zone p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; pointer-events: none; }
.upload-zone p strong { color: var(--blue-l); }
.upload-zone.has-file p strong { color: var(--green); }
.upload-formats { font-size: 0.72rem; color: var(--gray); margin-top: 0.35rem; opacity: 0.7; pointer-events: none; }

/* ─── CHECKBOX / RADIO GROUP ─── */
.checkbox-group { display: flex; flex-direction: column; gap: 0.6rem; }
.checkbox-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.8rem 1rem; cursor: pointer; transition: border-color 0.2s;
}
.checkbox-item:hover { border-color: var(--blue-l); }
.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
  width: 18px; height: 18px; flex-shrink: 0; cursor: pointer;
  accent-color: var(--blue); margin-top: 1px;
  border: none; padding: 0; background: transparent;
}
.checkbox-item .cb-label { font-size: 0.88rem; }
.checkbox-item .cb-label span { display: block; font-size: 0.78rem; color: var(--gray); margin-top: 0.1rem; }

/* ─── SKILL PILLS ─── */
.skill-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.skill-pill {
  padding: 0.45rem 1rem; border-radius: 100px;
  border: 1px solid var(--border); background: transparent;
  color: var(--gray); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: 0.2s; font-family: inherit;
}
.skill-pill:hover { border-color: var(--blue-l); color: var(--white); }
.skill-pill.selected { background: rgba(37,99,235,0.2); border-color: var(--blue-l); color: var(--blue-l); }

/* ─── SEASON GRID ─── */
.avail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; }
.avail-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1rem 0.75rem; text-align: center;
  cursor: pointer; transition: 0.2s; font-family: inherit; color: var(--white);
}
.avail-card:hover { border-color: var(--blue-l); }
.avail-card.selected { background: rgba(37,99,235,0.15); border-color: var(--blue); }
.avail-card .avail-icon { font-size: 1.5rem; margin-bottom: 0.3rem; }
.avail-card p { font-size: 0.8rem; font-weight: 600; }

/* ─── INFO BOX ─── */
.info-box {
  background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.25);
  border-radius: 10px; padding: 1rem 1.25rem;
  font-size: 0.85rem; color: var(--white); line-height: 1.6; margin-bottom: 1.5rem;
}
.info-box strong { color: var(--blue-l); }

/* ─── SUBMIT ─── */
.submit-wrap { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; }
.btn-submit {
  background: linear-gradient(135deg, var(--green), #059669);
  color: var(--white); border: none; padding: 1rem 3rem;
  border-radius: 8px; font-size: 1rem; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: 0.2s;
  box-shadow: 0 4px 20px rgba(16,185,129,0.35);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(16,185,129,0.45); }
.submit-note { margin-top: 0.75rem; font-size: 0.8rem; color: var(--gray); }

/* ─── SUCCESS ─── */
.success-screen { display: none; text-align: center; padding: 4rem 2rem; }
.success-screen.show { display: block; }
.success-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.success-screen h2 { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.success-screen p { color: var(--gray); font-size: 1rem; line-height: 1.7; max-width: 480px; margin: 0 auto 2rem; }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-home {
  background: linear-gradient(135deg, var(--blue), #1D4ED8); color: var(--white);
  padding: 0.8rem 1.75rem; border-radius: 8px; text-decoration: none;
  font-weight: 700; font-size: 0.92rem; transition: 0.2s;
}
.btn-home:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-outline {
  border: 1px solid var(--border); color: var(--white);
  padding: 0.8rem 1.75rem; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; transition: 0.2s;
}
.btn-outline:hover { border-color: var(--blue-l); }

/* ─── FOOTER ─── */
footer { background: #030818; padding: 1.5rem 5%; border-top: 1px solid var(--border); text-align: center; }
footer p { font-size: 0.8rem; color: var(--gray); }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
