/* ============================================
   SECURITY BOX - GLOBAL STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
}

/* Background grid effect */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(204, 27, 27, 0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(204, 27, 27, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: var(--z-bg-grid);
}

/* Scan line effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: scan 5s linear infinite;
  z-index: var(--z-scan);
  pointer-events: none;
}

@keyframes scan {
  from { top: 0; }
  to { top: 100vh; }
}

/* Page visibility */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
}

a {
  color: inherit;
  transition: color 0.3s ease;
}

button {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Utilities */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-2xl);
}

/* Smooth transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease;
}