/* ==========================================================================
   ai-your-app.com — Official Brand Stylesheet
   Color Tokens (Visibly brighter medium-slate theme - elegant twilight, not pitch black):
   - Background Base: #232F3E
   - Panel / Shell: #2A384A
   - Recessed Tiles: #1E2A38
   - Inner Cards: #253446
   - Borders: #43556D / #475569
   - Cobalt Trust (Logic / Primary): #1D4ED8
   - Electric Cyan (AI Accent): #06B6D4
   - Sky Blue (Highlights / Strokes): #38BDF8
   - Light Slate (Light BG): #F8FAFC
   - Muted Slate: #94A3B8
   - Compliance Emerald: #10B981
   ========================================================================== */

:root {
  --brand-navy: #232F3E;
  --brand-panel: #2A384A;
  --brand-tile: #1E2A38;
  --brand-cobalt: #1D4ED8;
  --brand-cyan: #06B6D4;
  --brand-sky: #38BDF8;
  --brand-light: #F8FAFC;
  --brand-slate: #94A3B8;
  --brand-emerald: #10B981;
  --master-gradient: linear-gradient(135deg, #1D4ED8 0%, #06B6D4 100%);
}

html {
  scroll-behavior: smooth;
  background-color: #232F3E;
  color: #F8FAFC;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: #232F3E;
}

.font-mono-code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Master Brand Gradient Utilities */
.bg-master-gradient {
  background: linear-gradient(135deg, #1D4ED8 0%, #06B6D4 100%);
}

.text-master-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle architectural grid backdrop */
.bg-engineering-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(203, 213, 225, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(203, 213, 225, 0.08) 1px, transparent 1px);
}

.bg-engineering-grid-light {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

/* Isometric tier hover animations */
.iso-layer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.iso-stack:hover .iso-layer-top {
  transform: translateY(-5px);
  filter: drop-shadow(0 8px 16px rgba(6, 182, 212, 0.28));
}

.iso-stack:hover .iso-layer-mid {
  transform: translateY(-2px);
}

.iso-stack:hover .iso-layer-bot {
  transform: translateY(3px);
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #38BDF8;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #232F3E;
}
::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748B;
}
