/* ==========================================================================
   JP Web Solutions - Hosting & Domains page
   Builds on page-cro.css and page-wdd.css. Sections unique to this page use hd-.
   ========================================================================== */

/* ---------- Hero ---------- */
.hd-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 200px 0 90px;
  border-radius: 20px;
  background: var(--jp-secondary);
  color: var(--jp-text);
}
.hd-hero-title {
  margin: 0 0 20px;
  color: var(--jp-dark);
  font-size: 62px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.hd-hero-title span {
  display: block;
  color: #8fbf3a;
}
.hd-hero-text {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: 18px;
}

/* Hero visual: example hosting dashboard */
.hd-visual {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  padding: 30px 30px 40px;
}
.hd-panel {
  overflow: hidden;
  border: 1px solid var(--jp-border);
  border-radius: 22px;
  background: var(--jp-white);
  box-shadow: 0 30px 60px rgba(14, 15, 12, 0.12);
}
.hd-panel-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--jp-border);
  background: #f6f7f4;
}
.hd-panel-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9dad5;
}
.hd-panel-bar span {
  flex: 1 1 auto;
  margin-left: 10px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--jp-white);
  color: #74756f;
  font-size: 13px;
}
.hd-panel-body {
  padding: 22px 24px 24px;
}
.hd-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hd-panel-head strong {
  color: var(--jp-dark);
  font-size: 18px;
}
.hd-chip-plan {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-size: 12px;
  font-weight: 700;
}
.hd-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.hd-stat {
  position: relative;
  padding: 14px 12px 12px;
  border-radius: 14px;
  background: var(--jp-secondary);
}
.hd-stat b {
  display: block;
  color: var(--jp-dark);
  font-size: 14px;
}
.hd-stat small {
  color: #5d8a1c;
  font-size: 12px;
  font-weight: 600;
}
.hd-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6cc04a;
  box-shadow: 0 0 0 0 rgba(108, 192, 74, 0.6);
  animation: hd-pulse 2s infinite;
}
@keyframes hd-pulse {
  0% { box-shadow: 0 0 0 0 rgba(108, 192, 74, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(108, 192, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(108, 192, 74, 0); }
}
.hd-meter {
  margin-bottom: 16px;
}
.hd-meter-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--jp-text);
  font-size: 13px;
}
.hd-meter-top span:last-child {
  color: var(--jp-dark);
  font-weight: 600;
}
.hd-meter-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 100px;
  background: #ecede8;
}
.hd-meter-bar i {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #a9d43a, var(--jp-primary));
}
.hd-mailboxes {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hd-mailboxes li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid var(--jp-border);
  font-size: 14px;
}
.hd-mailboxes span {
  color: var(--jp-dark);
  font-weight: 600;
}
.hd-mailboxes em {
  color: #5d8a1c;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.hd-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--jp-white);
  box-shadow: 0 16px 36px rgba(14, 15, 12, 0.14);
  animation: hd-float 6s ease-in-out infinite;
}
.hd-float i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-size: 15px;
}
.hd-float strong {
  display: block;
  color: var(--jp-dark);
  font-size: 14px;
  line-height: 1.2;
}
.hd-float small {
  color: #74756f;
  font-size: 12px;
}
.hd-float-call {
  top: 0;
  right: -10px;
}
.hd-float-ok {
  bottom: 0;
  left: -10px;
  animation-delay: -3s;
}
.hd-float-ok i {
  background: var(--jp-dark);
  color: var(--jp-primary);
}
@keyframes hd-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hd-note {
  margin: 6px 0 0;
  color: #8a8b86;
  font-size: 12px;
  text-align: center;
}

/* ---------- Plans ---------- */
.hd-plans {
  padding: 100px 0;
}
.hd-finder {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px 40px;
  align-items: center;
  margin-bottom: 30px;
  padding: 30px 34px;
  border-radius: 22px;
  background: var(--cro-ink, #0e0f0c);
  color: var(--cro-muted-dark, #b9bab4);
}
.hd-finder-q label {
  display: block;
  margin-bottom: 6px;
  color: var(--jp-white);
  font-family: var(--tj-ff-heading, inherit);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.hd-finder-q p {
  margin: 0;
  font-size: 15px;
}
.hd-finder-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.hd-finder-value output {
  color: var(--jp-primary);
  font-family: var(--tj-ff-heading, inherit);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}
.hd-finder-value span {
  color: var(--jp-white);
  font-size: 15px;
}
.hd-finder input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--jp-primary) var(--hd-fill, 25%), rgba(255, 255, 255, 0.16) var(--hd-fill, 25%));
  outline: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.hd-finder input[type="range"]::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 4px solid var(--cro-ink, #0e0f0c);
  border-radius: 50%;
  background: var(--jp-primary);
  box-shadow: 0 0 0 2px var(--jp-primary);
  -webkit-appearance: none;
  appearance: none;
}
.hd-finder input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid var(--cro-ink, #0e0f0c);
  border-radius: 50%;
  background: var(--jp-primary);
  box-shadow: 0 0 0 2px var(--jp-primary);
}
.hd-finder input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px rgba(211, 237, 49, 0.5);
}
.hd-finder-scale {
  position: relative;
  height: 18px;
  margin-top: 8px;
  font-size: 12px;
}
.hd-finder-scale span {
  position: absolute;
  transform: translateX(-50%);
}
.hd-finder-scale span:nth-child(1) { left: 2%; }
.hd-finder-scale span:nth-child(2) { left: 25%; }
.hd-finder-scale span:nth-child(3) { left: 41.7%; }
.hd-finder-scale span:nth-child(4) { left: 83.3%; }
.hd-finder-scale span:nth-child(5) { left: 97%; }
.hd-finder-result {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--jp-white);
  font-size: 16px;
}
.hd-finder-result strong {
  color: var(--jp-primary);
}

.hd-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  border: 1px solid var(--jp-border);
  border-radius: 22px;
  background: var(--jp-white);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.hd-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(14, 15, 12, 0.08);
}
.hd-plan h3 {
  margin: 0 0 6px;
  color: var(--jp-dark);
  font-size: 26px;
}
.hd-plan-for {
  min-height: 48px;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
}
.hd-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hd-price strong {
  color: var(--jp-dark);
  font-family: var(--tj-ff-heading, inherit);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hd-price span {
  color: #74756f;
  font-size: 15px;
}
.hd-price-note {
  margin: 6px 0 20px;
  color: #74756f;
  font-size: 13px;
}
.hd-plan .cro-check-list {
  flex: 1 1 auto;
  margin-bottom: 24px;
}
.hd-plan .cro-check-list li.is-off {
  color: #a5a6a1;
  text-decoration: line-through;
}
.hd-plan-fit {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.hd-plan.is-fit {
  border-color: var(--jp-dark);
  box-shadow: 0 0 0 2px var(--jp-dark), 0 24px 50px rgba(14, 15, 12, 0.12);
}
.hd-plan.is-fit .hd-plan-fit {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hd-plans-note {
  margin: 30px 0 0;
  font-size: 15px;
  text-align: center;
}
.hd-plans-note a {
  color: var(--jp-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--jp-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---------- Included ---------- */
.hd-included {
  padding: 20px 0 100px;
}
.hd-feat {
  padding: 30px 28px;
  border: 1px solid var(--jp-border);
  border-radius: 20px;
  background: var(--jp-white);
  transition: border-color 0.3s;
}
.hd-feat:hover {
  border-color: var(--jp-dark);
}
.hd-feat > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-size: 22px;
}
.hd-feat h3 {
  margin: 0 0 8px;
  color: var(--jp-dark);
  font-size: 21px;
}
.hd-feat p {
  margin: 0;
  font-size: 15px;
}

/* ---------- Business email ---------- */
.hd-email {
  padding: 100px 0;
}
.hd-suite {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 30px;
  border: 1px solid var(--jp-border);
  border-radius: 22px;
  background: var(--jp-white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hd-suite:hover {
  border-color: var(--jp-dark);
  box-shadow: 0 20px 44px rgba(14, 15, 12, 0.08);
}
.hd-suite-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.hd-suite-head h3 {
  margin: 0 0 4px;
  color: var(--jp-dark);
  font-size: 26px;
}
.hd-suite-head p {
  margin: 0;
  font-size: 15px;
}
.hd-suite-mark {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 58px;
  height: 58px;
  padding: 12px;
  border-radius: 16px;
  background: var(--jp-secondary);
}
.hd-suite-mark i {
  border-radius: 3px;
}
.hd-suite-ms i:nth-child(1) { background: #f25022; }
.hd-suite-ms i:nth-child(2) { background: #7fba00; }
.hd-suite-ms i:nth-child(3) { background: #00a4ef; }
.hd-suite-ms i:nth-child(4) { background: #ffb900; }
.hd-suite-g i { border-radius: 50%; }
.hd-suite-g i:nth-child(1) { background: #4285f4; }
.hd-suite-g i:nth-child(2) { background: #ea4335; }
.hd-suite-g i:nth-child(3) { background: #fbbc05; }
.hd-suite-g i:nth-child(4) { background: #34a853; }
.hd-suite .cro-check-list {
  flex: 1 1 auto;
  margin-bottom: 24px;
}
.hd-suite-extras {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.hd-suite-extras li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jp-dark);
  font-size: 15px;
  font-weight: 500;
}
.hd-suite-extras i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--jp-primary);
  font-size: 10px;
}

/* ---------- Domains ---------- */
.hd-domains {
  padding: 100px 0;
  border-radius: 20px;
  background: var(--jp-secondary);
}
.hd-domains .cro-sec-title {
  margin-bottom: 18px;
}
.hd-dom-intro {
  margin: 0 0 22px;
  font-size: 17px;
}
.hd-tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.hd-tlds li {
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--jp-white);
  color: var(--jp-dark);
  font-size: 15px;
  font-weight: 600;
}
.hd-dom-note {
  margin: 0 0 22px;
  color: #74756f;
  font-size: 14px;
}
.hd-checker {
  padding: 30px;
  border-radius: 22px;
  background: var(--jp-white);
  box-shadow: 0 24px 50px rgba(14, 15, 12, 0.08);
}
.hd-checker-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.hd-checker-head strong {
  color: var(--jp-dark);
  font-size: 22px;
}
.hd-checker-head span {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--jp-secondary);
  color: var(--jp-dark);
  font-size: 12px;
  font-weight: 600;
}
.hd-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hd-checker-input {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 6px 0 20px;
  border: 2px solid var(--jp-border);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.hd-checker-input:focus-within {
  border-color: var(--jp-dark);
}
.hd-checker-input span {
  color: #a5a6a1;
  font-size: 18px;
}
.hd-checker-input input {
  flex: 1 1 auto;
  min-width: 0;
  height: 58px;
  padding: 0 6px 0 2px;
  border: 0;
  background: transparent;
  color: var(--jp-dark);
  font-size: 18px;
  font-weight: 600;
  outline: 0;
}
.hd-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.hd-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f7f4;
  color: var(--jp-text);
  font-size: 14px;
  line-height: 1.35;
  transition: background 0.3s, color 0.3s;
}
.hd-checks li i {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e3de;
  transition: background 0.3s;
}
.hd-checks li i::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 8px;
  width: 6px;
  height: 10px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.hd-checks li.is-pass {
  background: #f1f9d6;
  color: var(--jp-dark);
}
.hd-checks li.is-pass i {
  background: #8fbf3a;
}
.hd-checks li.is-pass i::after {
  border-color: var(--jp-white);
}
.hd-checks li.is-fail {
  background: #fdf1ed;
  color: var(--jp-dark);
}
.hd-checks li.is-fail i {
  background: #e0795a;
}
.hd-checks li.is-fail i::after {
  top: 10px;
  left: 5px;
  width: 12px;
  height: 0;
  border-width: 2px 0 0;
  border-color: var(--jp-white);
  transform: none;
}
.hd-checker-verdict {
  margin: 0 0 8px;
  color: var(--jp-dark);
  font-size: 16px;
  font-weight: 600;
}
.hd-checker-foot {
  margin: 0;
  color: #8a8b86;
  font-size: 13px;
}

/* ---------- Moving ---------- */
.hd-move {
  padding: 100px 0 40px;
}
.hd-move-box {
  padding: 60px;
  border-radius: 24px;
  background: var(--cro-ink, #0e0f0c);
  color: var(--cro-muted-dark, #b9bab4);
}
.hd-move-box .cro-label {
  color: var(--jp-primary);
}
.hd-move-box h2 {
  margin: 0 0 16px;
  color: var(--jp-white);
  font-size: 42px;
  line-height: 1.1;
}
.hd-move-box > .row > div > p {
  margin: 0;
  font-size: 17px;
}
.hd-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hd-steps li {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}
.hd-steps li > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--jp-primary);
  color: var(--jp-dark);
  font-weight: 700;
}
.hd-steps h3 {
  margin: 0 0 4px;
  color: var(--jp-white);
  font-size: 19px;
}
.hd-steps p {
  margin: 0;
  font-size: 15px;
}

.hd-honest {
  padding: 40px 0 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hd-hero-title {
    font-size: 52px;
  }
}
@media (max-width: 991px) {
  .hd-hero {
    padding: 160px 0 70px;
    border-radius: 12px;
  }
  .hd-finder {
    grid-template-columns: 1fr;
  }
  .hd-domains {
    border-radius: 12px;
  }
  .hd-move-box {
    padding: 40px 30px;
  }
}
@media (max-width: 767px) {
  .hd-hero {
    padding: 130px 0 50px;
  }
  .hd-hero-title {
    font-size: 38px;
  }
  .hd-hero-text {
    font-size: 16px;
  }
  .hd-visual {
    padding: 24px 0 34px;
  }
  .hd-float-call {
    right: 0;
  }
  .hd-float-ok {
    left: 0;
  }
  .hd-stat-row {
    gap: 6px;
  }
  .hd-stat {
    padding: 12px 8px 10px;
  }
  .hd-plans,
  .hd-email,
  .hd-domains {
    padding: 60px 0;
  }
  .hd-suite {
    padding: 26px 22px;
  }
  .hd-suite-extras {
    justify-content: flex-start;
  }
  .hd-included {
    padding: 0 0 60px;
  }
  .hd-finder {
    padding: 24px 20px;
  }
  .hd-finder-q label {
    font-size: 19px;
  }
  .hd-checker {
    padding: 22px 18px;
  }
  .hd-checks {
    grid-template-columns: 1fr;
  }
  .hd-checker-input input {
    font-size: 16px;
  }
  .hd-move {
    padding: 60px 0 20px;
  }
  .hd-move-box {
    padding: 30px 20px;
    border-radius: 16px;
  }
  .hd-move-box h2 {
    font-size: 30px;
  }
}
