/* Underyoo logo system — kangaroo mark + dark lockups */

.brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 2px rgba(160, 94, 196, 0.35), 0 4px 16px rgba(91, 44, 138, 0.35);
  transition: transform 0.25s var(--ease, ease), box-shadow 0.25s ease;
}
.brand:hover .brand-mark-img {
  transform: translateY(-2px) rotate(-6deg);
  box-shadow: 0 0 0 2px rgba(160, 94, 196, 0.55), 0 8px 24px rgba(91, 44, 138, 0.45);
}
.brand-word {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--cream);
  text-transform: uppercase;
}
.brand-word span {
  color: var(--cyan-hot, #a05ec4);
}

/* Hero composition — two-column, single visual (no stacked lockups) */
.uy-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.25rem, 4.5vw, 3.25rem);
}
.uy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 12% 20%, rgba(91, 44, 138, 0.28), transparent 58%),
    radial-gradient(ellipse 45% 50% at 88% 70%, rgba(123, 63, 160, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 60% 0%, rgba(196, 92, 42, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.uy-hero .container { position: relative; z-index: 1; }

.uy-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.uy-hero-copy {
  text-align: left;
  max-width: 34rem;
}

.uy-hero-copy .roo-badge {
  margin-bottom: 1.15rem;
}

.uy-hero-copy h1 {
  font-family: var(--display, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--cream, #f4f1ec);
}

.uy-hero-lede {
  margin: 0;
  max-width: 38ch;
  color: var(--muted, #9a93a8);
  font-size: 1.08rem;
  line-height: 1.65;
}

.uy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.uy-hero-trust {
  margin: 1.15rem 0 0;
  letter-spacing: 0.02em;
}

.uy-hero-visual {
  position: relative;
  max-width: 100%;
}

.uy-hero-lockup {
  width: min(420px, 92vw);
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.uy-hero-cutaway {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--line, #3a3348);
  box-shadow:
    0 0 0 1px rgba(123, 63, 160, 0.12),
    0 28px 56px rgba(0, 0, 0, 0.45);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.uy-hero-caption {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--muted, #9a93a8);
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.4;
}

/* Roo badge */
.roo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: rgba(91, 44, 138, 0.22);
  border: 1px solid rgba(160, 94, 196, 0.38);
  color: var(--cream, #f4f1ec);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.roo-badge img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

/* Watermark under product grid — literally under */
.under-roo {
  position: relative;
}
.under-roo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2rem;
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  transform: translateX(-50%);
  background: url("/assets/brand/logo-mark.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.under-roo > * { position: relative; z-index: 1; }

/* Footer mark */
.footer-roo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-roo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(91, 44, 138, 0.5);
}

/* Hop micro-interaction on category cards if present */
.product-card:hover .product-well::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 22px;
  height: 22px;
  background: url("/assets/brand/logo-mark.png") center / contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.product-well { position: relative; }

@media (max-width: 960px) {
  .uy-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .uy-hero-copy {
    text-align: center;
    max-width: none;
    margin-inline: auto;
  }
  .uy-hero-lede {
    margin-inline: auto;
  }
  .uy-hero-actions {
    justify-content: center;
  }
  .uy-hero-trust {
    text-align: center;
  }
  .uy-hero-copy .roo-badge {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .brand-word { font-size: 0.85rem; letter-spacing: 0.1em; }
  .uy-hero {
    padding: 1.5rem 0 2rem;
  }
  .uy-hero-copy h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }
  .uy-hero-lede {
    font-size: 1rem;
  }
  .uy-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .uy-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .uy-hero-cutaway {
    border-radius: 14px;
  }
  .uy-hero-lockup { width: min(360px, 94vw); }
}
