/* ATHLETE_OS — Sci-Fi Design Extensions */

body:has(.data-ticker) { padding-bottom: 36px; }

:root {
  --hud-line: rgba(34, 235, 217, 0.35);
  --hologram: rgba(34, 235, 217, 0.06);
  --glow-cyan: 0 0 32px rgba(34, 235, 217, 0.4);
  --clip-panel: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  font-family: Consolas, "SFMono-Regular", monospace;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.boot-overlay.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-inner { text-align: center; max-width: 520px; padding: 24px; }

.boot-logo {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 3.2rem;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 24px;
}

.boot-text { color: var(--green); font-size: 0.92rem; line-height: 1.8; min-height: 1.8em; }

.boot-skip {
  margin-top: 28px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--quiet);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
}

.boot-skip:hover { border-color: var(--cyan); color: var(--cyan); }

.orbit-rings {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(34, 235, 217, 0.12);
  border-radius: 50%;
  animation: orbitSpin linear infinite;
}

.orbit-ring:nth-child(1) { width: 680px; height: 280px; top: 18%; right: -120px; animation-duration: 48s; }
.orbit-ring:nth-child(2) { width: 520px; height: 200px; bottom: 12%; left: -80px; border-color: rgba(255, 54, 116, 0.14); animation-duration: 36s; animation-direction: reverse; }
.orbit-ring:nth-child(3) { width: 900px; height: 360px; top: 40%; left: 50%; border-color: rgba(138, 255, 102, 0.08); animation: orbitSpinCenter 60s linear infinite; }

@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbitSpinCenter { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }

.data-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--hud-line);
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(12px);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

.data-ticker span {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.hud-section { position: relative; }

.hud-section::before,
.hud-section::after {
  position: absolute;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.68rem;
  color: var(--quiet);
  letter-spacing: 0.08em;
  pointer-events: none;
}

.hud-section::before { content: attr(data-hud-left); top: 88px; left: 22px; }
.hud-section::after { content: attr(data-hud-right); top: 88px; right: 22px; }

.panel-cut { clip-path: var(--clip-panel); }

.sim-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 190, 72, 0.4);
  color: var(--amber);
  background: rgba(255, 190, 72, 0.06);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.74rem;
  margin-bottom: 16px;
}

.sim-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: pulse 1.2s ease-in-out infinite;
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.pricing-card {
  position: relative;
  min-height: 420px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  clip-path: var(--clip-panel);
  transition: transform 200ms ease, border-color 200ms ease;
}

.pricing-card:hover { transform: translateY(-4px); border-color: rgba(34, 235, 217, 0.5); }

.pricing-card.featured {
  border-color: rgba(34, 235, 217, 0.6);
  background: linear-gradient(160deg, rgba(34, 235, 217, 0.12), var(--surface));
  box-shadow: var(--glow-cyan);
}

.pricing-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.78rem;
}

.pricing-card h3 { margin-bottom: 8px; font-size: 1.5rem; }

.pricing-price {
  margin-bottom: 20px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 2.8rem;
  color: var(--text);
}

.pricing-price em { font-style: normal; font-size: 1rem; color: var(--muted); font-family: "Microsoft YaHei", sans-serif; }

.pricing-features { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }

.pricing-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-features li::before { content: ">"; color: var(--green); font-family: Consolas, monospace; }

.btn-mono { font-family: Consolas, "SFMono-Regular", monospace; font-size: 0.88rem; letter-spacing: 0.02em; }

.hero-tagline {
  display: block;
  margin-top: 8px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.88rem;
  color: var(--amber);
  font-weight: 400;
  text-transform: none;
}

.hero-footnote { margin-top: 14px; color: var(--quiet); font-size: 0.82rem; font-style: italic; }

.nav-cta {
  padding: 10px 14px !important;
  border: 1px solid rgba(34, 235, 217, 0.5) !important;
  color: #03100e !important;
  background: linear-gradient(135deg, var(--cyan), var(--green)) !important;
  font-weight: 800;
}

.nav-cta:hover { box-shadow: var(--glow-cyan) !important; }

.status-dots { display: flex; gap: 6px; align-items: center; }
.status-dots i { width: 8px; height: 8px; border-radius: 50%; font-style: normal; }
.status-dots i:nth-child(1) { background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-dots i:nth-child(2) { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.status-dots i:nth-child(3) { background: var(--pink); box-shadow: 0 0 10px var(--pink); }

.module-status {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 10px;
  border: 1px solid rgba(138, 255, 102, 0.4);
  color: var(--green);
  font-family: Consolas, monospace;
  font-size: 0.72rem;
}

.module-status::before { content: ""; }

.lab-board.glitch-flash { animation: boardFlash 0.35s ease; }
@keyframes boardFlash {
  0%, 100% { filter: none; }
  30% { filter: brightness(1.4) hue-rotate(10deg); }
  60% { filter: brightness(0.9); }
}

@media (max-width: 1040px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .hud-section::before, .hud-section::after { display: none; }
}

@media (max-width: 760px) {
  .data-ticker { display: none; }
  .orbit-rings { opacity: 0.4; }
}