/* Global dark-tech theme variables and background helpers */

:root {
  --color-bg-main: #05070b;
  --color-bg-alt: #020617;
  --color-surface: #0b1120;
  --color-border-subtle: #1f2937;
  /* Palette B: cool white + purple-focused tech theme */
  --color-text-primary: #f9fafb;
  --color-text-secondary: #9ca3af;
  --color-accent: #a855f7;
  --color-accent-soft: #6366f1;
  --color-accent-strong: #e11d48;
}

body {
  /* Replace background image with a layered dark-tech gradient */
  background:
    radial-gradient(circle at 0% 0%, #1f2937 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #0f172a 0, transparent 55%),
    radial-gradient(circle at 50% 0%, #111827 0, #020617 45%, #020308 100%);
  background-attachment: fixed;
  color: var(--color-text-primary);
}

.bg-tech-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#11182733 1px, transparent 1px),
    linear-gradient(90deg, #11182733 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  z-index: -1;
}

.surface-card {
  background-color: rgba(15, 23, 42, 0.96);
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.surface-panel {
  background-color: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  border: 1px solid var(--color-border-subtle);
}

.accent-text {
  color: var(--color-accent);
}

.muted-text {
  color: var(--color-text-secondary);
}

.btn-pill {
  border-radius: 999px;
  border: 1px solid var(--color-border-subtle);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  color: var(--color-text-primary);
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.btn-pill:hover {
  border-color: var(--color-accent-soft);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2), 0 10px 26px rgba(8, 47, 73, 0.65);
  transform: translateY(-1px);
}

.btn-pill:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.7);
}
