/**
 * SoundSeeker Geo Soft-Banner styles — DRAFT, not deployed.
 *
 * Mirrors the cookie-consent banner pattern (ss-cc-*) with an ss-geo-* prefix so
 * the two never collide. Self-contained tokens with sensible defaults; the landing
 * theme (global.css :root) can override --ss-geo-* if we want exact brand parity.
 *
 * Placement: top banner (not bottom) so it does not stack on top of the bottom-left
 * cookie banner / bottom-right cookie FAB. A CN-IP visitor may see BOTH the cookie
 * banner (bottom) and this region banner (top) on first load — intentional, they
 * don't overlap.
 */

#ss-geo-banner {
  /* tokens — defaults align with landing-ai global.css dark canvas; overridable */
  --ss-geo-bg: #10141C;          /* var(--surface) */
  --ss-geo-fg: #EAF0FA;          /* var(--text) */
  --ss-geo-muted: #9BA7BE;       /* var(--text-muted) */
  --ss-geo-border: #232A36;      /* var(--border) */
  --ss-geo-accent: #5E9EFF;      /* var(--accent) */
  --ss-geo-accent-fg: #06080D;   /* var(--bg) */
  --ss-geo-radius: 12px;
  --ss-geo-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --ss-geo-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 720px;
  z-index: 2147482000; /* above content, below the cookie banner's higher z so cookie wins if forced to overlap */
  box-sizing: border-box;

  background: var(--ss-geo-bg);
  color: var(--ss-geo-fg);
  border: 1px solid var(--ss-geo-border);
  border-radius: var(--ss-geo-radius);
  box-shadow: var(--ss-geo-shadow);
  font-family: var(--ss-geo-font);

  animation: ss-geo-slide-in 0.28s ease-out;
}

@keyframes ss-geo-slide-in {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

#ss-geo-banner * { box-sizing: border-box; }

.ss-geo-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
}

.ss-geo-text { flex: 1 1 auto; min-width: 0; }

.ss-geo-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ss-geo-fg);
}

.ss-geo-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ss-geo-muted);
}

.ss-geo-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ss-geo-btn {
  appearance: none;
  border: 1px solid var(--ss-geo-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.ss-geo-btn-secondary {
  background: transparent;
  color: var(--ss-geo-fg);
}
.ss-geo-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--ss-geo-muted);
}

.ss-geo-btn-primary {
  background: var(--ss-geo-accent);
  color: var(--ss-geo-accent-fg);
  border-color: var(--ss-geo-accent);
}
.ss-geo-btn-primary:hover { opacity: 0.9; }

.ss-geo-btn:focus-visible {
  outline: 2px solid var(--ss-geo-accent);
  outline-offset: 2px;
}

/* mobile: stack text over actions, banner spans full width near the top */
@media (max-width: 560px) {
  #ss-geo-banner { top: 8px; width: calc(100% - 16px); }
  .ss-geo-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .ss-geo-actions { width: 100%; }
  .ss-geo-btn { flex: 1 1 0; text-align: center; }
}

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #ss-geo-banner { animation: none; }
}
