/* NotarTech Custom Styling & Design System */
:root {
  --color-primary-navy: #092B47;
  --color-navy-dark: #051929;
  --color-navy-light: #123C60;
  --color-tech-teal: #00A297;
  --color-teal-glow: #00C8BA;
  --color-teal-light: #E6F7F6;
  --color-teal-dark: #007D75;
  --color-slate-bg: #F8FAFC;
  --color-card-border: rgba(9, 43, 71, 0.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #00A297;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #007D75;
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(9, 43, 71, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(9, 43, 71, 0.08);
  box-shadow: 0 10px 30px -10px rgba(9, 43, 71, 0.06);
}

.glass-dark {
  background: rgba(9, 43, 71, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 162, 151, 0.2);
}

/* Glowing tech gradient border */
.tech-border-glow {
  position: relative;
}
.tech-border-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, #00A297, #092B47, #00C8BA);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}
.tech-border-glow:hover::before {
  opacity: 0.85;
}

/* Ambient glow */
.ambient-glow-teal {
  position: absolute;
  filter: blur(100px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 162, 151, 0.22) 0%, rgba(0, 162, 151, 0) 70%);
}

.ambient-glow-navy {
  position: absolute;
  filter: blur(120px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(9, 43, 71, 0.15) 0%, rgba(9, 43, 71, 0) 70%);
}

/* Circuit background pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(9, 43, 71, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 43, 71, 0.04) 1px, transparent 1px);
}

.bg-circuit-dark {
  background-color: #051929;
  background-image: 
    radial-gradient(rgba(0, 162, 151, 0.15) 1px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px, 32px 32px;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseSubtle {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes typingShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s ease-in-out infinite;
}

/* Shimmer badge */
.badge-shimmer {
  background: linear-gradient(90deg, rgba(0,162,151,0.1) 0%, rgba(0,200,186,0.25) 50%, rgba(0,162,151,0.1) 100%);
  background-size: 200% 100%;
  animation: typingShimmer 4s infinite linear;
}

/* Tab active state transitions */
.pillar-tab {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar-tab.active {
  background: #092B47;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(9, 43, 71, 0.25);
}
.pillar-tab.active .pillar-indicator {
  background: #00A297;
}

/* Custom Checkmark list */
.legal-bullet {
  position: relative;
  padding-left: 1.75rem;
}
.legal-bullet::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #00A297;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Range input custom styling for ROI calculator */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #E2E8F0;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00A297;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 162, 151, 0.4);
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00A297;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 162, 151, 0.4);
}
