/*
 * Hostigo WHMCS visual layer.
 * Safe override for the default Twenty-One template.
 */
:root {
  --hostigo-blue: #145cff;
  --hostigo-blue-dark: #0f46d8;
  --hostigo-ink: #0c1324;
  --hostigo-muted: #5f6d83;
  --hostigo-soft: #f4f8ff;
  --hostigo-line: #e3ebf8;
  --hostigo-card: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body.primary-bg-color {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 34%, #f6f9ff 100%);
  color: var(--hostigo-ink);
  font-family: Inter, "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.header {
  position: relative;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--hostigo-line);
  box-shadow: 0 12px 42px rgba(12, 19, 36, .06);
  backdrop-filter: blur(14px);
}

.header .navbar,
.header .topbar,
.navbar-main {
  background: transparent;
  border: 0;
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--hostigo-ink);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.navbar-brand:before {
  content: "↗";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 12px;
  border-radius: 10px;
  background: var(--hostigo-blue);
  color: #fff;
  font-weight: 900;
}

.navbar-main .navbar-nav > li > a,
.navbar-main .navbar-nav > li > a:focus,
.navbar .nav-link {
  color: #26344f;
  font-weight: 800;
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li.active > a,
.navbar .nav-link:hover {
  color: var(--hostigo-blue);
}

.btn {
  border-radius: 10px;
  font-weight: 850;
}

.btn-primary,
.btn-success,
.btn-info,
.btn-primary:focus,
.btn-success:focus,
.btn-info:focus {
  border-color: var(--hostigo-blue);
  background: var(--hostigo-blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(20, 92, 255, .2);
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
  border-color: var(--hostigo-blue-dark);
  background: var(--hostigo-blue-dark);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--hostigo-blue);
  color: var(--hostigo-blue);
}

.btn-outline-primary:hover {
  background: var(--hostigo-blue);
  color: #fff;
}

.main-content {
  padding-top: 34px;
  padding-bottom: 64px;
}

.dropdown-menu {
  z-index: 1200;
  border: 1px solid var(--hostigo-line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(12, 19, 36, .16);
}

body.page-homepage nav.master-breadcrumb,
body.page-homepage .master-breadcrumb {
  display: none !important;
}

.page-homepage .main-content {
  padding-top: 0;
}

h1,
h2,
h3,
h4,
.card-title,
.panel-title {
  color: var(--hostigo-ink);
  letter-spacing: 0;
}

.hostigo-whmcs-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 34px;
  align-items: stretch;
  padding: 52px;
  margin-bottom: 42px;
  border: 1px solid var(--hostigo-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 92, 255, .16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 24px 70px rgba(12, 19, 36, .08);
}

.hostigo-eyebrow {
  margin: 0 0 14px;
  color: var(--hostigo-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hostigo-hero-copy h1 {
  max-width: 800px;
  margin: 0 0 20px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
  font-weight: 950;
}

.hostigo-hero-copy p {
  max-width: 760px;
  color: var(--hostigo-muted);
  font-size: 20px;
  line-height: 1.7;
}

.hostigo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hostigo-hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 22px;
  background: #0c1324;
  box-shadow: 0 22px 58px rgba(12, 19, 36, .14);
}

.hostigo-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 74% center;
  display: block;
}

.hostigo-hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 19, 36, .06) 0%, rgba(12, 19, 36, .48) 100%);
}

.hostigo-hero-panel {
  position: relative;
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(12, 19, 36, .82);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.hostigo-hero-panel h2 {
  margin-top: 26px;
  color: #fff;
  font-size: 30px;
  font-weight: 950;
}

.hostigo-hero-panel ul {
  padding-left: 0;
  margin: 22px 0 0;
  list-style: none;
}

.hostigo-hero-panel li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #dce6ff;
  font-weight: 800;
}

.hostigo-status-dot {
  position: absolute;
  top: 26px;
  left: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 10px rgba(34,197,94,.14);
}

.hostigo-section {
  margin: 42px 0;
}

.hostigo-section-heading {
  max-width: 800px;
  margin-bottom: 24px;
}

.hostigo-section-heading h2,
.hostigo-support-grid h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 950;
}

.hostigo-section-heading p,
.hostigo-support-grid p {
  color: var(--hostigo-muted);
  font-size: 17px;
  line-height: 1.7;
}

.card,
.panel,
.tiles .tile,
.domain-checker-bg,
.store-order-container,
.logincontainer,
.providerLinkingFeedback,
.announcement-single,
.kb-article-content,
.products .product,
.product-info,
.summary-container {
  border: 1px solid var(--hostigo-line);
  border-radius: 16px;
  background: var(--hostigo-card);
  box-shadow: 0 18px 46px rgba(12, 19, 36, .07);
}

.card-header,
.panel-heading {
  border-bottom: 1px solid var(--hostigo-line);
  background: #fff;
  color: var(--hostigo-ink);
  font-weight: 900;
}

.hostigo-product-groups .card {
  overflow: hidden;
}

.hostigo-product-groups .card:before {
  content: "";
  display: block;
  height: 5px;
  background: var(--hostigo-blue);
}

.products .product header,
.products .product .header {
  background: linear-gradient(135deg, #0c1324 0%, #17213a 100%) !important;
  color: #fff;
}

.products .product header h2,
.products .product .header h2,
.products .product header span,
.products .product .header span {
  color: #fff;
}

.products .product header *,
.products .product .header * {
  color: #fff !important;
}

.products .product .price {
  color: var(--hostigo-blue);
  font-weight: 950;
}

.products .product ul {
  text-align: left;
}

.form-control {
  min-height: 44px;
  border-color: #d9e3f2;
  border-radius: 9px;
}

.form-control:focus {
  border-color: var(--hostigo-blue);
  box-shadow: 0 0 0 3px rgba(20, 92, 255, .12);
}

.domain-checker-container {
  background: linear-gradient(135deg, #0c1324 0%, #113a8f 62%, #145cff 140%);
}

.domain-checker-container h2,
.domain-checker-container p {
  color: #fff;
}

.action-icon-btns a {
  min-height: 150px;
  border: 1px solid var(--hostigo-line);
  border-radius: 16px;
  background: #fff;
  color: var(--hostigo-ink);
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(12, 19, 36, .06);
}

.action-icon-btns a:hover {
  transform: translateY(-2px);
  color: var(--hostigo-blue);
}

.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #0c1324;
  color: #cdd7ee;
}

.footer a,
.footer .nav-link {
  color: #fff;
  font-weight: 800;
}

.copyright {
  color: #cdd7ee;
}

p[style*="text-align:center"] a[href*="whmcs.com"] {
  display: none !important;
}

p:has(> a[href*="whmcs.com"]) {
  display: none !important;
}

.hostigo-assistant {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 2000;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hostigo-assistant__bubble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #0c1324;
  color: #fff;
  box-shadow: 0 20px 44px rgba(12, 19, 36, .28);
  font-weight: 900;
  cursor: pointer;
}

.hostigo-assistant__bubble span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #20d86f;
  box-shadow: 0 0 0 8px rgba(32, 216, 111, .14);
}

.hostigo-assistant__modal {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(520px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 150px));
  overflow: auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(12, 19, 36, .34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}

.hostigo-assistant.is-open .hostigo-assistant__modal {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hostigo-assistant__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.hostigo-assistant__head {
  padding: 38px 34px 30px;
  background: #0c1324;
  color: #fff;
  text-align: center;
}

.hostigo-assistant__head p {
  margin: 0 0 10px;
  color: #b6c9ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}

.hostigo-assistant__head h3 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}

.hostigo-assistant__head span {
  display: block;
  margin: 16px auto 0;
  max-width: 420px;
  color: #dbe4f5;
  font-size: 17px;
  line-height: 1.5;
}

.hostigo-assistant__options {
  display: grid;
  gap: 12px;
  max-height: 378px;
  overflow: auto;
  padding: 24px;
  background: #f6f8fc;
}

.hostigo-assistant__options a {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  column-gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e3e9f4;
  border-radius: 16px;
  background: #fff;
  color: #0c1324;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(12,19,36,.06);
}

.hostigo-assistant__options a:hover {
  border-color: rgba(20, 92, 255, .28);
  color: #0c1324;
  text-decoration: none;
  transform: translateY(-1px);
}

.hostigo-assistant__options b {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #eef4ff;
  color: #145cff;
  font-size: 22px;
}

.hostigo-assistant__options strong {
  display: block;
  font-size: 21px;
  line-height: 1.15;
}

.hostigo-assistant__options span {
  display: block;
  margin-top: 6px;
  color: #657084;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hostigo-assistant__foot {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-top: 1px solid #e3e9f4;
  background: #fff;
}

.hostigo-assistant__foot span {
  color: #657084;
  font-weight: 800;
}

.hostigo-assistant__foot a {
  color: #145cff;
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 991px) {
  .hostigo-whmcs-hero {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .hostigo-hero-media,
  .hostigo-hero-media img {
    min-height: 430px;
  }
}

@media (max-width: 767px) {
  .main-content {
    padding-top: 22px;
  }

  .navbar-brand {
    font-size: 24px;
  }

  .navbar-brand:before {
    width: 30px;
    height: 30px;
  }

  .hostigo-whmcs-hero {
    padding: 26px;
    border-radius: 18px;
  }

  .hostigo-hero-media,
  .hostigo-hero-media img {
    min-height: 360px;
  }

  .hostigo-hero-copy h1 {
    font-size: 40px;
  }

  .hostigo-hero-copy p {
    font-size: 17px;
  }

  .hostigo-hero-actions .btn {
    width: 100%;
  }

  .hostigo-assistant {
    right: 14px;
    bottom: 14px;
  }

  .hostigo-assistant__bubble strong {
    display: none;
  }

  .hostigo-assistant__modal {
    right: -4px;
    bottom: 64px;
  }

  .hostigo-assistant__head h3 {
    font-size: 28px;
  }

  .hostigo-assistant__options a {
    grid-template-columns: 50px minmax(0,1fr);
  }

  .hostigo-assistant__options b {
    width: 50px;
    height: 50px;
  }
}
