/*
KernWi-Fi Web Hosting page.
*/

:root {
  --hosting-bg: #030e1b;
  --hosting-line: rgba(118, 209, 255, 0.18);
  --hosting-cyan: #76d1ff;
  --hosting-text: #edf7ff;
  --hosting-muted: #a9bfd2;
}

.hosting-main {
  min-width: 0;
  min-height: 100vh;
  color: var(--hosting-text);
  background: var(--hosting-bg);
}

.hosting-hero {
  min-height: 820px;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 26%, rgba(31, 163, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #030e1b, #071c33);
}

.hosting-hero-copy {
  align-self: center;
  padding: 64px clamp(34px, 5vw, 90px);
  box-sizing: border-box;
}

.hosting-kicker {
  color: var(--hosting-cyan);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hosting-message {
  position: relative;
  margin-top: 18px;
  padding-left: 29px;
}

.hosting-message::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--hosting-cyan);
  box-shadow: 0 0 18px rgba(118, 209, 255, 0.18);
}

.hosting-message h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(4rem, 6.8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hosting-message p,
.hosting-section p,
.hosting-section li {
  color: var(--hosting-muted);
  line-height: 1.68;
}

.hosting-lead {
  color: #d9eaf6 !important;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.hosting-micro {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.hosting-actions,
.hosting-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hosting-hero-copy > .hosting-actions {
  margin-left: 29px;
}

.hosting-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(4, 20, 36, 0.72);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.hosting-button.primary {
  color: #03101d;
  border-color: var(--hosting-cyan);
  background: linear-gradient(135deg, #9ceaff, #31b4ff);
}

.hosting-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 820px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(42, 180, 255, 0.22), transparent 48%),
    linear-gradient(145deg, rgba(8, 42, 72, 0.9), rgba(3, 14, 27, 0.98));
}

.hosting-browser {
  position: relative;
  z-index: 2;
  width: min(78%, 650px);
  aspect-ratio: 1.25;
  border: 1px solid rgba(118, 209, 255, 0.28);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(4, 20, 36, 0.88);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateY(-7deg) rotateX(3deg);
}

.hosting-browser-bar {
  height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(118, 209, 255, 0.15);
  background: rgba(9, 42, 71, 0.94);
}

.hosting-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(118, 209, 255, 0.66);
}

.hosting-browser-content {
  position: relative;
  height: calc(100% - 48px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hosting-cloud {
  width: 160px;
  height: 88px;
  border: 2px solid var(--hosting-cyan);
  border-radius: 52px;
  filter: drop-shadow(0 0 16px rgba(118, 209, 255, 0.22));
}

.hosting-cloud::before,
.hosting-cloud::after {
  content: "";
  position: absolute;
  border: 2px solid var(--hosting-cyan);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: rgba(6, 30, 52, 0.96);
}

.hosting-cloud::before {
  width: 72px;
  height: 56px;
  margin: -30px 0 0 23px;
}

.hosting-cloud::after {
  width: 54px;
  height: 42px;
  margin: -20px 0 0 83px;
}

.hosting-lines {
  position: absolute;
  inset: 12% 10%;
}

.hosting-lines i {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 209, 255, 0.5), transparent);
}

.hosting-lines i:nth-child(1) { top: 12%; left: 4%; width: 62%; transform: rotate(14deg); }
.hosting-lines i:nth-child(2) { top: 34%; right: 0; width: 58%; transform: rotate(-18deg); }
.hosting-lines i:nth-child(3) { bottom: 26%; left: 0; width: 54%; transform: rotate(-10deg); }
.hosting-lines i:nth-child(4) { bottom: 8%; right: 5%; width: 60%; transform: rotate(13deg); }

.hosting-status {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hosting-status b {
  min-height: 52px;
  border: 1px solid rgba(118, 209, 255, 0.18);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #dff5ff;
  background: rgba(7, 31, 53, 0.82);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
}

.hosting-section {
  padding: clamp(56px, 7vw, 90px) 0;
  border-top: 1px solid var(--hosting-line);
}

.hosting-container {
  width: min(calc(100% - 72px), 1200px);
  margin: auto;
}

.hosting-section h2 {
  max-width: 870px;
  margin: 16px 0 22px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hosting-intro {
  max-width: 880px;
}

.hosting-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.hosting-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hosting-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hosting-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hosting-grid article,
.hosting-feature-list article,
.hosting-notice,
.hosting-feature-panel,
.hosting-assessment-inner {
  padding: 24px;
  border: 1px solid var(--hosting-line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(12, 45, 76, 0.9), rgba(6, 22, 39, 0.96));
}

.hosting-grid article > span {
  display: block;
  margin-bottom: 8px;
  color: var(--hosting-cyan);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hosting-grid h3,
.hosting-feature-list h3 {
  margin: 0 0 10px;
  color: #ffffff;
}

.hosting-grid p,
.hosting-feature-list p {
  margin: 0;
  font-size: 0.9rem;
}

.hosting-grid article > a {
  margin-top: 16px;
  display: inline-flex;
  color: var(--hosting-cyan);
  font-weight: 800;
  text-decoration: none;
}

.hosting-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.hosting-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hosting-steps {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  counter-reset: hosting-step;
}

.hosting-steps li {
  counter-increment: hosting-step;
  padding: 22px;
  border-top: 2px solid var(--hosting-cyan);
  background: rgba(7, 28, 49, 0.8);
}

.hosting-steps li::before {
  content: counter(hosting-step);
  width: 29px;
  height: 29px;
  margin-bottom: 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04101e;
  background: var(--hosting-cyan);
  font-weight: 850;
}

.hosting-steps strong,
.hosting-steps span {
  display: block;
}

.hosting-steps span {
  margin-top: 8px;
  color: var(--hosting-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hosting-notice {
  margin-top: 22px;
}

.hosting-notice p:last-child {
  margin-bottom: 0;
}

.hosting-feature-panel,
.hosting-assessment-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.hosting-feature-panel > div:first-child,
.hosting-assessment-inner > div:first-child {
  max-width: 720px;
}

.hosting-feature-panel .hosting-inline-actions,
.hosting-assessment-inner .hosting-actions {
  flex-shrink: 0;
  margin-top: 0;
}

@media (max-width: 1050px) {
  .hosting-grid.four,
  .hosting-grid.three,
  .hosting-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hosting-hero {
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
  }

  .hosting-hero-copy {
    padding: 38px 18px 56px;
  }

  .hosting-message {
    padding-left: 25px;
  }

  .hosting-hero-copy > .hosting-actions {
    margin-left: 25px;
  }

  .hosting-message h1 {
    font-size: clamp(3.3rem, 17vw, 5.2rem);
  }

  .hosting-hero-visual {
    width: 100%;
    min-height: 340px;
    height: 340px;
  }

  .hosting-browser {
    width: 86%;
  }

  .hosting-status {
    right: 16px;
    left: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosting-container {
    width: calc(100% - 36px);
  }

  .hosting-grid.four,
  .hosting-grid.three,
  .hosting-grid.two,
  .hosting-feature-list,
  .hosting-steps,
  .hosting-split {
    grid-template-columns: 1fr;
  }

  .hosting-feature-panel,
  .hosting-assessment-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hosting-button {
    width: 100%;
  }
}

/* Licensed Web Hosting hero image */
.hosting-hero-visual {
  position: relative !important;
  min-width: 0 !important;
  height: 820px !important;
  min-height: 820px !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #061522 !important;
}

.hosting-hero-visual::before {
  content: "" !important;
  position: absolute !important;
  z-index: 2 !important;
  inset: 0 !important;
  display: block !important;
  background:
    linear-gradient(
      90deg,
      #030e1b 0%,
      rgba(3, 14, 27, 0.82) 8%,
      rgba(3, 14, 27, 0.34) 20%,
      rgba(3, 14, 27, 0.04) 36%,
      rgba(3, 14, 27, 0) 100%
    ) !important;
  pointer-events: none !important;
}

.hosting-hero-visual::after {
  content: none !important;
  display: none !important;
}

.hosting-hero-visual img {
  width: 100% !important;
  height: 820px !important;
  min-height: 820px !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 700px) {
  .hosting-hero-visual {
    height: 300px !important;
    min-height: 300px !important;
  }

  .hosting-hero-visual::before {
    background:
      linear-gradient(
        180deg,
        rgba(3, 14, 27, 0) 55%,
        rgba(3, 14, 27, 0.82) 86%,
        #030e1b 100%
      ) !important;
  }

  .hosting-hero-visual img {
    height: 300px !important;
    min-height: 300px !important;
    object-position: center center !important;
  }
}

/* Wider licensed Web Hosting hero image */
@media (min-width: 701px) {
  .hosting-hero {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
  }

  .hosting-hero-copy {
    min-width: 0 !important;
    padding-right: clamp(28px, 3vw, 54px) !important;
    padding-left: clamp(32px, 4vw, 72px) !important;
  }

  .hosting-message h1 {
    font-size: clamp(4rem, 5.8vw, 7rem) !important;
  }

  .hosting-hero-visual {
    min-width: 0 !important;
  }

  .hosting-hero-visual::before {
    background:
      linear-gradient(
        90deg,
        #030e1b 0%,
        rgba(3, 14, 27, 0.70) 6%,
        rgba(3, 14, 27, 0.22) 15%,
        rgba(3, 14, 27, 0.03) 25%,
        rgba(3, 14, 27, 0) 100%
      ) !important;
  }

  .hosting-hero-visual img {
    object-position: center center !important;
  }
}

/* Final Web Hosting hero polish */
@media (min-width: 701px) {
  .hosting-hero {
    position: relative !important;
    isolation: isolate !important;
    height: 820px !important;
    min-height: 820px !important;
    display: block !important;
    overflow: hidden !important;
    background: #030e1b !important;
  }

  .hosting-hero-copy {
    position: relative !important;
    z-index: 3 !important;
    width: 48% !important;
    height: 820px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 64px clamp(34px, 4.4vw, 78px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background:
      radial-gradient(
        circle at 30% 32%,
        rgba(31, 163, 255, 0.10),
        transparent 38%
      ),
      #030e1b !important;
  }

  .hosting-message h1 {
    font-size: clamp(4rem, 5.8vw, 7rem) !important;
  }

  .hosting-hero-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 58% !important;
    height: 820px !important;
    min-height: 820px !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #061522 !important;
  }

  .hosting-hero-visual::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 180px !important;
    display: block !important;
    background:
      linear-gradient(
        90deg,
        #030e1b 0%,
        rgba(3, 14, 27, 0.92) 24%,
        rgba(3, 14, 27, 0.56) 54%,
        rgba(3, 14, 27, 0.18) 78%,
        rgba(3, 14, 27, 0) 100%
      ) !important;
    pointer-events: none !important;
  }

  .hosting-hero-visual::after {
    content: none !important;
    display: none !important;
  }

  .hosting-hero-visual img {
    width: 100% !important;
    height: 820px !important;
    min-height: 820px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: 54% center !important;
    transform: scale(1.015) !important;
  }
}

@media (max-width: 700px) {
  .hosting-hero {
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  .hosting-hero-copy {
    width: auto !important;
    height: auto !important;
  }

  .hosting-hero-visual {
    position: relative !important;
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
  }

  .hosting-hero-visual::before {
    width: 100% !important;
    background:
      linear-gradient(
        180deg,
        rgba(3, 14, 27, 0) 55%,
        rgba(3, 14, 27, 0.72) 84%,
        #030e1b 100%
      ) !important;
  }

  .hosting-hero-visual img {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* Kern DC style Web Hosting hero blend */
@media (min-width: 701px) {
  .hosting-hero {
    position: relative !important;
    isolation: isolate !important;
    height: 820px !important;
    min-height: 820px !important;
    display: block !important;
    overflow: hidden !important;
    background: #030e1b !important;
  }

  .hosting-hero-copy {
    position: relative !important;
    z-index: 4 !important;
    width: 50% !important;
    height: 820px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 64px clamp(34px, 4.5vw, 80px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }

  .hosting-message h1 {
    font-size: clamp(4rem, 5.8vw, 7rem) !important;
  }

  .hosting-hero-visual {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 34% !important;
    width: auto !important;
    height: 820px !important;
    min-height: 820px !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #061522 !important;
  }

  .hosting-hero-visual::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    inset: 0 !important;
    display: block !important;
    background:
      linear-gradient(
        90deg,
        #030e1b 0%,
        rgba(3, 14, 27, 0.99) 12%,
        rgba(3, 14, 27, 0.92) 24%,
        rgba(3, 14, 27, 0.68) 38%,
        rgba(3, 14, 27, 0.34) 52%,
        rgba(3, 14, 27, 0.10) 66%,
        rgba(3, 14, 27, 0) 78%
      ) !important;
    pointer-events: none !important;
  }

  .hosting-hero-visual::after {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    inset: 0 !important;
    display: block !important;
    background:
      radial-gradient(
        circle at 30% 48%,
        rgba(23, 119, 184, 0.10),
        transparent 42%
      ) !important;
    pointer-events: none !important;
  }

  .hosting-hero-visual img {
    width: 100% !important;
    height: 820px !important;
    min-height: 820px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: 56% center !important;
    transform: scale(1.02) !important;
  }
}

@media (max-width: 700px) {
  .hosting-hero {
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  .hosting-hero-copy {
    width: auto !important;
    height: auto !important;
    background: #030e1b !important;
  }

  .hosting-hero-visual {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
  }

  .hosting-hero-visual::before {
    background:
      linear-gradient(
        180deg,
        rgba(3, 14, 27, 0) 48%,
        rgba(3, 14, 27, 0.60) 78%,
        #030e1b 100%
      ) !important;
  }

  .hosting-hero-visual::after {
    content: none !important;
    display: none !important;
  }

  .hosting-hero-visual img {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
}
