/* ============================================
   Apply Bright Scholars Fund
   Inherits palette + base from /styles.css
   ============================================ */

/* ---- NAV back link (same look as College Insider's) ---- */
.nav { justify-content: space-between; }

.nav__back {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--yellow);
  text-shadow: 0 0 8px var(--yellow);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,227,71,0.5);
  background: rgba(255,227,71,0.06);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.nav__back:hover {
  background: rgba(255,227,71,0.14);
  border-color: var(--yellow);
  box-shadow: 0 0 16px rgba(255,227,71,0.35);
}

/* ---- HERO ---- */
.sf-hero {
  position: relative;
  padding: 80px 52px 96px;
  z-index: 2;
}

.sf-hero__copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.sf-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1.5px solid rgba(255,227,71,0.4);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  text-shadow: 0 0 8px var(--yellow);
}

.sf-headline {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}
.sf-accent {
  color: var(--yellow);
  text-shadow:
    0 0 12px var(--yellow),
    0 0 32px var(--yellow-glow);
}

.sf-sub {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
}

.sf-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons — matches Apply Bright neon aesthetic from the home page demo form */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  background: transparent;
  color: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.12s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--yellow);
  color: var(--bg);
  border-color: var(--yellow);
  box-shadow:
    0 0 16px rgba(255,227,71,0.4),
    0 0 32px rgba(255,184,0,0.2);
  text-shadow: none;
}
.btn--primary:hover {
  background: #FFF176;
  border-color: #FFF176;
  box-shadow:
    0 0 22px rgba(255,227,71,0.6),
    0 0 48px rgba(255,184,0,0.35);
  transform: translateY(-1px);
}
.btn--primary:active {
  background: #FFD600;
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(204,68,255,0.45);
  text-shadow: 0 0 6px rgba(204,68,255,0.5);
  box-shadow: 0 0 12px rgba(204,68,255,0.12);
}
.btn--ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(204,68,255,0.08);
  box-shadow: 0 0 18px rgba(204,68,255,0.3);
}

.btn--large {
  padding: 18px 36px;
  font-size: 16px;
}
.sf-btn-disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ---- SECTIONS ---- */
.sf-section {
  padding: 80px 52px;
  position: relative;
  z-index: 2;
}
.sf-section--alt {
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sf-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sf-section__inner--narrow {
  max-width: 760px;
}

.sf-section__eyebrow {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  text-shadow: 0 0 8px var(--purple);
  margin-bottom: 14px;
}

.sf-section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.sf-section__lede {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.sf-section__lede:last-child { margin-bottom: 0; }

/* ---- PILLARS / INVOLVE CARDS ---- */
.sf-pillars {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.sf-pillar,
.sf-involve {
  background: rgba(255,255,255,0.025);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.sf-pillar:hover,
.sf-involve:hover {
  transform: translateY(-4px);
  border-color: rgba(255,227,71,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.sf-pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--bg);
  background: var(--yellow);
  box-shadow: 0 0 20px rgba(255,227,71,0.4);
  margin-bottom: 18px;
}

.sf-pillar h3,
.sf-involve h3 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 10px;
}

.sf-pillar p,
.sf-involve p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.sf-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: text-shadow 0.15s;
}
.sf-link:hover {
  text-shadow: 0 0 8px var(--yellow);
}

/* ---- STATS ---- */
.sf-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.sf-stat {
  background: rgba(204,68,255,0.06);
  border: 1.5px solid rgba(204,68,255,0.18);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.sf-stat__value {
  display: block;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--yellow);
  text-shadow: 0 0 12px var(--yellow);
  margin-bottom: 4px;
}
.sf-stat__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- CONTACT / ABOUT ---- */
.sf-contact,
.sf-about {
  text-align: center;
}
.sf-contact .btn,
.sf-about .btn {
  margin-top: 8px;
}

/* ---- CONTACT FORM ---- */
.sf-form {
  margin-top: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sf-form__hp { display: none; }

.sf-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .sf-form__row { grid-template-columns: 1fr; }
}

.sf-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sf-form__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 0 0 6px var(--yellow);
}
.sf-form input,
.sf-form select,
.sf-form textarea {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  width: 100%;
}
.sf-form input::placeholder,
.sf-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.sf-form input:focus,
.sf-form select:focus,
.sf-form textarea:focus {
  border-color: var(--purple);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(204,68,255,0.18), 0 0 20px rgba(204,68,255,0.15);
}
.sf-form textarea { resize: vertical; min-height: 120px; }

/* Force readable dropdown options (browsers render <option> with OS palette,
   so options on dark <select> would otherwise show as invisible until hover). */
.sf-form select option {
  background-color: #1A0A2E;
  color: #FFFFFF;
}

.sf-form .btn {
  align-self: flex-start;
  margin-top: 6px;
}

.sf-form__status {
  font-size: 14px;
  font-weight: 700;
  min-height: 1.2em;
}
.sf-form__status--pending { color: var(--text-dim); }
.sf-form__status--ok      { color: var(--yellow); text-shadow: 0 0 8px var(--yellow); }
.sf-form__status--err     { color: #ff7a90; }
.sf-form__status a        { color: var(--yellow); text-decoration: underline; }

@media (max-width: 720px) {
  .sf-form .btn { align-self: stretch; justify-content: center; }
}

/* ---- PARTNERSHIP TIERS ---- */
.sf-tiers {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.sf-tier {
  background: rgba(255,227,71,0.04);
  border: 1.5px solid rgba(255,227,71,0.18);
  border-radius: 16px;
  padding: 24px 22px;
  text-align: center;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.sf-tier:hover {
  border-color: rgba(255,227,71,0.5);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}
.sf-tier__name {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  text-shadow: 0 0 6px var(--purple);
  margin-bottom: 8px;
}
.sf-tier__amount {
  font-size: 26px;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 10px var(--yellow);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.sf-tier__detail {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-dim);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 720px) {
  .sf-hero    { padding: 56px 24px 64px; }
  .sf-section { padding: 56px 24px; }
  .sf-cta-row .btn { width: 100%; justify-content: center; }
}
