/* ===========================================================
   PUREBORA — Men's Vitality Support
   Palette: light / silver / sky-blue / blue / deep-navy
   =========================================================== */

:root {
  --pb-navy:    #0a1f3c;
  --pb-blue:    #1d4e89;
  --pb-sky:     #4a90d9;
  --pb-silver:  #a9c6e8;
  --pb-mist:    #c9d6e3;
  --pb-light:   #f4f8fc;
  --pb-white:   #ffffff;
  --pb-ink:     #16263f;
  --pb-grey:    #5d6f86;

  --pb-shadow:  0 18px 50px -18px rgba(10, 31, 60, .35);
  --pb-shadow-sm: 0 8px 24px -10px rgba(10, 31, 60, .28);
  --pb-radius:  18px;

  --pb-display: Georgia, "Times New Roman", serif;
  --pb-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--pb-body);
  color: var(--pb-ink);
  background: var(--pb-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.pb-shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--pb-display); font-weight: 700; line-height: 1.15; color: var(--pb-navy); }
.pb-eyebrow {
  display: inline-block;
  font-family: var(--pb-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pb-sky);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.pb-cta {
  display: inline-block;
  font-family: var(--pb-body);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .01em;
  color: var(--pb-white);
  background: linear-gradient(135deg, var(--pb-sky), var(--pb-blue));
  border: none;
  border-radius: 999px;
  padding: 16px 40px;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(29, 78, 137, .6);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.pb-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -8px rgba(29, 78, 137, .7); filter: brightness(1.05); }
.pb-cta:active { transform: translateY(-1px); }
.pb-cta--ghost {
  background: transparent;
  color: var(--pb-navy);
  border: 2px solid var(--pb-silver);
  box-shadow: none;
}
.pb-cta--ghost:hover { border-color: var(--pb-sky); background: var(--pb-white); box-shadow: var(--pb-shadow-sm); }

/* ---------- Top bar ---------- */
.pb-topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 248, 252, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(169, 198, 232, .5);
}
.pb-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.pb-brand { display: flex; align-items: center; gap: 10px; font-family: var(--pb-display); font-weight: 700; font-size: 1.4rem; color: var(--pb-navy); }
.pb-brand__dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--pb-sky), var(--pb-blue)); box-shadow: 0 0 0 4px rgba(74,144,217,.18); }
.pb-nav { display: flex; gap: 28px; align-items: center; }
.pb-nav a { font-size: .92rem; font-weight: 600; color: var(--pb-grey); transition: color .2s; }
.pb-nav a:hover { color: var(--pb-blue); }
.pb-topbar .pb-cta { padding: 11px 26px; font-size: .9rem; }

/* ---------- Wave divider ---------- */
.pb-wave { display: block; width: 100%; height: 70px; }
.pb-wave path { fill: var(--pb-light); }

/* ===========================================================
   1. HERO
   =========================================================== */
.pb-hero {
  position: relative;
  color: var(--pb-white);
  background: linear-gradient(180deg, rgba(10,31,60,.78), rgba(10,31,60,.55)), url("../img/hero.jpg") center/cover no-repeat;
  padding: 120px 0 150px;
  overflow: hidden;
}
.pb-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pb-hero h1 {
  color: var(--pb-white);
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  letter-spacing: -.01em;
}
.pb-hero h1 em { color: var(--pb-silver); font-style: normal; }
.pb-hero__sub { font-size: 1.18rem; color: var(--pb-mist); margin: 22px 0 34px; max-width: 30em; }
.pb-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.pb-hero__badges { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.pb-hero__badge { font-size: .85rem; color: var(--pb-mist); display: flex; align-items: center; gap: 8px; }
.pb-hero__badge b { color: var(--pb-white); }
.pb-hero__media { display: flex; justify-content: center; }
.pb-hero__media img { width: 320px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); animation: pb-float 6s ease-in-out infinite; }

@keyframes pb-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ===========================================================
   Generic section frame
   =========================================================== */
.pb-band { padding: 92px 0; }
.pb-band--tint { background: linear-gradient(180deg, var(--pb-white), var(--pb-light)); }
.pb-band--navy {
  background: linear-gradient(160deg, var(--pb-navy), var(--pb-blue));
  color: var(--pb-mist);
}
.pb-band--navy h2 { color: var(--pb-white); }
.pb-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.pb-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
.pb-head p { margin-top: 16px; color: var(--pb-grey); font-size: 1.08rem; }
.pb-band--navy .pb-head p { color: var(--pb-mist); }

/* ---------- 2. PROBLEM ---------- */
.pb-problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pb-problem__card {
  background: var(--pb-white);
  border: 1px solid rgba(169,198,232,.6);
  border-radius: var(--pb-radius);
  padding: 32px 28px;
  box-shadow: var(--pb-shadow-sm);
}
.pb-problem__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--pb-silver), var(--pb-sky));
  color: var(--pb-white); font-family: var(--pb-display); font-size: 1.5rem; font-weight: 700;
}
.pb-problem__card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pb-problem__card p { color: var(--pb-grey); font-size: .98rem; }

/* ---------- 3. SOLUTION ---------- */
.pb-solution__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.pb-solution__media {
  border-radius: 26px; overflow: hidden; box-shadow: var(--pb-shadow);
  position: relative;
}
.pb-solution__media img { width: 100%; height: 100%; object-fit: cover; }
.pb-solution__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.pb-solution__copy p { color: var(--pb-grey); margin-bottom: 16px; font-size: 1.05rem; }
.pb-solution__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.pb-chip {
  font-size: .82rem; font-weight: 600; color: var(--pb-blue);
  background: rgba(74,144,217,.12); border: 1px solid rgba(74,144,217,.3);
  padding: 7px 16px; border-radius: 999px;
}

/* ---------- 4. HIGHLIGHTS ---------- */
.pb-high__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.pb-high__media { display: flex; justify-content: center; }
.pb-high__media img { width: 300px; filter: drop-shadow(0 24px 44px rgba(10,31,60,.28)); }
.pb-high__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pb-feature { display: flex; gap: 14px; align-items: flex-start; }
.pb-feature__mark {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pb-sky), var(--pb-blue));
  color: var(--pb-white); font-weight: 700;
}
.pb-feature h3 { font-size: 1.08rem; margin-bottom: 4px; font-family: var(--pb-body); color: var(--pb-navy); }
.pb-feature p { font-size: .93rem; color: var(--pb-grey); }

/* ---------- 5. SOCIAL PROOF ---------- */
.pb-proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pb-quote {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(169,198,232,.25);
  border-radius: var(--pb-radius);
  padding: 30px 28px;
  backdrop-filter: blur(4px);
}
.pb-quote__stars { color: var(--pb-silver); letter-spacing: 3px; margin-bottom: 14px; font-size: 1.05rem; }
.pb-quote p { color: var(--pb-mist); font-style: italic; margin-bottom: 22px; }
.pb-quote__who { display: flex; align-items: center; gap: 12px; }
.pb-quote__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--pb-sky), var(--pb-silver)); display: grid; place-items: center; color: var(--pb-navy); font-weight: 700; }
.pb-quote__who b { color: var(--pb-white); display: block; font-size: .95rem; }
.pb-quote__who span { font-size: .82rem; color: var(--pb-silver); }
.pb-proof__note { text-align: center; margin-top: 34px; font-size: .8rem; color: var(--pb-silver); opacity: .8; }

/* ---------- 6. HOW IT WORKS ---------- */
.pb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.pb-step {
  background: var(--pb-white); border-radius: var(--pb-radius);
  padding: 36px 30px; box-shadow: var(--pb-shadow-sm);
  border: 1px solid rgba(169,198,232,.5); position: relative;
}
.pb-step__num {
  font-family: var(--pb-display); font-size: 2.4rem; font-weight: 700;
  background: linear-gradient(135deg, var(--pb-sky), var(--pb-blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.pb-step h3 { font-size: 1.22rem; margin-bottom: 10px; }
.pb-step p { color: var(--pb-grey); font-size: .98rem; }

/* ---------- 7. ORDER ---------- */
.pb-order__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pb-order__pitch h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.pb-order__pitch p { color: var(--pb-grey); margin-bottom: 24px; }
.pb-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.pb-price__now { font-family: var(--pb-display); font-size: 3rem; font-weight: 700; color: var(--pb-navy); }
.pb-price__was { font-size: 1.3rem; color: var(--pb-grey); text-decoration: line-through; }
.pb-price__tag { font-size: .82rem; font-weight: 700; color: var(--pb-white); background: var(--pb-sky); padding: 5px 12px; border-radius: 999px; }
.pb-order__includes { list-style: none; margin-top: 18px; }
.pb-order__includes li { padding: 7px 0 7px 28px; position: relative; color: var(--pb-ink); }
.pb-order__includes li::before { content: "✓"; position: absolute; left: 0; color: var(--pb-sky); font-weight: 700; }

.pb-formcard {
  background: var(--pb-white); border-radius: 24px; padding: 40px 36px;
  box-shadow: var(--pb-shadow); border: 1px solid rgba(169,198,232,.6);
}
.pb-formcard h3 { font-size: 1.4rem; margin-bottom: 6px; }
.pb-formcard__sub { color: var(--pb-grey); font-size: .92rem; margin-bottom: 24px; }
.pb-field { margin-bottom: 20px; }
.pb-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--pb-navy); margin-bottom: 8px; }
.pb-field input {
  width: 100%; font-size: 1rem; font-family: var(--pb-body);
  padding: 14px 16px; border: 1.5px solid var(--pb-mist); border-radius: 12px;
  background: var(--pb-light); color: var(--pb-ink); transition: border-color .2s, box-shadow .2s;
}
.pb-field input:focus { outline: none; border-color: var(--pb-sky); box-shadow: 0 0 0 4px rgba(74,144,217,.18); background: var(--pb-white); }
.pb-field input.pb-invalid { border-color: #d0506a; box-shadow: 0 0 0 4px rgba(208,80,106,.14); }
.pb-error { display: none; color: #c23a55; font-size: .82rem; margin-top: 6px; }
.pb-error.pb-show { display: block; }
.pb-formcard .pb-cta { width: 100%; margin-top: 6px; }
.pb-formcard__legal { font-size: .76rem; color: var(--pb-grey); margin-top: 16px; text-align: center; }
.pb-formcard__legal a { color: var(--pb-blue); text-decoration: underline; }

/* ---------- 8. FINAL CTA ---------- */
.pb-final { text-align: center; }
.pb-final h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--pb-white); margin-bottom: 18px; }
.pb-final p { color: var(--pb-mist); max-width: 36em; margin: 0 auto 32px; font-size: 1.1rem; }
.pb-trust { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 46px; }
.pb-trust__item { color: var(--pb-mist); font-size: .9rem; }
.pb-trust__item b { display: block; color: var(--pb-white); font-family: var(--pb-display); font-size: 1.5rem; }
.pb-compliance { font-size: .8rem; color: var(--pb-silver); opacity: .85; max-width: 50em; margin: 40px auto 0; }

/* ---------- Footer ---------- */
.pb-foot { background: var(--pb-navy); color: var(--pb-mist); padding: 56px 0 30px; }
.pb-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.pb-foot__brand { font-family: var(--pb-display); font-size: 1.5rem; color: var(--pb-white); margin-bottom: 12px; }
.pb-foot p { font-size: .9rem; color: var(--pb-silver); }
.pb-foot h4 { color: var(--pb-white); font-family: var(--pb-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.pb-foot ul { list-style: none; }
.pb-foot ul li { margin-bottom: 9px; }
.pb-foot ul a { font-size: .9rem; color: var(--pb-silver); transition: color .2s; }
.pb-foot ul a:hover { color: var(--pb-sky); }
.pb-foot__bar { border-top: 1px solid rgba(169,198,232,.2); padding-top: 22px; font-size: .82rem; color: var(--pb-silver); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Cookie consent ---------- */
.pb-cookie {
  position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 80;
  max-width: 560px; margin: 0 auto;
  background: var(--pb-white); border: 1px solid var(--pb-silver);
  border-radius: 18px; box-shadow: var(--pb-shadow);
  padding: 22px 24px; display: none;
}
.pb-cookie.pb-show { display: block; animation: pb-rise .4s ease; }
@keyframes pb-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.pb-cookie p { font-size: .9rem; color: var(--pb-grey); margin-bottom: 16px; }
.pb-cookie p a { color: var(--pb-blue); text-decoration: underline; }
.pb-cookie__row { display: flex; gap: 12px; flex-wrap: wrap; }
.pb-cookie .pb-cta { padding: 11px 26px; font-size: .9rem; }

/* ---------- Scroll reveal ---------- */
.pb-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.pb-reveal.pb-in { opacity: 1; transform: translateY(0); }

/* ---------- Legal pages ---------- */
.pb-legal { padding: 70px 0 90px; }
.pb-legal__wrap { max-width: 800px; margin: 0 auto; background: var(--pb-white); border: 1px solid rgba(169,198,232,.55); border-radius: 22px; padding: 56px 54px; box-shadow: var(--pb-shadow-sm); }
.pb-legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.pb-legal__date { color: var(--pb-grey); font-size: .88rem; margin-bottom: 34px; }
.pb-legal h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.pb-legal p, .pb-legal li { color: var(--pb-ink); font-size: .98rem; margin-bottom: 12px; }
.pb-legal ul { padding-left: 22px; margin-bottom: 12px; }
.pb-legal a { color: var(--pb-blue); text-decoration: underline; }
.pb-back { display: inline-block; margin-bottom: 26px; color: var(--pb-blue); font-weight: 600; font-size: .9rem; }

/* ---------- Success page ---------- */
.pb-success { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 80px 22px; }
.pb-success__card { max-width: 540px; background: var(--pb-white); border-radius: 26px; padding: 56px 44px; box-shadow: var(--pb-shadow); border: 1px solid rgba(169,198,232,.6); }
.pb-success__tick { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pb-sky), var(--pb-blue)); color: var(--pb-white); font-size: 2.4rem; box-shadow: 0 14px 30px -10px rgba(29,78,137,.6); }
.pb-success__card h1 { font-size: 2rem; margin-bottom: 14px; }
.pb-success__card p { color: var(--pb-grey); margin-bottom: 28px; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .pb-nav { display: none; }
  .pb-hero__grid,
  .pb-solution__grid,
  .pb-high__grid,
  .pb-order__grid { grid-template-columns: 1fr; }
  .pb-hero { padding: 80px 0 110px; }
  .pb-hero__media { order: -1; }
  .pb-hero__media img { width: 220px; }
  .pb-problem__grid,
  .pb-proof__grid,
  .pb-steps { grid-template-columns: 1fr; }
  .pb-foot__grid { grid-template-columns: 1fr; }
  .pb-band { padding: 64px 0; }
  .pb-legal__wrap { padding: 38px 26px; }
}
@media (max-width: 560px) {
  .pb-high__list { grid-template-columns: 1fr; }
  .pb-hero__actions .pb-cta { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pb-reveal { opacity: 1; transform: none; }
}
