/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Outfit:wght@500&display=swap');

@font-face {
  font-family: 'ArialOnlyAt';
  src: local('Arial'), local('Helvetica'), sans-serif;
  unicode-range: U+0040;
  /* Only apply to @ symbol */
}

:root {
  --background: #f3f3f3;
  --foreground: #171717;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  /* Stack: Check ArialOnlyAt first (only matches @), then Space Mono, then monospace */
  font-family: 'ArialOnlyAt', 'Space Mono', monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Utilities mimicking fw-front */
.font-space-mono {
  font-family: 'ArialOnlyAt', 'Space Mono', monospace;
}

.font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* No longer needed but kept for compatibility logic if used explicitly */
.font-arial {
  font-family: Arial, sans-serif;
}

.btn-primary {
  height: 48px;
  padding: 0 1.5rem;
  background-color: #000000;
  color: #ffffff;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease-in-out, background-color 0.2s ease;
  min-width: 160px;
}

.btn-primary:hover {
  background-color: #333333;
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-secondary {
  height: 48px;
  padding: 0 1.5rem;
  background-color: transparent;
  color: #171717;
  border: 2px solid #171717;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.1s ease-in-out;
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translate(2px, 2px);
}


/* Input Styling */
.input-field {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  font-family: 'ArialOnlyAt', 'Space Mono', monospace;
  font-size: 1rem;
  color: #171717;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism / Card style */
.card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

/* Counter style */
.counter-box {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
}