/* ========================================
   The Skin Lab - V3 Hero Modern
   ======================================== */

/* ---- Hero V3: Cinematic ---- */
.hero-v3 {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: #0a0a0a;
}
.hero-v3-bg {
  position: absolute; inset: 0; z-index: 1;
}
.hero-v3-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  filter: brightness(0.35) saturate(0.8);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
@media (min-width: 993px) {
  .hero-v3-bg img { object-position: center 15%; }
}
.hero-v3-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%);
}
.hero-v3-content {
  position: relative; z-index: 3; width: 100%; padding: 0 5%;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 100vh; overflow: hidden;
}
.hero-v3-left { padding-right: 4rem; }
.hero-v3-label {
  display: inline-flex; align-items: center; gap: 0.8rem;
  margin-bottom: 2rem; opacity: 0; animation: fadeSlideUp 0.8s 0.3s forwards;
}
.hero-v3-label .line { width: 40px; height: 1px; background: var(--primary); }
.hero-v3-label span {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 5px; color: var(--primary-light);
}
.hero-v3 h1 {
  font-size: clamp(2.8rem, 6vw, 5rem); color: #fff; line-height: 1.05;
  font-weight: 700; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeSlideUp 1s 0.5s forwards;
}
.hero-v3 h1 em {
  font-style: italic; color: var(--accent);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}
.hero-v3-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.9;
  max-width: 480px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeSlideUp 1s 0.7s forwards;
}
.hero-v3-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeSlideUp 1s 0.9s forwards;
}
.hero-v3-actions .btn-glow {
  background: var(--primary); color: #fff; border: none;
  box-shadow: 0 0 30px rgba(201,168,124,0.3);
}
.hero-v3-actions .btn-glow:hover {
  box-shadow: 0 0 50px rgba(201,168,124,0.5);
  transform: translateY(-2px);
}
.hero-v3-actions .btn-ghost {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-v3-actions .btn-ghost:hover {
  border-color: var(--primary); color: var(--primary-light);
}

/* Right side: floating cards */
.hero-v3-right {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; padding-left: 2rem;
  opacity: 0; animation: fadeSlideUp 1.2s 1.1s forwards;
}
.floating-card {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  padding: 1.8rem 2rem; width: 320px; transition: all 0.4s ease;
}
.floating-card:hover {
  background: rgba(255,255,255,0.1); transform: translateX(-8px);
  border-color: rgba(201,168,124,0.3);
}
.floating-card .fc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,168,124,0.15); display: flex;
  align-items: center; justify-content: center;
  color: var(--primary-light); font-size: 1rem; margin-bottom: 0.8rem;
}
.floating-card h4 {
  color: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.95rem;
  font-weight: 600; margin-bottom: 0.3rem;
}
.floating-card p { color: rgba(255,255,255,0.5); font-size: 0.82rem; margin: 0; line-height: 1.5; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeSlideUp 1s 1.5s forwards;
}
.scroll-indicator span {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 3px;
  color: rgba(255,255,255,0.4);
}
.scroll-mouse {
  width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 12px; position: relative;
}
.scroll-mouse::after {
  content: ''; width: 3px; height: 8px; background: var(--primary-light);
  border-radius: 3px; position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%); animation: scrollDot 2s infinite;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 18px; }
}

/* Marquee */
.marquee {
  background: var(--dark); padding: 1rem 0; overflow: hidden; white-space: nowrap; max-width: 100vw;
}
.marquee-track {
  display: inline-flex; animation: marqueeScroll 25s linear infinite;
}
.marquee-track span {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem;
  color: rgba(255,255,255,0.15); padding: 0 2rem; text-transform: uppercase;
  letter-spacing: 4px;
}
.marquee-track span::after { content: '✦'; margin-left: 2rem; color: var(--primary); opacity: 0.3; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive v3 */

/* ---- Glowing line under title ---- */
.hero-v3 h1::after {
  content: ''; display: block; width: 240px; max-width: 60%; height: 2px; margin-top: 1rem;
  background: linear-gradient(90deg, var(--primary), transparent);
  animation: lineGrow 3s 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  transform-origin: left; transform: scaleX(0);
}
@keyframes lineGrow {
  to { transform: scaleX(1); }
}

/* ---- Floating cards subtle hover pulse ---- */
.floating-card { animation: cardPulse 4s ease-in-out infinite; }
.floating-card:nth-child(2) { animation-delay: 1.3s; }
.floating-card:nth-child(3) { animation-delay: 2.6s; }
@keyframes cardPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 992px) {
  .hero-v3 { min-height: 100vh; min-height: 100dvh; }
  .hero-v3-content { grid-template-columns: 1fr; text-align: center; min-height: 100vh; min-height: 100dvh; }
  .hero-v3-left { padding: 8rem 1.5rem 4rem; }
  .hero-v3-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-v3-actions { justify-content: center; }
  .hero-v3-right { display: none; }
  .hero-v3-label { justify-content: center; }
}
