/* Nexora AI Systems - Dark Enterprise AI Theme */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Selection */
::selection { background: #2563EB; color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #06060A; }
::-webkit-scrollbar-thumb { background: #12121E; border-radius: 3px; }

/* Responsive typography scale */
body { font-size: 16px; }

/* Responsive sections */
@media (max-width: 768px) {
  .hero { padding-top: 120px !important; }
  .container { padding: 0 16px !important; }
  h2 { font-size: 28px !important; }
}

/* Stats grid responsive */
@media (max-width: 900px) {
  [style*="grid-template-columns:repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Platform grid responsive */
@media (max-width: 768px) {
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
}

/* Nav blur */
nav { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* Animate fade-in for sections */
section { opacity: 0; animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger sections */
section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }

/* Demo request modal */
.demo-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.demo-modal[open] { animation: none; }
.demo-modal[open]::backdrop { animation: fadeIn 0.2s ease; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.demo-modal-inner .hidden { display: none; }
@media (max-width: 540px) {
  .demo-modal-inner { padding: 28px 24px !important; }
}
