/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0a1a;
  color: white;
  min-height: 100vh;
}

.dark {
  --background: #0a0a1a;
  --foreground: #ffffff;
  --card: #111827;
  --card-foreground: #ffffff;
  --primary: #3b82f6;
  --primary-foreground: #1e293b;
  --secondary: #1f2937;
  --secondary-foreground: #ffffff;
  --muted: #1f2937;
  --muted-foreground: #9ca3af;
  --accent: #1f2937;
  --accent-foreground: #ffffff;
  --destructive: #991b1b;
  --destructive-foreground: #ffffff;
  --border: #1f2937;
  --input: #1f2937;
  --ring: #3b82f6;
}

/* Layout */
.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.p-8 {
  padding: 2rem;
}

.text-center {
  text-align: center;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.w-full {
  width: 100%;
}

.h-48 {
  height: 12rem;
}

.gap-2 {
  gap: 0.5rem;
}

/* Typography */
.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-bold {
  font-weight: 700;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-white {
  color: white;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Glassmorphism effects */
.glassmorphism {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(63, 63, 70, 0.3);
}

/* Neon glow effects */
.neon-glow {
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
}

.neon-text {
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
}

/* Floating animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  color: white;
}

.btn i {
  margin-right: 0.5rem;
  width: 1rem;
  height: 1rem;
}

.btn-gradient {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  color: white;
}

.btn-gradient:hover {
  opacity: 0.9;
}

.btn-amber {
  background: linear-gradient(45deg, #fbbf24, #d97706);
  color: white;
}

.btn-green {
  background: linear-gradient(45deg, #34d399, #059669);
  color: white;
}

.btn-transparent {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-transparent:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Form elements */
textarea {
  width: 100%;
  height: 12rem;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 1.125rem;
  resize: none;
  padding: 1rem;
  outline: none;
}

.progress-container {
  width: 100%;
  height: 4px;
  background-color: #374151;
  border-radius: 2px;
  margin-top: 0.5rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Custom select */
.select-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.custom-select {
  position: relative;
  width: 100%;
}

.select-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  appearance: none;
  cursor: pointer;
  outline: none;
}

.select-input option {
  background-color: #1a1a2e;
  color: white;
}

/* Slider */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #374151;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  cursor: pointer;
  border: none;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-0.5rem);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
}

.toast {
  background-color: #1f2937;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  max-width: 350px;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-destructive {
  background-color: #991b1b;
}

/* Utility classes */
.hidden {
  display: none;
}

.flex-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.button-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Media queries */
@media (min-width: 768px) {
  .md-text-6xl {
    font-size: 3.75rem;
  }

  .flex-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .select-container {
    flex-direction: row;
    width: auto;
  }

  .custom-select {
    width: 12rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}