/* ============================================================
   REVION+ — TIRZEPATIDE 120mg
   style.css
   ============================================================ */

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

:root {
  --blue:        #2B6CB0;
  --blue-light:  #5B9BD5;
  --blue-muted:  rgba(43, 108, 176, 0.08);
  --blue-border: rgba(43, 108, 176, 0.20);
  --navy:        #1B2B45;
  --white:       #FFFFFF;
  --bg:          #F5F9FD;
  --bg-mid:      #EBF2FA;
  --bg-card:     #FFFFFF;
  --muted:       #7389A4;
  --red:         #C8001E;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
}

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: default;
}

a {
  cursor: pointer;
  text-decoration: none;
}

/* ============================================================
   BRAND PLUS SIGN
   ============================================================ */

.nav-plus,
.hero-plus,
.footer-plus {
  color: var(--blue);
  letter-spacing: 0;
}

/* ============================================================
   NAV
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 4rem;
  background: rgba(245, 249, 253, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blue-border);
}

.nav-logo {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 1rem;
  letter-spacing: 0.5em;
  color: var(--navy);
  text-transform: uppercase;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(43, 108, 176, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 108, 176, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 108, 176, 0.07) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 14vw, 13rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.8rem;
}

.hero-plus {
  font-size: 0.65em;
  vertical-align: super;
}

.brand-line {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
  margin-bottom: 1.8rem;
}

.product-label {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.7em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.4rem;
}

.hero-desc {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--muted);
  max-width: 480px;
  text-align: center;
  margin-bottom: 3rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--blue-border);
  background: var(--blue-muted);
  padding: 0.9rem 2.2rem;
  margin-bottom: 3rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

.badge-text {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Specs row */
.specs {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.spec { text-align: center; }

.spec-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.spec-label {
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-div {
  width: 1px;
  height: 36px;
  background: var(--blue-border);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  animation: fadeUp 1.2s 0.6s ease forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollBlink 2.2s ease infinite;
}

.scroll-text {
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   DIVIDER
   ============================================================ */

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue-border), transparent);
  margin: 0 4rem;
}

/* ============================================================
   SHARED SECTION LABELS / TITLES
   ============================================================ */

.section-label {
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.section-desc {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2rem;
}

.section-note {
  font-size: 0.65rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-left: 1px solid var(--blue-border);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

/* ============================================================
   CONTENT SECTIONS (2-column)
   ============================================================ */

.content-section {
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: var(--bg);
}

.content-section.alt { background: var(--bg-mid); }

.content-section.reverse { direction: rtl; }
.content-section.reverse > * { direction: ltr; }

/* Body text inside sections */
.section-body p {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(27, 43, 69, 0.65);
  margin-bottom: 1rem;
}

.section-body strong { color: var(--navy); font-weight: 400; }

/* Info tags */
.info-tags {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-tag {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-left: 1px solid var(--blue-border);
  padding-left: 1rem;
}

.tag-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--navy);
}

.tag-label {
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Vial composition card */
.vial-card {
  border: 1px solid var(--blue-border);
  background: var(--bg-card);
  box-shadow: 0 4px 24px rgba(43, 108, 176, 0.06);
}

.vial-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.8rem;
  gap: 1rem;
}

.vial-key {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.vial-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--navy);
  text-align: right;
}

.vial-divider {
  height: 1px;
  background: var(--blue-border);
}

/* ============================================================
   GRID SECTION (dosing cards)
   ============================================================ */

.grid-section {
  padding: 7rem 4rem;
  background: var(--bg);
}

.section-intro {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.card-item {
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-item--max {
  border-color: var(--blue);
  background: var(--blue-muted);
}

.card-num {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(43, 108, 176, 0.55);
  line-height: 1;
}

.card-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--blue-border);
  background: var(--blue-muted);
  padding: 1rem 1.2rem;
}

.dose-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.dose-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}

.dose-label {
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue);
}

.card-item--max .dose-val { color: var(--blue); }

/* ============================================================
   DOSING PROTOCOL
   ============================================================ */

.protocol-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.protocol-step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--blue-border);
  border-bottom: none;
  transition: background 0.2s;
  background: var(--bg-card);
}

.protocol-step:last-child { border-bottom: 1px solid var(--blue-border); }

.protocol-step--max {
  background: var(--blue-muted);
  border-color: var(--blue);
}

.step-tag {
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.4;
}

.step-content {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.step-dose {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--navy);
}

.step-units {
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-label {
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* Protocol bar chart visual */
.proto-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  justify-content: center;
}

.proto-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 240px;
  width: 100%;
  max-width: 280px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--blue-border);
}

.proto-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, rgba(43, 108, 176, 0.35), rgba(43, 108, 176, 0.08));
  border: 1px solid rgba(43, 108, 176, 0.2);
  border-bottom: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
  position: relative;
}

.proto-bar span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(43, 108, 176, 0.6);
}

.proto-bar--max {
  background: linear-gradient(to top, rgba(43, 108, 176, 0.55), rgba(43, 108, 176, 0.15));
  border-color: rgba(43, 108, 176, 0.4);
}

.proto-bar--max span { color: var(--blue); }

.proto-caption {
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   INSTRUCTIONS & STORAGE
   ============================================================ */

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(27, 43, 69, 0.75);
}

.check-item strong { color: var(--navy); font-weight: 400; }

.check-icon {
  width: 16px;
  height: 16px;
  border: 1px solid var(--blue-border);
  flex-shrink: 0;
  position: relative;
  background: var(--bg-card);
}

.check-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--blue);
  opacity: 0.7;
}

/* Storage card */
.storage-card {
  border: 1px solid var(--blue-border);
  background: var(--bg-card);
  box-shadow: 0 4px 24px rgba(43, 108, 176, 0.06);
}

.storage-title {
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 1.4rem 1.8rem 0;
  margin-bottom: 1rem;
}

.storage-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.8rem;
}

.storage-key {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.storage-val {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--navy);
  text-align: right;
  line-height: 1.5;
}

.storage-divider {
  height: 1px;
  background: var(--blue-border);
  margin: 0;
}

/* ============================================================
   PACKAGE LEAFLET — PDF EMBED
   ============================================================ */

.leaflet-section {
  padding: 7rem 4rem;
  background: var(--bg);
}

.leaflet-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.leaflet-subtitle {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--muted);
  margin-top: -0.5rem;
}

.pdf-wrapper {
  border: 1px solid var(--blue-border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(43, 108, 176, 0.06);
}

.pdf-embed {
  display: block;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  border: none;
}

.pdf-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
}

.pdf-fallback p {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--blue-border);
  padding: 0.9rem 2rem;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--blue);
  transition: background 0.2s, border-color 0.2s;
}

.pdf-download:hover {
  background: var(--blue-muted);
  border-color: var(--blue);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--navy);
  border-top: 1px solid rgba(43, 108, 176, 0.2);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 0.9rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-note {
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

@keyframes scrollBlink {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .protocol-step {
    grid-template-columns: 70px 1fr;
  }
  .step-label { display: none; }
}

@media (max-width: 900px) {
  .content-section {
    grid-template-columns: 1fr;
    padding: 5rem 2.5rem;
    gap: 3rem;
  }
  .content-section.reverse { direction: ltr; }
  .proto-visual { display: none; }
}

@media (max-width: 768px) {
  nav { padding: 1.5rem 2rem; }
  h1  { letter-spacing: 0.08em; }

  .hero { padding: 5rem 1.5rem; }
  .product-label { letter-spacing: 0.4em; }

  .specs { gap: 1.2rem; }
  .spec-val { font-size: 1.2rem; }

  .grid-section { padding: 5rem 2rem; }

  .cards-grid { grid-template-columns: 1fr; }

  .divider { margin: 0 2rem; }

  footer {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
  }

  .leaflet-section { padding: 5rem 2rem; }

  .pdf-embed { height: 70vh; }

  .info-tags { flex-direction: column; }
}

@media (max-width: 480px) {
  nav { padding: 1rem 1.2rem; }
  .nav-logo { letter-spacing: 0.25em; }
  h1  { letter-spacing: 0.04em; }

  .hero { padding: 4.5rem 1rem; }
  .product-label { letter-spacing: 0.25em; font-size: 0.65rem; }
  .hero-desc { font-size: 0.72rem; }

  .badge { padding: 0.75rem 1.4rem; }
  .badge-text { letter-spacing: 0.25em; font-size: 0.58rem; }

  .specs { gap: 0.8rem; }
  .spec-val { font-size: 1rem; }
  .spec-label { font-size: 0.5rem; letter-spacing: 0.2em; }
  .spec-div { height: 28px; }

  .divider { margin: 0 1rem; }

  .content-section { padding: 4rem 1.2rem; }
  .grid-section { padding: 4rem 1.2rem; }

  .card-item { padding: 1.8rem; }

  footer { padding: 1.5rem 1.2rem; }

  .leaflet-section { padding: 4rem 1.2rem; }
  .pdf-embed { height: 60vh; min-height: 400px; }
}
