/* GLP-3R offer page. Palette + type lifted from biotechcompounds.com/reta-deal-tfc (RetaOffer.jsx)
   so this reads as the same family: deep navy atmosphere, cyan/electric-blue accents, Unbounded
   display, IBM Plex Mono labels, Plus Jakarta Sans body. Prefix: g3- */

:root {
  --bg: #04070e;
  --bg2: #081228;
  --blue: #0066FF;
  --cyan: #4DD8FF;
  --ice: #b8dcff;
  --text: #eaf3ff;
  --dim: #7e93b8;
  --mint: #7CFFB2;
  --line: rgba(77, 216, 255, 0.16);
  --card: linear-gradient(165deg, rgba(16,34,68,.85), rgba(7,15,32,.92));
  --display: 'Unbounded', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --body: 'Plus Jakarta Sans', sans-serif;
  --atom-teal: #2aa8a0;
  --atom-navy: #0b3d5c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; }
a { color: var(--cyan); }

/* ---------- header (white band, atom + wordmark, deliberately not a link) ---------- */
.g3-header {
  background: #fff;
  color: #0b1f3a;
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.25);
}
.g3-header-in {
  max-width: 76rem; margin: 0 auto; padding: .7rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.g3-logo { height: 46px; width: auto; }
.g3-ruo-chip {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--atom-navy); border: 1px solid rgba(11,61,92,.25); border-radius: 999px;
  padding: .4rem .8rem; white-space: nowrap;
}
@media (max-width: 640px) { .g3-logo { height: 38px; } .g3-ruo-chip { font-size: .56rem; padding: .35rem .6rem; } }

/* ---------- atmosphere ---------- */
.g3-page { position: relative; isolation: isolate; min-height: calc(100dvh - 60px); }
.g3-atmo { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.g3-atmo::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(52rem 30rem at 78% -8%, rgba(0,102,255,0.32), transparent 60%),
    radial-gradient(40rem 26rem at 8% 32%, rgba(77,216,255,0.12), transparent 55%),
    radial-gradient(46rem 32rem at 55% 108%, rgba(0,102,255,0.18), transparent 60%),
    linear-gradient(180deg, #050a15 0%, var(--bg) 45%, #060d1c 100%);
}
.g3-atmo::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(122,180,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,180,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(90rem 60rem at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(90rem 60rem at 50% 0%, black 30%, transparent 75%);
}
.g3-scan {
  position: absolute; left: 0; right: 0; height: 30rem; top: -30rem;
  background: linear-gradient(180deg, transparent, rgba(77,216,255,0.045), transparent);
  animation: g3-scan 9s linear infinite;
}
@keyframes g3-scan { to { transform: translateY(calc(100vh + 60rem)); } }

.g3-wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- shared bits ---------- */
.g3-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .22em;
  color: var(--cyan); text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .95rem; background: rgba(8, 24, 52, .55);
  box-shadow: 0 0 22px rgba(0,102,255,.18) inset;
}
.g3-dot {
  width: .45rem; height: .45rem; border-radius: 999px; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: g3-pulse 2.2s ease-in-out infinite;
}
@keyframes g3-pulse { 50% { opacity: .35; } }
@keyframes g3-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.g3-rise { animation: g3-rise .7s ease both; }
.g3-rise-1 { animation-delay: .08s; } .g3-rise-2 { animation-delay: .16s; }
.g3-rise-3 { animation-delay: .24s; } .g3-rise-4 { animation-delay: .32s; }

.g3-label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--dim);
}
.g3-h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.1; margin: .6rem 0 0;
}
.g3-h2 .g3-grad, .g3-h1 .g3-grad {
  background: linear-gradient(92deg, #ffffff 10%, var(--cyan) 55%, var(--blue) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g3-sub { color: var(--dim); font-size: 1.02rem; line-height: 1.65; max-width: 40rem; }
.g3-sub strong { color: var(--ice); font-weight: 600; }
.g3-ruo {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
}
.g3-ruo b { color: var(--ice); font-weight: 600; }

/* CTA (the orbiting-glow pill from the reta page) */
.g3-cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(.9rem, 2.2vw, 1.05rem); letter-spacing: .04em;
  color: #fff; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 2rem; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(100deg, var(--blue), #0047b3 60%, #003585);
  box-shadow: 0 0 0 1px rgba(77,216,255,.35), 0 12px 40px rgba(0,102,255,.45), 0 0 60px rgba(0,102,255,.25);
  transition: transform .16s ease, box-shadow .25s ease, opacity .2s ease;
  isolation: isolate;
}
.g3-cta::after {
  content: ''; position: absolute; inset: -3px; border-radius: 999px; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 65%, rgba(77,216,255,.9) 82%, transparent 100%);
  animation: g3-orbit 3.2s linear infinite; filter: blur(6px);
}
@keyframes g3-orbit { to { transform: rotate(360deg); } }
.g3-cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(77,216,255,.55), 0 18px 55px rgba(0,102,255,.6), 0 0 80px rgba(0,102,255,.35); }
.g3-cta:disabled { opacity: .55; cursor: not-allowed; }
.g3-cta:disabled::after { animation: none; opacity: .3; }
.g3-cta svg { width: 1.1em; height: 1.1em; }

.g3-btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); background: rgba(8,24,52,.55); border: 1px solid var(--line);
  border-radius: 999px; padding: .75rem 1.2rem; cursor: pointer; text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.g3-btn-ghost:hover { border-color: rgba(77,216,255,.5); background: rgba(8,24,52,.85); }

/* ---------- hero ---------- */
.g3-hero {
  display: grid; gap: 1.2rem 3rem; align-items: center; padding: 4rem 0 3rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "head visual" "cta visual";
}
.g3-hero-head { grid-area: head; align-self: end; }
.g3-hero-cta { grid-area: cta; align-self: start; }
.g3-hero-visual { grid-area: visual; }
.g3-h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.02; margin: 1.3rem 0 0; letter-spacing: -.01em;
}
.g3-h1 .g3-tm { font-size: .4em; vertical-align: super; color: var(--cyan); font-weight: 500; }
.g3-h1 .g3-sub-line { display: block; font-size: .42em; font-weight: 500; margin-top: .8rem; color: var(--ice); letter-spacing: .02em; }
.g3-offer-line {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .9rem;
}
.g3-offer-line .g3-today {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan);
}
.g3-offer-line .g3-normally { color: var(--dim); font-size: 1rem; }
.g3-offer-line .g3-normally s { color: var(--ice); text-decoration-color: rgba(255,120,150,.8); }
.g3-offer-line .g3-upto {
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--mint);
  text-shadow: 0 0 22px rgba(124,255,178,.45);
}
.g3-hero-ticks {
  margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.g3-hero-ticks li { display: inline-flex; align-items: center; gap: .45rem; }
.g3-hero-ticks svg { width: .9rem; height: .9rem; color: var(--cyan); }
.g3-cta-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem; }
.g3-cta-note { font-size: .8rem; color: var(--dim); max-width: 14rem; line-height: 1.45; }
.g3-hero-ruo { margin-top: 1.1rem; }

.g3-visual { position: relative; min-height: 32rem; display: grid; place-items: center; }
.g3-vial-card {
  position: relative; width: min(24rem, 100%); border-radius: 1.6rem; padding: 1.2rem;
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(8px);
  box-shadow: 0 24px 70px rgba(0, 10, 40, .65), 0 0 40px rgba(0,102,255,.12);
  animation: g3-float 7s ease-in-out infinite;
}
@keyframes g3-float { 50% { translate: 0 -10px; } }
.g3-vial-img {
  border-radius: 1.1rem; background: radial-gradient(circle at 50% 30%, #ffffff, #dfeeff 70%, #c9dcf5);
  overflow: hidden; aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative;
}
.g3-vial-img::after {
  content: ''; position: absolute; inset: auto 12% 6%; height: 12%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,60,140,.25), transparent 70%);
}
.g3-vial-img img { width: 78%; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 18px 24px rgba(0,30,80,.35)); }
.g3-vial-meta { padding: 1rem .3rem .2rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; }
.g3-vial-name { font-weight: 600; font-size: .95rem; color: var(--ice); }
.g3-vial-sku { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; color: var(--dim); display: block; margin-top: .25rem; }
.g3-vial-price { text-align: right; }
.g3-vial-price .g3-was { font-size: .78rem; color: var(--dim); text-decoration: line-through; display: block; }
.g3-vial-price .g3-now { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: #fff; }
.g3-vial-price .g3-now small { font-size: .55em; color: var(--dim); font-weight: 500; }
.g3-ribbon {
  position: absolute; top: -.85rem; right: 1.1rem; z-index: 2;
  font-family: var(--mono); font-weight: 600; font-size: .66rem; letter-spacing: .22em;
  color: #05230f; background: linear-gradient(110deg, var(--mint), #3fe98b);
  padding: .42rem .8rem; border-radius: 999px; box-shadow: 0 6px 22px rgba(80, 255, 160, .35);
}
.g3-ribbon-blue { color: #fff; background: linear-gradient(110deg, var(--blue), #2f86ff); box-shadow: 0 6px 22px rgba(0,102,255,.45); }
.g3-orbit-tag {
  position: absolute; z-index: 3; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em;
  background: rgba(5,16,36,.92); border: 1px solid var(--line); border-radius: .7rem; padding: .55rem .8rem;
  color: var(--dim); box-shadow: 0 14px 40px rgba(0,10,40,.6); white-space: nowrap;
}
.g3-orbit-tag b { color: var(--text); font-weight: 600; }
.g3-orbit-tag.g3-t1 { left: -1.2rem; top: 18%; animation: g3-float 8s .8s ease-in-out infinite; }
.g3-orbit-tag.g3-t2 { right: -1rem; bottom: 22%; animation: g3-float 8s 1.6s ease-in-out infinite; }

/* ---------- trust strip ---------- */
.g3-trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem;
  padding: 1rem 0 .4rem;
}
.g3-trust-item {
  display: flex; align-items: center; gap: .8rem; padding: .95rem 1.1rem;
  border: 1px solid var(--line); border-radius: 1rem;
  background: linear-gradient(170deg, rgba(11,24,50,.65), rgba(6,12,26,.75));
}
.g3-trust-ico {
  width: 2.4rem; height: 2.4rem; flex: none; border-radius: .75rem; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(77,216,255,.35), rgba(0,102,255,.15));
  border: 1px solid rgba(77,216,255,.3); color: var(--cyan);
}
.g3-trust-ico svg { width: 1.2rem; height: 1.2rem; }
.g3-trust-txt b { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.g3-trust-txt span { font-size: .78rem; color: var(--dim); }
.g3-trust-txt a { color: var(--cyan); text-decoration: none; border-bottom: 1px dotted rgba(77,216,255,.5); }

/* ---------- section frame ---------- */
.g3-section { padding: 3.6rem 0 0; }
.g3-section-head { text-align: center; max-width: 44rem; margin: 0 auto 2rem; }
.g3-section-head .g3-sub { margin: .8rem auto 0; }

/* ---------- offer cards ---------- */
.g3-offer-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: stretch;
}
.g3-tier {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  padding: 1.4rem 1.3rem 1.3rem; border-radius: 1.5rem; text-align: center;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,10,40,.5);
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.g3-tier:hover { transform: translateY(-3px); border-color: rgba(77,216,255,.35); }
.g3-tier.g3-best {
  border-color: rgba(124,255,178,.45);
  box-shadow: 0 0 0 1px rgba(124,255,178,.2), 0 24px 70px rgba(0,10,40,.7), 0 0 60px rgba(0,102,255,.18);
  transform: scale(1.04);
  z-index: 1;
}
.g3-tier.g3-best:hover { transform: scale(1.04) translateY(-3px); }
.g3-tier.g3-selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(77,216,255,.55), 0 24px 70px rgba(0,10,40,.7), 0 0 70px rgba(0,102,255,.35);
}
.g3-tier-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.g3-tier-qty { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.g3-tier-pct {
  font-family: var(--mono); font-weight: 600; font-size: .66rem; letter-spacing: .18em;
  color: #fff; background: linear-gradient(110deg, var(--blue), #2f86ff);
  padding: .38rem .7rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,102,255,.4);
}
.g3-tier.g3-best .g3-tier-pct { color: #05230f; background: linear-gradient(110deg, var(--mint), #3fe98b); box-shadow: 0 6px 20px rgba(80,255,160,.35); }
.g3-tier-vials {
  height: 9.5rem; border-radius: 1rem; display: flex; align-items: flex-end; justify-content: center; gap: 0;
  background: radial-gradient(circle at 50% 20%, #ffffff, #e2f0ff 65%, #cfe0f7); overflow: hidden; padding: .6rem 0 .8rem;
}
.g3-tier-vials img { height: 100%; width: auto; filter: drop-shadow(0 10px 14px rgba(0,30,80,.3)); }
.g3-tier-vials img + img { margin-left: -1.6rem; }
.g3-tier-price { font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1; color: #fff; margin-top: .3rem; }
.g3-tier-price small { font-size: .42em; color: var(--dim); font-weight: 500; }
.g3-tier-was { font-size: .82rem; color: var(--dim); }
.g3-tier-was s { text-decoration-color: rgba(255,120,150,.8); }
.g3-tier-per { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.g3-tier-save { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.g3-tier-btn {
  margin-top: auto; width: 100%; padding: .95rem 1rem; border-radius: 999px; border: 1px solid rgba(77,216,255,.4);
  font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cyan); background: rgba(8,24,52,.7); cursor: pointer; transition: all .18s ease;
}
.g3-tier-btn:hover { background: rgba(0,102,255,.25); color: #fff; }
.g3-tier.g3-best .g3-tier-btn { color: #fff; background: linear-gradient(100deg, var(--blue), #0047b3 60%, #003585); border-color: rgba(77,216,255,.35); box-shadow: 0 10px 30px rgba(0,102,255,.4); }
.g3-tier.g3-selected .g3-tier-btn { background: linear-gradient(110deg, var(--cyan), #8ee6ff); color: #05132c; border-color: transparent; }
.g3-tier-btn svg { width: 1em; height: 1em; vertical-align: -2px; margin-right: .35rem; }

/* ---------- add-on + protection ---------- */
.g3-addons { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.g3-addon {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.1rem; align-items: center;
  padding: 1.1rem; border-radius: 1.3rem; background: linear-gradient(170deg, rgba(11,24,50,.65), rgba(6,12,26,.75));
  border: 1px solid var(--line); transition: border-color .2s ease;
}
.g3-addon.g3-on { border-color: rgba(124,255,178,.5); box-shadow: 0 0 40px rgba(124,255,178,.08); }
.g3-addon-img { border-radius: .9rem; background: #eef4ff; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.g3-addon-img img { width: 92%; height: auto; }
.g3-addon-kicker { font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.g3-addon-name { font-family: var(--display); font-weight: 600; font-size: 1rem; margin: .3rem 0 .35rem; color: #fff; }
.g3-addon-name span { color: var(--mint); }
.g3-addon-list { margin: 0 0 .7rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .84rem; color: var(--dim); }
.g3-addon-list li::before { content: '•'; color: var(--cyan); margin-right: .4rem; }
.g3-check {
  display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; user-select: none;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ice);
  padding: .6rem .9rem; border-radius: .8rem; border: 1px dashed rgba(77,216,255,.4); background: rgba(5,16,36,.6);
  transition: all .18s ease;
}
.g3-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.g3-check .g3-box {
  width: 1.15rem; height: 1.15rem; border-radius: .3rem; border: 1.5px solid rgba(77,216,255,.6);
  display: grid; place-items: center; background: rgba(8,24,52,.8); flex: none; transition: all .15s ease;
}
.g3-check .g3-box svg { width: .8rem; height: .8rem; color: #05230f; opacity: 0; transform: scale(.6); transition: all .15s ease; }
.g3-check input:checked ~ .g3-box { background: linear-gradient(110deg, var(--mint), #3fe98b); border-color: transparent; }
.g3-check input:checked ~ .g3-box svg { opacity: 1; transform: scale(1); }
.g3-check input:focus-visible ~ .g3-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.g3-check:hover { border-color: rgba(77,216,255,.7); }
.g3-check b { color: var(--mint); }

.g3-protect { display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 1.1rem 1.2rem; }
.g3-protect-head { display: flex; align-items: center; gap: .7rem; }
.g3-protect-head svg { width: 1.5rem; height: 1.5rem; color: var(--cyan); flex: none; }
.g3-protect p { margin: 0; font-size: .82rem; color: var(--dim); line-height: 1.5; }
.g3-protect p a { color: var(--cyan); text-decoration: none; border-bottom: 1px dotted rgba(77,216,255,.6); cursor: pointer; }

/* ---------- checkout ---------- */
.g3-checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.4rem; align-items: start; margin-top: 1.4rem; }
.g3-panel {
  padding: 1.5rem; border-radius: 1.5rem; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,10,40,.5);
}
.g3-panel-title { font-family: var(--display); font-weight: 600; font-size: 1rem; margin: 0 0 1rem; color: #fff; display: flex; align-items: center; gap: .6rem; }
.g3-panel-title .g3-step { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; color: var(--cyan); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .55rem; }
.g3-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.g3-field { display: flex; flex-direction: column; gap: .35rem; }
.g3-field.g3-full { grid-column: 1 / -1; }
.g3-field label { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.g3-field input, .g3-field select {
  font: inherit; font-size: .95rem; color: var(--text); background: rgba(5,16,36,.8);
  border: 1px solid rgba(77,216,255,.22); border-radius: .75rem; padding: .8rem .95rem; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.g3-field input::placeholder { color: #4b5d80; }
.g3-field input:focus, .g3-field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(77,216,255,.15); }
.g3-field input:user-invalid { border-color: rgba(255,120,150,.8); }
.g3-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 50%, calc(100% - .75rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.g3-form-note { margin: .9rem 0 0; font-size: .78rem; color: var(--dim); line-height: 1.5; }

.g3-summary { position: sticky; top: 5.2rem; }
.g3-sum-rows { display: flex; flex-direction: column; gap: .55rem; margin: 0 0 1rem; }
.g3-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .92rem; }
.g3-sum-row .g3-k { color: var(--dim); }
.g3-sum-row .g3-k small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; color: #52668f; margin-top: .1rem; }
.g3-sum-row .g3-v { color: var(--ice); font-weight: 600; white-space: nowrap; }
.g3-sum-row .g3-v.g3-off { color: #52668f; font-weight: 400; }
.g3-sum-row .g3-v.g3-free { color: var(--mint); }
.g3-sum-row.g3-saving .g3-v { color: var(--mint); }
.g3-sum-total {
  display: flex; justify-content: space-between; align-items: baseline; padding-top: .9rem; margin-top: .3rem;
  border-top: 1px solid var(--line);
}
.g3-sum-total .g3-k { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.g3-sum-total .g3-v { font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: #fff; }
.g3-sum-empty { font-size: .86rem; color: var(--dim); padding: .8rem 1rem; border: 1px dashed rgba(77,216,255,.3); border-radius: .8rem; text-align: center; }
.g3-pay-tile {
  margin: 1rem 0; display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem;
  border-radius: .9rem; border: 1px solid rgba(77,216,255,.35); background: rgba(5,16,36,.8);
}
.g3-pay-tile .g3-pay-ico { width: 2.2rem; height: 2.2rem; border-radius: .6rem; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; flex: none; }
.g3-pay-tile .g3-pay-ico svg { width: 1.2rem; height: 1.2rem; }
.g3-pay-tile b { display: block; font-size: .88rem; color: #fff; }
.g3-pay-tile span { font-size: .76rem; color: var(--dim); }
.g3-complete { width: 100%; }
.g3-summary .g3-ruo { text-align: center; margin-top: .9rem; }
.g3-error {
  margin-top: .9rem; display: none; gap: .55rem; align-items: flex-start;
  color: #ffb3c0; background: rgba(120, 20, 40, .25); border: 1px solid rgba(255,120,150,.3);
  border-radius: .7rem; padding: .8rem 1rem; font-size: .86rem;
}
.g3-error.g3-show { display: flex; }

/* ---------- COA ---------- */
.g3-coa { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.4rem; align-items: center; }
.g3-coa-frame {
  position: relative; border-radius: 1.2rem; padding: .8rem; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,10,40,.7), 0 0 50px rgba(0,102,255,.15);
  transform: rotate(-2deg); transition: transform .3s ease;
}
.g3-coa-frame:hover { transform: rotate(0deg) scale(1.01); }
.g3-coa-frame img { border-radius: .7rem; width: 100%; height: auto; }
.g3-coa-stamp {
  position: absolute; right: -.8rem; bottom: 1.6rem; transform: rotate(6deg);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: #05230f; background: linear-gradient(110deg, var(--mint), #3fe98b); padding: .5rem .8rem; border-radius: .5rem;
  box-shadow: 0 10px 30px rgba(80,255,160,.35);
}
.g3-coa-points { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.g3-coa-points li { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--dim); line-height: 1.5; }
.g3-coa-points li svg { width: 1.1rem; height: 1.1rem; color: var(--mint); flex: none; margin-top: .15rem; }
.g3-coa-points li b { color: var(--ice); font-weight: 600; }
.g3-coa-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- FAQ (chat style from biotechlifestyle.com: asker face on the question, atom on the answer) ---------- */
.g3-faq { max-width: 52rem; margin: 0 auto; }
.blfaq-list { display: flex; flex-direction: column; gap: .8rem; }
.blfaq-item { border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(170deg, rgba(11,24,50,.65), rgba(6,12,26,.75)); overflow: hidden; }
.blfaq-item[open] { border-color: rgba(77,216,255,.4); }
.blfaq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.3rem; cursor: pointer; list-style: none; font-size: 1rem; font-weight: 500; color: var(--text);
}
.blfaq-q::-webkit-details-marker { display: none; }
.blfaq-q:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.blfaq-qin { display: flex; align-items: center; gap: .9rem; }
.blfaq-face { width: 32px; height: 32px; border-radius: 9999px; object-fit: cover; flex: none; border: 1px solid rgba(255,255,255,.15); }
.blfaq-pm { position: relative; width: 18px; height: 18px; flex: none; }
.blfaq-pm::before, .blfaq-pm::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.blfaq-pm::before { left: 0; top: 8px; width: 18px; height: 2px; }
.blfaq-pm::after { left: 8px; top: 0; width: 2px; height: 18px; }
.blfaq-item[open] .blfaq-pm::after { transform: rotate(90deg); opacity: 0; }
.blfaq-a { padding: 0 1.3rem 1.3rem; color: var(--dim); }
.blfaq-ain { display: flex; align-items: flex-start; gap: .9rem; padding-left: .9rem; }
.blfaq-atom { width: 32px; height: 32px; border-radius: 9999px; margin-top: 2px; flex: none; background: #fff; padding: 3px; }
.blfaq-body { font-weight: 400; padding: 0 4px; font-size: .94rem; }
.blfaq-body p { margin: 0 0 .9rem; line-height: 1.65; }
.blfaq-body p:last-child { margin-bottom: 0; }
.blfaq-body a { color: var(--cyan); }

/* ---------- footer ---------- */
.g3-footer { margin-top: 4rem; padding: 2rem 0 6rem; border-top: 1px solid var(--line); text-align: center; }
.g3-footer .g3-ruo { margin-bottom: .6rem; }
.g3-footer p { margin: .3rem 0; font-size: .76rem; color: #52668f; line-height: 1.6; }
.g3-footer a { color: var(--dim); text-decoration: none; }
.g3-foot-brand { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.g3-foot-brand img { width: 48px; height: 48px; object-fit: contain; }
.g3-foot-word { font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: .02em; color: var(--ice); text-transform: uppercase; }
.g3-foot-word b { font-weight: 700; color: #fff; }
.g3-foot-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim) !important; margin: 0 0 1rem !important; }
.g3-foot-copy { color: var(--dim) !important; }

/* ---------- sticky mobile bar ---------- */
.g3-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; transform: translateY(110%);
  transition: transform .25s ease; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(4,7,14,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.g3-sticky.g3-show { transform: none; }
.g3-sticky .g3-k { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.g3-sticky .g3-v { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: #fff; }
.g3-sticky .g3-cta { padding: .8rem 1.3rem; font-size: .8rem; }

/* ---------- modals ---------- */
dialog.g3-dialog {
  border: 1px solid var(--line); border-radius: 1.2rem; padding: 0; background: #0a1a36; color: var(--text);
  max-width: 34rem; width: calc(100% - 2rem); box-shadow: 0 30px 90px rgba(0,0,0,.7);
}
dialog.g3-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.g3-dialog-in { padding: 1.5rem; }
.g3-dialog h3 { font-family: var(--display); font-size: 1rem; margin: 0 0 .8rem; color: #fff; }
.g3-dialog p, .g3-dialog li { font-size: .88rem; color: var(--dim); line-height: 1.6; }
.g3-dialog-close { float: right; background: none; border: none; color: var(--dim); font-size: 1.4rem; cursor: pointer; line-height: 1; }

/* payment modal: same anatomy as DataOptPayment.jsx (dvh sizing, full-bleed sheet below sm) */
.g3-pay-overlay { position: fixed; inset: 0; z-index: 1200; height: 100dvh; display: none; align-items: stretch; justify-content: center; }
.g3-pay-overlay.g3-show { display: flex; }
.g3-pay-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.g3-pay-panel { position: relative; background: #fff; color: #111; width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.g3-pay-head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; padding-top: max(.75rem, env(safe-area-inset-top)); border-bottom: 1px solid #e5e7eb; background: #f9fafb; font-size: .88rem; font-weight: 600; color: #111827; }
.g3-pay-head button { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #6b7280; padding: .2rem .5rem; }
.g3-pay-body { position: relative; flex: 1; min-height: 0; }
.g3-pay-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.g3-pay-loading { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; color: #6b7280; font-size: .9rem; text-align: center; padding: 1rem; }
.g3-pay-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding: .5rem 1rem; padding-bottom: max(.5rem, env(safe-area-inset-bottom)); border-top: 1px solid #e5e7eb; background: #f9fafb; font-size: .74rem; color: #6b7280; }
.g3-pay-foot a { color: #2563eb; }
@media (min-width: 640px) {
  .g3-pay-overlay.g3-show { align-items: center; padding: 1rem; }
  .g3-pay-panel { height: 90dvh; max-height: 760px; max-width: 32rem; border-radius: .8rem; }
}
.g3-spin { width: 1.1em; height: 1.1em; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: g3-spin .8s linear infinite; display: inline-block; }
@keyframes g3-spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .g3-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3-coa { grid-template-columns: 1fr; gap: 2rem; }
  .g3-coa-frame { max-width: 26rem; margin: 0 auto; }
}
@media (max-width: 900px) {
  .g3-hero { grid-template-columns: 1fr; grid-template-areas: "head" "visual" "cta"; padding: 2.6rem 0 2rem; gap: 1.4rem; }
  .g3-visual { min-height: 0; }
  .g3-vial-card { animation: none; }
  /* the floating tags collide with the price block at phone widths; the trust strip repeats them */
  .g3-orbit-tag { display: none; }
  .g3-offer-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .g3-tier.g3-best { transform: none; order: -1; }
  .g3-tier.g3-best:hover { transform: translateY(-3px); }
  .g3-addons { grid-template-columns: 1fr; }
  .g3-checkout { grid-template-columns: 1fr; }
  .g3-summary { position: static; }
}
@media (max-width: 640px) {
  .g3-trust { grid-template-columns: 1fr; }
  .g3-form-grid { grid-template-columns: 1fr; }
  .g3-addon { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .g3-footer { padding-bottom: 7rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
