/* =============================================
   BAXTERS.VIP — Hub Layout
   Colors: White #FFF · Red #CC0000 · Black #111 · Yellow #FFD700
   ============================================= */

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

:root {
  --white:       #FFFFFF;
  --black:       #111111;
  --red:         #CC0000;
  --red-dark:    #8B0000;
  --red-light:   #E83333;
  --yellow:      #FFD700;
  --yellow-dim:  #CCA800;
  --gray-light:  #F7F7F7;
  --gray-mid:    #DDDDDD;
  --panel-bg:    #FAFAFA;
  --panel-head:  #111111;
  --shadow-red:  4px 4px 0px var(--red-dark);
  --font-head:   'Arial Black', 'Impact', sans-serif;
  --font-body:   'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-mono:   'Consolas', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

/* ====== NAV ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 12px rgba(140,0,0,0.12);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; }
.nav-logo-img { height: 38px; width: 38px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--black);
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }
.btn-nav {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.4rem 1rem;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.btn-nav:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--black) !important;
  color: var(--yellow) !important;
}

/* ====== VISION BANNER ====== */
.vision-banner {
  background: var(--black);
  border-bottom: 3px solid var(--red);
  overflow: hidden;
  white-space: nowrap;
}
.vision-text {
  display: inline-block;
  padding: 0.55rem 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  animation: marquee 30s linear infinite;
}
.vision-text strong { color: var(--yellow); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====== HUB SECTION ====== */
.hub {
  padding: 2rem;
  background: var(--gray-light);
  border-bottom: 4px solid var(--black);
}

.hub-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "books     music    os-ad"
    "books     center   os-ad"
    "workflows utility  comfyui";
  gap: 1.5rem;
  align-items: start;
}

/* ====== GUI PANELS ====== */
.gui-panel {
  background: var(--panel-bg);
  border: 2px solid var(--black);
  box-shadow: 5px 5px 0 var(--red-dark);
  display: flex;
  flex-direction: column;
  max-height: 420px;
}

.panel-header {
  background: var(--panel-head);
  color: var(--white);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--red);
  flex-shrink: 0;
}

.panel-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border: 1.5px solid;
  white-space: nowrap;
}
.badge-lock   { color: var(--yellow); border-color: var(--yellow); }
.badge-free   { color: #4CAF50; border-color: #4CAF50; }
.badge-open   { color: var(--red-light); border-color: var(--red-light); }
.badge-coming { color: var(--red-light); border-color: var(--red-light); animation: blink 2s step-end infinite; }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.panel-body {
  flex: 1;
  padding: 0.75rem;
  overflow: hidden;
}
.panel-body.scrollable {
  overflow-y: auto;
}
.panel-body.scrollable::-webkit-scrollbar { width: 4px; }
.panel-body.scrollable::-webkit-scrollbar-track { background: var(--gray-mid); }
.panel-body.scrollable::-webkit-scrollbar-thumb { background: var(--red); }

.panel-footer {
  padding: 0.6rem 0.75rem;
  border-top: 1.5px solid var(--gray-mid);
  flex-shrink: 0;
}

.btn-panel {
  display: block;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 2px solid var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-unlock {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 3px 3px 0 var(--black);
}
.btn-unlock:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--black); }
.btn-music {
  background: var(--white);
  color: var(--black);
  box-shadow: 3px 3px 0 var(--red);
}
.btn-music:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--red); color: var(--red); }
.btn-github {
  background: var(--red);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--red-dark);
}
.btn-github:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--red-dark); }

/* ====== PANEL AREAS ====== */
.panel-books     { grid-area: books; }
.panel-music     { grid-area: music; }
.hub-center      { grid-area: center; }
.panel-workflows { grid-area: workflows; }
.panel-comfyui   { grid-area: comfyui; max-height: none; }

/* Music panel: positioned between books and center */
.panel-books     { grid-area: books;     max-height: 580px; }
.panel-music     { grid-area: music; }
.panel-osad      { grid-area: os-ad;     max-height: none; }
.hub-center      { grid-area: center; }
.panel-workflows { grid-area: workflows; max-height: 440px; }
.panel-comfyui   { grid-area: comfyui;   max-height: 440px; }
.panel-utility   { grid-area: utility;   max-height: 440px; }

/* ====== HUB CENTER (Logo) ====== */
.hub-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.hub-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-logo-wrap::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,0,0,0.08) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.1); opacity: 1; }
}

.hub-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(6px 6px 0 var(--red-dark));
  animation: float 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hub-os-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hub-os-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--red-dark);
}

.hub-os-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}

.hub-os-date {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0 var(--black);
  margin-top: 0.3rem;
}

/* ====== OS AD PANEL ====== */
.osad-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.osad-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.osad-headline {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--red);
  text-shadow: 3px 3px 0 var(--red-dark);
  line-height: 1;
}

.osad-sub {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}

.osad-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.osad-desc {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.6;
  max-width: 240px;
}
.osad-desc strong { color: var(--red); }

.osad-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.osad-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #333;
  font-weight: 500;
}

.osad-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.osad-date {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--black);
  background: var(--yellow);
  padding: 0.3rem 1rem;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

.osad-tagline {
  font-size: 0.78rem;
  color: #777;
  font-style: italic;
  line-height: 1.5;
}

/* ====== BOOKS ====== */
.book-list { display: flex; flex-direction: column; gap: 0.4rem; }

.book-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.book-item:hover { border-color: var(--yellow-dim); background: #fffdf0; }
.book-item.locked { cursor: default; }
.book-item.locked:hover { border-color: var(--gray-mid); background: var(--white); }
.book-item.more { border-style: dashed; color: #999; font-style: italic; }

.book-icon { font-size: 1rem; flex-shrink: 0; }
.book-title { font-size: 0.8rem; font-weight: 600; line-height: 1.3; color: var(--black); flex: 1; }
.book-item.more .book-title { color: #999; }

/* Book tags (audiobook / work-in-progress) */
.book-tag {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border: 1.5px solid var(--gray-mid);
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}
.book-tag.audio   { border-color: var(--red); color: var(--red); }
.book-item.wip    { border-style: dashed; opacity: 0.6; }
.book-tag.wip-tag { border-color: var(--yellow-dim); color: var(--yellow-dim); }

/* ====== MUSIC ====== */
.track-list { display: flex; flex-direction: column; gap: 0.4rem; }

.track-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  transition: border-color 0.2s;
}
.track-item:hover { border-color: var(--red); }

.play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--white);
  color: var(--red);
  font-size: 0.7rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn:hover { background: var(--red); color: var(--white); }

.track-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.track-name { font-size: 0.85rem; font-weight: 700; }
.track-meta { font-size: 0.72rem; color: #777; font-family: var(--font-mono); }

.track-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border: 1.5px solid var(--yellow-dim);
  color: var(--yellow-dim);
  white-space: nowrap;
}

/* track stream + download buttons */
.track-actions { display: flex; gap: 0.35rem; flex-shrink: 0; }
.track-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--white);
  color: var(--red);
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.track-btn:hover { background: var(--red); color: var(--white); }
.track-btn.dl { border-color: var(--black); color: var(--black); }
.track-btn.dl:hover { background: var(--black); color: var(--yellow); }
.track-soon {
  font-size: 0.72rem; font-style: italic; color: #999;
  padding: 0.4rem 0.5rem;
  border: 1.5px dashed var(--gray-mid);
}

/* ====== AI WORKFLOW APPS ====== */
.app-list { display: flex; flex-direction: column; gap: 0.5rem; }

/* Subcategory header inside a directory panel */
.cat-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  padding: 0.5rem 0.1rem 0.3rem;
  border-bottom: 1.5px solid var(--gray-mid);
  margin-top: 0.5rem;
}
.cat-label:first-child { margin-top: 0; }
.cat-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  flex-shrink: 0;
}
.cat-count {
  margin-left: auto;
  color: #aaa;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.app-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
a.app-item:hover {
  border-color: var(--red);
  transform: translateX(3px);
  box-shadow: -3px 0 0 var(--red);
}
.app-item.app-soon { cursor: default; opacity: 0.65; }
.app-info { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.app-name { font-size: 0.85rem; font-weight: 700; font-family: var(--font-head); letter-spacing: 0.03em; }
.app-desc { font-size: 0.75rem; color: #555; line-height: 1.4; }
.app-tags { display: flex; gap: 0.3rem; flex-wrap: wrap; flex-shrink: 0; }

.tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border: 1.5px solid;
}
.tag-win   { border-color: var(--black); color: var(--black); }
.tag-linux { border-color: var(--red); color: var(--red); }
.tag-soon  { border-color: var(--yellow-dim); color: var(--yellow-dim); }
.tag-cli   { border-color: #555; color: #555; }
.tag-web   { border-color: var(--red-light); color: var(--red-light); }
.tag-comfy { border-color: var(--red-light); color: var(--red-light); }
.tag-android { background: var(--black); color: var(--yellow); border-color: var(--black); }

/* Android app — QR sideload loader */
.android-item { align-items: center; }
.android-item .app-info { gap: 0.3rem; }
.app-name-link { display: inline-block; }
.app-name-link:hover .app-name { color: var(--red); }
.qr-loader {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
}
.qr-img {
  width: 84px;
  height: 84px;
  border: 2px solid var(--black);
  background: #fff;
  padding: 2px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.qr-loader:hover .qr-img { transform: scale(1.12); box-shadow: 3px 3px 0 var(--red); }
.qr-cap {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}

/* ====== COMFYUI NODES ====== */
.node-list { display: flex; flex-direction: column; gap: 0.75rem; }

.node-item {
  display: block;
  padding: 0.75rem;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  transition: border-color 0.2s, transform 0.15s;
}
.node-item:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.node-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.node-name {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.node-gh {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}
.node-desc {
  display: block;
  font-size: 0.78rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.node-features {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.node-feat {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  background: var(--black);
  color: var(--yellow);
  font-family: var(--font-mono);
}

/* ====== LIBRARY UNLOCK ====== */
.btn-have-key {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  background: none;
  border: none;
  color: #777;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s;
}
.btn-have-key:hover { color: var(--red); }
.books-foot { margin-top: 0.4rem; font-size: 0.68rem; color: #3a8a3a; text-align: center; }
.books-foot:empty { display: none; }
.books-foot a { color: var(--red); text-decoration: underline; }

/* unlocked badge color flips from lock-yellow to green */
body.lib-unlocked #books-badge { color: #3fb950; border-color: #3fb950; }

.unlock-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(17,17,17,0.7);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.unlock-modal.hidden { display: none; }
.unlock-card {
  background: var(--white);
  border: 2px solid var(--black);
  box-shadow: 6px 6px 0 var(--red-dark);
  max-width: 380px; width: 100%;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.unlock-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.unlock-sub { font-size: 0.8rem; color: #555; line-height: 1.5; }
.unlock-card input {
  border: 2px solid var(--gray-mid); padding: 0.6rem 0.7rem;
  font-size: 0.88rem; font-family: inherit;
}
.unlock-card input:focus { outline: none; border-color: var(--red); }
.unlock-actions { display: flex; gap: 0.6rem; margin-top: 0.2rem; }
.primary-btn {
  flex: 1; background: var(--red); color: var(--white); border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.55rem; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.primary-btn:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--black); color: var(--yellow); }
.ghost-btn {
  background: none; border: 2px solid var(--gray-mid); color: #666;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem; cursor: pointer;
}
.ghost-btn:hover { border-color: var(--black); color: var(--black); }
.u-msg { font-size: 0.78rem; min-height: 1em; color: #3a8a3a; }
.u-msg.err { color: var(--red); }
.unlock-foot { font-size: 0.74rem; color: #777; }
.unlock-foot a { color: var(--red); font-weight: 600; }

/* ====== ACCENT ====== */
.accent { color: var(--red); }

/* ====== ROADMAP ====== */
.roadmap { background: var(--white); border-top: 4px solid var(--black); }
.section-inner { max-width: 1000px; margin: 0 auto; padding: 4rem 2rem; }
.section-header { margin-bottom: 2.5rem; border-left: 5px solid var(--red); padding-left: 1.2rem; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: var(--shadow-red);
  margin-bottom: 0.3rem;
}
.section-header p { color: #555; font-size: 0.95rem; }

.roadmap-list {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 2rem;
}
.roadmap-list::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 3px;
  background: var(--gray-mid);
}
.roadmap-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  position: relative;
}
.roadmap-item + .roadmap-item { border-top: 1px solid var(--gray-mid); }
.roadmap-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 3px solid var(--black);
  background: var(--white);
  flex-shrink: 0;
  position: absolute;
  left: -2.45rem;
  margin-top: 0.25rem;
  z-index: 1;
}
.roadmap-item.done .roadmap-dot   { background: var(--red); border-color: var(--red-dark); }
.roadmap-item.active .roadmap-dot { background: var(--yellow); border-color: var(--yellow-dim); animation: pulse 2s ease-in-out infinite; }
.roadmap-item.pending .roadmap-dot { background: var(--white); border-color: var(--gray-mid); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,215,0,0.2); }
  50%       { box-shadow: 0 0 0 8px rgba(255,215,0,0.1); }
}
.roadmap-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.4rem;
  border: 1.5px solid;
}
.roadmap-item.done .roadmap-label    { color: var(--red); border-color: var(--red); }
.roadmap-item.active .roadmap-label  { color: var(--yellow-dim); border-color: var(--yellow-dim); background: #fffbe6; }
.roadmap-item.pending .roadmap-label { color: #999; border-color: #ccc; }
.roadmap-content h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.roadmap-content p { font-size: 0.88rem; color: #555; line-height: 1.6; }

/* ====== FOOTER ====== */
.footer { background: var(--black); border-top: 4px solid var(--red); color: var(--white); }
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 0.06em; }
.footer-logo-img { height: 34px; width: 34px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(204,0,0,0.6)); }
.footer-tagline { font-size: 0.85rem; color: #aaa; max-width: 400px; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--yellow); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.72rem; color: #555; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
  .hub-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center   center"
      "os-ad    music"
      "books    books"
      "workflows comfyui"
      "utility  utility";
  }
}

@media (max-width: 700px) {
  .hub-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "os-ad"
      "music"
      "books"
      "workflows"
      "comfyui"
      "utility";
  }
  .hub-logo { width: 180px; height: 180px; }
}
