/* product and plan pages (linked after header.css), v2 */

:root {
  --pk-primary: #0073ec;
  --pk-primary-2: #2563eb;
  --pk-violet: #6d28d9;
  --pk-ink: #0b1b33;
  --pk-text: #475569;
  --pk-muted: #64748b;
  --pk-line: #e6ecf5;
  --pk-soft: #f5f8fd;
  --pk-tint: #eef5ff;
  --pk-radius: 20px;
  --pk-shadow: 0 1px 2px rgba(15, 35, 75, 0.04), 0 14px 34px rgba(15, 45, 90, 0.08);
  --pk-shadow-hover: 0 1px 2px rgba(15, 35, 75, 0.05), 0 24px 50px rgba(0, 115, 236, 0.16);
}

html {
  scroll-behavior: smooth;
}
#plans {
  scroll-margin-top: 96px;
}

/* ---------- rhythm and backgrounds ---------- */
section.ptb-100 {
  padding-block: clamp(52px, 5.5vw, 84px);
}
section.hero-equal-height.ptb-100 {
  padding-block: clamp(56px, 6vw, 88px);
}
.gray-light-bg {
  background: var(--pk-soft);
}
.pricing-section .feature-tab-section.ptb-100 {
  padding-block: 0;
  background: transparent;
}
.feature-tab-content .pricing-section.ptb-100 {
  padding-block: 36px 0;
  background: transparent;
}
.feature-tab-content .pricing-section .section-heading.mb-5 {
  margin-bottom: 2.4rem !important;
}

/* ---------- headings ---------- */
.section-heading h2 {
  color: var(--pk-ink);
  font-weight: 900;
  line-height: 1.6;
  text-wrap: balance;
}
.section-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pk-primary), var(--pk-violet));
}
.section-heading .lead {
  margin-top: 14px;
  color: var(--pk-muted);
  font-size: 1.04rem;
  line-height: 1.95;
  text-wrap: pretty;
}

/* ---------- hero ---------- */
section.hero-equal-height {
  min-height: 560px;
}
.hero-equal-height .hero-content-wrap {
  padding: 40px 40px 36px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 40px 80px -30px rgba(2, 8, 24, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
}
.hero-content-wrap h1 {
  font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem);
  line-height: 1.55;
  font-weight: 900;
  text-wrap: balance;
  margin-bottom: 14px;
}
.hero-content-wrap .lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 2;
}

/* benefits as chips instead of a bare two-column list */
.hero-content-wrap .hosting-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 22px 0 6px;
  padding: 0;
  transform: none;
  list-style: none;
}
.hero-content-wrap .hosting-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.6;
}
.hero-content-wrap .hosting-feature-list li .ti-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #fff;
  font-size: 9px;
}
.hero-content-wrap p.small {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.9;
}
.hero-content-wrap p.small strong {
  color: #fff;
  font-size: 1.08rem;
}
.hero-content-wrap .action-btns {
  margin: 22px 0 0;
}
.hero-content-wrap .solid-white-btn {
  padding: 14px 36px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.hero-content-wrap .solid-white-btn:hover {
  background: #ffffff;
  color: var(--pk-primary-2);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}
.hero-equal-height .img-wrap img {
  max-width: 420px;
  filter: drop-shadow(0 24px 40px rgba(10, 20, 90, 0.4));
}

/* hero variant used on Telegram, VPS and reseller pages: plain feature list and a white offer card */
.hero-content-wrap .tech-feature-list li {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.9;
}
.hero-content-wrap .tech-feature-list li .ti-control-backward {
  color: #7cc4ff;
}
.hero-content-wrap .action-btns p {
  margin-right: 0;
  color: #fff;
  font-weight: 700;
}
.offer-box {
  border-radius: 22px;
  border: 1px solid var(--pk-line);
  box-shadow: 0 24px 56px rgba(7, 12, 40, 0.28) !important;
}
.offer-box h5 {
  color: var(--pk-ink);
  font-weight: 900;
}
.offer-box .action-btns {
  display: grid;
  gap: 10px;
  margin-inline: 0;
}
.offer-box .action-btns .btn,
.offer-box .action-btns .btn + .btn {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
}
.vps-pricing-plane {
  padding-top: clamp(52px, 5.5vw, 84px);
}

/* ---------- the three short promo cards under the hero ---------- */
a:has(> .single-promo-2) {
  pointer-events: none;
  cursor: default;
}
.single-promo-2 {
  height: 100%;
  padding: 34px 26px !important;
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius) !important;
  background: #fff;
  box-shadow: var(--pk-shadow) !important;
}
.single-promo-2 .circle-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pk-primary), var(--pk-violet));
  box-shadow: 0 14px 28px rgba(0, 115, 236, 0.26);
}
.single-promo-2 .circle-icon span {
  padding: 0 !important;
  background: none !important;
  font-size: 26px;
  color: #fff;
}
.single-promo-2 h5 {
  color: var(--pk-ink);
  font-weight: 800;
}
.single-promo-2 p {
  margin: 0;
  color: var(--pk-muted);
  font-size: 0.95rem;
  line-height: 1.95;
}

/* ---------- location switcher and feature tabs: segmented control ---------- */
ul.nav.nav-tabs.feature-tab {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 6px;
  border: 0;
  border-radius: 18px;
  background: #e8eef9;
}
ul.nav.nav-tabs.feature-tab li,
ul.nav.nav-tabs.feature-tab li:last-child {
  margin: 0;
  border: 0 !important;
  border-radius: 14px;
}
ul.nav.nav-tabs.feature-tab li a.nav-link {
  padding: 12px 22px;
  border: 0;
  border-radius: 14px;
  background: transparent !important;
  color: var(--pk-text);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
ul.nav.nav-tabs.feature-tab li a.nav-link img {
  width: 30px;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
ul.nav.nav-tabs.feature-tab li a.nav-link:hover {
  color: var(--pk-ink);
}
ul.nav.nav-tabs.feature-tab li a.nav-link.active,
ul.nav.nav-tabs.feature-tab li.show .nav-link {
  background: #fff !important;
  color: var(--pk-primary);
  box-shadow: 0 6px 18px rgba(15, 45, 90, 0.14);
}
ul.nav.nav-tabs.feature-tab li a.nav-link.active img {
  opacity: 1;
}
ul.nav.nav-tabs.feature-new-tab li a.nav-link {
  padding: 10px 20px;
  font-size: 14px;
}

/* ---------- plan cards ---------- */
.card.single-pricing-pack {
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  background: #fff;
  box-shadow: var(--pk-shadow);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card.single-pricing-pack:hover {
  border-color: #cfe0f7;
  box-shadow: var(--pk-shadow-hover);
  transform: translateY(-4px);
}
.card.popular-price.single-pricing-pack {
  border: 1px solid #b9d6fb !important;
  border-top: 4px solid var(--pk-primary) !important;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 38%) !important;
  box-shadow: var(--pk-shadow-hover) !important;
}
.single-pricing-pack h5 {
  color: var(--pk-ink);
  font-weight: 900;
  font-size: 1.2rem;
}
.single-pricing-pack .badge {
  margin-inline-start: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}
.single-pricing-pack .pt-5 > p {
  min-height: 3.2em;
  padding-inline: 14px;
  color: var(--pk-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* price: monthly is the headline, yearly sits under it as a quieter line */
.single-pricing-pack .pricing-header {
  margin: 4px 22px 0;
  padding: 14px 12px !important;
  border-radius: 16px;
  background: var(--pk-tint);
}
.single-pricing-pack .pricing-header .price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--pk-ink);
  font-size: 30px;
  line-height: 1.5;
}
.single-pricing-pack .pricing-header .price span {
  color: var(--pk-muted);
  font-size: 13px;
  font-weight: 500;
}
.single-pricing-pack .pricing-header .yearly-price {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed #c9dcf6;
  color: var(--pk-text);
  font-size: 17px;
  font-weight: 700;
}

.single-pricing-pack .pricing-feature-list {
  margin-inline: 0;
  padding: 0;
}
.single-pricing-pack .pricing-feature-list li {
  padding: 4px 8px;
  border-bottom: 1px solid #edf1f7;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--pk-text);
  text-align: center;
}
.single-pricing-pack .pricing-feature-list li span {
  font-weight: inherit;
}
.single-pricing-pack .pricing-feature-list li:last-child {
  border-bottom: 0;
  color: var(--pk-primary);
  font-weight: 700;
}
.single-pricing-pack .card-body .btn {
  min-width: 170px;
  padding: 11px 28px;
  border-radius: 12px;
  font-weight: 800;
}
.card.popular-price .card-body .btn {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pk-primary), var(--pk-primary-2));
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 115, 236, 0.3);
}

/* ---------- feature tab contents ---------- */
.features-box {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--pk-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--pk-shadow);
}
.features-box h5,
.technical-specifications-wrap h5 {
  color: var(--pk-ink);
  font-weight: 800;
}
.features-box p {
  margin-bottom: 0;
  color: var(--pk-muted);
  line-height: 1.95;
}
.technical-specifications-wrap {
  height: 100%;
  padding: 22px;
  border: 1px solid var(--pk-line);
  border-radius: 18px;
  background: #fff;
}
.tech-feature-list li {
  font-size: 14px;
  line-height: 1.95;
  color: var(--pk-text);
}

.table-responsive {
  border-radius: 14px;
}

/* ---------- small screens ---------- */
@media (max-width: 767px) {
  .hero-equal-height .hero-content-wrap {
    padding: 26px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero-content-wrap .hosting-feature-list {
    gap: 8px;
  }
  .hero-content-wrap .hosting-feature-list li {
    padding: 8px 10px;
    gap: 8px;
    font-size: 13px;
  }
  .hero-equal-height .img-wrap {
    margin-top: 28px;
    text-align: center;
  }
  .hero-equal-height .img-wrap img {
    max-width: 230px;
  }
  .section-heading.mb-5 {
    margin-bottom: 2rem !important;
  }
  .single-pricing-pack .pricing-header {
    margin-inline: 14px;
  }
}
@media (max-width: 359px) {
  .hero-content-wrap .hosting-feature-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  ul.nav.nav-tabs.feature-tab {
    width: 100%;
  }
  ul.nav.nav-tabs.feature-tab li {
    flex: 1 1 100%;
  }
  ul.nav.nav-tabs.feature-tab li a.nav-link {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card.single-pricing-pack,
  .card.single-pricing-pack:hover {
    transition: none;
    transform: none;
  }
}

/* ---------- photo heroes (Telegram, VPS, reseller): navy overlay with light pools instead of a flat wash ---------- */
.hero-equal-height.gradient-overly-right::before,
.hero-equal-height.section-ornament.gradient-overly-right::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  z-index: 0;
  background:
    radial-gradient(48% 80% at 10% 10%, rgba(16, 185, 129, 0.24), transparent 62%),
    radial-gradient(46% 70% at 94% 96%, rgba(56, 130, 246, 0.3), transparent 62%),
    linear-gradient(160deg, rgba(5, 10, 22, 0.95) 0%, rgba(9, 22, 50, 0.9) 55%, rgba(8, 36, 54, 0.88) 100%) !important;
}
.hero-equal-height.gradient-overly-right::after,
.hero-equal-height.section-ornament.gradient-overly-right::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  z-index: 0;
  pointer-events: none;
  background-image: var(--pk-dots);
  background-size: var(--pk-dots-size);
  -webkit-mask-image: radial-gradient(70% 95% at 20% 40%, #000 0%, transparent 76%);
  mask-image: radial-gradient(70% 95% at 20% 40%, #000 0%, transparent 76%);
}
.hero-equal-height.gradient-overly-right {
  border-radius: 0 0 44px 44px;
}
@media (max-width: 767px) {
  .hero-equal-height.gradient-overly-right {
    border-radius: 0 0 28px 28px;
  }
}
