/* HIGHCREW Training Pilot — premium public landing / sign-in */
:root {
  --tp-bg: #02050a;
  --tp-bg-2: #06101c;
  --tp-panel: rgba(7, 15, 27, 0.94);
  --tp-panel-2: rgba(9, 20, 35, 0.88);
  --tp-line: rgba(52, 171, 255, 0.42);
  --tp-line-soft: rgba(72, 164, 230, 0.17);
  --tp-text: #f5f9ff;
  --tp-muted: #93a9bf;
  --tp-cyan: #28c9ff;
  --tp-blue: #087cff;
  --tp-blue-2: #28b8ff;
  --tp-green: #2de06f;
  --tp-red: #ff4d5f;
  --tp-silver: #dce7f4;
}

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

html, body.tp-body { min-height: 100%; }

body.tp-body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--tp-text);
  font-family: Inter, "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 145, 255, 0.17), transparent 34%),
    radial-gradient(circle at 83% 18%, rgba(0, 108, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #01040a 0%, #030914 48%, #01040a 100%);
  position: relative;
}

body.tp-body::before,
body.tp-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.tp-body::before {
  opacity: .22;
  background-image:
    linear-gradient(rgba(52, 146, 214, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 146, 214, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
}

body.tp-body::after {
  background:
    radial-gradient(circle at 47% 48%, rgba(0, 152, 255, .08), transparent 33%),
    linear-gradient(90deg, rgba(0,0,0,.1), transparent 35%, transparent 65%, rgba(0,0,0,.2));
}

.tp-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 30px clamp(22px, 4vw, 64px) 18px;
}

.tp-main {
  width: min(1480px, 100%);
  flex: 1;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  gap: clamp(34px, 4vw, 70px);
  align-items: center;
}

.tp-left {
  position: relative;
  min-width: 0;
  padding: 18px 0 12px;
}

.tp-left::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -180px;
  top: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 112, 255, .17), transparent 66%);
  filter: blur(4px);
  pointer-events: none;
}

.tp-brand-lockup {
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 0;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.tp-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  grid-row: 1 / span 2;
  filter: drop-shadow(0 0 22px rgba(0, 153, 255, .5));
}

.tp-wordmark {
  align-self: end;
  font-family: Inter, sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .95;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #fff 8%, #c9d7e6 46%, #69ccff 72%, #0aa8f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 32px rgba(0, 110, 255, .18);
}

.tp-pilot-label {
  align-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tp-cyan);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 5px;
  padding-top: 8px;
}

.tp-pilot-label::before,
.tp-pilot-label::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tp-cyan));
  box-shadow: 0 0 9px rgba(40, 201, 255, .75);
}

.tp-pilot-label::after { background: linear-gradient(90deg, var(--tp-cyan), transparent); }

.tp-headline {
  position: relative;
  z-index: 2;
  margin: 8px 0 12px;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -1.7px;
  text-transform: uppercase;
  text-shadow: 0 6px 26px rgba(0,0,0,.5);
}

.tp-headline em {
  font-style: normal;
  color: var(--tp-cyan);
  background: linear-gradient(90deg, #20d9ff 0%, #0f91ff 55%, #65d6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(0, 143, 255, .2));
}

.tp-subhead {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: #c2d0df;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  margin-bottom: 20px;
}

.tp-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  height: 290px;
  overflow: hidden;
  border: 1px solid rgba(47, 172, 255, .23);
  border-radius: 20px;
  margin: 8px 0 16px;
  box-shadow: 0 24px 72px rgba(0,0,0,.46), 0 0 36px rgba(0, 110, 255, .09);
  background: #030810;
}

.tp-hero::before,
.tp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tp-hero::before {
  background: linear-gradient(90deg, rgba(1,5,11,.08) 0%, transparent 45%, rgba(1,5,11,.12) 100%);
}

.tp-hero::after {
  background: linear-gradient(180deg, transparent 45%, rgba(1,5,11,.22) 100%);
}

.tp-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.06) contrast(1.07) brightness(.91);
}

.tp-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 14px;
}

.tp-feature {
  min-width: 0;
  min-height: 126px;
  padding: 16px 14px 13px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(9, 20, 34, .88), rgba(4, 11, 20, .88));
  border: 1px solid rgba(50, 161, 236, .22);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 10px 28px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tp-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 201, 255, .55);
  box-shadow: 0 0 24px rgba(0, 133, 255, .1), 0 12px 30px rgba(0,0,0,.22);
}

.tp-feature-ico {
  width: 31px;
  height: 31px;
  margin-bottom: 10px;
  color: var(--tp-cyan);
  filter: drop-shadow(0 0 9px rgba(40,201,255,.25));
}

.tp-feature b {
  display: block;
  font-size: 12px;
  letter-spacing: .75px;
  margin-bottom: 5px;
}

.tp-feature span {
  color: var(--tp-muted);
  font-size: 11.5px;
  line-height: 1.42;
}

.tp-ticker {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 10px;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(7, 16, 29, .9), rgba(3, 9, 17, .91));
  border: 1px solid rgba(51, 151, 222, .22);
}

.tp-tick {
  min-width: 0;
  padding: 7px 12px;
  border-right: 1px solid rgba(76, 126, 167, .18);
}
.tp-tick:last-child { border-right: 0; }

.tp-tick .sym {
  color: #c9d8e7;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1px;
}

.tp-tick .px {
  min-height: 28px;
  margin: 4px 0 1px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 850;
  color: #fff;
}

.tp-tick .chg {
  color: var(--tp-green);
  font-size: 11.5px;
  font-weight: 750;
}

.tp-tick .chg.wait,
.tp-tick .px.wait { color: #72879b; font-weight: 600; }

.tp-status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--tp-green);
  box-shadow: 0 0 11px rgba(45,224,111,.72);
}

.tp-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: #7e94aa;
  font-size: 10.5px;
  line-height: 1.45;
}

.tp-trust > div {
  position: relative;
  padding: 10px 10px 10px 38px;
  border-radius: 10px;
  background: rgba(5, 12, 22, .45);
}

.tp-trust > div::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--tp-cyan);
  border: 1px solid rgba(40,201,255,.55);
  border-radius: 6px;
  font-size: 11px;
  box-shadow: 0 0 11px rgba(0,140,255,.1);
}

.tp-trust b {
  display: block;
  margin-bottom: 2px;
  color: #d9e5f1;
  font-size: 10.5px;
  letter-spacing: .6px;
}

.tp-main > section:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.tp-card {
  position: relative;
  width: min(100%, 580px);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 42px) 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 18, 32, .96), rgba(4, 11, 21, .96)),
    radial-gradient(circle at 50% 0%, rgba(0,140,255,.11), transparent 40%);
  border: 1px solid rgba(48, 183, 255, .62);
  border-radius: 26px;
  box-shadow:
    0 0 0 1px rgba(10, 118, 255, .05),
    0 0 36px rgba(0, 123, 255, .16),
    0 38px 95px rgba(0, 0, 0, .52),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.tp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 5%, rgba(32, 193, 255, .1), transparent 27%),
    linear-gradient(135deg, rgba(255,255,255,.018), transparent 30%);
}

.tp-card-logo {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  padding: 14px;
  border-radius: 50%;
  border: 1px solid rgba(40,201,255,.68);
  background: radial-gradient(circle, rgba(8,80,132,.28), rgba(3,11,21,.86));
  filter: drop-shadow(0 0 17px rgba(0, 161, 255, .5));
  box-shadow: 0 0 28px rgba(0,123,255,.15), inset 0 0 18px rgba(0,120,255,.08);
}

.tp-card h2 {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(30px, 2.5vw, 40px);
  line-height: 1.1;
  font-weight: 820;
  letter-spacing: -.7px;
  margin-bottom: 8px;
}

.tp-card .tp-card-sub {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #a6b8ca;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 26px;
}

.tp-field { position: relative; z-index: 1; margin-bottom: 17px; }

.tp-field label {
  display: block;
  margin-bottom: 8px;
  color: #c8d5e1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.tp-input { position: relative; }

.tp-input input {
  width: 100%;
  height: 58px;
  padding: 0 48px;
  outline: none;
  color: #f8fbff;
  background: rgba(4, 13, 23, .82);
  border: 1px solid rgba(89, 129, 164, .43);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.tp-input input::placeholder { color: #61768a; }

.tp-input input:focus {
  border-color: rgba(40,201,255,.92);
  background: rgba(5, 16, 29, .96);
  box-shadow: 0 0 0 3px rgba(25, 166, 255, .08), 0 0 20px rgba(0,123,255,.08);
}

.tp-input .tp-ico {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: #8499ad;
}

.tp-eye {
  position: absolute;
  z-index: 3;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #8aa2b8;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.tp-eye:hover { color: var(--tp-cyan); background: rgba(0,145,255,.06); }

.tp-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 1px 0 20px;
  color: #a4b5c6;
  font-size: 13px;
}

.tp-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.tp-row input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--tp-blue); }
.tp-row a { color: var(--tp-cyan); text-decoration: none; font-weight: 700; }
.tp-row a:hover { text-decoration: underline; }

.tp-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .7px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.tp-btn:hover { transform: translateY(-1px); }
.tp-btn:active { transform: translateY(0); }
.tp-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.tp-btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #139fff 0%, #0668f5 65%, #0555d5 100%);
  border-color: rgba(79, 187, 255, .82);
  box-shadow: 0 0 28px rgba(0, 111, 255, .29), inset 0 1px 0 rgba(255,255,255,.16);
}
.tp-btn.primary:hover { filter: brightness(1.09); box-shadow: 0 0 35px rgba(0, 125, 255, .4); }

.tp-or {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  color: #71869a;
  font-size: 11px;
  letter-spacing: 1.4px;
}
.tp-or::before,
.tp-or::after { content: ""; flex: 1; height: 1px; background: rgba(99,128,153,.27); }

.tp-btn.ghost {
  color: #e9f4ff;
  background: rgba(3, 10, 19, .36);
  border-color: rgba(43, 157, 235, .62);
}
.tp-btn.ghost:hover { border-color: var(--tp-cyan); background: rgba(0,115,255,.07); box-shadow: 0 0 22px rgba(0,120,255,.08); }

.tp-secure {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding: 14px 16px;
  color: #91a5b8;
  font-size: 12px;
  line-height: 1.45;
  border-radius: 12px;
  background: rgba(4, 13, 23, .56);
  border: 1px solid rgba(47, 148, 215, .23);
}
.tp-secure svg { flex: 0 0 auto; width: 25px; height: 25px; filter: drop-shadow(0 0 7px rgba(40,201,255,.25)); }
.tp-secure b { display: block; color: #e7f3ff; font-size: 12.5px; margin-bottom: 2px; }

.tp-seats {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  text-align: center;
  color: #667e93;
  font-size: 11.5px;
}
.tp-seats button {
  padding: 2px 3px;
  color: #75cfff;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.tp-seats button:hover { color: #fff; }

.tp-msg {
  position: relative;
  z-index: 2;
  display: none;
  margin-bottom: 15px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
  border: 1px solid transparent;
}
.tp-msg.show { display: block; }
.tp-msg.error { background: rgba(255,77,95,.11); border-color: rgba(255,77,95,.42); color: #ffb6bd; }
.tp-msg.ok { background: rgba(45,224,111,.09); border-color: rgba(45,224,111,.34); color: #bcffcf; }
.tp-msg.warn { background: rgba(255,196,44,.09); border-color: rgba(255,196,44,.36); color: #ffe6a1; }

.tp-footer {
  width: min(1480px, 100%);
  margin: 24px auto 0;
  padding: 15px 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  color: #61768a;
  font-size: 11px;
  border-top: 1px solid rgba(70, 114, 151, .08);
}
.tp-footer a { color: #49bfff; text-decoration: none; margin: 0 7px; }
.tp-footer a:hover { color: #a9e7ff; }

@media (min-width: 1450px) {
  .tp-main { grid-template-columns: minmax(0, 1.12fr) minmax(480px, .88fr); }
  .tp-hero { height: 320px; }
}

@media (max-width: 1120px) {
  .tp-main { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 28px; }
  .tp-brand-lockup { grid-template-columns: 74px 1fr; }
  .tp-logo { width: 74px; height: 74px; }
  .tp-wordmark { font-size: 46px; }
  .tp-pilot-label { letter-spacing: 3.2px; font-size: 12px; }
  .tp-feature { padding-inline: 9px; }
}

@media (max-width: 920px) {
  .tp-page { padding: 22px 18px 14px; }
  .tp-main { grid-template-columns: 1fr; gap: 30px; }
  .tp-left { max-width: 760px; margin: 0 auto; width: 100%; }
  .tp-main > section:last-child { width: 100%; }
  .tp-card { width: min(100%, 650px); }
  .tp-hero { max-width: none; height: 310px; }
  .tp-features { grid-template-columns: repeat(4, 1fr); }
  .tp-footer { margin-top: 34px; }
}

@media (max-width: 680px) {
  .tp-page { padding: 18px 14px 12px; }
  .tp-brand-lockup { grid-template-columns: 66px 1fr; column-gap: 12px; margin-bottom: 18px; }
  .tp-logo { width: 66px; height: 66px; }
  .tp-wordmark { font-size: clamp(34px, 11vw, 48px); letter-spacing: -1.5px; }
  .tp-pilot-label { font-size: 10px; letter-spacing: 2.7px; padding-top: 5px; }
  .tp-pilot-label::before, .tp-pilot-label::after { width: 20px; }
  .tp-headline { font-size: clamp(36px, 11vw, 52px); }
  .tp-subhead { font-size: 14px; }
  .tp-hero { height: 240px; border-radius: 16px; }
  .tp-features { grid-template-columns: repeat(2, 1fr); }
  .tp-feature { min-height: 122px; }
  .tp-ticker { grid-template-columns: 1fr 1fr; }
  .tp-tick { border-right: 0; border-bottom: 1px solid rgba(76,126,167,.15); }
  .tp-tick:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .tp-trust { grid-template-columns: 1fr; gap: 5px; }
  .tp-card { padding: 30px 18px 22px; border-radius: 21px; }
  .tp-card-logo { width: 76px; height: 76px; }
  .tp-card h2 { font-size: 31px; }
  .tp-input input { height: 55px; }
  .tp-row { font-size: 12px; }
  .tp-footer { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 430px) {
  .tp-page { padding-inline: 11px; }
  .tp-headline { font-size: 38px; }
  .tp-hero { height: 205px; }
  .tp-feature { padding: 13px 8px 11px; }
  .tp-feature b { font-size: 10.5px; }
  .tp-feature span { font-size: 10.5px; }
  .tp-ticker { padding: 9px; gap: 6px; }
  .tp-tick { padding: 6px 7px; }
  .tp-tick .px { font-size: 20px; }
  .tp-card { padding-inline: 15px; }
  .tp-card .tp-card-sub { font-size: 12.5px; }
  .tp-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
