/* =========================================================
   HOSTECH — RESELLER HOSTING PAGE STYLES
   Loaded only on reseller-hosting.php (via $pageCss).
   All selectors are prefixed with .rh29- so no other page is affected.
   ========================================================= */

/* ---------- HERO (compact, light) ---------- */
.rh29-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 20%, rgba(86, 89, 216, 0.10), transparent 45%),
    linear-gradient(180deg, #f5f7ff 0%, #ffffff 100%);
}
.rh29-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 57, 155, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 57, 155, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
  mask-image: linear-gradient(to right, transparent, #000 60%);
  pointer-events: none;
}
.rh29-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.rh29-kicker {
  display: inline-flex;
  padding: 6px 14px;
  border: 1px solid #d5d8fb;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
}
.rh29-copy h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 16px 0 14px;
  color: var(--ink);
  max-width: 600px;
}
.rh29-copy h1 span {
  color: var(--blue);
}
.rh29-copy p {
  font-size: 16px;
  color: #475467;
  max-width: 560px;
  margin: 0 0 18px;
}
.rh29-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.rh29-points li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  font-weight: 500;
  color: #344054;
}
.rh29-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: #dcfae6;
}
.rh29-points li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #079455;
  border-bottom: 2px solid #079455;
  transform: rotate(-45deg);
}
.rh29-start {
  margin: 0 0 18px;
  font-size: 15px;
  color: #475467;
}
.rh29-start strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-left: 4px;
  letter-spacing: -0.02em;
}
.rh29-start small {
  font-size: 15px;
  color: #475467;
}
.rh29-hero .hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.rh29-link {
  font-weight: 700;
  color: var(--purple);
}
.rh29-link:hover {
  color: var(--blue);
}
/* Right side info card */
.rh29-visual {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  width: 100%;
}
.rh29-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.10);
}
.rh29-card-head,
.rh29-float {
  display: flex;
  align-items: center;
  gap: 13px;
}
.rh29-card-head {
  margin-bottom: 18px;
}
.rh29-card-head strong,
.rh29-float strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.3;
}
.rh29-card-head small,
.rh29-float small {
  font-size: 13px;
  color: var(--muted);
}
.rh29-card-icon {
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--purple2), var(--blue));
}
.rh29-card-icon.sm {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.rh29-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rh29-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  margin-top: 9px;
  border-radius: 12px;
  background: #f4f6fb;
  font-size: 14px;
  color: #475467;
}
.rh29-row b {
  color: var(--ink);
}
.rh29-row.is-green {
  background: #ecfdf3;
  color: #067647;
}
.rh29-row.is-green b {
  color: #067647;
}
.rh29-float {
  position: absolute;
  right: -18px;
  bottom: -30px;
  padding: 12px 18px 12px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14);
}
.rh29-float strong {
  font-size: 14.5px;
}
.rh29-float small {
  font-size: 12px;
}

/* ---------- FEATURE STRIP ---------- */
.rh29-feature-strip {
  position: relative;
  z-index: 2;
  margin-top: 0;
}
.rh29-feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.rh29-feature-strip article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}
.rh29-feature-strip article:last-child {
  border-right: 0;
}
.rh29-feature-strip article span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef2ff;
}
.rh29-feature-strip svg,
.rh29-plan-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--purple2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rh29-feature-strip strong {
  font-size: 15px;
  color: var(--ink);
}
.rh29-feature-strip small {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- PRICING (card shape: name, big price, pill button, features, "View all features") ---------- */
.rh29-section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.rh29-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  padding-top: 10px;
}
.rh29-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f1f0ff;
  border-radius: 26px;
  box-shadow: 0 14px 40px rgba(52, 57, 155, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rh29-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(52, 57, 155, 0.14);
}
.rh29-plan-body {
  position: relative;
  padding: 34px 26px 22px;
  background: #fff;
  border: 1px solid #e6e4fb;
  border-radius: 26px;
}
.rh29-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e9e8ff;
  color: var(--purple);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.rh29-plan h3 {
  margin: 22px 0 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.rh29-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 22px 0 22px;
  flex-wrap: wrap;
}
.rh29-price .rh29-cur {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.rh29-price strong {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.rh29-price small {
  font-size: 15px;
  color: #475467;
}
.rh29-choose {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border: 1.5px solid var(--purple2);
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}
.rh29-choose:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.rh29-plan-sub {
  margin: 16px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e4e7ec;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.rh29-plan ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 4px;
}
.rh29-plan li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 14.5px;
  color: #344054;
}
.rh29-plan li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 11px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  color: #475467;
}
/* "View all features" footer */
.rh29-more summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.rh29-more summary::-webkit-details-marker {
  display: none;
}
.rh29-more summary::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.rh29-more[open] summary::after {
  transform: translateY(1px) rotate(-135deg);
}
.rh29-more ul {
  margin: 0;
  padding: 0 26px 18px;
}
/* Featured (Most Popular) card */
.rh29-plan.is-featured {
  background: #2a2f86;
  box-shadow: 0 24px 60px rgba(52, 57, 155, 0.35);
}
.rh29-plan.is-featured .rh29-plan-body {
  background: linear-gradient(160deg, var(--purple2) 0%, var(--purple) 100%);
  border-color: transparent;
}
.rh29-plan.is-featured .rh29-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.rh29-plan.is-featured h3,
.rh29-plan.is-featured .rh29-price strong,
.rh29-plan.is-featured .rh29-price .rh29-cur,
.rh29-plan.is-featured .rh29-price small,
.rh29-plan.is-featured li,
.rh29-plan.is-featured li::before,
.rh29-plan.is-featured .rh29-more summary {
  color: #fff;
}
.rh29-plan.is-featured .rh29-plan-sub {
  color: #d9dcff;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.rh29-plan.is-featured .rh29-choose {
  background: #fff;
  border-color: #fff;
  color: var(--purple);
}
.rh29-plan.is-featured .rh29-choose:hover {
  background: #eef0ff;
}
.rh29-plan-note {
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 10px 28px;
  margin: 40px 0 0;
}
.rh29-plan-note span,
.rh29-business-points span {
  font-size: 14px;
  font-weight: 600;
  color: #344054;
}

/* ---------- BUSINESS SECTION ---------- */
.rh29-business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.rh29-business-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
}
.rh29-business-copy p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 22px;
}
.rh29-business-visual {
  position: relative;
}
.rh29-business-glow {
  position: absolute;
  inset: 15%;
  background: radial-gradient(circle, rgba(21, 112, 239, 0.18), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

/* ---------- SECTION VARIETY ----------
   Hero: light  ->  Feature strip: purple band  ->  Plans: white
   ->  Business: dark navy  ->  FAQ: light purple tint            */

/* Feature strip as a purple band */
.rh29-feature-strip {
  padding: 26px 0;
  background: linear-gradient(120deg, #2a2f86 0%, var(--purple) 45%, var(--purple2) 100%);
}
.rh29-feature-strip-inner {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.rh29-feature-strip article {
  border-right-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}
.rh29-feature-strip article span {
  background: rgba(255, 255, 255, 0.14);
}
.rh29-feature-strip svg {
  stroke: #fff;
}
.rh29-feature-strip strong {
  color: #fff;
}
.rh29-feature-strip small {
  color: #d9dcff;
}

/* Plans section on white with a soft top glow */
.rh29-pricing {
  padding: 72px 0;
  background: radial-gradient(circle at 50% 0%, rgba(86, 89, 216, 0.07), transparent 50%), #fff;
}

/* Business section on dark navy */
.rh29-business-section {
  padding: 76px 0;
  color: #fff;
  background: radial-gradient(circle at 80% 30%, #173d74 0, #0b2547 35%, #071628 100%);
}
.rh29-business-section .eyebrow {
  color: #8fb2ff;
}
.rh29-business-copy h2 {
  color: #fff;
}
.rh29-business-copy p {
  color: #b9c7dc;
}
.rh29-business-points span {
  color: #e6edf8;
}
.rh29-business-glow {
  background: radial-gradient(circle, rgba(92, 142, 255, 0.35), transparent 70%);
}
.rh29-business-visual svg > circle:first-of-type {
  fill: rgba(255, 255, 255, 0.06);
}

/* ---------- FAQ (2 columns, light purple tint) ---------- */
.rh29-faq-section {
  padding: 72px 0;
  background: linear-gradient(180deg, #f5f4ff 0%, #fbfbff 100%);
}
.rh29-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  align-items: start;
}
.rh29-faq details {
  background: #fff;
  border: 1px solid #e6e4fb;
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rh29-faq details[open] {
  border-color: #c9c6f7;
  box-shadow: 0 12px 30px rgba(52, 57, 155, 0.08);
}
.rh29-faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.rh29-faq summary::-webkit-details-marker {
  display: none;
}
.rh29-faq summary::before,
.rh29-faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--purple);
  transition: transform 0.2s ease;
}
.rh29-faq summary::after {
  transform: rotate(90deg);
}
.rh29-faq details[open] summary::after {
  transform: rotate(0deg);
}
.rh29-faq p {
  margin: -4px 0 0;
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .rh29-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }
  .rh29-feature-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rh29-feature-strip article:nth-child(3) {
    border-right: 0;
  }
  .rh29-feature-strip article:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }
  .rh29-plan-note {
    grid-template-columns: repeat(2, auto);
  }
}
@media (max-width: 900px) {
  .rh29-hero {
    padding: 40px 0 56px;
  }
  .rh29-hero-inner,
  .rh29-business-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .rh29-visual {
    margin: 0 auto;
  }
}
@media (max-width: 700px) {
  .rh29-hero {
    padding: 28px 0 32px;
  }
  .rh29-kicker {
    font-size: 12px;
  }
  .rh29-copy h1 {
    font-size: 27px;
    margin: 12px 0 10px;
  }
  .rh29-copy p {
    font-size: 15px;
  }
  .rh29-points li {
    font-size: 14px;
  }
  .rh29-start strong {
    font-size: 24px;
  }
  .rh29-visual {
    display: none;
  }
  .rh29-points,
  .rh29-business-points,
  .rh29-plan-note {
    grid-template-columns: 1fr;
  }
  .rh29-faq {
    grid-template-columns: 1fr;
  }
  .rh29-pricing,
  .rh29-business-section,
  .rh29-faq-section {
    padding: 48px 0;
  }
  .rh29-feature-strip {
    margin-top: 0;
  }
  .rh29-feature-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rh29-feature-strip article {
    padding: 16px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .rh29-feature-strip article:nth-child(2n) {
    border-right: 0;
  }
  .rh29-feature-strip article:nth-child(n+5) {
    border-bottom: 0;
  }
  /* Mobile: plans slide horizontally like other Hostech pages */
  .rh29-plan-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 14px 4px 18px;
    margin: 0 -4px;
    -webkit-overflow-scrolling: touch;
  }
  .rh29-plan-grid::-webkit-scrollbar {
    display: none;
  }
  .rh29-plan-grid > .rh29-plan {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }
  .rh29-plan:hover {
    transform: none;
  }
}
