/* ============================================================
   VELTHRA — Design System v5
   Dark Pharmaceutical · Cormorant Garamond + Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Lightened palette — same luxury dark feel, improved readability */
  --bg-0:    #0A0F1A;
  --bg-1:    #0D1625;
  --bg-2:    #101D30;
  --bg-3:    #112240;
  --bg-4:    #142850;
  --bg-5:    #163060;

  --border:     rgba(255,255,255,0.09);
  --border-mid: rgba(255,255,255,0.14);
  --border-hi:  rgba(255,255,255,0.22);

  --text-primary:   #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted:     #8BA4BE;
  --text-faint:     #546E8A;

  --blue:    #2158C0;
  --blue-hi: #3B76E0;
  --cyan:    #0EA5E9;
  --cyan-hi: #38BDF8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h:      68px;
  --max-w:      1240px;
  --section-v:  clamp(6rem, 11vw, 9rem);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  26px;

  --shadow-md:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 12px 50px rgba(0,0,0,0.65);
  --shadow-glow-blue: 0 0 40px rgba(33,88,192,0.35);
  --shadow-glow-cyan: 0 0 40px rgba(14,165,233,0.35);

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Grain texture overlay ────────────────────────────────
   SVG turbulence filter baked into a data URI.
   Adds film-grain depth to the dark backgrounds.          */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); border: none; cursor: pointer; background: none; }
ul { list-style: none; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section    { padding: var(--section-v) 0; }
.section-sm { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* ── Section gradient dividers ────────────────────────────
   Applied as data-grad attribute via JS or inline style.  */
.grad-fade-down  { background: linear-gradient(to bottom, var(--bg-0), var(--bg-2)); }
.grad-fade-up    { background: linear-gradient(to bottom, var(--bg-2), var(--bg-0)); }
.grad-fade-mid   { background: linear-gradient(to bottom, var(--bg-2), var(--bg-3)); }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(6,10,16,0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(6,10,16,0.97);
  border-color: var(--border-mid);
}

/* Logo — image-based */
.navbar-logo {
  display: flex; align-items: center;
  line-height: 1; text-decoration: none; flex-shrink: 0;
}
.navbar-logo-img {
  height: 52px; width: auto;
  display: block;
  font-family: unset !important;
}

/* Keep old wordmark/sub classes as no-ops in case cached HTML still uses them */
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 400;
  color: var(--text-primary); letter-spacing: 0.02em; line-height: 1;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.46rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-faint); line-height: 1; display: none;
}

/* Footer logo */
.footer-logo-link {
  display: flex; align-items: center;
  line-height: 1; text-decoration: none; gap: 3px; margin-bottom: 1.25rem;
}
.footer-logo-link .navbar-logo-img { height: 36px; }
.footer-logo-link .logo-wordmark { font-size: 1.5rem; }
.footer-logo-link .logo-sub { font-size: 0.42rem; display: none; }

/* ── Nav links — animated underline ────────────────────── */
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  position: relative;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  padding-bottom: 2px;
  white-space: nowrap;
}
/* Sliding underline */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(to right, var(--cyan), var(--blue-hi));
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  color: var(--text-primary);
  text-shadow: 0 0 18px rgba(14,165,233,0.35);
}
.nav-links a.active::after { width: 100%; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 0.375rem; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center;
  height: 32px; padding: 0 10px;
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  gap: 0;
  background: transparent;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--cyan); color: var(--text-primary); }
.lang-toggle .lt-en,
.lang-toggle .lt-es { transition: color 0.2s; }
.lang-toggle .lt-sep { margin: 0 5px; opacity: 0.35; }
.lang-toggle .lt-active { color: var(--cyan); }

/* Cart button — hidden (brand/info portal mode) */
.nav-cart-btn, .cart-badge { display: none !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); transition: var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text-muted); border-radius: 2px; transition: var(--transition); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--text-primary); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--text-primary); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,12,20,0.98); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  z-index: 99; padding: 1.5rem clamp(1.25rem, 4vw, 3rem); flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); padding: 0.875rem 0; border-bottom: 1px solid var(--border); transition: color 0.2s; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text-primary); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: var(--radius-sm); padding: 0.875rem 1.875rem;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
  text-decoration: none; position: relative; overflow: hidden;
}

.btn-primary {
  background: var(--blue); color: #fff; border: 1px solid var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hi); border-color: var(--blue-hi);
  box-shadow: 0 0 0 2px rgba(33,88,192,0.3), 0 0 28px rgba(33,88,192,0.4);
}

.btn-outline {
  background: transparent; color: var(--text-secondary); border: 1px solid var(--border-mid);
}
.btn-outline:hover {
  border-color: rgba(14,165,233,0.5); color: var(--text-primary);
  background: rgba(14,165,233,0.05);
  box-shadow: 0 0 0 1px rgba(14,165,233,0.2), 0 0 20px rgba(14,165,233,0.15);
}

.btn-ghost {
  background: transparent; color: var(--text-secondary); border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04); border-color: var(--border-hi); color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--border-mid);
}

.btn-cyan {
  background: var(--cyan); color: #04111F; border: 1px solid var(--cyan); font-weight: 700;
}
.btn-cyan:hover {
  background: var(--cyan-hi); border-color: var(--cyan-hi);
  box-shadow: 0 0 0 2px rgba(14,165,233,0.3), 0 0 30px rgba(14,165,233,0.45);
}

.btn-lg { padding: 1.0625rem 2.375rem; font-size: 0.875rem; }
.btn-sm { padding: 0.5rem 1.125rem; font-size: 0.75rem; }

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 3px;
}
.badge-outline { background: transparent; border: 1px solid var(--border-mid); color: var(--text-muted); }
.badge-blue    { background: rgba(33,88,192,0.14); color: var(--cyan-hi); border: 1px solid rgba(33,88,192,0.3); }
.badge-cyan    { background: rgba(14,165,233,0.10); color: var(--cyan-hi); border: 1px solid rgba(14,165,233,0.22); }

/* ── Section label ───────────────────────────────────────── */
.section-label {
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.875rem;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); max-width: 60px; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 3rem; font-size: 0.75rem; color: var(--text-faint); }
.breadcrumb a { color: var(--text-faint); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text-secondary); }
.breadcrumb-sep { color: var(--border-mid); }
.breadcrumb-current { color: var(--text-secondary); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════
   HERO — heartbeat pulse + floating orbs
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-0);
  overflow: hidden;
  text-align: center;
  padding: calc(var(--nav-h) + 4rem) 2rem 0;
}

/* Primary gradient — heartbeat */
.hero-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 65% at 50% 55%,
    rgba(33,88,192,0.32) 0%,
    rgba(11,18,32,0.18) 42%,
    transparent 72%);
  animation: hero-heartbeat 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

/* Secondary gradient — slow counter-pulse */
.hero-gradient-2 {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 22% 72%, rgba(14,165,233,0.10) 0%, transparent 58%),
    radial-gradient(ellipse 40% 35% at 78% 28%, rgba(33,88,192,0.12) 0%, transparent 60%);
  animation: hero-heartbeat-2 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

/* HEARTBEAT keyframes — double-pulse like a real heartbeat */
@keyframes hero-heartbeat {
  0%   { transform: scale(1);    opacity: 0.60; }
  12%  { transform: scale(1.22); opacity: 1;    }
  22%  { transform: scale(1.08); opacity: 0.78; }
  34%  { transform: scale(1.28); opacity: 1;    }
  55%  { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(1);    opacity: 0.60; }
}
@keyframes hero-heartbeat-2 {
  0%   { transform: scale(1.1);  opacity: 0.55; }
  12%  { transform: scale(0.88); opacity: 0.80; }
  34%  { transform: scale(0.82); opacity: 1;    }
  55%  { transform: scale(1.15); opacity: 0.60; }
  100% { transform: scale(1.1);  opacity: 0.55; }
}

/* Bottom fade into next section */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 280px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-0) 100%);
  pointer-events: none; z-index: 3;
}

/* Floating light orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.orb-1 {
  width: 380px; height: 380px;
  background: rgba(33,88,192,0.10);
  top: 15%; left: 5%;
  animation: orb-drift-1 22s ease-in-out infinite;
}
.orb-2 {
  width: 240px; height: 240px;
  background: rgba(14,165,233,0.08);
  top: 55%; right: 8%;
  animation: orb-drift-2 30s ease-in-out infinite;
}
.orb-3 {
  width: 180px; height: 180px;
  background: rgba(33,88,192,0.09);
  top: 38%; left: 55%;
  animation: orb-drift-3 18s ease-in-out infinite;
}
.orb-4 {
  width: 120px; height: 120px;
  background: rgba(14,165,233,0.07);
  bottom: 18%; left: 30%;
  animation: orb-drift-1 26s ease-in-out infinite reverse;
}

@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(40px, -30px) scale(1.12); }
  50%  { transform: translate(-25px, 50px) scale(0.90); }
  75%  { transform: translate(55px, 25px) scale(1.06); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-35px, -45px) scale(1.15); }
  66%  { transform: translate(30px, 35px) scale(0.88); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes orb-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(25px, -60px) scale(1.20); }
  80%  { transform: translate(-40px, 20px) scale(0.85); }
  100% { transform: translate(0, 0) scale(1); }
}

.hero-content {
  position: relative; z-index: 2; max-width: 1000px;
}
.hero-eyebrow {
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 2.75rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 11rem);
  font-weight: 300; line-height: 0.92;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-primary); margin-bottom: 2.25rem;
}
.hero-headline .accent-dot { color: var(--cyan); }
.hero-sub {
  font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
  font-weight: 300; letter-spacing: 0.07em;
  color: var(--text-muted); margin-bottom: 3.5rem; line-height: 1.8;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: relative; z-index: 2; margin-top: 5rem; padding-bottom: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(14,165,233,0.7), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.4; }
  50% { transform: scaleY(1.5) translateY(4px); opacity: 1; }
}

/* ── Ticker ──────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 0.875rem 0; background: var(--bg-1);
}
.ticker-track { display: flex; animation: ticker-scroll 40s linear infinite; width: max-content; }
.ticker-item { display: flex; align-items: center; gap: 2rem; padding: 0 2rem; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }
.ticker-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border-mid); flex-shrink: 0; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Product carousel wrapper (mobile only) ─────────────── */
.product-grid-wrap { position: relative; }

/* Swipe hint — hidden on desktop, shown on mobile */
.product-swipe-hint {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.875rem;
  opacity: 0.75;
}
@media (max-width: 680px) {
  .product-swipe-hint { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT GRID — FloxAmino-inspired, large & impactful
   ═══════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.product-card {
  position: relative;
  background: rgba(13,27,53,0.6);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
  transition: background 0.4s;
  will-change: transform;
  isolation: isolate; /* new stacking context keeps ripple inside */
}
.product-card:last-child { border-right: none; }
.product-card:hover { background: rgba(15,32,64,0.85); }

.product-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; cursor: pointer; }

/* Image area — TRANSPARENT, no box */
.product-card-img {
  flex: 1;
  min-height: 320px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 1.5rem 1.5rem;
  position: relative; overflow: visible;
}

/* Glow halo behind vial */
.product-card-img::before {
  content: '';
  position: absolute;
  width: 70%; height: 55%;
  bottom: 8%;
  left: 50%; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(33,88,192,0.22), transparent 70%);
  filter: blur(20px);
  transition: opacity 0.5s, transform 0.5s;
  opacity: 0.7;
}
.product-card:hover .product-card-img::before {
  opacity: 1.5;
  transform: translateX(-50%) scale(1.3);
  background: radial-gradient(ellipse, rgba(14,165,233,0.28), transparent 65%);
}

.product-vial-img {
  height: auto;
  width: 72%;
  max-width: 200px;
  object-fit: contain;
  position: relative; z-index: 1;
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.45s ease;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.65));
  will-change: transform, filter;
}
.product-card:hover .product-vial-img {
  transform: translateY(-18px) scale(1.10);
  filter: drop-shadow(0 28px 52px rgba(0,0,0,0.80)) drop-shadow(0 0 28px rgba(14,165,233,0.22));
}

/* ── Magnetic wave ripple ── */
.wave-ripple {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  will-change: transform, opacity;
  /* Sonar ring: transparent center → cyan ring → fade to transparent */
  background: radial-gradient(circle,
    transparent 28%,
    rgba(14,165,233,0.13) 44%,
    rgba(14,165,233,0.22) 52%,
    rgba(14,165,233,0.08) 64%,
    transparent 80%
  );
  animation: wave-expand 1s cubic-bezier(0.15, 0.6, 0.35, 1) forwards;
}

@keyframes wave-expand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  65% {
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* Text info below vial */
.product-card-body {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--border);
  background: rgba(6,10,16,0.5);
  display: flex; flex-direction: column;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 500;
  color: var(--text-primary); margin-bottom: 0.25rem;
  letter-spacing: 0.02em; line-height: 1;
}
.product-peptide {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--text-faint); text-transform: uppercase; margin-bottom: 1.25rem; line-height: 1.6;
}
.product-tag {
  display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cyan);
  background: rgba(14,165,233,0.08); border: 1px solid rgba(14,165,233,0.18);
  border-radius: 3px; padding: 0.2rem 0.6rem; margin-bottom: 1.25rem;
  width: fit-content;
}
.product-footer {
  display: flex; align-items: center; justify-content: flex-end;
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border);
}
/* Prices hidden — brand portal mode */
.product-price { display: none; }
.product-arrow {
  width: 30px; height: 30px; border: 1px solid var(--border-mid); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text-faint); transition: var(--transition);
}
.product-card:hover .product-arrow {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 0 14px rgba(33,88,192,0.5);
}

/* ── Verify strip — dynamic cards ───────────────────────── */
.verify-strip {
  background: rgba(13,27,53,0.7);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  padding: 2.75rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  position: relative; overflow: hidden;
}
/* Animated pulse background */
.verify-strip::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(14,165,233,0.07), transparent 65%);
  animation: verify-pulse 4s ease-in-out infinite;
}
@keyframes verify-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.06); }
}

.verify-strip-text h3 {
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 400;
  color: var(--text-primary); margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
.verify-strip-text p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; max-width: 480px; }

/* Animated NFC icon */
.verify-strip-icon {
  width: 68px; height: 68px;
  border: 1.5px solid rgba(14,165,233,0.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--cyan);
  flex-shrink: 0; background: rgba(14,165,233,0.06);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.verify-strip-icon::after {
  content: '';
  position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(14,165,233,0.15);
  animation: nfc-ring 2.5s ease-out infinite;
}
@keyframes nfc-ring {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}
.verify-strip:hover .verify-strip-icon {
  transform: scale(1.1);
  box-shadow: 0 0 28px rgba(14,165,233,0.25);
  border-color: var(--cyan);
}

/* ── Stats counters row ──────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
}
.stat-card {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  background: rgba(13,27,53,0.5);
  transition: background 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}
.stat-card:last-child { border-right: none; }
.stat-card::before {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 2px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.stat-card:hover { background: rgba(20,40,80,0.7); }
.stat-card:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 300;
  color: var(--text-primary); line-height: 1;
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.stat-num .stat-unit { font-size: 0.55em; font-weight: 300; color: var(--cyan); }
.stat-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-faint);
}

/* ── Process list — enhanced interactive ─────────────────── */
.process-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.process-item {
  display: grid; grid-template-columns: 4rem 1fr auto;
  align-items: center; gap: 1.5rem; padding: 1.875rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13,27,53,0.5);
  transition: background 0.3s, transform 0.3s, padding-left 0.3s;
  cursor: default;
  position: relative;
}
.process-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--cyan), var(--blue));
  opacity: 0; transition: opacity 0.3s;
}
.process-item:last-child { border-bottom: none; }
.process-item:hover { background: rgba(20,40,80,0.75); padding-left: 2.5rem; }
.process-item:hover::before { opacity: 1; }
.process-num {
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 300;
  color: rgba(14,165,233,0.3); text-align: right;
  transition: color 0.3s;
}
.process-item:hover .process-num { color: var(--cyan); }
.process-body h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.25rem; }
.process-body p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; }
.process-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); border: 1px solid var(--border); border-radius: 3px;
  padding: 0.28rem 0.7rem; white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}
.process-item:hover .process-tag { border-color: rgba(14,165,233,0.3); color: var(--cyan); }

/* ── Institutional CTA — Redesigned ─────────────────────── */
.cta-institutional {
  position: relative;
  background: var(--bg-0);
  padding: clamp(6rem, 12vw, 10rem) 0;
  overflow: hidden;
}

/* Animated gradient orbs background */
.cta-inst-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.cta-inst-bg::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.14) 0%, transparent 65%);
  top: -200px; left: -200px;
  animation: cta-orb-1 14s ease-in-out infinite alternate;
}
.cta-inst-bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,88,192,0.18) 0%, transparent 65%);
  bottom: -180px; right: -180px;
  animation: cta-orb-2 18s ease-in-out infinite alternate;
}
@keyframes cta-orb-1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes cta-orb-2 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-60px, -80px) scale(1.12); }
}

/* Floating particles */
.cta-particles {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.cta-particle {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  animation: cta-float var(--dur, 12s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes cta-float {
  0%   { opacity: 0; transform: translateY(100px) scale(0.5); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-80px) scale(1.2); }
}

/* Grid line overlay */
.cta-inst-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.cta-inst-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.cta-inst-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.cta-inst-label::before,
.cta-inst-label::after {
  content: ''; flex: 1; max-width: 40px; height: 1px;
  background: linear-gradient(to right, transparent, var(--cyan));
}
.cta-inst-label::after { background: linear-gradient(to left, transparent, var(--cyan)); }

.cta-inst-heading {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #F1F5F9 0%, #38BDF8 45%, #0EA5E9 70%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-inst-sub {
  max-width: 580px;
  font-size: 1.0625rem; color: var(--text-muted);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 3.5rem;
}

/* Feature cards row */
.cta-inst-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 860px;
  margin-bottom: 3.5rem;
}
.cta-inst-card {
  background: rgba(16,29,48,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: left;
  position: relative; overflow: hidden;
}
.cta-inst-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(14,165,233,0.1), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.cta-inst-card:hover { border-color: rgba(14,165,233,0.45); background: rgba(20,40,80,0.7); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(14,165,233,0.12); }
.cta-inst-card:hover::before { opacity: 1; }
.cta-inst-card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(14,165,233,0.18), rgba(33,88,192,0.12));
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  transition: background 0.3s, border-color 0.3s;
}
.cta-inst-card:hover .cta-inst-card-icon {
  background: linear-gradient(135deg, rgba(14,165,233,0.3), rgba(33,88,192,0.2));
  border-color: rgba(14,165,233,0.5);
}
.cta-inst-card h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary); letter-spacing: 0.01em;
}
.cta-inst-card p {
  font-size: 0.8125rem; color: var(--text-muted); line-height: 1.7;
}

/* Pulsing CTA button */
.btn-cta-pulse {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue-hi));
  color: #fff; font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 50px;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.btn-cta-pulse::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--cyan), var(--blue-hi));
  opacity: 0.4;
  animation: cta-pulse-ring 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes cta-pulse-ring {
  0%   { transform: scale(1);    opacity: 0.4; }
  60%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
.btn-cta-pulse:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(14,165,233,0.45); }

.cta-inst-actions {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-inst-cards { grid-template-columns: 1fr; max-width: 400px; }
}

/* ── Reveal animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.4,0,0.2,1), transform 0.85s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.85s cubic-bezier(0.4,0,0.2,1), transform 0.85s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Stagger for children */
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0ms; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:80ms; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:160ms; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:240ms; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-stagger > * { opacity:1; transform:none; transition:none; }
  .hero-gradient, .hero-gradient-2 { animation: none; }
  .ticker-track, .orb, .hero-scroll-line { animation: none; }
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-1); border-top: 1px solid var(--border);
  padding: clamp(4.5rem, 9vw, 7rem) 0 2.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-brand p { font-size: 0.8125rem; line-height: 1.8; color: var(--text-faint); max-width: 280px; margin-top: 0.5rem; }
.footer-col h5 { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.8125rem; color: var(--text-faint); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-secondary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.75rem; color: var(--text-faint); letter-spacing: 0.03em; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.75rem; color: var(--text-faint); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-lg); }
  .product-card:nth-child(3) { border-right: none; }
  .product-card:nth-child(4) { border-top: 1px solid var(--border); }
  .product-card:nth-child(5) { border-right: none; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .verify-strip { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-card:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}
@media (max-width: 680px) {
  /* ── Product grid → horizontal scroll carousel ── */
  .product-grid {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    /* Bleed past container padding so cards touch screen edges */
    margin-left:  calc(-1 * clamp(1.25rem, 4vw, 3rem));
    margin-right: calc(-1 * clamp(1.25rem, 4vw, 3rem));
    padding-left:  clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
    /* Hide scrollbar — still scrollable */
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }

  .product-card {
    flex: 0 0 72vw;
    min-width: 72vw;
    max-width: 300px;
    scroll-snap-align: start;
    border-right: none !important;
    border-bottom: none !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-right: 0.75rem;
    background: rgba(13,27,53,0.75);
  }
  .product-card:last-child { margin-right: clamp(1.25rem, 4vw, 3rem); }

  /* Taller image area so vials look good at narrow width */
  .product-card-img { min-height: 220px; }

  /* Swipe hint label */
  .product-grid-wrap { position: relative; }
  .product-grid-wrap::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 48px; height: 100%;
    background: linear-gradient(to right, transparent, var(--bg-1));
    pointer-events: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }

  /* Footer / other layout fixes */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 2; }
  .cta-inst-actions .btn, .cta-inst-actions .btn-cta-pulse { width: 100%; justify-content: center; }
  .lang-toggle { padding: 0 8px; font-size: 0.575rem; }
}
@media (max-width: 440px) {
  /* Same carousel, slightly wider cards on very small screens */
  .product-card { flex: 0 0 82vw; min-width: 82vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
