/* Static export fallback: preserve motion even when the captured Next/Framer
   hydration is incomplete. If JS does not run, content stays visible. */
body:not(.hood-motion-ready) [style*="opacity:0"],
body:not(.hood-motion-ready) [style*="opacity: 0"] {
  opacity: 1 !important;
  transform: none !important;
}

body.hood-motion-ready .hood-reveal {
  opacity: 0 !important;
  transform: translateY(28px) scale(.985) !important;
  transition:
    opacity .75s cubic-bezier(.22, 1, .36, 1),
    transform .75s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--hood-delay, 0ms);
}

body.hood-motion-ready .hood-reveal.hood-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body.hood-motion-ready .hood-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  min-height: 100vh;
}

:root {
  --hood-blue: #21c4d7;
}

.text-blue-400,
.text-sky-400 {
  color: var(--hood-blue) !important;
}

.bg-blue-400,
.bg-sky-400,
.bg-blue-500,
.bg-blue-600,
.from-blue-500,
.to-blue-600 {
  --tw-gradient-from: var(--hood-blue) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: #168ca6 var(--tw-gradient-to-position) !important;
  background-color: var(--hood-blue) !important;
}

.border-blue-400\/50,
.border-blue-400\/30 {
  border-color: rgb(33 196 215 / .5) !important;
}

img[src*="hood-logo"] {
  width: auto;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 640px) {
  img[src*="hood-logo"] {
    height: 48px;
  }
}

.hood-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: clamp(1.75rem, 2.6vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.hood-wordmark span:last-child {
  color: var(--hood-blue);
}

nav .hood-wordmark {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .hood-wordmark {
    font-size: 1.55rem;
  }
}

.hood-client-marquee {
  animation: hood-marquee 68s linear infinite;
  will-change: transform;
}

.hood-client-marquee:hover {
  animation-play-state: paused;
}

@keyframes hood-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hood-filter-active {
  background: var(--hood-blue) !important;
  color: #fff !important;
  box-shadow: 0 16px 40px rgb(33 196 215 / .22) !important;
}

.hood-video-modal-open {
  overflow: hidden;
}

.hood-editor-playhead {
  left: 0 !important;
  right: auto !important;
  color: inherit !important;
}

.hood-editor-timecode {
  color: rgb(148 163 184) !important;
}

.hood-faq-section {
  padding-top: clamp(2rem, 3vw, 3.5rem) !important;
  padding-bottom: clamp(2rem, 3vw, 3.5rem) !important;
  background: #020617 !important;
}

.hood-faq-section > div {
  max-width: 56rem !important;
}

.hood-faq-section h2 {
  font-size: clamp(1.9rem, 3vw, 3rem) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
}

.hood-faq-section h2 + p {
  margin-top: .75rem !important;
  font-size: clamp(1rem, 1.2vw, 1.25rem) !important;
  line-height: 1.25 !important;
  color: rgb(203 213 225) !important;
}

.hood-faq-section .space-y-3,
.hood-faq-section .space-y-4 {
  margin-top: clamp(1.6rem, 3vw, 2.5rem) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .85rem !important;
}

.hood-faq-card {
  overflow: hidden !important;
  border-radius: 1rem !important;
  border: 1px solid rgb(51 65 85 / .9) !important;
  background: linear-gradient(180deg, rgb(15 23 42 / .78), rgb(2 6 23 / .92)) !important;
  color: rgb(203 213 225) !important;
  box-shadow: none !important;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease !important;
}

.hood-faq-card.hood-faq-open {
  border-color: rgb(33 196 215 / .85) !important;
  box-shadow: 0 0 0 1px rgb(33 196 215 / .28), 0 18px 60px rgb(14 165 233 / .13) !important;
}

.hood-faq-button {
  min-height: auto !important;
  padding: clamp(1.1rem, 1.6vw, 1.5rem) clamp(1.25rem, 2vw, 2rem) !important;
  border-bottom: 1px solid transparent !important;
  background: transparent !important;
  color: #fff !important;
}

.hood-faq-card.hood-faq-open .hood-faq-button {
  border-bottom-color: rgb(148 163 184 / .18) !important;
}

.hood-faq-button span {
  font-size: clamp(1rem, 1.25vw, 1.25rem) !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 0 !important;
}

.hood-faq-icon {
  width: 1.25rem !important;
  height: 1.25rem !important;
  color: var(--hood-blue) !important;
  transform: rotate(180deg) !important;
  transition: transform .2s ease !important;
}

.hood-faq-card:not(.hood-faq-open) .hood-faq-icon {
  transform: rotate(0deg) !important;
}

.hood-faq-answer {
  display: block !important;
  padding: 0 clamp(1.25rem, 2vw, 2rem) clamp(1.1rem, 1.8vw, 1.5rem) !important;
  color: rgb(203 213 225) !important;
  font-size: clamp(.95rem, 1.05vw, 1.05rem) !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  text-align: left !important;
}

.hood-faq-answer.hidden {
  display: none !important;
}

.hood-faq-card > :not(button):not(.hood-faq-button) {
  color: rgb(203 213 225) !important;
}

.hood-video-close {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  z-index: 30 !important;
  border: 1px solid rgb(255 255 255 / .22) !important;
  border-radius: 999px !important;
  background: rgb(2 6 23 / .84) !important;
  color: #fff !important;
  padding: .65rem 1rem !important;
  font-size: .95rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 14px 34px rgb(0 0 0 / .45) !important;
  backdrop-filter: blur(10px) !important;
  cursor: pointer !important;
}

.hood-video-close:hover {
  background: rgb(33 196 215 / .92) !important;
  color: #020617 !important;
}

.hood-video-fallback {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
  border: 1px solid rgb(255 255 255 / .1) !important;
  border-radius: .9rem !important;
  background: rgb(2 6 23 / .92) !important;
  padding: .85rem 1rem !important;
  color: rgb(203 213 225) !important;
  font-size: .95rem !important;
}

.hood-video-fallback a {
  color: var(--hood-blue) !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.hood-video-fallback a:hover {
  color: #fff !important;
}

@media (max-width: 640px) {
  .hood-faq-section h2 {
    font-size: 2.7rem !important;
  }

  .hood-faq-section h2 + p {
    font-size: 1.2rem !important;
    margin-top: 1rem !important;
  }

  .hood-faq-section .space-y-3,
  .hood-faq-section .space-y-4 {
    margin-top: 3rem !important;
    gap: 1rem !important;
  }

  .hood-faq-card {
    border-radius: 1.15rem !important;
  }

  .hood-faq-button {
    min-height: 5.5rem !important;
    padding: 1.35rem 1.25rem !important;
  }

  .hood-faq-button span {
    font-size: 1.2rem !important;
  }

  .hood-faq-answer {
    padding: .25rem 1.25rem 1.45rem !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  .hood-video-fallback {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}
