/* ============================================================
   components.css — Part A: nav, hero, queue, logos, problem, solution
   ============================================================ */

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav--solid { background: rgba(8,8,10,0.72); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(160deg, var(--bg-3), var(--bg-1)); border: 1px solid var(--line-2); display: grid; place-items: center; }
.brand-glyph { width: 17px; height: 17px; color: var(--accent); filter: drop-shadow(0 0 6px var(--accent-glow)); }
.brand-glyph .bg-2 { opacity: 0.5; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.brand-name { font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-dim); font-size: 14.5px; transition: color .18s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-login { color: var(--text-dim); font-size: 14.5px; transition: color .18s; }
.nav-login:hover { color: var(--text); }
.nav .btn-primary { height: 40px; padding: 0 17px; font-size: 14px; }
.nav-menu-btn {
  appearance: none; display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg-1); color: var(--text); transition: background .18s, border-color .18s;
}
.nav-menu-btn:hover { background: var(--bg-2); border-color: rgba(255,255,255,0.24); }
.nav-mobile {
  display: none; overflow: hidden; max-height: 0; opacity: 0; pointer-events: none;
  transition: max-height .24s var(--ease), opacity .18s;
}
.nav-mobile-links { display: grid; gap: 2px; padding: 10px 0 12px; }
.nav-mobile-links a {
  display: flex; align-items: center; min-height: 44px; padding: 0 2px;
  color: var(--text-dim); font-size: 16px; border-bottom: 1px solid var(--line);
}
.nav-mobile-actions { display: flex; align-items: center; gap: 12px; padding: 4px 0 18px; }
.nav-mobile-login { color: var(--text-dim); font-size: 15px; }
@media (max-width: 900px){
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav-mobile { display: block; }
  .nav--open .nav-mobile { max-height: 390px; opacity: 1; pointer-events: auto; }
}
@media (max-width: 560px){
  .nav-inner { height: 64px; }
  .nav-login { display: none; }
  .nav-cta { gap: 10px; }
  .nav .nav-cta > .btn-primary { display: none; }
  .nav-mobile-actions .btn-primary { flex: 1; }
}

/* ---------- HERO ---------- */
.hero { padding: 150px 0 70px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.04fr 1fr; gap: 56px; align-items: start; }
.hero-h1 { font-size: clamp(42px, 6.4vw, 80px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; margin-top: 26px; }
.hero-h1 .hl { position: relative; white-space: nowrap; }
.hero-h1 .hl::after {
  content: ""; position: absolute; left: 0; right: -0.02em; bottom: 0.16em; height: 0.11em;
  background: var(--accent); border-radius: 3px; box-shadow: 0 0 18px var(--accent-glow);
}
.hero-sub { margin-top: 26px; font-size: clamp(17px, 1.9vw, 20px); color: var(--text-dim); max-width: 480px; line-height: 1.55; }

/* kinetic "we ship → [word]" line */
.hero-ship {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; background: var(--bg-1);
  width: fit-content;
}
.hero-ship svg { color: var(--text-faint); }
.ship-pre { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }
.rot { position: relative; display: inline-block; height: 1.4em; overflow: hidden; vertical-align: bottom; }
.rot-track { display: flex; flex-direction: column; transition: transform .55s var(--ease); }
.rot-line { height: 1.4em; line-height: 1.4em; font-size: 15px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.ship-cur { width: 8px; height: 17px; background: var(--accent); border-radius: 1px; animation: blink 1.05s steps(1) infinite; box-shadow: 0 0 10px var(--accent-glow); }
@keyframes blink { 0%,50%{ opacity:1 } 51%,100%{ opacity:0 } }

.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* compact facts strip */
.hero-facts { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--text-faint); }
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts span svg { color: var(--accent); }
.hf-div { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
@media (max-width: 480px){ .hf-div { display: none; } }
.hero-replaces .hr-label { color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.hero-replaces span svg { color: var(--accent); }
.hero-replaces > span:not(.hr-label) { color: var(--text-dim); white-space: nowrap; }
@media (max-width: 940px){
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: 2; }
}

/* ---------- HERO QUEUE ---------- */
.hq { padding: 0; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8); }
.hq-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-1); }
.hq-dots { display: flex; gap: 6px; }
.hq-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.hq-title { color: var(--text-faint); font-size: 12.5px; margin-left: 4px; }
.hq-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-dim); font-family: 'Geist Mono', monospace; }
.hq-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.35 } }
.hq-rows { padding: 8px; }
.hq-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 13px 12px; border-radius: 12px; transition: background .3s; }
.hq-row:hover { background: var(--bg-1); }
.hq-check { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--accent); }
.hq-s2 .hq-check { background: var(--accent-soft); border-color: var(--accent-line); }
.hq-queued { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); }
.hq-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--accent-line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hq-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hq-task { font-size: 14px; font-weight: 450; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.hq-s2 .hq-task { color: var(--text-dim); }
.hq-cat { font-size: 11px; color: var(--text-faint); }
.hq-meta { display: flex; align-items: center; gap: 12px; }
.hq-stage { font-size: 11px; font-weight: 500; padding: 4px 9px; border-radius: 100px; border: 1px solid var(--line); color: var(--text-dim); white-space: nowrap; }
.hq-stage-1 { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.hq-stage-2 { color: var(--text-faint); }
.hq-credits { font-size: 11.5px; color: var(--text-faint); }
.hq-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--bg-1); font-size: 12.5px; color: var(--text-dim); }
.hq-add { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 500; white-space: nowrap; }

/* ---------- PROBLEM ---------- */
.chaos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.chaos-card { padding: 26px 24px; transition: transform .25s var(--ease), border-color .25s; }
.chaos-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.chaos-k { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.chaos-l { margin-top: 12px; font-size: 15px; color: var(--text); }
.chaos-note { margin-top: 7px; font-size: 13px; color: var(--text-faint); line-height: 1.4; }
@media (max-width: 860px){ .chaos-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .chaos-grid { grid-template-columns: 1fr; } }

.pain-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pain { display: inline-flex; align-items: center; gap: 11px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 100px; background: var(--bg-1); font-size: 14.5px; color: var(--text-dim); }
.pain-x { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,90,90,0.10); color: #ff7a7a; flex: none; }

/* ---------- SOLUTION ---------- */
.sol { background: linear-gradient(180deg, transparent, var(--bg-1) 30%, transparent); }
.sol-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.sol-copy h2 { font-size: clamp(32px,4.4vw,52px); margin-top: 22px; }
.sol-copy p { margin-top: 18px; color: var(--text-dim); font-size: 18px; max-width: 420px; }
.sol-three { display: flex; flex-direction: column; gap: 14px; }
.sol-card { display: flex; align-items: center; gap: 20px; padding: 24px 26px; position: relative; transition: transform .25s var(--ease), border-color .25s; }
.sol-card:hover { transform: translateX(6px); border-color: var(--accent-line); }
.sol-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); flex: none; }
.sol-card-body h3 { font-size: 19px; }
.sol-card-body p { margin-top: 6px; color: var(--text-dim); font-size: 14.5px; }
.sol-num { margin-left: auto; color: var(--text-faint); font-size: 13px; align-self: flex-start; }
@media (max-width: 860px){ .sol-grid { grid-template-columns: 1fr; gap: 40px; } }
