/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Cores MBV Company */
:root {
  --mbv-blue: #2563eb;
  --mbv-blue-dark: #1d4ed8;
  --mbv-blue-light: #3b82f6;
  --mbv-blue-800: #1e40af;
  --mbv-blue-900: #1e3a8a;
  --mbv-black: #000000;
  --mbv-gray: #6b7280;
  --mbv-gray-light: #9ca3af;
  --mbv-gray-dark: #374151;
  --white: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Utilities */
.bg-black {
  background-color: #000000;
}

.bg-gray-900 {
  background-color: #111827;
}

.bg-blue-900 {
  background-color: #1e3a8a;
}

.bg-blue-600 {
  background-color: #2563eb;
}

.text-blue-500 {
  color: #3b82f6;
}

.text-blue-400 {
  color: #60a5fa;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.border-gray-700 {
  border-color: #374151;
}

.border-gray-800 {
  border-color: #1f2937;
}

/* Method carousel specific styles */
.method-indicator {
  cursor: pointer;
  transition: all 0.3s ease;
}

.method-indicator.active {
  background-color: #3b82f6;
  transform: scale(1.25);
}

.method-preview {
  cursor: pointer;
}

.method-preview.active {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.1);
  transform: scale(1.05);
}

.method-preview.active h4 {
  color: #60a5fa;
}

/* Form styles */
input:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button hover effects */
button {
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading .btn-text {
  display: none;
}

.loading::after {
  content: "Enviando...";
}

/* Backdrop blur fallback */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e3a8a;
}

::-webkit-scrollbar-thumb {
  background: #1e40af;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-bounce-in {
  animation: bounceIn 0.8s ease-out forwards;
}


.confetti-container {
  position: relative;
  height: 120px;
  overflow: hidden;
  width: 100%;
}

.confetti {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: #fce94f;
  border-radius: 50%;
  animation: confetti-fall 3s ease-in-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(120px) rotate(720deg);
    opacity: 0;
  }
}


/* Form Messages */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
}

.alert-success {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert i {
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .text-4xl {
    font-size: 2rem;
  }

  .text-6xl {
    font-size: 2.5rem;
  }

  .lg\:text-4xl {
    font-size: 2rem;
  }

  .lg\:text-6xl {
    font-size: 2.5rem;
  }

  .grid.lg\:grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid.lg\:grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.lg\:grid-cols-5 {
    grid-template-columns: 1fr;
  }

  .min-h-80 {
    min-height: auto;
  }

  .px-8 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .py-6 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Mobile form adjustments */
  .bg-gray-900.bg-opacity-50 {
    padding: 1.5rem;
  }

  /* Mobile confetti */
  .confetti {
    width: 4px;
    height: 4px;
  }
}

@media (max-width: 640px) {
  .text-3xl {
    font-size: 1.5rem;
  }

  .text-2xl {
    font-size: 1.25rem;
  }

  /* Extra small mobile adjustments */
  .bg-gray-900.bg-opacity-50 {
    padding: 1rem;
  }

  .space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.75rem;
  }
}

/* Tailwind CSS Classes Implementation */
.fixed {
  position: fixed;
}
.top-0 {
  top: 0;
}
.w-full {
  width: 100%;
}
.z-50 {
  z-index: 50;
}
.bg-opacity-95 {
  background-color: rgba(0, 0, 0, 0.95);
}
.border-b {
  border-bottom-width: 1px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.flex {
  display: flex;
}
.justify-between {
  justify-content: space-between;
}
.items-center {
  align-items: center;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.h-10 {
  height: 2.5rem;
}
.w-auto {
  width: auto;
}
.hidden {
  display: none;
}
.gap-8 {
  gap: 2rem;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.hover\:text-blue-400:hover {
  color: #60a5fa;
}
.hover\:bg-blue-700:hover {
  background-color: #1d4ed8;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.md\:hidden {
  display: none;
}
.flex-col {
  flex-direction: column;
}
.gap-1 {
  gap: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.w-6 {
  width: 1.5rem;
}
.h-0\.5 {
  height: 0.125rem;
}
.bg-white {
  background-color: #ffffff;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.border-t {
  border-top-width: 1px;
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem;
}
.pt-24 {
  padding-top: 6rem;
}
.pb-16 {
  padding-bottom: 4rem;
}
.min-h-screen {
  min-height: 100vh;
}
.grid {
  display: grid;
}
.lg\:grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.gap-12 {
  gap: 3rem;
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.5rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.lg\:text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.font-bold {
  font-weight: 700;
}
.leading-tight {
  line-height: 1.25;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.lg\:text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.font-semibold {
  font-weight: 600;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-white {
  color: #ffffff;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.inline-flex {
  display: inline-flex;
}
.ml-2 {
  margin-left: 0.5rem;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .md\:p-6 {
    padding: 1.5rem;
  }
  .md\:p-8 {
    padding: 2rem;
  }
  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .lg\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .lg\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  .lg\:flex-row {
    flex-direction: row;
  }
  .lg\:text-left {
    text-align: left;
  }
  .lg\:justify-end {
    justify-content: flex-end;
  }
  .lg\:w-32 {
    width: 8rem;
  }
  .lg\:h-32 {
    height: 8rem;
  }
  .lg\:p-12 {
    padding: 3rem;
  }
}
