/* Weekly "Winning System" training landing page.
   Loaded ONLY by layouts/weekly_training.html.haml (not the app bundle), so
   these rules are isolated to .weekly-training-body and cannot leak. */

.weekly-training-body {
  --wt-black: #0C0D11;
  --wt-panel: #111319;
  --wt-red: #CD0200;
  --wt-red-hover: #E11512;
  --wt-red-br: #FF3B38;
  --wt-red-glow: rgba(205, 2, 0, 0.55);
  --wt-ink: #FFFFFF;
  --wt-muted: #8B93A1;
  --wt-muted2: #5A6270;
  --wt-line: rgba(255, 255, 255, 0.08);
  --wt-field: #1A1D25;
  --wt-field-br: rgba(255, 255, 255, 0.10);

  margin: 0;
  background: var(--wt-black);
  color: var(--wt-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.weekly-training-body * { box-sizing: border-box; }
.weekly-training-body a { color: inherit; }
.wt-mono { font-variant-numeric: tabular-nums; }

.wt-stage { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 100vh; }

/* ---- Brand / promo panel ---- */
.wt-brand {
  position: relative;
  overflow: hidden;
  padding: 42px 56px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 90% at 18% 10%, #1B1D26 0%, #0C0D11 60%);
}
.wt-brand::before {
  content: "";
  position: absolute; width: 760px; height: 760px; left: -220px; top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--wt-red-glow) 0%, rgba(205, 2, 0, 0) 62%);
  filter: blur(18px); opacity: 0.55; pointer-events: none;
}
.wt-brand::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--wt-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--wt-line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 30% 16%, #000 30%, transparent 80%);
  mask-image: radial-gradient(120% 100% at 30% 16%, #000 30%, transparent 80%);
}
.wt-brand > * { position: relative; z-index: 1; }

.wt-logo { display: flex; align-items: center; gap: 16px; margin-bottom: auto; }
.wt-logo svg, .wt-logo .gl-sidebar-icon-svg { height: 70px; width: auto; display: block; }
.weekly-training-body .gl-icon-dark { fill: #FFFFFF; }
.weekly-training-body .gl-icon-light { fill: #0C0D11; }
.wt-wm b { display: block; font-size: 26px; font-weight: 800; letter-spacing: 0.05em; line-height: 1; }
.wt-wm i { display: flex; align-items: center; gap: 10px; margin-top: 7px; font-style: normal; }
.wt-wm i::before, .wt-wm i::after { content: ""; flex: 1; height: 2px; background: var(--wt-red); }
.wt-wm i span { font-size: 12px; font-weight: 800; letter-spacing: 0.34em; padding-left: 0.34em; color: #E8E8EA; }

.wt-promo { margin-top: 36px; }
.wt-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wt-muted); font-weight: 700;
}
.wt-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wt-red-br); box-shadow: 0 0 0 0 var(--wt-red-glow); animation: wt-pulse 2.4s infinite; }
@keyframes wt-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,56,.5); } 70% { box-shadow: 0 0 0 12px rgba(255,59,56,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,56,0); } }
@media (prefers-reduced-motion: reduce) { .wt-pulse { animation: none; } }

.wt-headline { font-size: clamp(34px, 4.4vw, 54px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 850; margin: 0 0 18px; text-transform: uppercase; }
.wt-headline em { font-style: normal; color: var(--wt-red-br); }

.wt-host { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; }
.wt-host .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #3a3d47, #22242c); display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; border: 1px solid var(--wt-line); flex: 0 0 auto; }
.wt-host b { font-size: 14px; font-weight: 700; }
.wt-host small { display: block; color: var(--wt-muted); font-size: 12px; margin-top: 1px; }

.wt-agenda { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 0 0 30px; max-width: 640px; }
.wt-agenda li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: #C7CCD5; line-height: 1.4; }
.wt-agenda { padding: 0; }
.wt-agenda .mk { color: var(--wt-red-br); flex: 0 0 auto; font-size: 11px; margin-top: 3px; }

.wt-sched { display: inline-flex; border: 1px solid var(--wt-line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.03); }
.wt-sc { padding: 13px 20px; border-left: 1px solid var(--wt-line); }
.wt-sc:first-child { border-left: 0; }
.wt-sc .l { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wt-muted2); font-weight: 700; }
.wt-sc .v { font-size: 14px; font-weight: 700; margin-top: 4px; }
.wt-sc .v.red { color: var(--wt-red-br); }

/* ---- Form panel ---- */
.wt-auth { background: var(--wt-panel); border-left: 1px solid var(--wt-line); display: flex; align-items: center; justify-content: center; padding: 40px; }
.wt-card { width: 100%; max-width: 380px; }
.wt-kicker { display: inline-block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wt-red-br); font-weight: 700; margin-bottom: 12px; }
.wt-card h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.wt-lead { font-size: 13.5px; color: var(--wt-muted); margin: 0 0 26px; line-height: 1.5; }
.wt-alert { background: rgba(205,2,0,.12); border: 1px solid rgba(205,2,0,.35); color: #FF8b89; border-radius: 11px; padding: 11px 14px; font-size: 13px; margin-bottom: 18px; }
.wt-field { margin-bottom: 15px; }
.wt-field label { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wt-muted); font-weight: 600; margin-bottom: 7px; }
.wt-input { width: 100%; background: var(--wt-field); border: 1px solid var(--wt-field-br); border-radius: 11px; padding: 13px 14px; color: var(--wt-ink); font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.wt-input::placeholder { color: var(--wt-muted2); }
.wt-input:focus { outline: none; border-color: var(--wt-red); box-shadow: 0 0 0 3px rgba(205,2,0,.18); }
.wt-row { display: flex; gap: 12px; }
.wt-row .wt-field { flex: 1; min-width: 0; }
.wt-btn { width: 100%; border: 0; border-radius: 11px; padding: 15px; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; margin-top: 6px; background: var(--wt-red); color: #fff; box-shadow: 0 10px 26px -10px var(--wt-red-glow); transition: background .15s, transform .05s; }
.wt-btn:hover { background: var(--wt-red-hover); }
.wt-btn:active { transform: translateY(1px); }
/* Secondary CTA (Log in) on the post-registration success page */
.wt-btn-secondary { display: block; width: 100%; text-align: center; text-decoration: none; border: 1px solid var(--wt-field-br); background: transparent; color: var(--wt-ink); border-radius: 11px; padding: 14px; font-size: 14px; font-weight: 600; margin-top: 10px; transition: background .15s, border-color .15s; }
.wt-btn-secondary:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .2); }
.wt-zoom-link { text-align: center; margin-top: 18px; font-size: 12.5px; }
.wt-zoom-link a { color: var(--wt-muted); text-decoration: none; }
.wt-zoom-link a:hover { color: var(--wt-red-br); }
.wt-reassure { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-size: 12px; color: var(--wt-muted); }
.wt-reassure .dot { width: 6px; height: 6px; border-radius: 50%; background: #10B981; }
.wt-fine { font-size: 11.5px; color: var(--wt-muted2); text-align: center; margin-top: 22px; line-height: 1.5; }

@media (max-width: 980px) {
  .wt-stage { grid-template-columns: 1fr; }
  .wt-agenda { grid-template-columns: 1fr; }
  .wt-brand { padding: 34px 28px; }
  .wt-logo { margin-bottom: 28px; }
}
@media (max-width: 640px) { .wt-sched { flex-wrap: wrap; } }
