/* GovTech Audio command center — bespoke flair on top of departments.css */

.gta-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 34px 34px 30px;
  margin-bottom: 22px;
  background:
    radial-gradient(1200px 400px at 15% -20%, rgba(249, 115, 22, 0.22), transparent 60%),
    radial-gradient(900px 500px at 100% 120%, rgba(139, 92, 246, 0.20), transparent 55%),
    linear-gradient(135deg, #0b1120 0%, #131b2e 55%, #1a1327 100%);
  border: 1px solid rgba(249, 115, 22, 0.28);
  box-shadow: 0 20px 60px -30px rgba(249, 115, 22, 0.5);
}
.gta-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 600px at 85% 10%, rgba(56, 189, 248, 0.10), transparent 70%);
  pointer-events: none;
}
.gta-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.gta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fdba74; margin-bottom: 14px;
}
.gta-eyebrow .gta-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); animation: gtaPulse 2s infinite;
}
.gta-eyebrow.offline .gta-live-dot { background: #f43f5e; animation: none; }
@keyframes gtaPulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.gta-hero h1 {
  font-size: 40px; line-height: 1.05; font-weight: 800; margin: 0 0 12px;
  color: #f8fafc; letter-spacing: -0.02em;
}
.gta-hero h1 .gta-grad {
  background: linear-gradient(90deg, #fb923c, #f59e0b 40%, #38bdf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gta-hero-tag { font-size: 16px; color: #cbd5e1; line-height: 1.6; margin-bottom: 20px; }
.gta-hero-tag strong { color: #f8fafc; }
.gta-hero-facts { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 22px; }
.gta-fact-num { font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }
.gta-fact-label { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; }
.gta-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gta-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 9px;
  border: 1px solid transparent; transition: all .15s;
}
.gta-btn-primary { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }
.gta-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gta-btn-ghost { background: rgba(255,255,255,0.06); color: #e2e8f0; border-color: rgba(255,255,255,0.14); }
.gta-btn-ghost:hover { background: rgba(255,255,255,0.12); }
.gta-conn-pill {
  font-size: 11px; padding: 5px 11px; border-radius: 999px; font-weight: 600;
  background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3);
}
.gta-conn-pill.off { background: rgba(244,63,94,0.15); color: #fb7185; border-color: rgba(244,63,94,0.3); }

/* Animated equalizer in the hero corner */
.gta-eq { position: absolute; right: 34px; bottom: 26px; display: flex; gap: 5px; align-items: flex-end; height: 66px; z-index: 2; opacity: .85; }
.gta-eq span {
  width: 6px; border-radius: 3px; background: linear-gradient(180deg, #38bdf8, #f97316);
  animation: gtaEq 1.1s ease-in-out infinite;
}
.gta-eq span:nth-child(1){ animation-delay: 0s; height: 30%; }
.gta-eq span:nth-child(2){ animation-delay: .15s; height: 70%; }
.gta-eq span:nth-child(3){ animation-delay: .3s; height: 45%; }
.gta-eq span:nth-child(4){ animation-delay: .45s; height: 90%; }
.gta-eq span:nth-child(5){ animation-delay: .6s; height: 55%; }
.gta-eq span:nth-child(6){ animation-delay: .75s; height: 80%; }
.gta-eq span:nth-child(7){ animation-delay: .9s; height: 35%; }
@keyframes gtaEq { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.gta-eq.paused span { animation-play-state: paused; }
@media (max-width: 720px) { .gta-eq { display: none; } .gta-hero h1 { font-size: 30px; } }

/* The Refinery flow */
.gta-flow { display: flex; gap: 12px; flex-wrap: wrap; }
.gta-flow-step {
  flex: 1 1 150px; background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; position: relative;
}
.gta-flow-step .gta-flow-num { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.gta-flow-step h4 { margin: 6px 0 4px; font-size: 15px; color: var(--text-primary); }
.gta-flow-step p { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Product coverage grid */
.gta-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.gta-product-card {
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 12px;
  padding: 15px; display: flex; gap: 12px; align-items: flex-start; transition: all .15s;
}
.gta-product-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.gta-product-ico {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 15px;
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.gta-product-card.premium .gta-product-ico { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.gta-product-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.gta-product-desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.45; margin: 3px 0 6px; }
.gta-product-count { font-size: 12px; font-weight: 700; color: var(--accent); }
.gta-product-count.zero { color: var(--text-muted); font-weight: 500; }

/* Signal cards */
.gta-signal-subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.gta-subtab {
  font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: var(--bg-secondary); border: 1px solid var(--border); color: var(--text-muted);
}
.gta-subtab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.gta-signal-card {
  background: var(--bg-secondary); border: 1px solid var(--border); border-left-width: 3px;
  border-radius: 10px; padding: 15px 16px; margin-bottom: 11px;
}
.gta-signal-card.u-hot { border-left-color: #f43f5e; }
.gta-signal-card.u-warm { border-left-color: #f59e0b; }
.gta-signal-card.u-cool { border-left-color: #38bdf8; }
.gta-signal-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.gta-signal-who { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.gta-signal-agency { font-size: 12px; color: var(--text-muted); }
.gta-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.gta-badge.hot { background: rgba(244,63,94,0.15); color: #fb7185; }
.gta-badge.warm { background: rgba(245,158,11,0.15); color: #fbbf24; }
.gta-badge.cool { background: rgba(56,189,248,0.15); color: #7dd3fc; }
.gta-badge.pos { background: rgba(34,197,94,0.15); color: #4ade80; }
.gta-badge.neg { background: rgba(244,63,94,0.15); color: #fb7185; }
.gta-badge.neu { background: rgba(148,163,184,0.15); color: #cbd5e1; }
.gta-signal-quote {
  font-style: italic; font-size: 13px; color: var(--text-primary); line-height: 1.55;
  padding-left: 12px; border-left: 2px solid var(--border-light); margin: 8px 0;
}
.gta-signal-meta { font-size: 11.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.gta-signal-meta .gta-chip { background: var(--bg-primary); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; }
.gta-signal-action { font-size: 12.5px; color: var(--text-primary); margin-top: 8px; }
.gta-signal-action strong { color: var(--accent); }

/* Vendor leaderboard */
.gta-vendor-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.gta-vendor-bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg,#f97316,#38bdf8); }

/* Session drawer */
.gta-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1000; display: none; }
.gta-drawer-overlay.open { display: block; }
.gta-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(760px, 96vw); z-index: 1001;
  background: var(--bg-primary); border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.6); transform: translateX(100%);
  transition: transform .22s ease; display: flex; flex-direction: column;
}
.gta-drawer.open { transform: translateX(0); }
.gta-drawer-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.gta-drawer-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.gta-drawer-close { background: none; border: none; color: var(--text-muted); font-size: 22px; cursor: pointer; line-height: 1; }
.gta-drawer-close:hover { color: var(--text-primary); }
.gta-dsection { margin-bottom: 20px; }
.gta-dsection h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 8px; }
.gta-transcript { white-space: pre-wrap; font-size: 12.5px; line-height: 1.65; color: var(--text-secondary); max-height: 340px; overflow-y: auto; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.gta-prod-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gta-prod-chip { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(249,115,22,.12); color: #fdba74; border: 1px solid rgba(249,115,22,.25); cursor: pointer; }
.gta-prod-chip.active { background: var(--accent); color: #fff; }
.gta-json { font-size: 12.5px; line-height: 1.6; }
.gta-json .k { color: var(--accent); font-weight: 600; text-transform: capitalize; }
.gta-json .arr-item { padding: 10px 12px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 7px; }
.gta-sf-pill { font-size: 10.5px; padding: 2px 8px; border-radius: 6px; background: rgba(59,130,246,.15); color: #93c5fd; font-family: ui-monospace, monospace; }

.gta-empty { text-align: center; padding: 46px 20px; color: var(--text-muted); }
.gta-empty svg { width: 44px; height: 44px; opacity: .4; margin-bottom: 12px; }

/* ── Ask the library ─────────────────────────────────────────────────────── */
.gta-ask {
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 22px;
  background:
    radial-gradient(700px 260px at 8% -40%, rgba(139, 92, 246, 0.16), transparent 60%),
    linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid rgba(139, 92, 246, 0.30);
}
.gta-ask-head { margin-bottom: 12px; }
.gta-ask-title { font-size: 15px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 8px; }
.gta-ask-title i { color: #a78bfa; }
.gta-ask-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }
.gta-ask-sub em { color: var(--text-secondary); font-style: italic; }
.gta-ask-bar { display: flex; gap: 10px; align-items: center; }
.gta-ask-bar input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-primary);
  color: var(--text-primary); font-size: 14px;
}
.gta-ask-bar input:focus { outline: none; border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.gta-ask-result { margin-top: 16px; }
.gta-ask-loading { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; }
.gta-ask-loading span { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; animation: gtaBlink 1.2s infinite both; }
.gta-ask-loading span:nth-child(2) { animation-delay: .2s; }
.gta-ask-loading span:nth-child(3) { animation-delay: .4s; }
@keyframes gtaBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.gta-ask-empty { color: var(--text-muted); font-size: 13px; padding: 8px 0; }
.gta-ask-degraded { font-size: 12px; color: #fbbf24; margin-bottom: 10px; }
.gta-ask-degraded code { font-family: ui-monospace, monospace; font-size: 11px; }
.gta-ask-answer {
  font-size: 14px; line-height: 1.7; color: var(--text-primary);
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
}
.gta-cite-ref { color: #a78bfa; font-weight: 700; cursor: pointer; text-decoration: none; padding: 0 1px; }
.gta-cite-ref:hover { text-decoration: underline; }
.gta-ask-sources { margin-top: 14px; }
.gta-ask-sources-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 8px; }
.gta-cite-card { padding: 11px 13px; border-radius: 10px; background: var(--bg-secondary); border: 1px solid var(--border); margin-bottom: 8px; cursor: pointer; transition: border-color .15s; }
.gta-cite-card:hover { border-color: #a78bfa; }
.gta-cite-top { display: flex; align-items: center; gap: 8px; }
.gta-cite-n { width: 20px; height: 20px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(139,92,246,.18); color: #a78bfa; font-size: 11px; font-weight: 700; }
.gta-cite-title { font-size: 13px; font-weight: 600; color: var(--text-primary); flex: 1; }
.gta-cite-sim { font-size: 10.5px; color: var(--text-muted); font-family: ui-monospace, monospace; }
.gta-cite-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.gta-cite-snip { font-size: 12px; color: var(--text-secondary); margin-top: 6px; line-height: 1.55; }
