/* ==========================================================================
   Albion Science Lab — shared stylesheet
   Shared by: index.html / page2.html / page3.html / page4.html
   ========================================================================== */

:root {
  --wa-green: #25d366;
  --wa-green-dark: #12b455;
  --wa-green-light: #3ee084;
  --ink: #101319;
  --muted: #6b7280;
  --line: rgba(16, 19, 25, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-card: 0 10px 30px rgba(24, 33, 58, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Poppins", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- mobile-first page shell ---------- */
.shell {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 156px;
}

@media (min-width: 620px) {
  body { background: #eef1f6; }
  .shell { box-shadow: 0 0 90px rgba(20, 30, 60, 0.12); }
}

/* ---------- tiny brand row ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(16, 19, 25, 0.62);
}

.brand .mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b18cff, #60a5fa);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
  flex: none;
}

/* ==========================================================================
   Product visuals — real photo of the Albion Science Labs Retatrutide duo kit
   (assets/images/product.webp with a .jpg fallback)
   ========================================================================== */
.product-shot {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #0b1a33;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 36px rgba(18, 34, 62, 0.24);
}

.product-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

/* portrait slot, used for the smaller side cards */
.product-shot--tall { aspect-ratio: 4 / 5; }
.product-shot--tall img { object-position: center center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:active { transform: scale(0.985); }

.btn .ico {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.btn .ico svg { width: 18px; height: 18px; }

.btn-wa {
  background: linear-gradient(180deg, var(--wa-green-light), var(--wa-green-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(18, 180, 85, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-purple {
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  color: #fff;
  box-shadow: 0 12px 26px rgba(109, 61, 214, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-white {
  background: #fff;
  color: #22124a;
  box-shadow: 0 12px 26px rgba(8, 6, 30, 0.28);
}

/* ==========================================================================
   Floating CTA bar — compact "Next Step" card + WhatsApp button.
   Stays pinned to the bottom of every page so it is always tappable.
   ========================================================================== */
.wa-float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 18px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(118, 124, 136, 0.9) 0%,
    rgba(118, 124, 136, 0.72) 34%,
    rgba(118, 124, 136, 0.38) 62%,
    rgba(118, 124, 136, 0) 100%
  );
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.wa-float__card {
  pointer-events: auto;
  width: 100%;
  max-width: 448px;
  padding: 12px 13px 13px;
  border-radius: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 26, 52, 0.24);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}

.wa-float__title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}

.wa-float__sub {
  margin-top: 1px;
  font-size: 10.5px;
  line-height: 1.35;
  color: rgba(16, 19, 25, 0.55);
}

.wa-float__btn {
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #3ee084 0%, #1cbc5e 55%, #12b455 100%);
  box-shadow: 0 10px 22px rgba(9, 60, 34, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: wa-breathe 3.2s ease-in-out infinite;
}

.wa-float__btn:active { transform: scale(0.985); }

.wa-badge {
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.wa-badge svg { width: 17px; height: 17px; }

@keyframes wa-breathe {
  0%, 100% { box-shadow: 0 10px 22px rgba(9, 60, 34, 0.36), 0 0 0 0 rgba(37, 211, 102, 0.32); }
  50% { box-shadow: 0 10px 22px rgba(9, 60, 34, 0.36), 0 0 0 9px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float__btn { animation: none; }
}

/* dark theme variant (used on page2) */
.wa-float--dark {
  background: linear-gradient(
    to top,
    rgba(38, 44, 58, 0.94) 0%,
    rgba(30, 36, 50, 0.76) 34%,
    rgba(24, 30, 44, 0.4) 62%,
    rgba(24, 30, 44, 0) 100%
  );
}

.wa-float--dark .wa-float__card {
  background: rgba(9, 20, 45, 0.92);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.wa-float--dark .wa-float__title { color: #eaf4ff; }
.wa-float--dark .wa-float__sub { color: rgba(178, 205, 240, 0.68); }

/* ---------- shared bits ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.disclaimer {
  margin-top: 26px;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(16, 19, 25, 0.45);
}

.disclaimer.on-dark { color: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   Real results — before / after wall
   Every photo is pre-fitted into a 4:5 canvas (assets/images/1-5.webp | .jpg),
   so the tiles all line up; the last tile is a WhatsApp call to action.
   ========================================================================== */
.results { margin-top: 30px; }

.results-head { text-align: center; }

.results-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7c3aed;
}

.results h2 {
  margin-top: 7px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.results-sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(16, 19, 25, 0.55);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.result-card {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(24, 33, 58, 0.12);
  aspect-ratio: 4 / 5;
}

.result-card picture { display: block; width: 100%; height: 100%; }

.result-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e8ecf3;
}

/* last tile keeps the grid complete and carries a second call to action */
.results-grid a.result-cta {
  display: grid;
  place-items: center;
  padding: 16px 14px;
  text-align: center;
  color: #fff;
  background: linear-gradient(165deg, #3ee084 0%, #1cbc5e 55%, #0f9e49 100%);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(9, 90, 50, 0.3);
}

a.result-cta:active { transform: scale(0.985); }

.result-cta__inner { display: grid; gap: 8px; justify-items: center; }

.result-cta__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.result-cta__icon svg { width: 22px; height: 22px; }

.result-cta strong {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.result-cta__text {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.results-note {
  margin-top: 12px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(16, 19, 25, 0.45);
}
