/* DeadStock AI - Exact Nexagrid Dark Tech Aesthetic & Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary-cyan: #3BE5D0;
  --primary-cyan-hover: #2ec4b1;
  --primary-cyan-glow: rgba(59, 229, 208, 0.25);
  --dark-void: #07090E;
  --dark-surface: #0C1019;
  --dark-card: #0F1523;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(59, 229, 208, 0.4);
}

* {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

code, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

body {
  background-color: var(--dark-void);
  color: #F1F5F9;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07090E;
}
::-webkit-scrollbar-thumb {
  background: #1E2738;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2D3A50;
}

/* Subtle Vertical Column Guidelines (Exact match to Nexagrid background) */
.bg-vertical-lines {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px
  );
  background-size: clamp(80px, 12.5vw, 160px) 100%;
}

/* Center Glow behind hero */
.hero-glow-radial {
  background: radial-gradient(
    ellipse 60% 40% at 50% 25%,
    rgba(59, 229, 208, 0.08) 0%,
    rgba(14, 21, 35, 0.4) 60%,
    transparent 100%
  );
}

/* Nexagrid Pill Badge */
.nexagrid-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(12, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
  transition: all 0.3s ease;
}

.nexagrid-pill:hover {
  border-color: rgba(59, 229, 208, 0.4);
  color: #E2E8F0;
}

/* Nexagrid Primary CTA Button */
.btn-nexagrid-primary {
  background-color: #3BE5D0;
  color: #07090E;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 28px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
}

.btn-nexagrid-primary:hover {
  background-color: #5ff0dd;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -5px rgba(59, 229, 208, 0.3);
}

/* Nexagrid Secondary Glass Button */
.btn-nexagrid-secondary {
  background: rgba(14, 20, 32, 0.75);
  color: #F8FAFC;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
  backdrop-filter: blur(12px);
}

.btn-nexagrid-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(20, 28, 45, 0.9);
  transform: translateY(-1px);
}

/* Radio circle bullets */
.trust-bullet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #94A3B8;
}

.trust-bullet-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #64748B;
  display: inline-block;
  flex-shrink: 0;
}

/* Workspace Frame */
.workspace-container {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

.workspace-sidebar {
  background: #080B12;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.workspace-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(11, 15, 25, 0.95);
}

.workspace-active-pill {
  background: rgba(59, 229, 208, 0.08);
  border: 1px solid rgba(59, 229, 208, 0.25);
  color: #3BE5D0;
}

/* Custom Range Input */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: #1A2233;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

input[type=range]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #3BE5D0;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 0 12px rgba(59, 229, 208, 0.6);
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Tab active styles */
.feature-tab-btn.active {
  background: rgba(59, 229, 208, 0.1);
  border-color: #3BE5D0;
  color: #3BE5D0;
}

/* Modal transition */
.modal-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.hidden-modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal-overlay.active-modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
