/* ========================================
   RUNDONE — BRUTALIST DESIGN SYSTEM
   ======================================== */

/* ========================================
   FONTS
   ======================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
  /* PRIMARY — Teal */
  --primary: #14b8a6;
  --primary-text: #0f766e;
  --primary-btn: #0f766e;
  --primary-80: rgba(20, 184, 166, 0.8);
  --primary-60: rgba(20, 184, 166, 0.6);
  --primary-40: rgba(20, 184, 166, 0.4);
  --primary-30: rgba(20, 184, 166, 0.3);
  --primary-20: rgba(20, 184, 166, 0.2);
  --primary-10: rgba(20, 184, 166, 0.1);
  --primary-hover: #115e59;
  --primary-active: #0f766e;

  /* SECONDARY — Coral */
  --secondary: #f43f5e;
  --secondary-light: #fb7185;

  /* ACCENT — Amber */
  --accent: #f59e0b;
  --accent-hover: #d97706;

  /* BACKGROUNDS */
  --bg-base: #fafaf9;
  --bg-surface: #ffffff;
  --bg-elevated: #f5f5f4;
  --bg-panel: rgba(245, 245, 244, 0.9);
  --bg-dark: #191919;

  /* TEXT — WCAG AA compliant */
  --text-primary: #1c1917;
  --text-secondary: #78716c;
  --text-muted: #737373;
  --text-on-primary: #ffffff;

  /* BORDERS */
  --border-default: #e7e5e4;
  --border-strong: #d6d3d1;
  --border-muted: #78716c;
  --border-focus: var(--primary);

  /* STATUS */
  --status-success: #10b981;
  --status-success-text: #047857;
  --status-warning: #f59e0b;
  --status-warning-text: #b45309;
  --status-error: #ef4444;
  --status-error-text: #dc2626;
  --status-info: #3b82f6;
  --status-info-text: #2563eb;

  /* EFFECTS */
  --glow-soft: 0 0 10px rgba(20, 184, 166, 0.3);
  --glow-medium: 0 0 20px rgba(20, 184, 166, 0.5);
  --glow-strong: 0 0 30px rgba(20, 184, 166, 0.7);
  --box-glow: 0 0 20px rgba(20, 184, 166, 0.3);
  --text-glow-soft: 0 0 10px rgba(20, 184, 166, 0.5);
  --text-glow-medium: 0 0 20px rgba(20, 184, 166, 0.7);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

  /* TYPOGRAPHY */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* TYPE SCALE */
  --text-display: 96px;
  --text-h1: 72px;
  --text-h2: 48px;
  --text-h3: 32px;
  --text-h4: 24px;
  --text-body-lg: 18px;
  --text-body: 16px;
  --text-body-sm: 14px;
  --text-caption: 12px;

  /* SPACING — 8pt base */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* GRID */
  --grid-max-width: 1440px;
  --grid-gutter: 16px;
  --grid-cell-size: 40px;

  /* COMPONENTS */
  --btn-height: 52px;
  --btn-height-lg: 60px;
  --btn-height-sm: 40px;
  --input-height: 52px;
  --corner-frame-size: 16px;
  --corner-frame-width: 2px;

  /* BRUTALIST: NO BORDER RADIUS */
  --radius: 0px;

  /* Z-INDEX */
  --z-dropdown: 100;
  --z-modal: 200;
  --z-toast: 300;
}

/* ========================================
   RESET
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SVG Safety - prevent SVG from overflowing containers */
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Icon containers should constrain their SVG children */
span > svg,
.icon svg,
[class*="-icon"] svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: inherit;
  max-height: inherit;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   WEBGL CANVAS BACKGROUND
   ======================================== */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Fallback when WebGL is disabled or not supported */
@media (prefers-reduced-motion: reduce) {
  #webgl-canvas {
    display: none;
  }
}

/* ========================================
   GRID PATTERN BACKGROUND
   ======================================== */
.grid-pattern {
  position: relative;
}

.grid-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.08) 1px, transparent 1px);
  background-size: var(--grid-cell-size) var(--grid-cell-size);
  pointer-events: none;
  z-index: 0;
}

.grid-pattern > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   SCANLINE EFFECT
   ======================================== */
.scanlines::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(20, 184, 166, 0.03) 2px,
    rgba(20, 184, 166, 0.03) 4px
  );
  pointer-events: none;
  z-index: 2;
}

/* ========================================
   CORNER FRAME EFFECT
   ======================================== */
.corner-frame {
  position: relative;
}

.corner-frame::before,
.corner-frame::after {
  content: "";
  position: absolute;
  width: var(--corner-frame-size);
  height: var(--corner-frame-size);
  border-color: var(--primary);
  border-style: solid;
  pointer-events: none;
  z-index: 10;
}

.corner-frame::before {
  top: -1px;
  left: -1px;
  border-width: var(--corner-frame-width) 0 0 var(--corner-frame-width);
}

.corner-frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 var(--corner-frame-width) var(--corner-frame-width) 0;
}

/* ========================================
   GLITCH EFFECT
   ======================================== */
@keyframes glitch {
  0% {
    transform: translate(0);
    filter: none;
  }
  20% {
    transform: translate(-2px, 1px);
    filter: blur(0.5px);
  }
  40% {
    transform: translate(2px, -1px);
    filter: none;
  }
  60% {
    transform: translate(-1px, -1px);
    filter: blur(0.5px);
  }
  80% {
    transform: translate(1px, 1px);
    filter: none;
  }
  100% {
    transform: translate(0);
    filter: none;
  }
}

@keyframes glitch-auto {
  0%,
  95%,
  100% {
    transform: translate(0);
    filter: none;
  }
  96% {
    transform: translate(-2px, 1px);
    filter: blur(0.5px);
  }
  97% {
    transform: translate(2px, -1px);
    filter: none;
  }
  98% {
    transform: translate(-1px, -1px);
    filter: blur(0.5px);
  }
  99% {
    transform: translate(1px, 1px);
    filter: none;
  }
}

.glitch-hover:hover {
  animation: glitch 0.2s ease-in-out;
}

.glitch-auto {
  animation: glitch-auto 5s infinite;
}

/* ========================================
   GLOW EFFECTS
   ======================================== */
.glow-soft {
  text-shadow: var(--text-glow-soft);
}

.glow-medium {
  text-shadow: var(--text-glow-medium);
}

.glow-strong {
  text-shadow: 0 0 30px rgba(20, 184, 166, 0.9);
}

.box-glow {
  box-shadow: var(--box-glow);
}

.box-glow-hover:hover {
  box-shadow: var(--box-glow);
}

/* ========================================
   TERMINAL CURSOR
   ======================================== */
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.cursor,
.terminal-cursor::after {
  animation: blink 1s infinite;
}

.terminal-cursor::after {
  content: "_";
  color: var(--primary);
}

.terminal-cursor-block::after {
  content: "█";
  color: var(--primary);
  animation: blink 1s infinite;
}

/* ========================================
   LOADING STATES
   ======================================== */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-20);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

/* Terminal-style spinner */
@keyframes terminal-spin {
  0% {
    content: "|";
  }
  25% {
    content: "/";
  }
  50% {
    content: "—";
  }
  75% {
    content: "\\";
  }
  100% {
    content: "|";
  }
}

.terminal-spinner::after {
  content: "|";
  color: var(--primary);
  font-family: var(--font-mono);
  animation: terminal-spin 0.5s steps(1) infinite;
}

/* Loading text with terminal cursor */
.loading-text {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.loading-text::after {
  content: "_";
  color: var(--primary);
  animation: blink 1s ease-in-out infinite;
}

@keyframes loading-dots {
  0%,
  20% {
    content: ".";
  }
  40% {
    content: "..";
  }
  60%,
  100% {
    content: "...";
  }
}

.loading-dots::after {
  content: "";
  animation: loading-dots 1.5s infinite;
}

/* Progress bar */
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border-default);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

/* Indeterminate progress */
.progress-bar.indeterminate .progress-bar-fill {
  width: 30%;
  animation: progress-indeterminate 1.5s ease-in-out infinite;
}

@keyframes progress-indeterminate {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(400%);
  }
}

/* Skeleton loading */
@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-elevated) 25%,
    var(--border-default) 50%,
    var(--bg-elevated) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}

.skeleton-text {
  height: 16px;
  margin-bottom: var(--space-sm);
}

.skeleton-text.sm {
  height: 12px;
  width: 60%;
}

.skeleton-text.lg {
  height: 24px;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton-card {
  height: 120px;
  width: 100%;
}

/* Full-page loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  z-index: 9999;
}

.page-loader-text {
  font-family: var(--font-mono);
  font-size: var(--text-body);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Inline loader */
.inline-loader {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-elevated);
  border: 2px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.inline-loader .spinner {
  width: 12px;
  height: 12px;
  border: 2px solid var(--border-default);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Command-line style loader */
.cli-loader {
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
  padding: var(--space-md);
  background: var(--bg-elevated);
  border: 2px solid var(--border-default);
}

.cli-loader-line {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.cli-loader-line:last-child {
  margin-bottom: 0;
}

.cli-loader-prefix {
  color: var(--primary);
}

.cli-loader-command {
  color: var(--text-primary);
}

.cli-loader-status {
  color: var(--status-success);
}

.cli-loader-status.pending {
  color: var(--accent);
}

.cli-loader-cursor {
  color: var(--primary);
  animation: blink 1s ease-in-out infinite;
}

/* ========================================
   MAIN LAYOUT
   ======================================== */
.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

.container {
  max-width: var(--grid-max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ========================================
   HEADER — 64px height, brutalist
   ======================================== */
.header {
  height: 64px;
  padding: 0 var(--space-xl);
  background: var(--bg-surface);
  border-bottom: 2px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  width: 100%;
  max-width: var(--grid-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--primary);
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-primary);
}

.logo-mark svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* ========================================
   NAVIGATION — mono font, > prefix
   ======================================== */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-link::before {
  content: "> ";
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::before {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::before {
  color: var(--primary);
}

/* ========================================
   BUTTONS — brutalist, 52px height
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  height: var(--btn-height);
  padding: 0 var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--primary-btn);
  color: var(--text-on-primary);
  border-color: var(--primary-btn);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--box-glow);
}

.btn-primary:active {
  animation: glitch 0.1s ease-in-out;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-10);
  box-shadow: var(--glow-soft);
}

.btn-accent {
  background: transparent;
  color: var(--text-on-primary);
  border-color: var(--text-on-primary);
}

.btn-accent:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  height: var(--btn-height-sm);
  padding: 0 15px;
  font-size: var(--text-body-sm);
}

.btn-lg {
  height: var(--btn-height-lg);
  padding: 0 30px;
}

.btn-disabled,
.btn:disabled {
  background: transparent;
  color: var(--primary-40);
  border-color: var(--primary-40);
  cursor: not-allowed;
}

/* Button loading state */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-primary.btn-loading::after {
  border-top-color: var(--text-on-primary);
}

.btn-secondary.btn-loading::after {
  border-top-color: var(--primary);
}

/* Button with terminal cursor loading */
.btn-loading-cursor {
  position: relative;
}

.btn-loading-cursor .btn-text {
  visibility: hidden;
}

.btn-loading-cursor::after {
  content: "LOADING_";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  animation: blink 1s ease-in-out infinite;
}

/* ========================================
   FORM INPUTS
   ======================================== */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  height: var(--input-height);
  padding: 0 var(--space-md);
  background: var(--bg-surface);
  border: 2px solid var(--border-muted);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-30);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 120px;
  padding: var(--space-md);
  resize: vertical;
}

.form-input.error {
  border-color: var(--status-error);
}

.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

.form-error {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--status-error-text);
  margin-top: var(--space-xs);
}

/* ========================================
   DROPDOWN / SELECT
   ======================================== */
.dropdown {
  position: relative;
  width: 100%;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--input-height);
  padding: 0 var(--space-md);
  background: var(--bg-surface);
  border: 2px solid var(--border-muted);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-trigger:hover {
  border-color: var(--primary);
}

.dropdown-trigger:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-30);
}

.dropdown-trigger.open {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-30);
}

.dropdown-trigger .placeholder {
  color: var(--text-muted);
}

.dropdown-trigger .chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
  color: var(--text-secondary);
}

.dropdown-trigger.open .chevron {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: var(--z-dropdown);
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Corner frames on menu */
.dropdown-menu::before,
.dropdown-menu::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-style: solid;
  border-color: var(--primary);
  pointer-events: none;
}

.dropdown-menu::before {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px;
}

.dropdown-menu::after {
  bottom: -2px;
  right: -2px;
  border-width: 0 2px 2px 0;
}

/* Dropdown option */
.dropdown-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.dropdown-option:hover {
  background: var(--primary-10);
  color: var(--primary-text);
}

.dropdown-option.selected {
  background: var(--primary-10);
  color: var(--primary-text);
}

.dropdown-option.selected::before {
  content: ">";
  color: var(--primary);
  font-weight: 600;
}

.dropdown-option.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.dropdown-option.disabled:hover {
  background: transparent;
}

/* Dropdown with icon */
.dropdown-option .option-icon {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
}

.dropdown-option:hover .option-icon,
.dropdown-option.selected .option-icon {
  color: var(--primary);
}

/* Dropdown label */
.dropdown-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

/* Dropdown group header */
.dropdown-group-header {
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-default);
  background: var(--bg-elevated);
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  background: var(--border-default);
  margin: var(--space-xs) 0;
}

/* ----------------------------------------
   SEARCHABLE DROPDOWN
   ---------------------------------------- */
.dropdown-search {
  position: relative;
}

.dropdown-search-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  padding-left: 36px;
  border: none;
  border-bottom: 2px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
}

.dropdown-search-input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.dropdown-search-input::placeholder {
  color: var(--text-muted);
}

.dropdown-search-icon {
  position: absolute;
  left: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.dropdown-no-results {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* ----------------------------------------
   MULTI-SELECT DROPDOWN
   ---------------------------------------- */
.dropdown-multi .selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  flex: 1;
}

.dropdown-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--primary-10);
  border: 1px solid var(--primary-30);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--primary-text);
}

.dropdown-tag-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  cursor: pointer;
  color: var(--primary);
  transition: color 0.15s;
}

.dropdown-tag-remove:hover {
  color: var(--status-error);
}

/* Multi-select option with checkbox */
.dropdown-option.multi {
  padding-left: var(--space-md);
}

.dropdown-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.dropdown-option:hover .dropdown-checkbox {
  border-color: var(--primary);
}

.dropdown-option.selected .dropdown-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.dropdown-option.selected .dropdown-checkbox::after {
  content: "";
  width: 8px;
  height: 5px;
  border: 2px solid var(--text-on-primary);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  margin-bottom: 2px;
}

/* ----------------------------------------
   DROPDOWN SIZES
   ---------------------------------------- */
.dropdown-sm .dropdown-trigger {
  height: var(--btn-height-sm);
  font-size: var(--text-caption);
}

.dropdown-lg .dropdown-trigger {
  height: var(--btn-height-lg);
  font-size: var(--text-body);
}

/* ----------------------------------------
   DROPDOWN STATES
   ---------------------------------------- */
.dropdown.disabled .dropdown-trigger {
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: var(--border-default);
}

.dropdown.error .dropdown-trigger {
  border-color: var(--status-error);
}

.dropdown.error .dropdown-trigger:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.dropdown-error-message {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--status-error-text);
  margin-top: var(--space-xs);
}

/* ========================================
   STATUS INDICATORS
   ======================================== */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-success);
  animation: pulse 2s ease-in-out infinite;
  position: relative;
}

/* Base pulse — opacity */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Pulse with ring */
.status-dot.pulse-ring::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid currentColor;
  transform: translate(-50%, -50%);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.6;
  }
  100% {
    width: 300%;
    height: 300%;
    opacity: 0;
  }
}

/* Pulse with glow */
.status-dot.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 8px currentColor;
  }
  50% {
    box-shadow: 0 0 16px currentColor;
  }
}

.status-dot.success {
  background: var(--status-success);
  color: var(--status-success);
}

.status-dot.warning {
  background: var(--status-warning);
  color: var(--status-warning);
}

.status-dot.error {
  background: var(--status-error);
  color: var(--status-error);
  animation-duration: 1s;
}

.status-dot.info {
  background: var(--status-info);
  color: var(--status-info);
}

.status-dot.offline {
  background: var(--text-muted);
  animation: none;
}

.status-dot.pending {
  background: var(--accent);
  color: var(--accent);
  animation: pulse-fast 1s ease-in-out infinite;
}

@keyframes pulse-fast {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.status-dot.lg {
  width: 12px;
  height: 12px;
}

.status-dot.sm {
  width: 6px;
  height: 6px;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.status-badge:hover {
  box-shadow: var(--glow-soft);
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status-badge.success {
  color: var(--status-success-text);
  border-color: var(--status-success);
}

.status-badge.success .dot {
  background: var(--status-success);
  animation: pulse 2s ease-in-out infinite;
}

.status-badge.warning {
  color: var(--status-warning-text);
  border-color: var(--status-warning);
}

.status-badge.warning .dot {
  background: var(--status-warning);
  animation: pulse 2s ease-in-out infinite;
}

.status-badge.error {
  color: var(--status-error-text);
  border-color: var(--status-error);
}

.status-badge.error .dot {
  background: var(--status-error);
  animation: pulse-fast 1s ease-in-out infinite;
}

.status-badge.info {
  color: var(--status-info-text);
  border-color: var(--status-info);
}

.status-badge.info .dot {
  background: var(--status-info);
  animation: pulse 2s ease-in-out infinite;
}

.status-badge.pending {
  color: var(--status-warning-text);
  border-color: var(--accent);
}

.status-badge.pending .dot {
  background: var(--accent);
  animation: pulse-fast 1s ease-in-out infinite;
}

.status-badge.offline {
  color: var(--text-muted);
  border-color: var(--border-default);
}

.status-badge.offline .dot {
  background: var(--text-muted);
  animation: none;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: var(--bg-surface);
  border: 2px solid var(--border-default);
  padding: var(--space-xl);
  transition: all 0.2s ease;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: var(--box-glow);
}

.card-title {
  font-family: var(--font-mono);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-description {
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   SYSTEM LABEL
   ======================================== */
.system-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.system-label::before {
  content: "[";
  color: var(--primary);
}

.system-label::after {
  content: "]";
  color: var(--primary);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: "// ";
}

.section-title {
  font-family: var(--font-mono);
  font-size: var(--text-h2);
  font-weight: 400;
  color: var(--text-primary);
}

.section-title:hover {
  text-shadow: var(--glow-soft);
}

/* ========================================
   FOOTER — brutalist
   ======================================== */
.footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--border-muted);
  padding: var(--space-2xl) var(--space-xl);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--grid-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-link {
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary);
}

/* ========================================
   HTMX LOADING STATES
   ======================================== */
.htmx-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.htmx-request .htmx-indicator {
  opacity: 1;
}

#content {
  transition: opacity 0.2s;
}

#content.htmx-swapping {
  opacity: 0;
}

/* ========================================
   TYPOGRAPHY UTILITIES
   ======================================== */
.font-mono {
  font-family: var(--font-mono);
}

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

.text-xs {
  font-size: var(--text-caption);
}
.text-sm {
  font-size: var(--text-body-sm);
}
.text-base {
  font-size: var(--text-body);
}
.text-lg {
  font-size: var(--text-body-lg);
}
.text-xl {
  font-size: var(--text-h4);
}
.text-2xl {
  font-size: var(--text-h3);
}
.text-3xl {
  font-size: var(--text-h2);
}
.text-4xl {
  font-size: var(--text-h1);
}

.font-normal {
  font-weight: 400;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}

.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-muted {
  color: var(--text-muted);
}
.text-accent {
  color: var(--primary);
}
.text-success {
  color: var(--status-success-text);
}
.text-warning {
  color: var(--status-warning-text);
}
.text-error {
  color: var(--status-error-text);
}

.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.capitalize {
  text-transform: capitalize;
}

.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-normal {
  letter-spacing: 0;
}
.tracking-wide {
  letter-spacing: 0.5px;
}
.tracking-wider {
  letter-spacing: 1px;
}

/* ========================================
   SPACING UTILITIES
   ======================================== */
.m-0 {
  margin: 0;
}
.m-xs {
  margin: var(--space-xs);
}
.m-sm {
  margin: var(--space-sm);
}
.m-md {
  margin: var(--space-md);
}
.m-lg {
  margin: var(--space-lg);
}
.m-xl {
  margin: var(--space-xl);
}

.mt-0 {
  margin-top: 0;
}
.mt-sm {
  margin-top: var(--space-sm);
}
.mt-md {
  margin-top: var(--space-md);
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mt-xl {
  margin-top: var(--space-xl);
}
.mt-2xl {
  margin-top: var(--space-2xl);
}
.mt-3xl {
  margin-top: var(--space-3xl);
}

.mb-0 {
  margin-bottom: 0;
}
.mb-xs {
  margin-bottom: var(--space-xs);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}
.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.p-0 {
  padding: 0;
}
.p-xs {
  padding: var(--space-xs);
}
.p-sm {
  padding: var(--space-sm);
}
.p-md {
  padding: var(--space-md);
}
.p-lg {
  padding: var(--space-lg);
}
.p-xl {
  padding: var(--space-xl);
}
.p-2xl {
  padding: var(--space-2xl);
}

.px-md {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}
.px-lg {
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}
.px-xl {
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.py-md {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
.py-lg {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}
.py-xl {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.py-2xl {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.py-3xl {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}
.py-4xl {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.block {
  display: block;
}
.inline {
  display: inline;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}

.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
.items-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}

.gap-xs {
  gap: var(--space-xs);
}
.gap-sm {
  gap: var(--space-sm);
}
.gap-md {
  gap: var(--space-md);
}
.gap-lg {
  gap: var(--space-lg);
}
.gap-xl {
  gap: var(--space-xl);
}

.flex-1 {
  flex: 1;
}
.flex-auto {
  flex: auto;
}
.flex-none {
  flex: none;
}

.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}

/* ========================================
   VISUAL UTILITIES
   ======================================== */
.bg-base {
  background-color: var(--bg-base);
}
.bg-surface {
  background-color: var(--bg-surface);
}
.bg-elevated {
  background-color: var(--bg-elevated);
}
.bg-dark {
  background-color: var(--bg-dark);
}
.bg-primary {
  background-color: var(--primary);
}

.border {
  border: 2px solid var(--border-default);
}
.border-primary {
  border-color: var(--primary);
}
.border-muted {
  border-color: var(--border-muted);
}
.border-none {
  border: none;
}

.opacity-0 {
  opacity: 0;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-100 {
  opacity: 1;
}

/* ========================================
   POSITION UTILITIES
   ======================================== */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.sticky {
  position: sticky;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-0 {
  top: 0;
}
.right-0 {
  right: 0;
}
.bottom-0 {
  bottom: 0;
}
.left-0 {
  left: 0;
}

.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-50 {
  z-index: 50;
}
.z-100 {
  z-index: 100;
}

/* ========================================
   INTERACTIVE UTILITIES
   ======================================== */
.cursor-pointer {
  cursor: pointer;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.pointer-events-none {
  pointer-events: none;
}
.select-none {
  user-select: none;
}

/* ========================================
   OVERFLOW UTILITIES
   ======================================== */
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-visible {
  overflow: visible;
}

/* ========================================
   TRANSITION UTILITIES
   ======================================== */
.transition {
  transition: all 0.2s ease;
}
.transition-fast {
  transition: all 0.1s ease;
}
.transition-slow {
  transition: all 0.3s ease;
}
.transition-none {
  transition: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --text-h1: 48px;
    --text-h2: 36px;
    --text-h3: 24px;
  }

  .header {
    padding: 0 var(--space-md);
  }

  .nav {
    gap: var(--space-md);
  }

  .container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .header {
    height: auto;
    padding: var(--space-md);
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Responsive utilities */
  .md\:hidden {
    display: none;
  }
  .md\:block {
    display: block;
  }
  .md\:flex {
    display: flex;
  }
  .md\:flex-col {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --text-h1: 36px;
    --text-h2: 28px;
    --text-h3: 20px;
  }

  .nav {
    display: none;
  }

  /* Responsive utilities */
  .sm\:hidden {
    display: none;
  }
  .sm\:block {
    display: block;
  }
  .sm\:flex {
    display: flex;
  }
  .sm\:flex-col {
    flex-direction: column;
  }
  .sm\:text-center {
    text-align: center;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .header,
  .footer {
    display: none;
  }
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--bg-elevated);
  z-index: 1000;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

/* ========================================
   GSAP SCROLL ANIMATIONS
   ======================================== */

/* Initial hidden state for scroll animations */
[data-scroll] {
  will-change: transform, opacity;
}

/* Parallax elements */
[data-parallax] {
  will-change: transform;
}

/* Split text chars */
.char,
.word {
  display: inline-block;
  will-change: transform, opacity;
}

/* Magnetic button effect */
[data-magnetic] {
  will-change: transform;
  transition: none !important;
}

/* ========================================
   SMOOTH SCROLL ENHANCEMENTS
   ======================================== */

/* Smooth native scroll for browsers that support it */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-40);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-40) var(--bg-base);
}

/* ========================================
   REVEAL ANIMATIONS UTILITY CLASSES
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay helpers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }

/* ========================================
   PAGE TRANSITION ANIMATION
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.page-enter {
  animation: fadeInUp 0.4s ease forwards;
}

.page-exit {
  animation: fadeOutUp 0.3s ease forwards;
}

/* HTMX page transition */
#content {
  animation: fadeInUp 0.4s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .scroll-progress {
    display: none;
  }
  
  [data-scroll],
  [data-parallax],
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
/* ========================================
   HOME PAGE STYLES
   ======================================== */
