/* ============================================================
   PUREUM — Animations CSS
   Hero section, page transitions, and micro-animations
   ============================================================ */

/* ===================== HERO SECTION ===================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 40%, #0A3622 0%, #0A0A0A 65%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}
.hero-text-block {
  max-width: 640px;
  padding-top: 80px;
}
.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-1);
  display: block;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 0.6s forwards;
}
.hero-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1.08;
  color: var(--white-1);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease 0.8s forwards;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--grey-1);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 1.0s forwards;
}
.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 1.2s forwards;
}
.hero-product-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 90%;
  max-height: 700px;
  width: 45%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 2;
  opacity: 0;
  transform: translateX(60px);
  animation: fadeLeft 0.9s ease 1.4s forwards;
  filter: drop-shadow(0 0 80px rgba(201,168,76,0.1));
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

/* Ticker Strip */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  background: var(--green-1);
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  opacity: 0;
  animation: fadeUp 0.5s ease 1.6s forwards;
}
.hero-ticker-inner {
  display: flex;
  align-items: center;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.hero-ticker-item {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-1);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-ticker-dot {
  width: 4px; height: 4px;
  background: var(--gold-1);
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
}

/* Mobile Hero */
@media (max-width: 768px) {
  .hero-product-img {
    opacity: 0.15;
    width: 100%;
    height: 100%;
    object-position: center;
    pointer-events: none;
  }
  .hero-text-block { max-width: 100%; }
  .hero-heading { font-size: clamp(44px, 12vw, 64px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ===================== PHILOSOPHY SECTION ===================== */
.philosophy-section {
  background: var(--green-1);
  position: relative;
  overflow: hidden;
}
.philosophy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 80px;
  align-items: center;
}
.philosophy-blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white-1);
  line-height: 1.2;
  margin-bottom: 32px;
  border-left: 3px solid var(--gold-1);
  padding-left: 28px;
}
.philosophy-body {
  font-size: 16px;
  color: var(--white-2);
  line-height: 1.85;
  margin-bottom: 12px;
}
.philosophy-body-muted {
  font-size: 15px;
  color: var(--grey-1);
  line-height: 1.85;
  margin-bottom: 40px;
}
.philosophy-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.philosophy-badge {
  border-left: 3px solid var(--gold-1);
  padding-left: 14px;
}
.philosophy-badge-title {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 3px;
}
.philosophy-badge-sub { font-size: 12px; color: var(--grey-1); }
.philosophy-img-wrap {
  position: relative;
}
.philosophy-img {
  width: 100%;
  border: 2px solid rgba(201,168,76,0.45);
  box-shadow: 8px 8px 0 rgba(201,168,76,0.08);
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
  border-radius: 2px;
}
.philosophy-img:hover { transform: rotate(0deg); }
.philosophy-img-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.1) 0%, transparent 65%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-img { transform: rotate(0deg); }
}

/* ===================== STATS BAR ===================== */
.stats-bar {
  background: var(--black-3);
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  padding: 0;
}
.stats-inner {
  display: flex;
  align-items: stretch;
  min-height: 120px;
}
.stat-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(201,168,76,0.15);
  text-align: center;
}
.stat-block:last-child { border-right: none; }
.stat-icon { font-size: 22px; margin-bottom: 8px; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--gold-1);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-1);
}

@media (max-width: 700px) {
  .stats-inner { flex-wrap: wrap; }
  .stat-block { flex: 0 0 50%; border-right: 1px solid rgba(201,168,76,0.15); border-bottom: 1px solid rgba(201,168,76,0.12); }
  .stat-block:nth-child(2n) { border-right: none; }
}

/* ===================== CONSULTATION SECTION ===================== */
.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .consult-grid { grid-template-columns: 1fr; gap: 48px; }
}
.consult-trust-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}
.consult-trust-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--white-2);
}
.consult-trust-point::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(10,54,34,0.8);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  color: var(--gold-1);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.consult-availability {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey-1);
  margin-top: 4px;
}
.consult-form-wrap {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
}
.form-privacy {
  font-size: 12px;
  color: var(--grey-2);
  text-align: center;
  margin-top: 14px;
}

/* ═══════════════════ PREMIUM HERO SLIDER ═══════════════════ */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.0s cubic-bezier(0.19, 1, 0.22, 1), visibility 1.0s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

/* Slide backgrounds */
.slide-bg-1 { background: radial-gradient(ellipse at 70% 40%, #0A3622 0%, #0A0A0A 68%); }
.slide-bg-2 { background: radial-gradient(ellipse at 70% 40%, #112F20 0%, #060907 72%); }
.slide-bg-3 { background: radial-gradient(ellipse at 70% 40%, #0E291D 0%, #0A0D0B 68%); }

/* Slide content entrance wipe */
.hero-slide .hero-eyebrow,
.hero-slide .hero-heading,
.hero-slide .hero-sub,
.hero-slide .hero-ctas {
  opacity: 0 !important;
  transform: translateY(32px) !important;
  animation: none !important;
  transition: opacity 1.0s cubic-bezier(0.19, 1, 0.22, 1), transform 1.0s cubic-bezier(0.19, 1, 0.22, 1) !important;
}
.hero-slide.active .hero-eyebrow { opacity: 1 !important; transform: translateY(0) !important; transition-delay: 0.25s !important; }
.hero-slide.active .hero-heading { opacity: 1 !important; transform: translateY(0) !important; transition-delay: 0.40s !important; }
.hero-slide.active .hero-sub { opacity: 1 !important; transform: translateY(0) !important; transition-delay: 0.55s !important; }
.hero-slide.active .hero-ctas { opacity: 1 !important; transform: translateY(0) !important; transition-delay: 0.70s !important; }

/* Motion Graphic Container */
.slide-graphic-container {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.0s ease;
}
.hero-slide.active .slide-graphic-container {
  opacity: 1;
}

/* Motion graphic elements */
.spin-backdrop {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px dashed rgba(201,168,76,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinSlow 36s linear infinite;
}
.spin-backdrop::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.06);
}
.spin-backdrop::after {
  content: '';
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.03);
}
.glow-burst {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 68%);
  border-radius: 50%;
  filter: blur(24px);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

/* Layered floating parallax assets */
.layer-asset {
  position: absolute;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.55));
}
.layer-asset img {
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Slide 1 - PET Bottle Layer styling */
.slide-bottle .layer-main {
  width: 250px;
  z-index: 10;
}
.slide-bottle .layer-back-glow {
  width: 290px;
  opacity: 0.65;
  z-index: 5;
}

/* Slide 2 - Premium Mockup Layer styling */
.slide-mockup .layer-main {
  width: 440px;
  z-index: 10;
}

/* Slide 3 - Brand Collection styling */
.slide-collection .layer-main {
  width: 480px;
  z-index: 10;
}

/* Progress / Indicator Dots */
.slider-nav-dots {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.slider-dot.active {
  background: var(--gold-1);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(201,168,76,0.6);
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10,10,10,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.slider-arrow:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold-1);
  color: var(--gold-1);
}
.slider-arrow-prev { left: 4%; }
.slider-arrow-next { right: 4%; }

/* Keyframes */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulseGlow {
  0% { transform: scale(0.92); opacity: 0.5; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .hero-slide {
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    text-align: center;
  }
  .hero-slide .hero-text-block {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 40px;
  }
  .slide-graphic-container {
    position: relative;
    right: auto;
    top: auto;
    transform: none !important;
    width: 100%;
    height: 280px;
    margin-top: 24px;
    margin-bottom: 60px;
  }
  .slide-bottle .layer-main { width: 150px; }
  .slide-mockup .layer-main { width: 280px; }
  .slide-collection .layer-main { width: 290px; }
  .spin-backdrop { width: 320px; height: 320px; }
  .spin-backdrop::before { width: 260px; height: 260px; }
  .spin-backdrop::after { width: 360px; height: 360px; }
  .slider-arrow { display: none; } /* Hide arrows on touch screens */
}

