/* Global background styles */
html, body {
  background-color: #050826 !important;
  background-image: linear-gradient(to bottom, #050826 0%, #000b37 30%, #000b37 70%, #050826 100%) !important;
  background-attachment: fixed !important;
  background-size: 100% 100vh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  color: white !important;
}

/* Remove gradient pseudo-element */
body::before {
  display: none;
}

/* Make sure containers are transparent to allow gradient to show through */
#__next, .container, main {
  background: transparent !important;
}

/* Dark styled cards should maintain their dark background */
.card, .bg-secondary, .bg-white, .bg-surface {
  background-color: #000b36 !important;
  color: white !important;
}

/* Ensure header is the correct color */
header, footer, nav {
  background-color: #000b36 !important;
}

/* Gradient text styling */
.gradient-text {
  background: linear-gradient(90deg, #04dcf0, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 700;
}

/* Fallback styles in case Tailwind doesn't load */
body {
  font-family: 'Inter', 'IBM Plex Sans', sans-serif;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 1rem;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1d4ed8;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  display: inline-block;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: white;
  color: #2563eb;
  border: 2px solid #2563eb;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  display: inline-block;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.gradient-bg {
  background: linear-gradient(90deg, #04dcf0, #8b5cf6);
}

.soft-gradient-bg {
  background: linear-gradient(to bottom, #ffffff, #f5faff);
}
