/* ProAI Expert — Homepage CTA Normalization R1
   Homepage-only additive authority for Direction A: Project Discussion System.
   Does not alter global Header, Hero, Footer, or inner-page component authority. */

body.proai-golden-r12 .site-header__cta {
  border-color: rgba(226, 226, 221, .22);
  color: #f2f0eb;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .012) 30%, rgba(0, 0, 0, .11)),
    linear-gradient(180deg, #171b21 0%, #11151a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(0, 0, 0, .58),
    0 10px 24px rgba(0, 0, 0, .22),
    0 0 0 1px rgba(102, 94, 151, .035);
  text-shadow: none;
  transition: transform 160ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

body.proai-golden-r12 .site-header__mobile-cta {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body.proai-golden-r12 .site-header__cta:hover {
    transform: translateY(-1px);
    border-color: rgba(235, 234, 229, .34);
    color: #f7f5ef;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .072), rgba(255, 255, 255, .018) 30%, rgba(0, 0, 0, .09)),
      linear-gradient(180deg, #1b2027 0%, #13181e 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .16),
      inset 0 -1px 0 rgba(0, 0, 0, .60),
      0 12px 28px rgba(0, 0, 0, .26),
      0 0 0 1px rgba(111, 102, 164, .055);
  }
}

body.proai-golden-r12 .site-header__cta:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, .48),
    inset 0 1px 0 rgba(255, 255, 255, .07),
    0 6px 16px rgba(0, 0, 0, .22);
}

body.proai-golden-r12 .site-header__cta:focus-visible,
body.proai-golden-r12 .site-header__nav .site-header__mobile-cta:focus-visible {
  outline: 2px solid rgba(224, 221, 239, .92);
  outline-offset: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .13),
    0 0 0 1px #050607,
    0 0 0 5px rgba(111, 102, 164, .20);
}

body.proai-golden-r12 #hero .proai-hero-cta--secondary {
  min-height: 48px;
}

@media (max-width: 1200px) {
  body.proai-golden-r12 .site-header__nav .site-header__mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 0 20px;
    border: 1px solid rgba(226, 226, 221, .22);
    border-radius: 8px;
    color: #f2f0eb;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .012) 30%, rgba(0, 0, 0, .11)),
      linear-gradient(180deg, #171b21 0%, #11151a 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .11),
      inset 0 -1px 0 rgba(0, 0, 0, .56),
      0 10px 24px rgba(0, 0, 0, .20);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: none;
    text-shadow: none;
  }

  body.proai-golden-r12 .site-header__nav .site-header__mobile-cta:active {
    transform: translateY(1px);
  }
}

@media (max-width: 640px) {
  body.proai-golden-r12 #hero .hero-cta-group.proai-hero-actions {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  body.proai-golden-r12 #hero .proai-hero-cta--primary {
    min-height: 52px;
  }

  body.proai-golden-r12 #hero .proai-hero-cta--secondary {
    min-height: 48px;
  }
}

@media (max-width: 1200px) and (max-height: 540px) and (orientation: landscape) {
  body.proai-golden-r12 .site-header__nav .site-header__mobile-cta {
    grid-column: 1 / -1;
    min-height: 48px;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.proai-golden-r12 .site-header__cta,
  body.proai-golden-r12 .site-header__nav .site-header__mobile-cta,
  body.proai-golden-r12 #hero .proai-hero-cta--primary,
  body.proai-golden-r12 #hero .proai-hero-cta--secondary,
  body.proai-golden-r12 #hero .proai-hero-cta--secondary span {
    transition: none !important;
    transform: none !important;
  }
}
