/* 
 * Maintenance Mode Fallback CSS
 * Ensures the maintenance page looks good even without Tailwind
 */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Maintenance gradient background */
.maintenance-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Container */
.max-w-4xl {
  max-width: 56rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Typography */
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-white {
  color: white;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

/* Spacing */
.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

/* Grid layout */
.grid {
  display: grid;
}

/* Flexbox */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

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

.space-x-4 > * + * {
  margin-left: 1rem;
}

/* Glass effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.glass-effect:hover {
  transform: translateY(-2px);
}

/* Countdown digits */
.countdown-digit {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 20px 20px 60px #d1d1d1, -20px -20px 60px #ffffff;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  min-width: 80px;
}

.countdown-digit .text-2xl,
.countdown-digit .text-4xl {
  color: #1f2937;
  font-weight: 700;
}

/* Buttons and inputs */
input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: none;
  outline: none;
}

button {
  background: #ff385c;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background: #e31c5f;
}

/* Logo */
.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.w-auto {
  width: auto;
}

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

/* Icon containers */
.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.w-24 {
  width: 6rem;
}

.h-24 {
  height: 6rem;
}

.w-32 {
  width: 8rem;
}

.h-32 {
  height: 8rem;
}

.rounded-full {
  border-radius: 50%;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

/* Background colors */
.bg-glizwp-primary {
  background-color: #ff385c;
}

.bg-glizwp-teal {
  background-color: #00a699;
}

.bg-yellow-500 {
  background-color: #eab308;
}

/* Animations */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.animate-bounce-slow {
  animation: bounce 3s infinite;
}

.animate-pulse-slow {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Fixed positioning for background elements */
.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

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

.overflow-hidden {
  overflow: hidden;
}

.pointer-events-none {
  pointer-events: none;
}

.opacity-10 {
  opacity: 0.1;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-90 {
  opacity: 0.9;
}

/* Utility classes */
.leading-relaxed {
  line-height: 1.625;
}

.max-w-md {
  max-width: 28rem;
}

.inline-flex {
  display: inline-flex;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* Responsive design */
@media (max-width: 768px) {
  .text-6xl {
    font-size: 2.5rem;
  }

  .text-4xl {
    font-size: 1.875rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .countdown-digit {
    padding: 0.75rem 1rem;
    min-width: 60px;
  }

  .maintenance-gradient {
    padding: 0.5rem;
  }

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

  .gap-4 > * + * {
    margin-top: 1rem;
    margin-left: 0;
  }
}

@media (min-width: 769px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .sm-flex-row {
    flex-direction: row;
  }

  .sm-flex-row.gap-4 > * + * {
    margin-top: 0;
    margin-left: 1rem;
  }
}

/* Social links */
.glass-effect a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  transition: all 0.3s ease;
}

.glass-effect a:hover {
  background: white;
  color: #333;
}
