/* ==========================================================================
   NST ADVISORY - Tech-Forward Impeccable Design System & Motion Tokens
   High-Tech Institutional Finance Archetype | Dark Navy, Electric Blue & Cyan
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand Palettes */
  --color-navy-950: #030712;
  --color-navy-900: #081225;
  --color-navy-850: #0c1a36;
  --color-navy-800: #102447;
  --color-navy-700: #17366b;

  --color-blue-600: #2563eb;
  --color-blue-500: #3b82f6;
  --color-cyan-400: #38bdf8;
  --color-cyan-300: #7dd3fc;
  --color-emerald-400: #34d399;

  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Motion Timing & Easing */
  --ease-corporate: cubic-bezier(0.2, 0.0, 0.0, 1.0);
  --ease-premium: cubic-bezier(0.4, 0.0, 0.2, 1.0);

  --duration-interaction: 200ms;
  --duration-card: 300ms;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-slate-50);
  color: var(--color-slate-900);
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Browser Surface: Selection */
::selection {
  background-color: #0284c7;
  color: #ffffff;
}

/* Browser Surface: Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #081225;
}

::-webkit-scrollbar-thumb {
  background: #1e3a8a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--color-cyan-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* High-Tech Shadow & Glow System */
.shadow-soft {
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 10px 20px -5px rgba(15, 23, 42, 0.03);
}

.shadow-tech-glow {
  box-shadow: 0 0 50px -10px rgba(56, 189, 248, 0.2), 0 0 20px -5px rgba(37, 99, 235, 0.25);
}

.shadow-card-dark {
  box-shadow: 0 20px 40px -15px rgba(3, 7, 18, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Tech Grids & Neon Micro-Lines */
.bg-grid-tech {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
}

.bg-grid-tech-light {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
}

.bg-dot-matrix {
  background-size: 24px 24px;
  background-image: radial-gradient(rgba(56, 189, 248, 0.15) 1px, transparent 1px);
}

.gradient-radial-blue {
  background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.18) 0%, rgba(3, 7, 18, 0) 70%);
}

/* Interactive Card & Lift */
.hover-card-lift {
  transition: transform 200ms var(--ease-corporate),
              box-shadow 200ms var(--ease-corporate),
              border-color 200ms var(--ease-corporate);
  will-change: transform, box-shadow;
}

.hover-card-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}

.hover-tech-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px -5px rgba(56, 189, 248, 0.25), 0 20px 30px -10px rgba(3, 7, 18, 0.8);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Buttons */
.btn-primary {
  background-color: var(--color-blue-600);
  color: #ffffff;
  transition: all 150ms var(--ease-corporate);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0.5px) scale(0.99);
}

.btn-tech-outline {
  background: rgba(8, 18, 37, 0.8);
  color: var(--color-cyan-300);
  border: 1px solid rgba(56, 189, 248, 0.3);
  transition: all 150ms var(--ease-corporate);
}

.btn-tech-outline:hover {
  background: rgba(16, 36, 71, 0.9);
  border-color: var(--color-cyan-400);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

/* Reveal On Scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 350ms var(--ease-corporate), transform 350ms var(--ease-corporate);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-50 { transition-delay: 50ms; }
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }

/* Interactive Hotspots for Banner */
.banner-hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 20;
}

.banner-hotspot-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 15px #38bdf8;
  animation: pulsePin 2.5s infinite;
}

@keyframes pulsePin {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* Hero Banner Slider Styles */
.hero-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-slide {
  transition: opacity 400ms cubic-bezier(0.2, 0, 0, 1), transform 400ms cubic-bezier(0.2, 0, 0, 1);
}

.slider-dot {
  transition: all 250ms ease;
}

.slider-dot.active {
  width: 28px;
  background-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .banner-hotspot-pin {
    animation: none !important;
  }
}
