/* =====================================================================
   PoryBot-U — Purchase page fancy layer (self-contained)
   Shares the new header design with the home page, plus glassy,
   glowing pricing cards. Kept separate from fancy.css because on this
   page ".u-section-1" is the payment section (not the hero).
   ===================================================================== */

:root {
  --pb-blue:    #73b3ef;
  --pb-base:    #0f497f;
  --pb-cyan:    #5ad1ff;
  --pb-green:   #c5ffb3;
  --pb-purple:  #a494f0;
  --pb-red:     #db545a;
  --pb-gold:    #f5d654;
}

/* ---------- Global polish ---------- */
html { scroll-behavior: smooth; }
.u-body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #0c161f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pb-blue), var(--pb-base));
  border-radius: 10px;
  border: 2px solid #0c161f;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--pb-cyan), var(--pb-blue)); }
html { scrollbar-color: var(--pb-blue) #0c161f; scrollbar-width: thin; }

#pb-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--pb-cyan), var(--pb-blue), var(--pb-purple));
  box-shadow: 0 0 12px rgba(90,209,255,0.8);
  transition: width 0.08s linear;
}

@keyframes pb-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* =====================================================================
   NEW HEADER (.pbh) — identical to the home page
   ===================================================================== */
.pbh {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(13, 22, 33, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(115,179,239,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, height 0.35s ease;
}
.pbh::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pb-cyan), var(--pb-blue), transparent);
  opacity: 0.7;
  background-size: 200% 100%;
  animation: pb-shimmer 6s linear infinite;
}
.pbh.pbh-scrolled {
  background: rgba(10, 17, 26, 0.82);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border-color: rgba(115,179,239,0.30);
}
.pbh-inner {
  max-width: 1340px;
  margin: 0 auto;
  height: 84px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: height 0.35s ease;
}
.pbh.pbh-scrolled .pbh-inner { height: 66px; }

.pbh-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.pbh-logo img {
  width: 52px; height: 52px; object-fit: contain;
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), filter 0.4s ease;
  filter: drop-shadow(0 0 6px rgba(90,209,255,0.35));
}
.pbh.pbh-scrolled .pbh-logo img { width: 44px; height: 44px; }
.pbh-logo:hover img { transform: scale(1.1) rotate(-4deg); filter: drop-shadow(0 0 12px rgba(90,209,255,0.8)); }
.pbh-logo-text {
  font-family: "Oswald", "Montserrat", sans-serif;
  font-weight: 700; font-size: 1.5rem; letter-spacing: 1px;
  color: #fff; text-transform: uppercase; text-shadow: 0 0 14px rgba(90,209,255,0.35);
}
.pbh-logo-text b { color: var(--pb-cyan); }

.pbh-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pbh-nav a {
  position: relative; padding: 10px 16px; color: #d6e6f5;
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.4px; text-transform: uppercase; text-decoration: none;
  border-radius: 8px; transition: color 0.25s ease, background 0.25s ease;
}
.pbh-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--pb-cyan), var(--pb-blue));
  border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1);
}
.pbh-nav a:hover { color: #fff; background: rgba(115,179,239,0.10); }
.pbh-nav a:hover::after { transform: scaleX(1); }

.pbh-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; margin-right: auto; }
.pbh-social { display: flex; align-items: center; gap: 10px; }
.pbh-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pbh-social a img { width: 30px; height: 30px; object-fit: contain; transition: filter 0.3s ease; }
.pbh-social a:hover {
  transform: translateY(-3px); background: rgba(115,179,239,0.18);
  border-color: rgba(115,179,239,0.5); box-shadow: 0 6px 18px rgba(90,209,255,0.35);
}
.pbh-social a:hover img { filter: drop-shadow(0 0 6px rgba(90,209,255,0.9)); }

.pbh-cta {
  display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 10px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.6px; text-transform: uppercase; text-decoration: none; color: #10202a;
  background: linear-gradient(120deg, var(--pb-gold), var(--pb-green));
  background-size: 180% 100%; background-position: 0% 50%;
  box-shadow: 0 6px 20px rgba(245,214,84,0.35); white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease;
}
.pbh-cta:hover {
  transform: translateY(-2px); background-position: 100% 50%;
  box-shadow: 0 10px 28px rgba(245,214,84,0.5), inset 0 0 18px rgba(255,255,255,0.3);
}

.pbh-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px; cursor: pointer;
}
.pbh-burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.25s ease; }
.pbh.pbh-open .pbh-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pbh.pbh-open .pbh-burger span:nth-child(2) { opacity: 0; }
.pbh.pbh-open .pbh-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  .pbh-inner { padding: 0 20px; gap: 16px; }
  .pbh-logo-text { display: none; }
  .pbh-burger { display: flex; }
  .pbh-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 16px 18px;
    background: rgba(10, 17, 26, 0.96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(115,179,239,0.25); box-shadow: 0 16px 40px rgba(0,0,0,0.55);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .pbh.pbh-open .pbh-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .pbh-nav a { padding: 14px 12px; font-size: 1rem; border-radius: 8px; }
  .pbh-nav a::after { display: none; }
  .pbh-social { display: none; }
}
@media (max-width: 575px) {
  .pbh-inner { padding: 0 14px; height: 70px; }
  .pbh-cta { padding: 10px 16px; font-size: 0.75rem; }
  .pbh-logo img { width: 42px; height: 42px; }
}

/* =====================================================================
   PAYMENT SECTION
   ===================================================================== */
.u-section-1 {
  position: relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(115,179,239,0.12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(90,209,255,0.12), transparent 45%),
    linear-gradient(160deg, #0a1722 0%, #0d2236 45%, #081019 100%) !important;
  overflow: hidden;
}
/* subtle tech grid */
.u-section-1::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(115,179,239,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115,179,239,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.u-section-1 .u-sheet-1 { position: relative; z-index: 1; }

/* ---- Fix spacing: heading cell was 626px tall with cards pulled up -425px,
        which made them overlap. Collapse the cell + use a real gap. ---- */
.u-section-1 .u-sheet-1 { min-height: auto !important; padding-bottom: 60px; }
.u-section-1 .u-layout-cell-1 { min-height: 0 !important; }
.u-section-1 .u-layout-wrap-1 { margin-bottom: 0 !important; }
.u-section-1 .u-layout-wrap-2 { margin-top: 56px !important; }
.u-section-1 .u-group-3 { margin-top: 44px !important; }

/* Headings */
.u-section-1 .u-text-1 { text-shadow: 0 0 22px rgba(115,179,239,0.4); letter-spacing: 1px; }
.u-section-1 .u-text-2 { text-shadow: 0 0 26px rgba(90,209,255,0.55); letter-spacing: 1px; }

/* Glowing divider */
.u-line-horizontal {
  position: relative;
  background: linear-gradient(90deg, transparent, var(--pb-cyan), var(--pb-blue), transparent) !important;
  border: none !important;
  height: 3px !important;
  box-shadow: 0 0 14px rgba(90,209,255,0.6);
  background-size: 200% 100% !important;
  animation: pb-shimmer 4s linear infinite;
}

/* =====================================================================
   PRICING CARDS
   ===================================================================== */
.u-group-1, .u-group-2, .u-group-3 {
  border: 1px solid rgba(115,179,239,0.22) !important;
  border-radius: 18px !important;
  background: linear-gradient(160deg, rgba(41,66,89,0.55), rgba(15,25,40,0.72)) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 1 !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.u-group-1:hover, .u-group-2:hover, .u-group-3:hover {
  transform: translateY(-10px);
  border-color: rgba(90,209,255,0.55) !important;
  box-shadow: 0 22px 60px rgba(90,209,255,0.30);
}

/* Highlight the first (instant) card */
.u-group-1 {
  position: relative;
  overflow: visible;
  border-color: rgba(197,255,179,0.5) !important;
  box-shadow: 0 16px 46px rgba(0,0,0,0.5), 0 0 0 1px rgba(197,255,179,0.18) inset;
}
/* clean pill badge sitting on the top edge — never clipped */
.u-group-1::before {
  content: "★ INSTANT DELIVERY";
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--pb-gold), var(--pb-green));
  color: #10202a;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 1.5px;
  white-space: nowrap;
  padding: 7px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  z-index: 5;
}
/* make sure no ancestor clips the badge */
.u-section-1 .u-layout-wrap-2,
.u-section-1 .u-layout-cell-2,
.u-section-1 .u-container-layout-2 { overflow: visible !important; }

/* Prices */
.u-text-3, .u-text-9, .u-text-14 {
  font-size: 3.4rem !important;
  font-weight: 700 !important;
  text-shadow: 0 0 26px rgba(90,209,255,0.45);
  line-height: 1.05;
}

/* Product images inside cards */
.u-group-1 .u-image, .u-group-2 .u-image, .u-group-3 .u-image {
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
  transition: transform 0.4s ease;
}
.u-group-1:hover .u-image, .u-group-2:hover .u-image, .u-group-3:hover .u-image {
  transform: scale(1.04);
}

/* Feature text a touch brighter */
.u-group-1 p, .u-group-2 p, .u-group-3 p { color: #e8f1fb; }

/* Purchase buttons — keep their colours, add lift + glow + clean fill shift */
.u-btn-2, .u-btn-4, .u-btn-6 {
  position: relative;
  border-radius: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  background-size: 180% 100% !important;
  background-position: 0% 50% !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease !important;
}
.u-btn-2:hover, .u-btn-4:hover, .u-btn-6:hover {
  transform: translateY(-3px);
  background-position: 100% 50% !important;
  box-shadow: 0 12px 30px rgba(90,209,255,0.4), inset 0 0 18px rgba(255,255,255,0.2);
}

/* "check features" links */
.u-btn-1, .u-btn-3, .u-btn-5 { transition: opacity 0.25s ease, letter-spacing 0.25s ease; }
.u-btn-1:hover, .u-btn-3:hover, .u-btn-5:hover { letter-spacing: 0.6px; opacity: 0.85; }

/* ---------- Footer ---------- */
.u-footer { border-top: 1px solid rgba(115,179,239,0.2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pbh::after, .u-line-horizontal { animation: none !important; }
}
