/*
  Venrea Product Page
  Aslay Biogen — modern product detail layout
  Palette derived from the Venrea pack artwork (teal / brick red / gold)
*/

.venrea-page {
  --v-teal: #12657d;
  --v-teal-dark: #0b4859;
  --v-teal-light: #2a90ad;
  --v-red: #b23c3f;
  --v-red-light: #d1595c;
  --v-gold: #c2a24d;
  --v-ink: #0d1b23;
  --v-body: #4a5c66;
  --v-muted: #7c8d97;
  --v-line: rgba(18, 101, 125, 0.12);
  --v-surface: #ffffff;
  --v-tint: #f2f8fa;

  --v-radius: 24px;
  --v-radius-sm: 14px;
  --v-shadow: 0 18px 44px rgba(13, 27, 35, 0.09);
  --v-shadow-lg: 0 34px 80px rgba(13, 27, 35, 0.16);

  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--v-surface);
  color: var(--v-ink);
}

.v-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Scroll reveal ----------
   Progressive enhancement: content is visible by default. The hidden state only
   applies once JS has confirmed it can reveal it again (html.js-reveal), so a
   JS failure or a no-JS visitor still sees the full page. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Shared section furniture ---------- */
.v-section {
  padding: 5.5rem 0;
}

.v-section-tint {
  background: linear-gradient(180deg, var(--v-tint) 0%, #ffffff 100%);
}

.v-section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.v-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v-teal);
  margin-bottom: 0.85rem;
}

.v-h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
  color: var(--v-ink);
}

.v-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--v-body);
  margin: 0;
}

/* ---------- Hero ---------- */
.v-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background: linear-gradient(160deg, #f4fafc 0%, #eaf3f7 45%, #fdf6f4 100%);
  isolation: isolate;
}

.v-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
}

.v-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.v-blob-teal {
  width: 460px;
  height: 460px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(42, 144, 173, 0.5), transparent 70%);
}

.v-blob-red {
  width: 400px;
  height: 400px;
  bottom: -170px;
  right: -110px;
  background: radial-gradient(circle, rgba(209, 89, 92, 0.4), transparent 70%);
}

.v-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.v-hero-copy {
  min-width: 0;
}

.v-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.v-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--v-line);
  color: var(--v-teal-dark);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.v-badge-veg {
  color: #197a3d;
  border-color: rgba(25, 122, 61, 0.25);
}

.v-veg-mark {
  width: 12px;
  height: 12px;
  border: 1.5px solid #197a3d;
  border-radius: 2px;
  display: inline-grid;
  place-items: center;
}

.v-veg-mark::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #197a3d;
}

.v-hero-title {
  font-size: clamp(2.6rem, 6vw, 4.15rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 1.1rem;
  color: var(--v-ink);
}

.v-hero-title .v-line-gold {
  display: block;
  background: linear-gradient(100deg, var(--v-gold), #e0c47c 55%, var(--v-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.v-hero-title .v-line-teal {
  display: block;
  color: var(--v-teal);
}

.v-hero-name {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.v-hero-name strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--v-red);
}

.v-hero-name span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--v-muted);
}

.v-lede {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--v-body);
  margin: 0 0 1.75rem;
  max-width: 54ch;
}

.v-composition {
  border-left: 3px solid var(--v-red);
  padding: 0.2rem 0 0.2rem 1rem;
  margin-bottom: 1.75rem;
}

.v-composition dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--v-muted);
  margin-bottom: 0.4rem;
}

.v-composition dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--v-ink);
}

.v-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.v-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease;
}

.v-btn-primary {
  background: linear-gradient(135deg, var(--v-teal) 0%, var(--v-teal-dark) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(18, 101, 125, 0.32);
}

.v-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(18, 101, 125, 0.4);
}

.v-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--v-line);
  color: var(--v-teal-dark);
}

.v-btn-ghost:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--v-shadow);
}

.v-btn:focus-visible {
  outline: 3px solid var(--v-teal-light);
  outline-offset: 3px;
}

/* Hero media */
.v-hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.v-hero-media::before {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.35) 55%,
    transparent 72%
  );
}

.v-hero-media img {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: var(--v-radius);
  box-shadow: var(--v-shadow-lg);
  animation: v-float 7s ease-in-out infinite;
}

@keyframes v-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .v-hero-media img {
    animation: none;
  }
}

.v-pack-chip {
  position: absolute;
  right: 4%;
  bottom: 6%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-sm);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--v-shadow);
  text-align: center;
}

.v-pack-chip strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--v-teal-dark);
  line-height: 1.2;
}

.v-pack-chip span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v-muted);
}

/* ---------- Ingredient grid ---------- */
/* 8 cells (7 ingredients + accent card) — always an even grid, never an orphan row */
.v-ing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1080px) {
  .v-ing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .v-ing-grid {
    grid-template-columns: 1fr;
  }
}

.v-ing-card {
  position: relative;
  background: var(--v-surface);
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius);
  padding: 1.9rem 1.6rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.v-ing-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--v-teal), var(--v-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.v-ing-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--v-shadow);
}

.v-ing-card:hover::before {
  transform: scaleX(1);
}

.v-ing-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(18, 101, 125, 0.1), rgba(178, 60, 63, 0.1));
  color: var(--v-teal);
  margin-bottom: 1.15rem;
}

.v-ing-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v-ing-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--v-ink);
  letter-spacing: -0.01em;
}

.v-ing-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--v-body);
}

/* Accent card — fills the 8th grid cell */
.v-ing-card-accent {
  background: linear-gradient(150deg, var(--v-teal-dark) 0%, var(--v-teal) 100%);
  border-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.v-ing-card-accent::before {
  display: none;
}

.v-ing-card-accent h3 {
  color: #fff;
}

.v-ing-card-accent p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.15rem;
}

.v-ing-card-accent .v-ing-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.v-ing-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: gap 0.25s ease, border-color 0.25s ease;
}

.v-ing-link:hover {
  gap: 0.75rem;
  border-color: #fff;
}

/* ---------- Showcase ---------- */
.v-showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.v-showcase-media {
  position: relative;
  border-radius: var(--v-radius);
  overflow: hidden;
  box-shadow: var(--v-shadow-lg);
}

.v-showcase-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.v-point-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.v-point-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.v-tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--v-teal), var(--v-teal-light));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}

.v-point-list h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: var(--v-ink);
}

.v-point-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--v-body);
}

/* ---------- Spec table ---------- */
.v-spec {
  max-width: 900px;
  margin: 0 auto;
  background: var(--v-surface);
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius);
  overflow: hidden;
  box-shadow: var(--v-shadow);
}

.v-spec-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid var(--v-line);
}

.v-spec-row:last-child {
  border-bottom: 0;
}

.v-spec-row:nth-child(odd) {
  background: rgba(18, 101, 125, 0.028);
}

.v-spec-row dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v-muted);
  align-self: center;
}

.v-spec-row dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--v-ink);
}

/* ---------- Notice / disclaimer ---------- */
.v-notice {
  max-width: 900px;
  margin: 3rem auto 0;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff8f2;
  border: 1px solid rgba(178, 60, 63, 0.18);
  border-left: 4px solid var(--v-red);
  border-radius: var(--v-radius-sm);
  padding: 1.4rem 1.6rem;
}

.v-notice-icon {
  flex: none;
  font-size: 1.2rem;
  line-height: 1.5;
}

.v-notice h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--v-red);
}

.v-notice p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--v-body);
}

/* ---------- CTA band ---------- */
.v-cta-band {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--v-teal-dark) 0%, var(--v-teal) 55%, #8f3134 100%);
  color: #fff;
  text-align: center;
}

.v-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1), transparent 45%);
  pointer-events: none;
}

.v-cta-band .v-shell {
  position: relative;
}

.v-cta-band h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.v-cta-band p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.v-cta-band .v-cta-row {
  justify-content: center;
}

.v-btn-light {
  background: #fff;
  color: var(--v-teal-dark);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.v-btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.v-btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.v-btn-outline-light:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .v-hero-grid,
  .v-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .v-hero-media {
    order: -1;
  }

  .v-showcase-media img {
    aspect-ratio: 16 / 11;
  }

  .v-lede {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .v-shell {
    padding: 0 1.15rem;
  }

  .v-hero {
    padding: 3rem 0 3.5rem;
  }

  .v-section {
    padding: 3.75rem 0;
  }

  .v-spec-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 1.25rem;
  }

  .v-cta-row .v-btn {
    flex: 1 1 100%;
  }

  .v-pack-chip {
    right: 2%;
    bottom: 3%;
    padding: 0.65rem 0.9rem;
  }
}
