.jp-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 24px;
  padding: 74px clamp(18px, 4vw, 76px) 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(22, 136, 255, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(2, 9, 20, 0.98), rgba(4, 20, 43, 0.82));
  border-bottom: 1px solid rgba(43, 157, 255, 0.22);
}

.jp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(57, 139, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(57, 139, 255, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  pointer-events: none;
}

.jp-hero-copy,
.jp-hero-art {
  position: relative;
  z-index: 2;
}

.jp-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(31px, 3.45vw, 50px);
  line-height: 1.08;
  font-weight: 1000;
}

.jp-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #d6e7ff;
  font-size: 19px;
  line-height: 1.85;
  font-weight: 700;
}

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

.jp-hero-art {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jp-hero-art img {
  width: min(880px, 62vw);
  max-width: none;
  filter: drop-shadow(0 34px 70px rgba(0, 119, 255, 0.28));
}

.jp-stats {
  max-width: 1500px;
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 64px);
}

.jp-stats article {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(43, 157, 255, 0.28);
  background: rgba(5, 20, 42, 0.9);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.jp-stats article:hover,
.jp-intro-grid article:hover,
.all-plan-card:hover,
.guide-layout article:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 217, 255, 0.62);
  background-color: rgba(8, 35, 70, 0.9);
  box-shadow: 0 22px 52px rgba(0, 116, 255, 0.18);
}

.jp-stats b {
  display: block;
  color: #fff;
  font-size: 34px;
}

.jp-stats span {
  color: var(--muted);
}

.jp-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 64px);
}

.section-copy {
  max-width: 980px;
  margin: -18px auto 28px;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
}

.jp-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.jp-intro-grid article,
.all-plan-card,
.guide-layout article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 157, 255, 0.26);
  border-radius: 8px;
  background: rgba(5, 20, 42, 0.78);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.jp-intro-grid article {
  min-height: 360px;
  padding: 24px;
}

.jp-intro-grid img {
  width: 100%;
  height: 138px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 20px 32px rgba(0, 119, 255, 0.24));
}

.jp-intro-grid h3,
.guide-layout h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.jp-intro-grid p,
.guide-layout p,
.copy-columns p {
  color: var(--muted);
  line-height: 1.8;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-bar button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(43, 157, 255, 0.28);
  border-radius: 999px;
  color: #dff2ff;
  background: rgba(4, 18, 39, 0.86);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.filter-bar button:hover,
.filter-bar button.active {
  transform: translateY(-3px);
  border-color: rgba(39, 217, 255, 0.7);
  background: linear-gradient(135deg, #1688ff, #096dff);
}

.all-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.all-plan-card {
  min-height: 292px;
  padding: 18px;
}

.all-plan-card::after,
.jp-intro-grid article::after,
.guide-layout article::after,
.jp-stats article::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(18deg);
  opacity: 0;
  pointer-events: none;
}

.all-plan-card:hover::after,
.jp-intro-grid article:hover::after,
.guide-layout article:hover::after,
.jp-stats article:hover::after {
  animation: shineSweep .85s ease forwards;
}

.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.plan-type {
  display: inline-flex;
  padding: 7px 11px;
  color: #bceeff;
  background: rgba(39, 217, 255, 0.12);
  border: 1px solid rgba(39, 217, 255, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.all-plan-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.all-plan-card .desc {
  min-height: 24px;
  font-size: 14px;
  color: var(--muted);
}

.all-plan-card .price {
  margin: 8px 0 14px;
  font-size: 28px;
}

.mini-server {
  width: 120px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 119, 255, 0.26));
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 14px 0 18px;
}

.spec-list span {
  padding: 8px;
  border: 1px solid rgba(43, 157, 255, 0.18);
  background: rgba(1, 9, 20, 0.32);
  color: #dbeaff;
  font-size: 14px;
}

.all-plan-card .buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--blue);
  font-weight: 900;
  transition: transform .2s ease, filter .2s ease;
}

.all-plan-card .buy:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.guide-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-layout article {
  padding: 28px;
}

.guide-layout span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 26px;
  font-weight: 1000;
}

.copy-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(43, 157, 255, 0.24);
  border-radius: 8px;
  background: rgba(5, 20, 42, 0.74);
}

@media (max-width: 1180px) {
  .jp-hero {
    grid-template-columns: 1fr;
  }

  .jp-hero-art {
    min-height: 340px;
  }

  .jp-hero-art img {
    width: min(980px, 112vw);
  }

  .jp-stats,
  .jp-intro-grid,
  .all-plan-grid,
  .guide-layout,
  .copy-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .jp-hero {
    min-height: 0;
    padding-top: 52px;
  }

  .jp-hero h1 {
    max-width: 8em;
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .jp-hero p:not(.eyebrow) {
    font-size: 17px;
  }

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

  .jp-stats,
  .jp-intro-grid,
  .all-plan-grid,
  .guide-layout,
  .copy-columns {
    grid-template-columns: 1fr;
  }

  .jp-stats {
    margin-top: 0;
  }

  .plan-top {
    display: block;
  }

  .mini-server {
    margin: 8px 0 0 auto;
  }
}

/* Page refinements */
.main-nav a:first-child::after {
  width: 0;
}

.main-nav a:first-child:hover::after,
.main-nav a.is-current::after {
  width: 30px;
}

.main-nav a.is-current {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(39, 217, 255, 0.34);
}

.jp-stats article,
.jp-intro-grid article,
.all-plan-card,
.guide-layout article,
.copy-columns,
.payment-grid article,
.jp-faq-grid details {
  text-align: center;
}

.jp-intro-grid h3 a {
  color: #fff;
  transition: color .2s ease, text-shadow .2s ease;
}

.jp-intro-grid h3 a:hover {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(39, 217, 255, 0.36);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.payment-grid article,
.jp-faq-grid details {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 157, 255, 0.26);
  border-radius: 8px;
  background: rgba(5, 20, 42, 0.78);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.payment-grid article {
  min-height: 210px;
  padding: 22px;
}

.payment-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 24px;
  font-weight: 1000;
}

.payment-grid h3,
.jp-faq-grid summary {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 1000;
}

.payment-grid p,
.jp-faq-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.jp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.jp-faq-grid details {
  padding: 22px;
}

.jp-faq-grid summary {
  cursor: pointer;
  list-style-position: inside;
}

.payment-grid article:hover,
.jp-faq-grid details:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 217, 255, 0.62);
  background-color: rgba(8, 35, 70, 0.9);
  box-shadow: 0 22px 52px rgba(0, 116, 255, 0.18);
}

.payment-grid article::after,
.jp-faq-grid details::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(18deg);
  opacity: 0;
  pointer-events: none;
}

.payment-grid article:hover::after,
.jp-faq-grid details:hover::after {
  animation: shineSweep .85s ease forwards;
}

.plan-top {
  display: block;
  text-align: center;
}

.all-plan-card h3 {
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
  font-size: 21px;
  line-height: 1.35;
}

.mini-server {
  display: none;
}

.spec-list span {
  text-align: center;
}

.jp-wide-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 72px clamp(18px, 5vw, 90px);
  border-top: 1px solid rgba(43, 157, 255, 0.28);
  border-bottom: 1px solid rgba(43, 157, 255, 0.28);
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 76, 95, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(10, 42, 84, 0.96), rgba(2, 9, 20, 0.98));
}

.jp-wide-cta p {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 1000;
  text-transform: uppercase;
}

.jp-wide-cta h2 {
  margin: 0;
  max-width: 960px;
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.22;
}

@media (max-width: 1180px) {
  .payment-grid,
  .jp-faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .all-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .payment-grid,
  .jp-faq-grid {
    grid-template-columns: 1fr;
  }

  .mini-server {
    display: none;
  }

  .jp-wide-cta {
    display: block;
    text-align: center;
  }

  .jp-wide-cta .btn {
    width: 100%;
    margin-top: 22px;
  }
}

@media (max-width: 720px) {
  .jp-hero h1 {
    font-size: 34px;
  }
}
