/* ===============================
   GLOBAL KEYFRAMES
   Defined first — Safari requires keyframes before first use
================================= */
@keyframes neonGlowPulse {
  0% {
    filter:
      drop-shadow(0 0 3px rgba(150,100,255,0.7))
      drop-shadow(0 0 6px rgba(123,77,255,0.5));
  }
  100% {
    filter:
      drop-shadow(0 0 6px rgba(180,130,255,1))
      drop-shadow(0 0 12px rgba(123,77,255,0.8))
      drop-shadow(0 0 18px rgba(123,77,255,0.4));
  }
}

@keyframes detailBottleFloat {
  0%   { transform: translateY(0px) rotate(-1deg); }
  50%  { transform: translateY(-14px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(-1deg); }
}

@keyframes dashMove { to { stroke-dashoffset: -60; } }

@keyframes sweep {
  0%   { left: -60%; }
  100% { left: 160%; }
}

@keyframes tracerDraw {
  0%   { opacity: 0; clip-path: inset(0 100% 0 0 round 22px); }
  10%  { opacity: 1; clip-path: inset(0 60% 0 0 round 22px); }
  25%  { opacity: 1; clip-path: inset(0 0% 60% 0 round 22px); }
  50%  { opacity: 1; clip-path: inset(0 0% 0% 0 round 22px); }
  65%  { opacity: 1; clip-path: inset(0 0% 0% 0 round 22px); }
  100% { opacity: 0; clip-path: inset(0 0% 0% 0 round 22px); }
}

@keyframes sectionTint {
  0%   { background-color: rgba(123,77,255,0.08); }
  55%  { background-color: rgba(123,77,255,0.04); }
  100% { background-color: rgba(123,77,255,0); }
}

/* ===============================
   GLOBAL RESET
================================= */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

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

img  { max-width: 100%; height: auto; display: block; }
svg  { overflow: visible; }

a { color: #c4b0ff; }
a:hover { color: #ffffff; }

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #05050f;
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

/* ===============================
   BACKGROUND
================================= */
.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(123,77,255,0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,200,255,0.18), transparent 40%),
    #05050f;
  z-index: -1;
}

/* ===============================
   LAYOUT
================================= */
.page-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.section { padding: 100px 0; position: relative; }

/* ===============================
   TYPOGRAPHY
================================= */
h1 { font-size: clamp(28px, 5vw, 56px);   line-height: 1.15; margin: 0 0 16px 0; }
h2 { font-size: clamp(22px, 3vw, 36px);   line-height: 1.2;  margin: 0 0 16px 0; }
h3 { font-size: clamp(16px, 2vw, 22px);   line-height: 1.3;  margin: 0 0 10px 0; }
p  { font-size: clamp(14px, 1.4vw, 18px); line-height: 1.6;  opacity: 0.85; margin: 0 0 16px 0; }

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #c4b0ff 45%, #7b4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffffff;
}

/* ===============================
   NAVBAR
================================= */
.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123,77,255,0.3);
  box-shadow: 0 1px 0 rgba(123,77,255,0.25), 0 4px 24px rgba(0,0,0,0.4);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.nav-left {
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  min-width: 100px;
}

.nav-left a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  height: 80px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
  min-width: 60px;
  mix-blend-mode: screen;
}

.nav-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 0%, #c4b0ff 50%, #7b4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  text-decoration: none;
}

.nav-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-right a {
  color: #c4b0ff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-right a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #7b4dff, #c4b0ff);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-right a:hover { color: #ffffff; }
.nav-right a:hover::after { width: 100%; }

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-chevron {
  transition: transform 0.2s ease;
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 1px;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  /* padding-top bridges the visual gap so hover never drops */
  padding-top: 10px;
  background: transparent;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-dropdown-menu-inner {
  background: rgba(8,5,20,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(123,77,255,0.28);
  border-radius: 14px;
  padding: 6px;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(123,77,255,0.1);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(196,176,255,0.75) !important;
  font-size: 0.85rem !important;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background: rgba(123,77,255,0.12);
  color: #ffffff !important;
}

.nav-dropdown-menu a .nav-dd-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
  background: rgba(123,77,255,0.12);
  border: 1px solid rgba(123,77,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-dropdown-menu a .nav-dd-icon svg {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px;
  min-height: 13px;
  max-width: 13px;
  max-height: 13px;
  color: #9b7bff;
  flex-shrink: 0;
}

.nav-dropdown-divider {
  height: 1px;
  background: rgba(123,77,255,0.15);
  margin: 4px 6px;
}

/* Mobile sub-items */
.nav-mobile-sub {
  padding-left: 16px !important;
  font-size: 0.88rem !important;
  color: rgba(196,176,255,0.6) !important;
  border-left: 2px solid rgba(123,77,255,0.35);
  margin-left: 8px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(123,77,255,0.12);
  border: 1px solid rgba(123,77,255,0.3);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #c4b0ff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(5, 5, 15, 0.98);
  border-top: 1px solid rgba(123,77,255,0.12);
  padding: 8px 24px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.nav-mobile-menu.is-open { display: flex; }

.nav-mobile-menu a {
  color: #c4b0ff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(123,77,255,0.12);
  display: block;
  transition: color 0.2s;
}

.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:active { color: #ffffff; }

/* ===============================
   EYEBROW
================================= */
.eyebrow {
  margin-bottom: 20px;
  color: #b8a9ff;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===============================
   HERO
================================= */
.hero {
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
  width: 100%;
}

.hero-copy { width: 100%; max-width: 900px; padding: 0 24px; }
.hero-copy-tight { padding: 0 24px; width: 100%; max-width: 900px; }

.hero-headline-single {
  font-size: clamp(32px, 5.5vw, 68px);
  line-height: 1.1;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 1000px;
  word-break: break-word;
}

.hero-eyebrow-top {
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 2px;
  color: #b8a9ff;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-copy p {
  font-size: clamp(15px, 1.6vw, 20px);
  opacity: 0.8;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

/* Hero bottle row */
.hero-bottle-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 8px auto 48px auto;
  padding: 0 24px;
}

.hero-bottle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.hero-bottle-wrap::before { display: none; }

.hero-bottle {
  width: 100%;
  max-width: 160px;
  height: auto;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  animation: neonGlowPulse 2.5s ease-in-out infinite alternate;
}

.bottle-wrap-1 .hero-bottle { animation-delay: 0s; }
.bottle-wrap-2 .hero-bottle { animation-delay: 0.4s; }
.bottle-wrap-3 .hero-bottle { animation-delay: 0.8s; }
.bottle-wrap-4 .hero-bottle { animation-delay: 1.2s; }
.bottle-wrap-5 .hero-bottle { animation-delay: 1.6s; }
.bottle-wrap-6 .hero-bottle { animation-delay: 2.0s; }

.hero-bottle:hover { transform: translateY(-12px); }

.hero-bottle-label {
  text-align: center;
  margin-top: 8px;
  font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  line-height: 1.2;
  background: linear-gradient(135deg, #e0d8ff 0%, #9b7bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-row-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(123,77,255,0.2), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ===============================
   BUTTONS
================================= */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #7b4dff, #5a2bff);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(123,77,255,0.3);
}

.btn-secondary {
  background: #111320;
  color: #cfcfe8;
  border: 1px solid #2a2d4a;
}

/* ===============================
   MOLECULE SECTION
================================= */
.molecule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
}

.molecule-copy { max-width: 600px; }

.molecule-copy p {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.75;
  opacity: 0.82;
}

.hero-headline-reverse {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.molecule-stage {
  position: relative;
  height: 620px;
  border-radius: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(123,77,255,0.14);
  overflow: visible;
}

.molecule-panel {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(123,77,255,0.1), transparent 70%);
}

.molecule-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(123,77,255,0.2), transparent 60%);
  pointer-events: none;
}

.feature-bottle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: auto;
  z-index: 2;
  animation: neonGlowPulse 2.5s ease-in-out infinite alternate;
}

.connector-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.helix-path {
  fill: none;
  stroke: url(#dnaGradient);
  stroke-width: 1.5;
  opacity: 0.5;
  stroke-dasharray: 6 4;
  animation: dashMove 3s linear infinite;
}

.helix-alt { animation-direction: reverse; opacity: 0.3; }

.feature-point {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.point-1 { top: 12%;    left: -5%; }
.point-2 { top: 12%;    right: -5%; }
.point-3 { bottom: 18%; left: -5%; }
.point-4 { bottom: 18%; right: -5%; }

.point-icon {
  font-size: 26px;
  background: rgba(123,77,255,0.15);
  border: 1px solid rgba(123,77,255,0.3);
  border-radius: 50%;
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.point-card {
  background: rgba(5,5,15,0.92);
  border: 1px solid rgba(123,77,255,0.25);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 180px;
  max-width: 230px;
}

.point-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: #d0c4ff; }
.point-text  { font-size: 12px; opacity: 0.72; line-height: 1.5; }

/* ===============================
   PRODUCTS SECTION
================================= */
.products { padding: 60px 0; }

.section-head { text-align: center; margin-bottom: 8px; }
.section-head.left { text-align: left; }

.section-copy {
  font-size: clamp(14px, 1.4vw, 17px);
  opacity: 0.8;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 28px;
}

.product-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(123,77,255,0.2);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: white;
  display: block;
  position: relative;
}

.product-card::before { display: none; }
.product-card > * { position: relative; z-index: 1; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(123,77,255,0.3);
}

.product-card img {
  width: 110px;
  max-width: 100%;
  margin: 0 auto 10px auto;
  animation: neonGlowPulse 2.5s ease-in-out infinite alternate;
}

.product-card:nth-child(1) img { animation-delay: 0s; }
.product-card:nth-child(2) img { animation-delay: 0.4s; }
.product-card:nth-child(3) img { animation-delay: 0.8s; }
.product-card:nth-child(4) img { animation-delay: 1.2s; }
.product-card:nth-child(5) img { animation-delay: 1.6s; }
.product-card:nth-child(6) img { animation-delay: 2.0s; }

.purity-badge {
  display: inline-block;
  background: rgba(123,77,255,0.15);
  border: 1px solid rgba(123,77,255,0.3);
  color: #c4b0ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.product-info { margin-top: 6px; }
.product-title { font-size: 15px; font-weight: 700; margin: 0 0 3px 0; }
.price { font-size: 17px; font-weight: 800; color: #9b7bff; opacity: 1; margin: 0; }

/* ===============================
   QUALITY ASSURANCE SECTION
================================= */
.quality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 100px 0;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.qa-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(123,77,255,0.18);
  border-radius: 20px;
  padding: 36px 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 24px;
}

.qa-card:last-child { margin-bottom: 0; }

.qa-card:hover {
  border-color: rgba(123,77,255,0.4);
  box-shadow: 0 0 30px rgba(123,77,255,0.15);
}

.qa-icon {
  width: 56px; height: 56px;
  background: rgba(123,77,255,0.15);
  border: 1px solid rgba(123,77,255,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #a08bff;
}

.qa-icon svg { width: 26px; height: 26px; }

.qa-card h3 { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; margin-bottom: 10px; color: #c4b0ff; }
.qa-card p  { font-size: clamp(13px, 1.3vw, 16px); opacity: 0.72; line-height: 1.65; margin: 0; }

.quality .section-head h2 {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.quality .section-copy {
  font-size: clamp(15px, 1.5vw, 19px);
  opacity: 0.8;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 36px;
}

/* ===============================
   PAGE HERO (inner pages)
================================= */
.page-hero {
  padding: 80px 20px 50px 20px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; margin-bottom: 16px; }
.page-hero p  { font-size: clamp(14px, 1.5vw, 18px); opacity: 0.8; }

/* ===============================
   PRODUCT DETAIL
================================= */
.product-detail {
  padding: 70px 0;
  border-bottom: 1px solid rgba(123,77,255,0.12);
  position: relative;
  border-radius: 20px;
  scroll-margin-top: 90px;
}

.product-detail:last-of-type { border-bottom: none; }

.product-detail::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  border: 2px solid rgba(155,123,255,0);
}

.product-detail:target::before {
  border-color: rgba(155,123,255,0.95);
  box-shadow:
    0 0 6px 1px rgba(155,123,255,0.8),
    0 0 18px 4px rgba(123,77,255,0.55),
    0 0 40px 8px rgba(123,77,255,0.25);
  animation: tracerDraw 4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.product-detail:target { animation: sectionTint 4s ease-out forwards; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-detail:nth-child(even) .product-detail-grid { direction: rtl; }
.product-detail:nth-child(even) .product-detail-grid > * { direction: ltr; }

.product-detail-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.product-detail-image::before,
.product-detail-image::after { display: none; }

.product-detail-image img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: detailBottleFloat 4s ease-in-out infinite, neonGlowPulse 2.5s ease-in-out infinite alternate;
}

.product-detail-content { padding: 10px 0; }

.product-detail-content h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #c4b0ff 50%, #7b4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-detail-price {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  color: #c4b0ff;
  margin: -8px 0 20px 0;
  letter-spacing: -0.01em;
}

.product-lead { font-size: clamp(14px, 1.4vw, 17px); opacity: 0.8; line-height: 1.75; margin-bottom: 28px; }

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 32px;
  font-size: 14px;
  opacity: 0.75;
  border-left: 2px solid rgba(123,77,255,0.4);
  padding-left: 16px;
}

.product-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.product-buttons .btn {
  background: linear-gradient(135deg, #7b4dff, #5a2bff);
  color: white;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(123,77,255,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-buttons .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(123,77,255,0.5); }

.product-buttons .btn + .btn {
  background: transparent;
  color: #c4b0ff;
  border: 1px solid rgba(123,77,255,0.4);
  box-shadow: none;
}

.product-buttons .btn + .btn:hover { background: rgba(123,77,255,0.1); }

.research-note {
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  opacity: 0.45;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===============================
   QUALITY PAGE
================================= */
.qa-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 60px 0;
}

.qa-hero-text h1 { font-size: clamp(26px, 4vw, 48px); font-weight: 800; margin-bottom: 20px; }

.qa-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.qa-bottle-wrap {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(123,77,255,0.15), transparent 70%);
  border-radius: 24px;
}

.qa-hero-bottle {
  width: 200px;
  max-width: 60%;
  position: relative;
  z-index: 1;
  animation: detailBottleFloat 4s ease-in-out infinite, neonGlowPulse 2.5s ease-in-out infinite alternate;
}

.qa-light-sweep {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: sweep 4s ease-in-out infinite;
  pointer-events: none;
}

.qa-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.qa-stats h3 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: #9b7bff; margin-bottom: 4px; }
.qa-stats p  { font-size: 13px; opacity: 0.65; margin: 0; }

.qa-card h2  { font-size: clamp(18px, 2vw, 26px); font-weight: 700; margin-bottom: 14px; }
.qa-card h3  { font-size: 15px; font-weight: 600; color: #c4b0ff; margin: 16px 0 6px 0; }
.qa-card ul  { padding-left: 20px; opacity: 0.8; font-size: 14px; line-height: 1.8; }
.qa-card li  { margin-bottom: 4px; }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.coa-data { padding-left: 0; list-style: none; margin-bottom: 24px; }
.coa-data li { font-size: 14px; opacity: 0.8; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }

.coa-image { width: 100%; border-radius: 12px; border: 1px solid rgba(123,77,255,0.2); }

/* ===============================
   CALCULATOR PAGE
================================= */
.calc-page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 60px 0;
  align-items: start;
}

.calc-header { margin-bottom: 36px; }
.calc-eyebrow { color: #b8a9ff; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.calc-header h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 10px; }
.calc-header p  { font-size: clamp(14px, 1.5vw, 17px); opacity: 0.7; }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }

.calc-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(123,77,255,0.18); border-radius: 14px; padding: 22px; }

.calc-step { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #7b4dff; margin-bottom: 10px; text-transform: uppercase; }
.calc-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: #e0d8ff; }

.calc-options { display: flex; flex-wrap: wrap; gap: 8px; }

.calc-options button {
  background: rgba(123,77,255,0.1);
  border: 1px solid rgba(123,77,255,0.25);
  color: #c4b0ff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.calc-options button:hover { background: rgba(123,77,255,0.2); border-color: rgba(123,77,255,0.5); color: #fff; }
.calc-options button.active { background: #7b4dff; border-color: #7b4dff; color: #fff; }

.calc-result-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.calc-result { background: rgba(123,77,255,0.08); border: 1px solid rgba(123,77,255,0.3); border-radius: 14px; padding: 28px; text-align: center; }

.result-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #9b7bff; text-transform: uppercase; margin-bottom: 8px; }
.result-units { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; color: #ffffff; margin-bottom: 8px; }
.result-sub   { font-size: 13px; opacity: 0.65; margin: 0; }
.dose-warning { font-size: 12px; color: #ff8a8a; min-height: 18px; margin: 6px 0; }

.calc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.stat { background: rgba(255,255,255,0.03); border: 1px solid rgba(123,77,255,0.15); border-radius: 12px; padding: 16px; }
.stat-label { font-size: 10px; letter-spacing: 1.5px; font-weight: 700; color: #9b7bff; text-transform: uppercase; margin-bottom: 6px; }
.stat-value { font-size: clamp(18px, 2.5vw, 26px); font-weight: 800; color: #fff; }
.stat-unit  { font-size: 13px; opacity: 0.6; font-weight: 400; }

/* Lab visual panel */
.lab-visual-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(123,77,255,0.15);
  border-radius: 20px;
  padding: 28px 20px;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lab-visual-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #7b4dff; text-transform: uppercase; }

.syringe-assembly { display: flex; flex-direction: column; align-items: center; position: relative; width: 80px; }
.syringe-unit-label, .syringe-ml-label { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.plunger-top { width: 48px; height: 14px; background: rgba(180,160,255,0.4); border-radius: 4px 4px 0 0; transition: transform 0.5s ease; }
.plunger-rod { width: 10px; height: 30px; background: rgba(180,160,255,0.25); transition: transform 0.5s ease; margin: 0 auto; }
.syringe-barrel { width: 48px; height: 220px; background: rgba(255,255,255,0.05); border: 1px solid rgba(123,77,255,0.3); border-radius: 4px; position: relative; overflow: hidden; }
.syringe-fill { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(123,77,255,0.7), rgba(180,130,255,0.4)); transition: height 0.5s ease; border-radius: 0 0 3px 3px; }
.barrel-highlight { position: absolute; top: 0; left: 3px; width: 6px; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent); border-radius: 2px; }
.dose-marker { position: absolute; left: 0; right: 0; height: 2px; background: #ff6b6b; transition: bottom 0.5s ease; }
.tick { position: absolute; right: 0; width: 8px; height: 1px; background: rgba(255,255,255,0.25); }
.unit-mark, .ml-mark { position: absolute; font-size: 8px; color: rgba(255,255,255,0.4); line-height: 1; }
.unit-mark { left: 2px; transform: translateY(-50%); }
.ml-mark   { right: 10px; transform: translateY(-50%); }
.tick-10,.unit-10,.ml-10{bottom:10%} .tick-20,.unit-20,.ml-20{bottom:20%} .tick-30,.unit-30,.ml-30{bottom:30%}
.tick-40,.unit-40,.ml-40{bottom:40%} .tick-50,.unit-50,.ml-50{bottom:50%} .tick-60,.unit-60,.ml-60{bottom:60%}
.tick-70,.unit-70,.ml-70{bottom:70%} .tick-80,.unit-80,.ml-80{bottom:80%} .tick-90,.unit-90,.ml-90{bottom:90%}
.needle-hub { width: 20px; height: 8px; background: rgba(180,160,255,0.3); border-radius: 0 0 2px 2px; }
.needle { width: 2px; height: 40px; background: linear-gradient(to bottom, rgba(200,180,255,0.5), transparent); margin: 0 auto; }
.vial-wrap { display: flex; flex-direction: column; align-items: center; width: 60px; }
.vial-cap { width: 24px; height: 10px; background: rgba(123,77,255,0.5); border-radius: 3px 3px 0 0; }
.vial-glass { width: 52px; height: 90px; background: rgba(255,255,255,0.06); border: 1px solid rgba(123,77,255,0.3); border-radius: 0 0 8px 8px; position: relative; overflow: hidden; }
.vial-liquid { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(123,77,255,0.5), rgba(180,130,255,0.2)); transition: height 0.5s ease; height: 85%; }
.vial-label { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; z-index: 2; }
.vial-brand { font-size: 6px; font-weight: 800; letter-spacing: 0.5px; color: rgba(255,255,255,0.9); }
.vial-name  { font-size: 5px; color: rgba(255,255,255,0.6); }

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

@media (min-width: 1600px) {
  .page-wrap { max-width: 1400px; }
}

@media (max-width: 1100px) {
  .page-wrap { max-width: 100%; }
  .hero-bottle-row { grid-template-columns: repeat(3, 1fr); max-width: 640px; gap: 20px; margin-bottom: 36px; }
  .hero-bottle { max-width: 140px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .molecule { grid-template-columns: 1fr; gap: 50px; padding: 80px 0; }
  .molecule-copy { max-width: 100%; }
  .molecule-stage { height: 520px; }
  .quality { grid-template-columns: 1fr; gap: 50px; padding: 80px 0; }
  .qa-hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 40px 0; }
  .qa-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .calc-page-layout { grid-template-columns: 1fr; gap: 32px; }
  .lab-visual-panel { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 24px; }
  .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-right { display: none; }
  .nav-inner { padding: 12px 16px; }
  .logo { height: 64px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 40px; }
  .hero-bottle-row { grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 100%; padding: 0 16px; margin-bottom: 32px; }
  .hero-bottle { max-width: 90px; }
  .hero-bottle-label { font-size: 0.65rem; }
  .molecule-stage { height: 520px; }
  .connector-svg { display: block; }
  .feature-point { gap: 6px; }
  .point-card { display: block; min-width: 110px; max-width: 140px; padding: 7px 10px; }
  .point-title { font-size: 11px; }
  .point-text  { font-size: 9px; }
  .point-icon  { width: 34px; height: 34px; font-size: 16px; }
  .point-1 { top: 8%;    left: -2%; }
  .point-2 { top: 8%;    right: -2%; }
  .point-3 { bottom: 8%; left: -2%; }
  .point-4 { bottom: 8%; right: -2%; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result-shell { grid-template-columns: 1fr; }
  .calc-stats { grid-template-columns: repeat(2, 1fr); }
  .qa-stats { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .product-detail:nth-child(even) .product-detail-grid { direction: ltr; }
  .product-detail-image { min-height: 200px; }
  .product-detail-image::before, .product-detail-image::after { display: none; }
  .product-detail-image img { max-width: 160px; }
  .product-specs { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .product-buttons { justify-content: center; }
  .product-detail-content { text-align: center; }
}

@media (max-width: 600px) {
  .page-wrap {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .hero { min-height: 92svh; padding-top: 20px; padding-bottom: 20px; }
  .hero-bottle-row { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 12px; margin-top: 12px; margin-bottom: 28px; max-width: 100%; }
  .hero-bottle { max-width: 90px; width: 100%; }
  .hero-bottle-label { font-size: 0.65rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero-copy, .hero-copy-tight { padding: 0 12px; }
  .hero-headline-single { font-size: clamp(24px, 7vw, 36px); line-height: 1.15; margin-top: 0; margin-bottom: 12px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; margin-top: 16px; }
  .btn { width: 100%; max-width: 260px; text-align: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { padding: 14px 10px; }
  .product-card img { width: 80px; }
  .product-title { font-size: 13px; }
  .price { font-size: 15px; }
  .molecule-stage { height: 460px; }
  .connector-svg { display: block; }
  .point-card { display: block; min-width: 90px; max-width: 120px; padding: 5px 8px; }
  .point-title { font-size: 10px; margin-bottom: 2px; }
  .point-text  { font-size: 8px; }
  .point-icon  { width: 28px; height: 28px; font-size: 13px; }
  .qa-grid  { grid-template-columns: 1fr; }
  .qa-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .qa-stats h3 { font-size: 22px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result-shell { grid-template-columns: 1fr; }
  .calc-stats { grid-template-columns: repeat(2, 1fr); }
  .lab-visual-panel { padding: 16px; gap: 16px; }
}

@supports (padding: max(0px)) {
  .navbar { padding-top: env(safe-area-inset-top, 0px); }
  body    { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* ===============================
   FOOTER
================================= */
.site-footer {
  border-top: 1px solid rgba(123,77,255,0.18);
  background: rgba(5,5,15,0.97);
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px max(28px, env(safe-area-inset-left)) 44px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  height: 40px;
  width: auto;
  mix-blend-mode: screen;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 0;
}

.footer-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 0%, #c4b0ff 50%, #7b4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0;
}

.footer-col--brand > *:nth-child(-n+2) {
  vertical-align: middle;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 14px 0 22px 0;
  line-height: 1.75;
  max-width: 270px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9b7bff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-contact-link:hover { color: #c4b0ff; }

.footer-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(123,77,255,0.9);
  margin-bottom: 18px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav a {
  color: rgba(196,176,255,0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-nav a:hover { color: #ffffff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px max(28px, env(safe-area-inset-left));
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-sep {
  font-size: 12px;
  color: rgba(255,255,255,0.15);
}

.footer-ruo {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-bottom-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(155,123,255,0.75);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #c4b0ff; }

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 52px;
    padding-bottom: 40px;
  }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
}

@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-bottom-links { margin-left: 0; }
}