/* ══════════════════════════════════════════════════════════
   YUPA — Students / Providers page
   ══════════════════════════════════════════════════════════ */

/* ── Student hero ── */
.st-hero { position: relative; overflow: hidden; }
.st-hero .hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.st-hero .b1 { width: 480px; height: 480px; left: -140px; top: -120px; background: rgba(173,165,249,.5); }
.st-hero .b2 { width: 520px; height: 520px; right: -160px; top: 60px; background: rgba(124,111,240,.32); }
.st-hero .wrap { position: relative; }
.st-kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lav-deep); margin-bottom: 16px;
}

/* money ticker strip */
.st-ticker { margin-top: 44px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.st-ticker-track { display: flex; gap: 12px; width: max-content; animation: stTicker 26s linear infinite; }
@keyframes stTicker { to { transform: translateX(-50%); } }
.st-tick {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(20,24,27,.05);
}
.st-tick b { color: var(--lav-deep); font-family: var(--font-display); }

/* ── Debt stats ── */
.st-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.st-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px; text-align: left; box-shadow: 0 14px 34px rgba(20,24,27,.06);
}
.st-stat .num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 46px);
  letter-spacing: -.03em; color: var(--ink); line-height: 1; display: block;
}
.st-stat.pop-card { background: var(--grad); border-color: transparent; box-shadow: 0 18px 40px rgba(124,111,240,.35); }
.st-stat.pop-card .num, .st-stat.pop-card .st-stat-l { color: #fff; }
.st-stat-l { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.45; font-weight: 500; }

/* ── Wallet stack section ── */
.st-stack { min-height: 210vh; position: relative; }
.st-stack-sticky { position: sticky; top: calc(var(--nav-h) + 14px); padding: 12px 0 30px; }
.st-wallet {
  max-width: 560px; margin: 26px auto 0;
  background: linear-gradient(155deg, rgba(255,255,255,.6), rgba(255,255,255,.28));
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--r-lg);
  box-shadow: 0 30px 72px rgba(20,24,27,.16), inset 0 1px 0 rgba(255,255,255,.95);
  padding: 26px;
}
.st-wallet-top { display: flex; align-items: center; gap: 12px; }
.st-wallet-ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(124,111,240,.35);
}
.st-wallet-ico svg { width: 21px; height: 21px; }
.st-wallet-t { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.st-wallet-s { font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }
.st-wallet-amt {
  margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.st-bar { height: 14px; border-radius: 999px; background: rgba(124,111,240,.14); margin-top: 20px; overflow: hidden; }
.st-bar-fill {
  height: 100%; width: 0%; border-radius: inherit; background: var(--grad);
  box-shadow: 0 2px 10px rgba(124,111,240,.5); transition: width .15s linear;
}
.st-goal { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 8px; font-weight: 600; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; min-height: 76px; align-content: flex-start; }
.st-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: 0 6px 14px rgba(20,24,27,.06);
  opacity: 0; transform: translateY(14px) scale(.8);
}
.st-chip.on { animation: stChipIn .55s cubic-bezier(.2,1.4,.3,1) forwards; }
@keyframes stChipIn { to { opacity: 1; transform: none; } }
.st-chip b { color: var(--lav-deep); font-family: var(--font-display); }
.st-vs {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); font-weight: 500;
}
.st-vs b { color: var(--ink); }
.st-scroll-cue { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-top: 18px; }
.st-scroll-cue span { display: inline-block; animation: stBounce 1.6s ease infinite; }
@keyframes stBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ── Map journey scrolly ── */
.st-journey { min-height: 320vh; position: relative; }
.st-journey-sticky { position: sticky; top: calc(var(--nav-h) + 10px); padding: 10px 0 24px; }
.st-map-card {
  position: relative; max-width: 900px; margin: 22px auto 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: #fbfaff; border: 1px solid var(--line);
  box-shadow: 0 34px 80px rgba(20,24,27,.16);
}
.st-map-wrap { position: relative; width: 100%; aspect-ratio: 800 / 560; max-height: calc(100vh - var(--nav-h) - 190px); min-height: 320px; margin-inline: auto; }
.st-map-wrap svg.st-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.st-route-track { fill: none; stroke: rgba(124,111,240,.16); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 12; }
.st-route { fill: none; stroke: var(--lav-deep); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 3px 6px rgba(124,111,240,.35)); }
.st-cap {
  position: absolute; left: 0; top: 0; font-size: 30px; line-height: 1; z-index: 5;
  transform: translate(-50%, -60%); filter: drop-shadow(0 6px 10px rgba(20,24,27,.3));
  transition: transform .1s linear;
}
.st-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--lav-deep); transform: translate(-50%, -50%); z-index: 3; box-shadow: 0 4px 10px rgba(124,111,240,.4); }
.st-pin.home { background: var(--lav-deep); border-color: #fff; }
.st-gig {
  position: absolute; z-index: 6; width: 178px; transform: translate(-50%, -118%) scale(.6); opacity: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 18px 40px rgba(20,24,27,.18);
  pointer-events: none;
}
.st-gig.on { animation: stGigIn .6s cubic-bezier(.2,1.5,.3,1) forwards; }
@keyframes stGigIn { to { opacity: 1; transform: translate(-50%, -118%) scale(1); } }
.st-gig-h { display: flex; align-items: center; gap: 8px; }
.st-gig-e { width: 28px; height: 28px; border-radius: 8px; background: rgba(173,165,249,.18); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.st-gig-t { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; line-height: 1.25; }
.st-gig-s { font-size: 10.5px; color: var(--ink-3); font-weight: 500; }
.st-gig-p { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--lav-deep); white-space: nowrap; }
.st-map-wallet {
  position: absolute; top: 14px; right: 14px; z-index: 8;
  display: flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 999px;
  background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 26px rgba(20,24,27,.14);
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.st-map-wallet .e { font-size: 16px; }
.st-map-wallet.bump { animation: stBump .45s cubic-bezier(.2,1.6,.3,1); }
@keyframes stBump { 30% { transform: scale(1.14); } }
.st-arrived {
  position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 24px); opacity: 0; z-index: 8;
  display: flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 14px 34px rgba(124,111,240,.45); white-space: nowrap;
}
.st-arrived.on { animation: stChipIn .6s cubic-bezier(.2,1.4,.3,1) forwards; }

/* ── Summer section ── */
.st-summer { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.st-summer-img { position: relative; }
.st-summer-img img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(20,24,27,.14); display: block; }
.st-summer-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px;
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.95); font-size: 13px; font-weight: 700; color: var(--ink);
  box-shadow: 0 10px 26px rgba(20,24,27,.15);
}
.st-checks { display: flex; flex-direction: column; gap: 13px; margin-top: 22px; }
.st-check { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.st-check b { color: var(--ink); }
.st-check .ck {
  width: 22px; height: 22px; border-radius: 7px; background: rgba(124,111,240,.14); color: var(--lav-deep);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.st-check .ck svg { width: 13px; height: 13px; }

/* ── Comparison ── */
.st-compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 40px auto 0; }
.st-side {
  border-radius: var(--r-lg); padding: 30px 28px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(20,24,27,.07);
}
.st-side.yupa { background: var(--grad); border-color: transparent; box-shadow: 0 24px 56px rgba(124,111,240,.4); color: #fff; }
.st-side h3 { font-family: var(--font-display); font-weight: 800; font-size: 21px; display: flex; align-items: center; gap: 9px; }
.st-side.yupa h3 img { height: 20px; filter: brightness(0) invert(1); }
.st-side ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.st-side li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.st-side.yupa li { color: rgba(255,255,255,.94); }
.st-side li .x, .st-side li .v { flex-shrink: 0; font-weight: 800; margin-top: 1px; }
.st-side li .x { color: var(--ink-3); }
.st-side li .v { color: #fff; }
.st-vs-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  border: 4px solid var(--bg, #fff); box-shadow: 0 10px 26px rgba(20,24,27,.3);
}

/* ── OG provider form ── */
.st-og { position: relative; }
.st-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.st-perk {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  box-shadow: 0 12px 30px rgba(20,24,27,.06);
  transition: transform .2s, box-shadow .25s;
}
.st-perk:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20,24,27,.1); }
.st-perk .pe { font-size: 26px; line-height: 1; }
.st-perk h4 { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; margin-top: 12px; }
.st-perk p { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-top: 5px; }

.st-form-card {
  max-width: 660px; margin: 44px auto 0;
  background: linear-gradient(155deg, rgba(255,255,255,.62), rgba(255,255,255,.3));
  -webkit-backdrop-filter: blur(42px) saturate(185%);
  backdrop-filter: blur(42px) saturate(185%);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--r-lg);
  box-shadow: 0 30px 72px rgba(20,24,27,.16), inset 0 1px 0 rgba(255,255,255,.95);
  padding: clamp(22px, 4vw, 34px);
}
.st-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-field { display: flex; flex-direction: column; gap: 6px; }
.st-field.full { grid-column: 1 / -1; }
.st-field label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.st-field input, .st-field select, .st-field textarea {
  border: 1px solid rgba(255,255,255,.75); background: rgba(255,255,255,.55);
  border-radius: 13px; padding: 13px 15px; font: inherit; font-size: 14.5px; color: var(--ink);
  outline: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.st-field input:focus, .st-field select:focus, .st-field textarea:focus { border-color: var(--lav); box-shadow: 0 0 0 3px rgba(173,165,249,.25); }
.st-field textarea { resize: vertical; min-height: 76px; }
.st-svc-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.st-svc {
  padding: 10px 15px; border-radius: 11px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.75); cursor: pointer;
  transition: all .18s; box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.st-svc:hover { border-color: var(--lav); color: var(--ink); transform: translateY(-1px); }
.st-svc.active { background: var(--lav-deep); color: #fff; border-color: transparent; box-shadow: 0 5px 14px rgba(124,111,240,.34); }
.st-submit {
  width: 100%; height: 54px; margin-top: 18px; border-radius: 14px;
  background: var(--lav-deep); color: #fff; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 10px 24px rgba(124,111,240,.38); transition: transform .2s, box-shadow .2s, opacity .2s;
}
.st-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124,111,240,.48); }
.st-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.st-form-note { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.st-form-err { display: none; text-align: center; font-size: 13px; font-weight: 600; color: var(--lav-deep); margin-top: 10px; }
.st-form-err.show { display: block; }
.st-success { display: none; text-align: center; padding: 30px 10px 16px; }
.st-success.show { display: block; }
.st-success .big { font-size: 52px; line-height: 1; }
.st-success h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-top: 14px; }
.st-success p { color: var(--ink-2); font-size: 15px; margin-top: 8px; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .st-stats { grid-template-columns: 1fr 1fr; }
  .st-perks { grid-template-columns: 1fr 1fr; }
  .st-summer { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .st-kicker { justify-content: center; }
}
@media (max-width: 620px) {
  .aud-seg { padding: 8px 13px; font-size: 13px; }
  .st-stats { gap: 10px; }
  .st-stat { padding: 20px 16px; }
  .st-perks { grid-template-columns: 1fr; }
  .st-compare { grid-template-columns: 1fr; gap: 14px; }
  .st-vs-badge { display: none; }
  .st-form-grid { grid-template-columns: 1fr; }
  .st-gig { width: 138px; padding: 8px 9px; }
  .st-gig-t { font-size: 11px; }
  .st-gig-e { width: 22px; height: 22px; font-size: 12px; }
  .st-gig-p { font-size: 12px; }
  .st-cap { font-size: 24px; }
  .st-map-wallet { top: 10px; right: 10px; font-size: 15px; padding: 8px 12px; }
  .st-map-wrap { min-height: 300px; }
  .st-journey { min-height: 280vh; }
  .st-stack { min-height: 190vh; }
}
@media (prefers-reduced-motion: reduce) {
  .st-ticker-track { animation: none; }
  .st-scroll-cue span { animation: none; }
}
