/* DizaSoft Enterprise Platform & Interactive Animation Styles (v2026.11) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --diza-ink: #14243A;
  --diza-primary: #245BDB;
  --diza-secondary: #0E8C88;
  --diza-bg: #F7F9FC;
  --diza-border: #E3E9F1;
  --diza-surface: #FFFFFF;
  --diza-primary-hover: #1D4ED8;
  --diza-radius-sm: 0.5rem;
  --diza-radius-md: 0.75rem;
  --diza-radius-lg: 1rem;
  --diza-radius-xl: 1.5rem;
  --diza-shadow-sm: 0 2px 6px -1px rgba(20, 36, 58, 0.05);
  --diza-shadow-md: 0 12px 24px -6px rgba(20, 36, 58, 0.10);
  --diza-shadow-lg: 0 20px 40px -10px rgba(20, 36, 58, 0.14);
}

img[width][height] {
  height: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--diza-ink);
  background-color: var(--diza-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.font-mono-num {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

/* Glass Navigation & Cards */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(227, 233, 241, 0.95);
  box-shadow: 0 20px 40px -10px rgba(20, 36, 58, 0.14), 0 6px 14px -3px rgba(20, 36, 58, 0.06);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Animated Hero & Mesh Gradients */
.hero-gradient {
  background-color: #F7F9FC;
  background-image:
    radial-gradient(at 12% 12%, rgba(36, 91, 219, 0.13) 0px, transparent 52%),
    radial-gradient(at 88% 18%, rgba(14, 140, 136, 0.14) 0px, transparent 52%),
    radial-gradient(at 50% 88%, rgba(99, 102, 241, 0.08) 0px, transparent 55%);
  position: relative;
}

.hero-mesh {
  background-image:
    linear-gradient(to right, rgba(227, 233, 241, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(227, 233, 241, 0.55) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Aurora Floating Blobs */
@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(28px, -18px) scale(1.06); }
  66% { transform: translate(-20px, 16px) scale(0.95); }
}

.animate-aurora {
  animation: aurora-drift 12s ease-in-out infinite;
}

.animate-aurora-delayed {
  animation: aurora-drift 15s ease-in-out 3s infinite reverse;
}

/* Floating Badges */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}
@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(9px); }
}
.animate-float-slow {
  animation: float-slow 4.5s ease-in-out infinite;
}
.animate-float-delayed {
  animation: float-delayed 5.5s ease-in-out 1.2s infinite;
}

/* Scroll Reveal Animations */
.reveal-up,
.reveal-scale,
.reveal-left,
.reveal-right {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up { transform: translateY(28px); }
.reveal-scale { transform: scale(0.95) translateY(16px); }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }

.reveal-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

.delay-100 { transition-delay: 90ms; }
.delay-200 { transition-delay: 180ms; }
.delay-300 { transition-delay: 270ms; }
.delay-400 { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-scale, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Spotlight & 3D Hover Cards */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(36, 91, 219, 0.08),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(36, 91, 219, 0.55);
  box-shadow: 0 22px 44px -12px rgba(20, 36, 58, 0.14), 0 8px 18px -6px rgba(36, 91, 219, 0.1);
}

/* Animated Shimmer Badge */
@keyframes shimmer-sweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-badge {
  background: linear-gradient(90deg, rgba(36,91,219,0.08) 0%, rgba(14,140,136,0.18) 50%, rgba(36,91,219,0.08) 100%);
  background-size: 200% 100%;
  animation: shimmer-sweep 6s linear infinite;
}

/* Animated Data Pipeline Flow Beam */
@keyframes beam-flow {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@keyframes pulse-packet {
  0% { left: -10%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

.pipeline-line {
  position: relative;
  height: 3px;
  background: rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.pipeline-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #245BDB, #0E8C88, transparent);
  animation: pulse-packet 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Infinite Marquee Logo Strip */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  background: #ffffff;
  border: 1px solid #E3E9F1;
  border-radius: 1rem;
  box-shadow: 0 2px 6px -1px rgba(20, 36, 58, 0.04);
  transition: all 0.25s ease;
  height: 48px;
  flex-shrink: 0;
}

.logo-pill:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #245BDB;
  box-shadow: 0 10px 20px -4px rgba(36, 91, 219, 0.15);
}

.logo-pill img {
  height: 24px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

/* Module & Preset Cards */
.module-card {
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -6px rgba(20, 36, 58, 0.09), 0 8px 12px -6px rgba(36, 91, 219, 0.06);
}

.preset-btn {
  transition: all 0.22s ease;
}
.preset-btn:hover {
  transform: translateY(-2px);
  border-color: #245BDB;
}

.mod-check:checked + div .font-bold {
  color: var(--diza-primary);
}

/* Animated Progress Bar Fill */
@keyframes progress-grow {
  from { width: 0%; }
}
.animate-progress {
  animation: progress-grow 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Print Styles */
@media print {
  header, footer, #btnCommandModal, .no-print {
    display: none !important;
  }
}
