/* ============================================
   PPX LANDING PAGE — PREMIUM BIOTECH REDESIGN
   Glassmorphism, floating vial, modern trust badges
   ============================================ */

/* ===== HERO LANDING BACKGROUND ===== */
.hero-landing {
  background: linear-gradient(180deg, #ffffff 0%, #f2f8fb 40%, #e9f3f8 100%);
  padding: var(--space-16) 0 var(--space-12);
}

.hero-landing .hero-orb {
  display: none;
}

.hero-landing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 72% 35%, rgba(6,182,212,0.05) 0%, transparent 100%),
    radial-gradient(ellipse 45% 45% at 20% 75%, rgba(124,58,237,0.03) 0%, transparent 100%);
}

.hero-landing .molecular-bg::before {
  opacity: 0.35;
}

/* ===== HERO SPLIT OVERRIDES ===== */
.hero-landing.hero-split {
  padding: var(--space-16) 0 var(--space-12);
}

.hero-landing .hero-split-inner {
  min-height: 500px;
  gap: var(--space-10);
  align-items: center;
}

.hero-landing .hero-title-split {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem) !important;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  animation: none !important;
}

.hero-landing .hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-tertiary);
  line-height: 1.7;
}

.hero-landing .hero-kicker {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cyan-500);
  letter-spacing: 0.12em;
}

/* ===== HERO SPLIT IMAGE ===== */
.hero-landing .hero-split-image {
  overflow: visible;
}

/* ===== HERO PRODUCT SHOWCASE ===== */
.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

/* ---- Depth Layers — solid card-deck look ---- */
.hero-depth {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: #e8ebed;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-depth--back {
  transform: rotate(5deg) translate(4px, -6px);
  opacity: 0.45;
  z-index: 0;
}

.hero-depth--mid {
  transform: rotate(-2.5deg) translate(-3px, -3px);
  opacity: 0.65;
  z-index: 1;
}

.hero-showcase:hover .hero-depth--back {
  transform: rotate(4deg) translate(3px, -5px);
}

.hero-showcase:hover .hero-depth--mid {
  transform: rotate(-1.5deg) translate(-2px, -2px);
}

/* ---- Front Product Card — matches shop card style ---- */
.hero-pcard {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  background: #f0f2f4;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.07),
    0 1px 3px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-showcase:hover .hero-pcard {
  transform: translateY(-4px);
  box-shadow:
    0 8px 36px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.04);
}

/* ---- Slides (fade transition) ---- */
/* Override ppv-components.css .hero-slide blur/transform */
.hero-showcase .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: none !important;
  transform: none !important;
  transition: opacity 0.7s ease;
  pointer-events: none;
  display: block;
}

.hero-showcase .hero-slide--active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Product Image — sharp, fills card like shop ---- */
.hero-pcard-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showcase:hover .hero-pcard-img {
  transform: scale(1.04);
}

/* ---- Product Label — subtle overlay at bottom ---- */
.hero-pcard-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0.5rem 0.5rem;
  background: linear-gradient(to top, rgba(240, 242, 244, 0.95) 0%, transparent 100%);
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  z-index: 1;
}

/* ===== HERO CTA BUTTON ===== */
.btn-hero-cta {
  padding: 1.15rem 2.5rem;
  font-size: var(--text-base);
  font-weight: 700;
  border-radius: var(--radius-xl);
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #0891b2, #0e7490);
  color: #ffffff;
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow:
    0 4px 16px rgba(8, 145, 178, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 30px rgba(8, 145, 178, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #ffffff;
}

.btn-hero-cta:active {
  transform: translateY(-1px);
}

/* ===== HERO TRUST BADGES — Modern with icons ===== */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hero-trust-badge svg {
  color: var(--cyan-500);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.hero-trust-badge:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(8, 145, 178, 0.15);
  color: var(--text-secondary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ===== CATEGORIES UPGRADE ===== */
.landing-categories .grid-4 {
  gap: var(--space-6);
}

.landing-categories .card {
  background: var(--surface-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 6px 16px rgba(0, 0, 0, 0.025);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-categories .card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(8, 145, 178, 0.08),
    0 0 60px rgba(8, 145, 178, 0.03);
  border-color: rgba(8, 145, 178, 0.12);
}

.landing-categories .card h3 {
  font-size: var(--text-xl) !important;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.landing-categories .card p {
  font-size: var(--text-sm) !important;
  line-height: 1.55;
  margin-bottom: 0;
}

.landing-categories .category-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: var(--radius-xl) !important;
  margin-bottom: var(--space-5) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-categories .card:hover .category-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.12);
}

.landing-categories .category-icon svg {
  width: 30px !important;
  height: 30px !important;
}

/* ===== STATS GLASS CARD ===== */
.stats-glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03);
}

.stats-grid-landing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stats-item-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.stats-icon-landing {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 145, 178, 0.07);
  border-radius: var(--radius-xl);
  color: var(--cyan-500);
  margin-bottom: var(--space-3);
  transition: all 0.3s ease;
}

.stats-item-landing:hover .stats-icon-landing {
  background: rgba(8, 145, 178, 0.12);
  transform: scale(1.08);
}

.stats-item-landing .counter-value {
  font-size: var(--text-5xl);
}

.stats-item-landing .counter-label {
  font-size: var(--text-sm);
}

/* ===== TRUST BAR SECTION UPGRADE ===== */
.landing-trust .trust-item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-trust .trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  border-color: rgba(8, 145, 178, 0.12);
}

.landing-trust .trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xl);
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-landing.hero-split {
    padding: var(--space-10) 0 var(--space-8);
  }

  .hero-landing .hero-split-inner {
    min-height: auto;
    gap: var(--space-6);
  }

  .hero-landing .hero-title-split {
    font-size: clamp(2rem, 4.5vw, 3rem) !important;
  }

  .hero-showcase {
    max-width: 300px;
  }

  .landing-categories .card {
    padding: var(--space-6);
  }

  .landing-categories .card h3 {
    font-size: var(--text-lg) !important;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  .hero-landing.hero-split {
    padding: var(--space-4) 0 var(--space-6);
  }

  .hero-landing .hero-split-inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
  }

  .hero-landing .hero-split-text {
    text-align: center;
    order: 1;
  }

  .hero-landing .hero-split-text .hero-kicker {
    text-align: center;
  }

  .hero-landing .hero-split-text .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-4);
    font-size: var(--text-md);
  }

  .hero-landing .hero-split-text .hero-actions {
    justify-content: center;
  }

  .hero-landing .hero-split-image {
    order: 0;
    overflow: visible;
  }

  .hero-showcase {
    max-width: 250px;
  }

  .hero-pcard {
    border-radius: 1rem;
  }

  .hero-depth--back {
    transform: rotate(4deg) translate(3px, -5px);
  }

  .hero-depth--mid {
    transform: rotate(-2deg) translate(-2px, -2px);
  }

  .hero-landing .hero-title-split {
    font-size: var(--text-3xl) !important;
    line-height: 1.1;
    margin-bottom: var(--space-3);
  }

  .hero-trust-badges {
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
  }

  .hero-trust-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .btn-hero-cta {
    padding: 0.9rem 2rem;
    font-size: var(--text-sm);
    width: 100%;
    max-width: 300px;
  }

  /* Stats mobile */
  .stats-glass-card {
    padding: var(--space-6) var(--space-4);
    border-radius: var(--radius-xl);
  }

  .stats-grid-landing {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .stats-item-landing .counter-value {
    font-size: var(--text-3xl);
  }

  .stats-item-landing .counter-label {
    font-size: var(--text-xs);
  }

  .stats-icon-landing {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-2);
  }

  .stats-icon-landing svg {
    width: 20px;
    height: 20px;
  }

  /* Categories mobile */
  .landing-categories .card {
    padding: var(--space-5);
  }

  .landing-categories .category-icon {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: var(--space-3) !important;
  }

  .landing-categories .category-icon svg {
    width: 26px !important;
    height: 26px !important;
  }

  .landing-categories .card h3 {
    font-size: var(--text-base) !important;
  }

  /* Trust bar mobile */
  .landing-trust .trust-item {
    padding: var(--space-4);
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .hero-landing.hero-split {
    padding: var(--space-3) 0 var(--space-4);
  }

  .hero-landing .hero-split-inner {
    gap: var(--space-2);
  }

  .hero-showcase {
    max-width: 200px;
  }

  .hero-pcard {
    border-radius: 0.875rem;
  }

  .hero-pcard-label {
    font-size: 0.55rem;
    padding: 1rem 0.4rem 0.35rem;
  }

  .hero-depth--back {
    transform: rotate(3.5deg) translate(3px, -4px);
  }

  .hero-depth--mid {
    transform: rotate(-1.5deg) translate(-2px, -2px);
  }

  .hero-landing .hero-title-split {
    font-size: var(--text-2xl) !important;
    margin-bottom: var(--space-2);
  }

  .hero-landing .hero-subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
  }

  .hero-landing .hero-kicker {
    font-size: var(--text-xs);
    margin-bottom: var(--space-2);
  }

  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
  }

  .btn-hero-cta {
    padding: 0.8rem 1.5rem;
    max-width: none;
    width: 100%;
    font-size: var(--text-sm);
  }

  /* Stats small mobile */
  .stats-glass-card {
    padding: var(--space-4) var(--space-3);
  }

  .stats-grid-landing {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .stats-item-landing {
    flex-direction: row;
    text-align: left;
    gap: var(--space-3);
    padding: var(--space-2) 0;
  }

  .stats-icon-landing {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .stats-item-landing .counter-value {
    font-size: var(--text-2xl);
  }

  /* Categories small mobile */
  .landing-categories .grid-4 {
    gap: var(--space-3) !important;
  }

  .landing-categories .card {
    padding: var(--space-4);
  }

  .landing-categories .card h3 {
    font-size: var(--text-sm) !important;
    margin-bottom: 2px;
  }

  .landing-categories .card p {
    font-size: var(--text-xs) !important;
    line-height: 1.35;
  }

  .landing-categories .category-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: var(--space-3) !important;
  }

  .landing-categories .category-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
}

/* ============================================
   RESPONSIVE — VERY SMALL (max 360px)
   ============================================ */
@media (max-width: 360px) {
  .hero-showcase {
    max-width: 170px;
  }

  .hero-depth--back {
    transform: rotate(3deg) translate(2px, -3px);
  }

  .hero-depth--mid {
    transform: rotate(-1deg) translate(-1px, -1px);
  }

  .hero-landing .hero-title-split {
    font-size: var(--text-xl) !important;
  }

  .hero-landing .hero-subtitle {
    font-size: var(--text-xs);
  }

  .btn-hero-cta {
    padding: 0.7rem 1.2rem;
    font-size: var(--text-xs);
  }

  .hero-trust-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }
}
