/**
 * AUTHORITATIVE yellow CTA parity with standalone sheba-ai-landing-FOR-RONEN.
 * Mirrors styles.css .btn / .btn--yellow / .btn--shine / .btn--lg exactly:
 *   resting, hover (lift+scale+glow+swoosh), active.
 * Loaded last. Do not partial-fix hover here — change THIS file.
 */

:root {
  --sheba-btn-yellow: #FFD400;
  --sheba-btn-yellow-hover: #E8C000;
  --sheba-btn-ink: #231F20;
  --sheba-btn-tri: #323A6E;
  --sheba-btn-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sheba-btn-shine {
  from { left: -120%; }
  to   { left: 140%; }
}

/* -------- shared selector list (yellow marketing CTAs) -------- */
.sheba-ai-landing a.sheba-btn--yellow,
.sheba-ai-landing .sheba-btn--yellow,
.sheba-ai-landing a.btn.btn--yellow,
.sheba-ai-landing .btn--yellow,
body.sheba-ai-page .sheba-ai-landing .hero-navy .hero-actions > a.sheba-btn--yellow,
.sheba-ai-landing .cta-band--dramatic a.sheba-btn--yellow,
.sheba-ai-landing .cta-band a.sheba-btn--yellow,
button.btn.btn-primary.btn-header-menu,
.btn.btn-primary.btn-header-menu,
a > button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.btn-sm),
button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.drawer-button),
a.btn.btn-primary:not(.btn-outline):not(.btn-ghost) {
  --btn-tri: var(--sheba-btn-tri);
  position: relative !important;
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: none !important;
  min-width: max-content !important;
  height: auto !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 16px 28px !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--sheba-btn-yellow) !important;
  background-color: var(--sheba-btn-yellow) !important;
  color: var(--sheba-btn-ink) !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  overflow: hidden !important; /* required for swoosh */
  font-family: "Montserrat", system-ui, -apple-system, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.2s var(--sheba-btn-ease),
    filter 0.18s ease,
    color 0.18s ease !important;
}

/* LG size (hero / dramatic CTA band) — standalone .btn--lg */
.sheba-ai-landing a.sheba-btn--yellow.sheba-btn--lg,
.sheba-ai-landing .sheba-btn--yellow.sheba-btn--lg,
.sheba-ai-landing a.sheba-btn--yellow.sheba-btn--shine,
body.sheba-ai-page .sheba-ai-landing .hero-navy .hero-actions > a.sheba-btn--yellow,
.sheba-ai-landing .cta-band--dramatic a.sheba-btn--yellow,
.sheba-ai-landing .cta-band a.sheba-btn--yellow {
  font-size: 16px !important;
  padding: 18px 34px !important;
}

/* Inner labels (DaisyUI wraps text in <a>) */
button.btn.btn-primary.btn-header-menu a,
.btn.btn-primary.btn-header-menu a,
button.btn.btn-primary.btn-header-menu .font-headerMenuItem,
.btn.btn-primary.btn-header-menu .font-headerMenuItem {
  color: var(--sheba-btn-ink) !important;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif !important;
  font-weight: 700 !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Triangle ::before — navy on yellow */
.sheba-ai-landing a.sheba-btn--yellow::before,
.sheba-ai-landing .sheba-btn--yellow::before,
.sheba-ai-landing a.btn.btn--yellow::before,
.sheba-ai-landing .btn--yellow::before,
body.sheba-ai-page .sheba-ai-landing .hero-navy .hero-actions > a.sheba-btn--yellow::before,
.sheba-ai-landing .cta-band--dramatic a.sheba-btn--yellow::before,
button.btn.btn-primary.btn-header-menu::before,
.btn.btn-primary.btn-header-menu::before,
a > button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.btn-sm)::before,
button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.drawer-button)::before,
a.btn.btn-primary:not(.btn-outline):not(.btn-ghost)::before {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-style: solid !important;
  border-width: 7px 0 7px 10px !important;
  border-color: transparent transparent transparent var(--sheba-btn-tri) !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
  background: none !important;
  box-shadow: none !important;
  transition: transform 0.2s ease !important;
  transform: none !important;
}

/* Swoosh ::after */
.sheba-ai-landing a.sheba-btn--shine::after,
.sheba-ai-landing .sheba-btn--shine::after,
.sheba-ai-landing a.sheba-btn--yellow::after,
.sheba-ai-landing .sheba-btn--yellow::after,
button.btn.btn-primary.btn-header-menu::after,
.btn.btn-primary.btn-header-menu::after,
a > button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.btn-sm)::after,
button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.drawer-button)::after,
a.btn.btn-primary:not(.btn-outline):not(.btn-ghost)::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -120%; /* no !important — keyframes animate left */
  width: 70% !important;
  height: 100% !important;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent) !important;
  transform: skewX(-18deg) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* ===== HOVER — full standalone stack ===== */
.sheba-ai-landing a.sheba-btn--yellow:hover,
.sheba-ai-landing .sheba-btn--yellow:hover,
.sheba-ai-landing a.btn.btn--yellow:hover,
.sheba-ai-landing .btn--yellow:hover,
body.sheba-ai-page .sheba-ai-landing .hero-navy .hero-actions > a.sheba-btn--yellow:hover,
.sheba-ai-landing .cta-band--dramatic a.sheba-btn--yellow:hover,
.sheba-ai-landing .cta-band a.sheba-btn--yellow:hover,
button.btn.btn-primary.btn-header-menu:hover,
.btn.btn-primary.btn-header-menu:hover,
a > button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.btn-sm):hover,
button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.drawer-button):hover,
a.btn.btn-primary:not(.btn-outline):not(.btn-ghost):hover,
.sheba-ai-landing a.sheba-btn--yellow.is-shining,
.sheba-ai-landing a.sheba-btn--shine.is-shining {
  background: var(--sheba-btn-yellow-hover) !important;
  background-color: var(--sheba-btn-yellow-hover) !important;
  color: var(--sheba-btn-ink) !important;
  /* standalone: translateY(-2px) scale(1.02) + yellow glow */
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.45) !important;
  /* drop-shadow survives overflow:hidden used for swoosh */
  filter: drop-shadow(0 6px 14px rgba(255, 212, 0, 0.5)) !important;
}

.sheba-ai-landing a.sheba-btn--yellow:hover::before,
.sheba-ai-landing .sheba-btn--yellow:hover::before,
button.btn.btn-primary.btn-header-menu:hover::before,
.btn.btn-primary.btn-header-menu:hover::before,
a > button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):hover::before,
button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.drawer-button):hover::before,
a.btn.btn-primary:not(.btn-outline):not(.btn-ghost):hover::before {
  transform: translateX(2px) !important;
}

.sheba-ai-landing a.sheba-btn--shine:hover::after,
.sheba-ai-landing .sheba-btn--shine:hover::after,
.sheba-ai-landing a.sheba-btn--yellow:hover::after,
.sheba-ai-landing a.sheba-btn--shine.is-shining::after,
.sheba-ai-landing a.sheba-btn--yellow.is-shining::after,
button.btn.btn-primary.btn-header-menu:hover::after,
.btn.btn-primary.btn-header-menu:hover::after,
a > button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):hover::after,
button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.drawer-button):hover::after,
a.btn.btn-primary:not(.btn-outline):not(.btn-ghost):hover::after {
  animation: sheba-btn-shine 0.75s var(--sheba-btn-ease) !important;
}

/* ===== ACTIVE ===== */
.sheba-ai-landing a.sheba-btn--yellow:active,
.sheba-ai-landing .sheba-btn--yellow:active,
button.btn.btn-primary.btn-header-menu:active,
.btn.btn-primary.btn-header-menu:active,
a > button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):active,
button.btn.btn-primary:not(.btn-outline):not(.btn-ghost):not(.drawer-button):active,
a.btn.btn-primary:not(.btn-outline):not(.btn-ghost):active {
  transform: translateY(0) scale(0.99) !important;
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.35) !important;
}

/* Kill fixed Tailwind widths that force wrap */
button.btn.btn-primary[class*="w-[200px]"],
button.btn.btn-primary[class*="w-[280px]"],
a > button.btn.btn-primary[class*="w-[200px]"],
a > button.btn.btn-primary[class*="w-[280px]"] {
  width: auto !important;
  max-width: none !important;
  min-width: max-content !important;
}

@media (prefers-reduced-motion: reduce) {
  .sheba-ai-landing a.sheba-btn--shine:hover::after,
  button.btn.btn-primary.btn-header-menu:hover::after,
  a.btn.btn-primary:hover::after {
    animation: none !important;
  }
  .sheba-ai-landing a.sheba-btn--yellow:hover,
  button.btn.btn-primary.btn-header-menu:hover,
  a.btn.btn-primary:hover {
    transform: none !important;
  }
}
