/* =========================================================
   HeroClass Public Site Styles
   Use this for /site/*.html marketing pages only.
   ========================================================= */

:root {
  --hc-bg: #0b0b0f;
  --hc-panel: #151922;
  --hc-panel-alt: #11141a;
  --hc-text: #ffffff;
  --hc-muted: rgba(255,255,255,0.82);
  --hc-line: rgba(255,255,255,0.12);
  --hc-gold: #ffd700;
  --hc-gold-soft: #f5d76e;
  --hc-gold-hover: #ffd84d;
  --hc-shadow: 0 14px 34px rgba(0,0,0,0.42);
  --hc-radius: 14px;
  --hc-nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--hc-bg);
  color: var(--hc-text);
  padding-top: var(--hc-nav-height);
}

h1, h2, h3 {
  text-align: center;
}

p {
  text-align: center;
  max-width: 900px;
  margin: 10px auto;
  line-height: 1.7;
  color: var(--hc-muted);
}

a {
  color: inherit;
}

/* =========================================================
   Shared Top Navigation
   ========================================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  min-height: var(--hc-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 44px);
  background: rgba(8, 10, 16, 0.88);
  border-bottom: 1px solid var(--hc-line);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.32);
}

.site-nav .brand {
  color: var(--hc-gold);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(255,215,0,0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav-links a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--hc-gold);
  border-bottom-color: var(--hc-gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--hc-gold);
  color: #111;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0,0,0,0.28);
  transition: transform 0.16s ease, background 0.16s ease;
}

.nav-cta:hover {
  background: var(--hc-gold-hover);
  transform: translateY(-1px);
}

/* =========================================================
   Shared Buttons
   ========================================================= */

.buttons,
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hc-gold);
  color: #111;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(0,0,0,0.28);
  transition: transform 0.16s ease, background 0.16s ease;
}

.btn:visited {
  color: #111;
}

.btn:hover {
  background: var(--hc-gold-hover);
  transform: translateY(-1px);
}

.btn.secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
}

.btn.secondary:visited {
  color: white;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.18);
}
.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  text-align: center;
}

.button-row .btn {
  display: inline-flex;
  width: auto;
}
/* =========================================================
   Common Page Sections
   ========================================================= */

.hero {
  margin-top: calc(var(--hc-nav-height) * -1);
  padding-top: calc(var(--hc-nav-height) + 40px);
}

.section {
  padding: 60px 20px;
}

.section.alt {
  background: var(--hc-panel-alt);
}

.footer,
.site-footer {
  text-align: center;
  padding: 46px 20px;
  background: #111;
  border-top: 1px solid var(--hc-line);
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px auto 0;
}

.site-footer a,
.footer a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover,
.footer a:hover {
  color: var(--hc-gold);
}

/* =========================================================
   Responsive Navigation
   ========================================================= */

@media (max-width: 860px) {
  :root {
    --hc-nav-height: 112px;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 18px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 4px 14px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 4px 0;
  }

  .nav-cta {
    position: absolute;
    top: 12px;
    right: 18px;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  :root {
    --hc-nav-height: 146px;
  }

  .site-nav .brand {
    font-size: 20px;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav-cta {
    position: static;
    width: 100%;
    margin-top: 4px;
  }

  .hero h1 {
    font-size: 40px !important;
  }

  .hero p {
    font-size: 18px !important;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }
}


/* =========================================================
   Cleaned Public Site Helpers
   ========================================================= */

.hero-actions {
  margin-top: 26px;
}

.site-nav + .hero,
.site-nav + div.hero {
  margin-top: calc(var(--hc-nav-height) * -1);
}

.site-nav a:focus-visible,
.btn:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(255,215,0,0.75);
  outline-offset: 3px;
}

.nav-links a.active {
  text-shadow: 0 0 14px rgba(255,215,0,0.24);
}

.site-footer p {
  margin-bottom: 0;
}
