/* Force light mode */
html {
  color-scheme: light !important;
}

* {
  color-scheme: light !important;
}

body {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.025em;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  transform: translateZ(0);
  background-color: white !important;
  color: #111827 !important;
}

body.loaded {
  opacity: 1;
}

/* ===== Blue pill buttons (primary CTA) ===== */
.blue-pill-button {
  background: linear-gradient(135deg, #3EAED6 0%, #3a8fbf 50%, #2a7aa8 100%);
  color: white;
  padding: 0.875rem 2.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.938rem;
  letter-spacing: 0.02em;
  border: none;
  box-shadow:
    0 4px 6px -1px rgba(62, 174, 214, 0.3),
    0 2px 4px -1px rgba(62, 174, 214, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.blue-pill-button:hover {
  background: linear-gradient(135deg, #3a8fbf 0%, #2a7aa8 50%, #1d6a96 100%);
  transform: translateY(-1px);
  box-shadow:
    0 10px 15px -3px rgba(62, 174, 214, 0.3),
    0 4px 6px -2px rgba(62, 174, 214, 0.2);
}

.blue-pill-button:active {
  transform: translateY(0);
}

/* Smaller blue pill for header */
.blue-pill-button-sm {
  background: linear-gradient(135deg, #3EAED6 0%, #3a8fbf 50%, #2a7aa8 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: none;
  box-shadow:
    0 2px 4px -1px rgba(62, 174, 214, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.blue-pill-button-sm:hover {
  background: linear-gradient(135deg, #3a8fbf 0%, #2a7aa8 50%, #1d6a96 100%);
  transform: translateY(-1px);
  box-shadow:
    0 6px 12px -2px rgba(62, 174, 214, 0.3);
}

.blue-pill-button-sm:active {
  transform: translateY(0);
}

/* ===== Navigation ===== */
#main-nav {
  background: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

#main-nav.nav-scrolled,
#main-nav.mobile-menu-open {
  background: rgba(26, 29, 46, 0.95);
  backdrop-filter: blur(10px);
}

/* ===== Primary color utilities ===== */
.bg-primary {
  background-color: #3EAED6 !important;
}

/* ===== Dark navy background ===== */
.dark-navy-bg {
  background-color: #1A1D2E;
}

/* ===== Fade-in animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px) translateZ(0);
  animation: fadeInUp 0.6s ease-out forwards;
  will-change: opacity, transform;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

/* ===== Fan Drops marquee ===== */
.fan-drops-track {
  width: 100%;
  overflow: hidden;
}

.fan-drops-scroll {
  display: flex;
  gap: 1.5rem;
  animation: fan-drops-scroll 30s linear infinite;
  width: max-content;
}

.fan-drop-item {
  flex-shrink: 0;
  width: 240px;
  height: 360px;
}

@media (min-width: 768px) {
  .fan-drop-item {
    width: 300px;
    height: 440px;
  }
}

@keyframes fan-drops-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fan-drops-scroll {
    animation: none !important;
  }
}

/* ===== FAQ styling ===== */
.faq-answer {
  transition: max-height 0.3s ease;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .blue-pill-button {
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
  }

  .blue-pill-button-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.813rem;
  }
}

@media (max-width: 768px) {
  .blue-pill-button:hover,
  .blue-pill-button-sm:hover {
    transform: none;
  }

  .faq-question {
    min-height: 56px;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .blue-pill-button,
  .blue-pill-button-sm {
    transition: none !important;
  }

  .faq-answer {
    transition: none !important;
  }
}

/* ===== Force light mode in dark OS preference ===== */
@media (prefers-color-scheme: dark) {
  body {
    background-color: white !important;
    color: #111827 !important;
  }

  .bg-white {
    background-color: white !important;
  }

  .bg-gray-100 {
    background-color: #f3f4f6 !important;
  }

  .text-gray-900 {
    color: #111827 !important;
  }
}

/* ===== Print ===== */
@media print {
  #main-nav {
    position: static !important;
  }

  .blue-pill-button,
  .blue-pill-button-sm {
    box-shadow: none !important;
  }
}
