/* ==========================================================
   ITFIXLAB V0.1 — FIXES HUB REDESIGN ONLY
   Scope: .fixes-page
   No global page styles below this line.
========================================================== */

.fixes-page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, 0.11), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(37, 99, 235, 0.10), transparent 28%),
    linear-gradient(180deg, #050914 0%, #07101f 36%, #091323 100%);
}

.fixes-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.48) 48%, transparent 92%);
}

.fixes-page .fixes-navbar,
.fixes-page .fix-command-hero,
.fixes-page .repair-hubs,
.fixes-page .fix-mission-board,
.fixes-page .content-section,
.fixes-page footer {
  position: relative;
  z-index: 1;
}

.fixes-page .fixes-navbar {
  background: rgba(5, 9, 20, 0.78);
  border-bottom: 1px solid rgba(148,163,184,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.fixes-page .fixes-navbar nav a[aria-current="page"] {
  color: #e0f2fe;
  position: relative;
}

.fixes-page .fixes-navbar nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  box-shadow: 0 0 12px rgba(56,189,248,.55);
}

.fixes-page .fix-command-hero {
  padding: 46px 8% 34px;
  text-align: left;
  background: transparent;
}

.fixes-page .fix-command-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(56,189,248,.34), rgba(148,163,184,.08) 38%, rgba(37,99,235,.28));
  box-shadow:
    0 28px 80px rgba(0,0,0,.34),
    0 0 50px rgba(56,189,248,.06);
}

.fixes-page .fix-command-shell::before {
  content: "";
  display: block;
  position: absolute;
}

.fixes-page .fix-command-topline {
  min-height: 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 29px 29px 0 0;
  background: rgba(7,15,28,.96);
  border-bottom: 1px solid rgba(148,163,184,.11);
  color: #7f92ac;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.fixes-page .fix-command-status,
.fixes-page .fix-console-live,
.fixes-page .repair-hub-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fixes-page .fix-command-status i,
.fixes-page .fix-console-live i,
.fixes-page .repair-hub-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 13px rgba(56,189,248,.85);
}

.fixes-page .fix-command-route {
  color: #5f7189;
}

.fixes-page .fix-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr);
  gap: 28px;
  padding: 34px;
  border-radius: 0 0 29px 29px;
  background:
    radial-gradient(circle at 13% 16%, rgba(56,189,248,.11), transparent 26%),
    linear-gradient(145deg, rgba(10,18,33,.985), rgba(7,13,25,.985));
}

.fixes-page .fix-hero-copy {
  min-width: 0;
  padding: 16px 6px 8px;
}

.fixes-page .fix-hero-copy .badge {
  margin-bottom: 18px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fixes-page .fix-hero-copy h1 {
  max-width: 700px;
  margin: 0 0 18px;
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: .99;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.fixes-page .fix-hero-copy > p {
  max-width: 710px;
  margin: 0;
  color: #aebbd0;
  font-size: 17px;
  line-height: 1.75;
}

.fixes-page .repair-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.fixes-page .repair-step {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.11);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}

.fixes-page .repair-step-index {
  flex: 0 0 auto;
  color: #38bdf8;
  font: 900 11px/1.4 monospace;
  letter-spacing: .06em;
}

.fixes-page .repair-step strong,
.fixes-page .repair-step small {
  display: block;
}

.fixes-page .repair-step strong {
  color: #edf6ff;
  font-size: 13px;
}

.fixes-page .repair-step small {
  margin-top: 3px;
  color: #73849a;
  font-size: 11px;
  line-height: 1.45;
}

.fixes-page .fix-console {
  align-self: stretch;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(17,28,48,.94), rgba(8,15,27,.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 18px 45px rgba(0,0,0,.22);
}

.fixes-page .fix-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 13px;
  color: #70829a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.fixes-page .fix-console-live {
  color: #7dd3fc;
}

.fixes-page .fix-console-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 12px 13px;
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.038), rgba(255,255,255,.014));
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.fixes-page .fix-console-row::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, transparent 42%, rgba(255,255,255,.055) 50%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
  transition: transform .65s ease;
}

.fixes-page .fix-console-row:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.38);
  background: linear-gradient(135deg, rgba(56,189,248,.07), rgba(255,255,255,.018));
  box-shadow: 0 14px 32px rgba(0,0,0,.20), 0 0 24px rgba(56,189,248,.05);
}

.fixes-page .fix-console-row:hover::before {
  transform: translateX(120%);
}

.fixes-page .fix-gloss-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid rgba(125,211,252,.24);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.23), transparent 24%),
    linear-gradient(145deg, rgba(56,189,248,.25), rgba(14,165,233,.08) 48%, rgba(2,6,23,.44));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -8px 18px rgba(2,6,23,.22),
    0 8px 18px rgba(0,0,0,.22),
    0 0 20px rgba(56,189,248,.08);
}

.fixes-page .fix-gloss-icon::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 26%;
  top: 7%;
  left: 14%;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  filter: blur(3px);
}

.fixes-page .fix-gloss-icon svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #c8efff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(56,189,248,.32));
}

.fixes-page .fix-gloss-icon-code {
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.22), transparent 24%),
    linear-gradient(145deg, rgba(37,99,235,.28), rgba(56,189,248,.08) 52%, rgba(2,6,23,.44));
}

.fixes-page .fix-console-copy {
  min-width: 0;
}

.fixes-page .fix-console-copy strong,
.fixes-page .fix-console-copy small {
  display: block;
}

.fixes-page .fix-console-copy strong {
  color: #edf6ff;
  font-size: 14px;
}

.fixes-page .fix-console-copy small {
  margin-top: 4px;
  color: #7f90a7;
  font-size: 11px;
}

.fixes-page .fix-console-arrow {
  color: #6f829b;
  font-size: 17px;
  transition: transform .2s ease, color .2s ease;
}

.fixes-page .fix-console-row:hover .fix-console-arrow {
  color: #7dd3fc;
  transform: translate(2px, -2px);
}

.fixes-page .fix-console-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
  padding: 11px 8px 4px;
  color: #718399;
  font-size: 10px;
  font-weight: 700;
}

.fixes-page .fix-console-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fixes-page .fix-console-foot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #38bdf8;
}

.fixes-page .repair-hubs {
  padding: 46px 8% 22px;
  background: transparent;
}

.fixes-page .repair-hubs-heading {
  width: min(1180px,100%);
  margin: 0 auto 22px;
}

.fixes-page .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #61c8f4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.fixes-page .section-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56,189,248,.42);
}

.fixes-page .repair-hubs-heading h2 {
  margin: 9px 0 5px;
  font-size: clamp(28px,4vw,42px);
  letter-spacing: -.035em;
}

.fixes-page .repair-hubs-heading p {
  color: #8191a7;
}

.fixes-page .repair-hubs-grid {
  width: min(1180px,100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.fixes-page .repair-hubs-grid > .repair-hub-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.fixes-page .repair-hub-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(18,30,51,.90), rgba(9,16,29,.94));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 18px 46px rgba(0,0,0,.20);
  transition: transform .23s ease, border-color .23s ease, box-shadow .23s ease;
}

.fixes-page .repair-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.40);
  box-shadow:
    0 25px 54px rgba(0,0,0,.29),
    0 0 32px rgba(56,189,248,.06);
}

.fixes-page .repair-hub-visual {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid rgba(148,163,184,.10);
  background:
    radial-gradient(circle at 50% 48%, rgba(56,189,248,.15), transparent 38%),
    rgba(2,6,23,.23);
}

.fixes-page .repair-hub-code .repair-hub-visual {
  background:
    radial-gradient(circle at 50% 48%, rgba(37,99,235,.17), transparent 38%),
    rgba(2,6,23,.23);
}

.fixes-page .repair-hub-visual img {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.30)) drop-shadow(0 0 14px rgba(56,189,248,.12));
  transition: transform .28s ease;
}

.fixes-page .repair-hub-card:hover .repair-hub-visual img {
  transform: translateY(-3px) scale(1.04);
}

.fixes-page .repair-hub-orbit {
  position: absolute;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,.18);
  box-shadow:
    0 0 0 20px rgba(56,189,248,.025),
    0 0 0 41px rgba(56,189,248,.018);
}

.fixes-page .repair-hub-status {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  padding: 6px 9px;
  border: 1px solid rgba(56,189,248,.17);
  border-radius: 999px;
  background: rgba(4,10,20,.55);
  color: #80cdec;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}

.fixes-page .repair-hub-status i {
  width: 5px;
  height: 5px;
}

.fixes-page .repair-hub-content {
  min-width: 0;
  padding: 26px 27px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fixes-page .repair-hub-kicker {
  margin-bottom: 8px;
  color: #38bdf8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.fixes-page .repair-hub-content h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.fixes-page .repair-hub-content p {
  color: #93a2b7;
  font-size: 13px;
  line-height: 1.65;
}

.fixes-page .repair-hub-action {
  margin-top: 18px;
  color: #8edcff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
}

.fixes-page .repair-hub-action b {
  display: inline-block;
  margin-left: 5px;
  transition: transform .2s ease;
}

.fixes-page .repair-hub-card:hover .repair-hub-action b {
  transform: translateX(4px);
}

.fixes-page .fix-mission-board {
  padding: 56px 8% 72px;
  background: transparent;
}

.fixes-page .fix-mission-title {
  width: min(1180px,100%);
  max-width: none;
  margin: 0 auto 26px;
  text-align: left;
}

.fixes-page .fix-mission-title h2 {
  margin: 9px 0 5px;
  font-size: clamp(30px,4vw,42px);
  letter-spacing: -.035em;
}

.fixes-page .fix-mission-title p {
  color: #8191a7;
}

.fixes-page .fixes-grid {
  max-width: 1180px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  counter-reset: fixMission;
}

.fixes-page .fix-card {
  counter-increment: fixMission;
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,.12);
  background:
    linear-gradient(145deg, rgba(17,28,47,.82), rgba(9,16,28,.90));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.026),
    0 14px 34px rgba(0,0,0,.14);
}

.fixes-page .fix-card::before {
  content: "MISSION " counter(fixMission, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: #55677f;
  font: 800 9px/1 monospace;
  letter-spacing: .13em;
}

.fixes-page .fix-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -55px;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.09), transparent 70%);
  pointer-events: none;
}

.fixes-page .fix-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.38);
  box-shadow:
    0 22px 48px rgba(0,0,0,.25),
    0 0 26px rgba(56,189,248,.055);
}

.fixes-page .fix-card .fix-tag {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(56,189,248,.07);
  border: 1px solid rgba(56,189,248,.15);
  color: #7dd3fc;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fixes-page .fix-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.fixes-page .fix-card p {
  margin-bottom: 18px;
  color: #8f9fb4;
  font-size: 13px;
  line-height: 1.6;
}

.fixes-page .fix-card .fix-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(148,163,184,.08);
}

.fixes-page .fix-card .fix-meta span {
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,.028);
  color: #718399;
  font-size: 10px;
}

.fixes-page .content-section {
  padding: 62px 8%;
  background: rgba(4,9,18,.46);
  border-top: 1px solid rgba(148,163,184,.07);
}

.fixes-page .content-card {
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,.10);
  background: rgba(255,255,255,.025);
  box-shadow: none;
}

.fixes-page .content-card h2 {
  letter-spacing: -.025em;
}

.fixes-page .content-card p {
  color: #8f9fb4;
}

.fixes-page footer {
  background: rgba(4,9,18,.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 1000px) {
  .fixes-page .fix-hero-grid {
    grid-template-columns: 1fr;
  }

  .fixes-page .repair-hubs-grid {
    grid-template-columns: 1fr;
  }

  .fixes-page .fixes-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .fixes-page .fix-command-hero {
    padding: 28px 5% 24px;
  }

  .fixes-page .fix-command-topline {
    padding: 0 16px;
  }

  .fixes-page .fix-command-route {
    display: none;
  }

  .fixes-page .fix-hero-grid {
    padding: 22px;
  }

  .fixes-page .fix-hero-copy {
    padding: 7px 0 0;
  }

  .fixes-page .fix-hero-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .fixes-page .repair-path {
    grid-template-columns: 1fr;
  }

  .fixes-page .repair-step {
    align-items: center;
  }

  .fixes-page .repair-hubs {
    padding: 38px 5% 18px;
  }

  .fixes-page .repair-hub-card {
    grid-template-columns: 135px minmax(0,1fr);
  }

  .fixes-page .repair-hub-visual {
    min-height: 210px;
  }

  .fixes-page .repair-hub-visual img {
    width: 88px;
    height: 88px;
  }

  .fixes-page .repair-hub-orbit {
    width: 116px;
    height: 116px;
  }

  .fixes-page .repair-hub-content {
    padding: 22px 18px;
  }

  .fixes-page .repair-hub-content h2 {
    font-size: 20px;
  }

  .fixes-page .repair-hub-content p {
    font-size: 12px;
  }

  .fixes-page .fix-mission-board {
    padding: 44px 5% 58px;
  }

  .fixes-page .fixes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .fixes-page .fix-command-shell {
    border-radius: 23px;
  }

  .fixes-page .fix-command-topline {
    border-radius: 22px 22px 0 0;
  }

  .fixes-page .fix-hero-grid {
    border-radius: 0 0 22px 22px;
  }

  .fixes-page .fix-console-row {
    grid-template-columns: 50px minmax(0,1fr) auto;
  }

  .fixes-page .fix-gloss-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .fixes-page .fix-gloss-icon svg {
    width: 25px;
    height: 25px;
  }

  .fixes-page .repair-hub-card {
    grid-template-columns: 1fr;
  }

  .fixes-page .repair-hub-visual {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid rgba(148,163,184,.10);
  }

  .fixes-page .repair-hub-content {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fixes-page .fix-console-row,
  .fixes-page .repair-hub-card,
  .fixes-page .fix-card,
  .fixes-page .repair-hub-visual img,
  .fixes-page .fix-console-arrow,
  .fixes-page .repair-hub-action b {
    transition: none !important;
  }

  .fixes-page .fix-console-row::before {
    display: none;
  }
}
