:root {
  --navy: #232a7c;
  --navy-dark: #171d5f;
  --blue: #3b46c4;
  --blue-soft: #eef1ff;
  --ink: #141a33;
  --muted: #667085;
  --line: #e2e7f2;
  --bg: #f4f6fc;
  --danger: #b42318;
  --success: #127a58;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(23, 29, 95, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #6a7190;
  white-space: nowrap;
}

.header-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fbf8f;
  box-shadow: 0 0 0 4px rgba(47, 191, 143, .13);
}

/* ---------- Hero / index ---------- */

.hero {
  padding: 58px 0 34px;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(59, 70, 196, .14), transparent 65%),
    radial-gradient(700px 320px at 92% 0%, rgba(35, 42, 124, .10), transparent 60%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -.6px;
  margin: 0 0 12px;
  max-width: 720px;
}

.hero p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
  font-size: 13.5px;
  color: #3f4766;
  font-weight: 600;
}

.hero-points span::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
  margin-right: 7px;
}

.forms-section { padding: 16px 0 64px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 20px;
}

.section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.2px; }

.section-head span { color: var(--muted); font-size: 13.5px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), #5a68e0);
  opacity: 0;
  transition: opacity .18s ease;
}

.form-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cfd6ea;
}

.form-card:hover::before { opacity: 1; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
}

.chip.internship { background: #e8f7f1; color: #0f6b4e; }
.chip.session { background: #fff5e6; color: #9a5b00; }
.chip.other { background: #f1f3f9; color: #4b536e; }

.form-card h3 {
  margin: 0;
  font-size: 18.5px;
  line-height: 1.35;
  letter-spacing: -.2px;
}

.form-card .card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.form-card .card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-date { font-size: 12.5px; color: #8a90a8; }

.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 9px;
  transition: background .15s ease, gap .15s ease;
}

.btn-apply:hover { background: var(--navy-dark); gap: 10px; }

.empty-state {
  background: #fff;
  border: 1px dashed #cdd4e6;
  border-radius: 16px;
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
}

.empty-state strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ---------- Form page ---------- */

.form-page {
  padding: 40px 0 76px;
  background:
    radial-gradient(760px 380px at 6% -10%, rgba(59, 70, 196, .10), transparent 62%),
    radial-gradient(700px 360px at 100% 2%, rgba(35, 42, 124, .08), transparent 60%),
    linear-gradient(180deg, #f7f8fd 0%, #f3f5fb 100%);
}

.form-shell {
  max-width: 900px;
  margin: 0 auto;
  animation: shell-rise .45s ease both;
}

@keyframes shell-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #5b6280;
  margin-bottom: 18px;
}

.back-link:hover { color: var(--navy); }

.form-intro {
  background:
    radial-gradient(560px 300px at 100% -12%, rgba(255, 255, 255, .16), transparent 62%),
    linear-gradient(140deg, #1b2168 0%, #2a3290 52%, #414dc4 100%);
  color: #fff;
  border-radius: 22px 22px 0 0;
  padding: 34px 38px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 60px -40px rgba(16, 21, 72, .6);
}

.form-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(72% 130% at 88% 0%, #000 18%, transparent 76%);
  mask-image: radial-gradient(72% 130% at 88% 0%, #000 18%, transparent 76%);
  pointer-events: none;
}

.form-intro::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}

.form-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.form-logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(8, 12, 50, .3);
  flex: 0 0 auto;
}

.form-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.form-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.form-brand-text strong { font-size: 15px; letter-spacing: .2px; color: #fff; }

.form-brand-text small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b9c0f2;
}

.form-intro h1 {
  margin: 18px 0 10px;
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -.5px;
  position: relative;
  z-index: 1;
}

.form-intro p {
  margin: 0;
  color: #d6dbf7;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.form-intro .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-size: 12.5px;
  color: #c3c9ee;
  position: relative;
  z-index: 1;
}

.form-body {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  padding: 34px 38px 38px;
  box-shadow: 0 30px 70px -46px rgba(16, 21, 72, .4);
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 22px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field.half { grid-column: span 1; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: #2c3452;
}

.req { color: #d92d20; }

.field-help {
  margin: -2px 0 0;
  font-size: 12.5px;
  color: #7c8299;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #dbe0f0;
  border-radius: 11px;
  background: #fbfcff;
  color: var(--ink);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.form-field textarea { resize: vertical; min-height: 116px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 42, 124, .11);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea,
.form-field.has-error .file-box {
  border-color: #f0a9a3;
  background: #fffafa;
}

.field-error {
  margin: 0;
  font-size: 12.5px;
  color: var(--danger);
  font-weight: 500;
}

.choice-list { display: grid; gap: 9px; }

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #dde2ef;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  background: #fbfcff;
}

.choice:hover { border-color: #b9c1dd; background: #fff; }

.choice input { margin-top: 3px; accent-color: var(--navy); width: 16px; height: 16px; }

.choice.consent { border: 0; background: transparent; padding: 0; }

.choice.consent span { font-size: 13.5px; color: #3b415c; }

.file-box {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1.5px dashed #c9d0e5;
  border-radius: 14px;
  padding: 20px;
  background: linear-gradient(180deg, #fbfcff, #f5f7ff);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  position: relative;
  flex-wrap: wrap;
}

.file-box:hover {
  border-color: var(--navy);
  background: linear-gradient(180deg, #fff, #f3f6ff);
  box-shadow: 0 10px 24px -18px rgba(35, 42, 124, .55);
}

.file-box:has(input:focus-visible) {
  border-color: var(--navy);
  background: linear-gradient(180deg, #fff, #f3f6ff);
  box-shadow: 0 10px 24px -18px rgba(35, 42, 124, .55);
}

.file-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  flex: 0 0 auto;
}

.file-text { display: flex; flex-direction: column; gap: 1px; }
.file-text strong { font-size: 13.5px; color: #2c3452; }
.file-text small { font-size: 12px; color: #8a90a8; }

.file-chosen {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--success);
  font-weight: 600;
  display: none;
}

.file-chosen.show { display: block; }

.alert {
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 13.5px;
  margin-bottom: 20px;
  border: 1px solid;
}

.alert-error { background: #fef3f2; border-color: #fecdca; color: #912018; }
.alert-success { background: #ecfdf3; border-color: #abefc6; color: #067647; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #eef1ff 0%, #f6f8ff 100%);
  border: 1px solid #e2e7f9;
  border-radius: 16px;
  flex-wrap: wrap;
}

.form-actions .privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #8a90a8;
  max-width: 440px;
}

.form-actions .lock-icon { flex: 0 0 auto; margin-top: 1px; color: #858ca8; }

.btn-submit {
  border: 0;
  background: linear-gradient(135deg, #252c86, #3946c0);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
  box-shadow: 0 16px 30px -16px rgba(35, 42, 124, .65);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #2b339a, #414dc9);
  transform: translateY(-1px);
  box-shadow: 0 20px 34px -16px rgba(35, 42, 124, .7);
}

.btn-submit:active { transform: translateY(0); }
.btn-submit[disabled] { opacity: .65; cursor: not-allowed; box-shadow: none; }

.required-note {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: #8a90a8;
}

/* ---------- Success / closed ---------- */

.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 48px 34px;
  text-align: center;
  box-shadow: var(--shadow);
}

.result-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
  background: #ecfdf3;
  color: #12805c;
}

.result-card h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.3px; }

.result-card p { margin: 0 auto 8px; color: var(--muted); max-width: 520px; font-size: 14.5px; }

.ref-box {
  display: inline-block;
  margin: 18px 0 8px;
  background: #f5f7fd;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: .04em;
}

.result-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #cfd6ea;
  color: #3f4766;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  transition: border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -14px rgba(35, 42, 124, .5);
}

.result-logo {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  padding: 7px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -20px rgba(16, 21, 72, .55);
  display: grid;
  place-items: center;
}

.result-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.notice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 42px 32px;
  text-align: center;
  margin: 40px auto;
  max-width: 620px;
}

.notice-card h1 { margin: 0 0 10px; font-size: 24px; }
.notice-card h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.2px; }
.notice-card p { color: var(--muted); margin: 0 0 20px; }
.notice-card p:last-child { margin-bottom: 0; }
.notice-card a { color: var(--navy); font-weight: 600; }
.notice-card a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 22px 0;
  font-size: 13px;
  color: #7c8299;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #5b6280; font-weight: 600; }
.footer-links a:hover { color: var(--navy); }
.footer-note { color: #9aa0b6; font-size: 12.5px; }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .hero { padding: 40px 0 26px; }
  .hero h1 { font-size: 29px; }
  .hero p { font-size: 15px; }
  .form-page { padding: 26px 0 54px; }
  .form-shell { max-width: none; }
  .form-intro { padding: 26px 22px 24px; border-radius: 18px 18px 0 0; }
  .form-intro h1 { font-size: 26px; margin-top: 16px; }
  .form-logo { width: 50px; height: 50px; border-radius: 13px; padding: 7px; }
  .form-brand { gap: 11px; }
  .form-brand-text strong { font-size: 14px; }
  .form-body { padding: 24px 20px 28px; border-radius: 0 0 18px 18px; }
  .form-fields { grid-template-columns: 1fr; gap: 18px; }
  .form-field.half { grid-column: auto; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .btn-submit { width: 100%; }
  .header-inner { min-height: 64px; }
  .brand img { height: 38px; }
}

@media (max-width: 460px) {
  .brand img { height: 34px; }
  .header-badge { font-size: 10px; letter-spacing: .1em; }
  .form-intro h1 { font-size: 23px; }
  .result-card { padding: 36px 22px; }
}
