/* ============================================================
JUNO AI — Hero Attribution Badge
Path: assets/css/juno.css
------------------------------------------------------------
Elegant pill badge announcing the AI match engine.
Sits above the hero h1. Uses the brand gold tokens.
============================================================ */

.juno-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 7px 18px 7px 10px;
  margin-bottom: 28px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(201, 168, 76, 0.30);
  border-radius: 999px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  text-decoration: none;
  color: inherit;

  transition: border-color .35s ease, background .35s ease, transform .35s ease;
}

.juno-badge:hover {
  border-color: rgba(201, 168, 76, 0.55);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-1px);
}


/* ============================================================
LOGO MARK (inline SVG)
============================================================ */

.juno-mark {
  width: 30px;
  height: 30px;
  color: var(--eh-gold, #c9a84c);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.25));
}

.juno-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Subtle breathing pulse on the central node — signals "live AI" */
.juno-core {
  transform-origin: 14px 14px;
  animation: junoPulse 3.4s ease-in-out infinite;
}

@keyframes junoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.88); }
}

/* Outer orbit slow rotation (subtle — 40s per turn so it's almost meditative) */
.juno-orbit-outer {
  transform-origin: 14px 14px;
  animation: junoSpin 40s linear infinite;
}

@keyframes junoSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ============================================================
TEXT STACK
============================================================ */

.juno-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.juno-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.82);
}

.juno-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: .02em;
}

.juno-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--eh-gold, #c9a84c);
  margin-left: 2px;
  font-size: 13px;
  letter-spacing: .08em;
  vertical-align: 1px;
}

.juno-tm {
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 500;
  color: rgba(201, 168, 76, 0.65);
  margin-left: 3px;
  vertical-align: 7px;
  letter-spacing: 0;
}


/* ============================================================
RESPONSIVE
============================================================ */

@media (max-width: 640px) {
  .juno-badge {
    padding: 6px 16px 6px 9px;
    gap: 10px;
    margin-bottom: 22px;
  }
  .juno-mark { width: 26px; height: 26px; }
  .juno-name { font-size: 15.5px; }
  .juno-name em { font-size: 12px; }
  .juno-tm { font-size: 8px; vertical-align: 6px; }
  .juno-eyebrow { font-size: 9px; letter-spacing: .22em; }
}

@media (max-width: 375px) {
  .juno-badge {
    padding: 5px 14px 5px 8px;
    gap: 9px;
  }
  .juno-mark { width: 24px; height: 24px; }
  .juno-name { font-size: 14.5px; }
}


/* ============================================================
REDUCED MOTION — stop pulse/spin for accessibility
============================================================ */

@media (prefers-reduced-motion: reduce) {
  .juno-core,
  .juno-orbit-outer {
    animation: none;
  }
}
/* ============================================================
REFERON BADGE — variante con logo PNG (riusa stile juno-badge)
============================================================ */

.referon-badge { margin-left: 12px; }

.referon-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Logo Referon non ha glow oro: rimuove drop-shadow */
.referon-mark { filter: none; }

@media (max-width: 640px) {
  .referon-badge { margin-left: 0; margin-top: 8px; }
}
