/* Hostage Cloud theme — logo green + charcoal */
:root,
[data-bs-theme="light"] {
  --hc-green: #74aa31;
  --hc-green-dark: #5d8a24;
  --hc-green-rgb: 116, 170, 49;
  --hc-ink: #0b0f0a;
  --hc-muted: #5c5c5c;
  --bs-primary: #74aa31;
  --bs-primary-rgb: 116, 170, 49;
  --bs-link-color: #5d8a24;
  --bs-link-hover-color: #4a6e1c;
  --bs-link-color-rgb: 93, 138, 36;
  --bs-focus-ring-color: rgba(116, 170, 49, 0.35);
}

[data-bs-theme="dark"] {
  --bs-primary: #84bf2d;
  --bs-primary-rgb: 132, 191, 45;
  --bs-link-color: #9ad14a;
  --bs-link-hover-color: #b4e06a;
  --bs-link-color-rgb: 154, 209, 74;
}

/* Force brand green on portal links (breadcrumbs, news, etc.) */
a:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link):not(.hc-land__btn):not(.hc-land__nav-cta):not(.hc-land__nav-link):not(.hc-auth__cta),
.breadcrumb a,
.breadcrumb-item a,
a.link-primary,
.link-primary,
.alert a,
.card a:not(.btn),
.news a,
article a {
  color: var(--bs-link-color) !important;
}

a:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link):hover,
.breadcrumb a:hover,
.breadcrumb-item a:hover,
a.link-primary:hover,
.link-primary:hover {
  color: var(--bs-link-hover-color) !important;
}

.btn-primary {
  --bs-btn-bg: var(--hc-green);
  --bs-btn-border-color: var(--hc-green);
  --bs-btn-hover-bg: var(--hc-green-dark);
  --bs-btn-hover-border-color: var(--hc-green-dark);
  --bs-btn-active-bg: var(--hc-green-dark);
  --bs-btn-active-border-color: var(--hc-green-dark);
  --bs-btn-disabled-bg: var(--hc-green);
  --bs-btn-disabled-border-color: var(--hc-green);
}

.btn-outline-primary {
  --bs-btn-color: var(--hc-green);
  --bs-btn-border-color: var(--hc-green);
  --bs-btn-hover-bg: var(--hc-green);
  --bs-btn-hover-border-color: var(--hc-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--hc-green-dark);
  --bs-btn-active-border-color: var(--hc-green-dark);
}

.alert-info {
  --bs-alert-bg: rgba(var(--hc-green-rgb), 0.1);
  --bs-alert-border-color: rgba(var(--hc-green-rgb), 0.25);
  --bs-alert-color: #3f6418;
}

.nav-link:hover,
.nav-link.active,
.offcanvas-item.active > .nav-link {
  color: var(--hc-green) !important;
}

a.btn-outline-primary:hover {
  color: #fff;
}

/* —— Landing page (strip portal chrome, full-bleed) —— */
body.page-landing {
  background: #0b0f0a;
}

body.page-landing > .container > header,
body.page-landing footer#footer,
body.page-landing a[href="#top"].position-fixed,
body.page-landing .breadcrumb,
body.page-landing nav[aria-label="breadcrumb"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-landing > .container,
body.page-landing > .container > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

body.page-landing > .container > .container > .row > [class*="col-"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

body.page-landing #wrapper,
body.page-landing section[role="main"],
body.page-landing .content-block {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.hc-land {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--hc-ink);
}

.hc-land__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
}

.hc-land__nav img {
  height: 40px;
  width: auto;
}

.hc-land__nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hc-land__nav-actions a {
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

.hc-land__nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.hc-land__nav-link:hover {
  color: #fff;
}

.hc-land__nav-cta {
  background: #fff;
  color: var(--hc-ink) !important;
}

.hc-land__nav-cta:hover {
  background: #f3f3f3;
  color: var(--hc-ink) !important;
}

.hc-land__hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 2rem 4rem;
  background:
    radial-gradient(ellipse 70% 55% at 65% 40%, rgba(116, 170, 49, 0.32), transparent 58%),
    radial-gradient(ellipse 45% 40% at 15% 85%, rgba(116, 170, 49, 0.12), transparent 50%),
    linear-gradient(165deg, #0b0f0a 0%, #121812 50%, #0a1408 100%);
  color: #fff;
  overflow: hidden;
}

.hc-land__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 70% at 60% 45%, #000 15%, transparent 72%);
  pointer-events: none;
}

.hc-land__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 0 8vw;
}

.hc-land__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-green);
  margin-bottom: 1rem;
}

.hc-land__headline {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1.15rem;
}

.hc-land__lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hc-land__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hc-land__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 8px;
  font-weight: 700;
  padding: 0.85rem 1.4rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hc-land__btn:hover {
  transform: translateY(-1px);
}

.hc-land__btn--primary {
  background: var(--hc-green);
  color: #fff !important;
}

.hc-land__btn--primary:hover {
  background: var(--hc-green-dark);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(116, 170, 49, 0.35);
}

.hc-land__btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hc-land__btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

.hc-land__section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hc-land__section-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  text-align: center;
}

.hc-land__section-sub {
  text-align: center;
  color: var(--hc-muted);
  margin: 0 0 3rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hc-land__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.hc-land__feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.hc-land__feature p {
  margin: 0;
  color: var(--hc-muted);
  line-height: 1.55;
  font-size: 0.975rem;
}

.hc-land__feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--hc-green-rgb), 0.12);
  color: var(--hc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.1rem;
}

.hc-land__band {
  background: var(--hc-ink);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.hc-land__band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hc-land__band p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.5rem;
}

.hc-land__footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--hc-muted);
  border-top: 1px solid #eee;
}

.hc-land__footer a {
  color: var(--hc-green);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hc-land__features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hc-land__hero-inner {
    margin: 0 auto;
    text-align: center;
  }

  .hc-land__lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hc-land__actions {
    justify-content: center;
  }

  .hc-land__nav {
    padding: 1rem 1.25rem;
  }
}
