/* ============================================================================
   SimpliNail Hero Section — "Warm Nude Minimal Luxury"
   Palette: Soft Cream #F2EDE6 / Nude Beige #E6D8C9 / Sand #D4BFA8
           Warm Taupe #B8A99A / LED Glow #F5D7A1 / Blush #CFA8A0
   Real POS image as background — text overlays on upper portion
   ============================================================================ */

/* ============================================================================
   Hero Container
   ============================================================================ */
.hero-luxury {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #F2EDE6;
}

/* ============================================================================
   Background — Real POS image
   ============================================================================ */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
}

/* Warm overlay for text readability — gradient from top */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Top: soft cream fade for text area */
    linear-gradient(180deg,
      rgba(242, 237, 230, 0.85) 0%,
      rgba(242, 237, 230, 0.6) 25%,
      rgba(242, 237, 230, 0.15) 50%,
      transparent 65%
    );
  pointer-events: none;
}

/* Subtle film grain for texture */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================================================
   Hero Content — Upper portion, over the cream overlay
   ============================================================================ */
.hero-content-luxury {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--spacing-lg);
  padding-top: clamp(100px, 15vh, 160px);
  opacity: 0;
  animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

/* H1 — Dominant, editorial */
.hero-h1-vi {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 4.5rem);
  line-height: 1.15;
  color: #2B2B2B;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

.hero-brand-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #B8A99A;
  margin-bottom: 0.4rem;
  margin-top: -0.2rem;
}

/* H2 — Vietnamese subtitle, lighter */
.hero-h2-en {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  color: #6B6B6B;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

/* CTA Button Row */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Primary CTA — LED Glow Gold */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 3rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #2B2B2B;
  background: #F5D7A1;
  border: 1px solid #F5D7A1;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(245, 215, 161, 0.35);
  animation: ctaGlow 2.5s ease-in-out 2s infinite;
}

.hero-btn-primary:hover {
  background: #E8C88A;
  border-color: #E8C88A;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(245, 215, 161, 0.5);
  color: #2B2B2B;
  animation: none;
}

/* Trust line below hero CTA */
.hero-trust-line {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(43, 43, 43, 0.45);
  letter-spacing: 0.04em;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* ============================================================================
   Scroll Hint
   ============================================================================ */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: heroScrollHintIn 1s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
}

.hero-scroll-hint span {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(43, 43, 43, 0.3);
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(43, 43, 43, 0.3) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================================================
   Animations
   ============================================================================ */
@keyframes ctaGlow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(245, 215, 161, 0.35);
  }
  50% {
    box-shadow: 0 4px 28px rgba(245, 215, 161, 0.6);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScrollHintIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.8;
    transform: scaleY(1.2);
  }
}

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 768px) {
  .hero-luxury {
    min-height: 100svh;
  }

  .hero-content-luxury {
    padding-top: clamp(90px, 12vh, 130px);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-h1-vi {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-h2-en {
    font-size: clamp(0.85rem, 3vw, 1.1rem);
    letter-spacing: 0.06em;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-btn-primary {
    width: 100%;
    max-width: 280px;
  }

  .hero-bg-img {
    object-position: center center;
  }
}

@media (max-width: 480px) {
  .hero-h1-vi {
    font-size: 1.75rem;
  }

  .hero-h2-en {
    font-size: 0.8rem;
  }

  .hero-content-luxury {
    padding-top: 90px;
  }
}
