/* ═══════════════════════════════════════════
   CARIÑO — Cinematic Landing Page
   "Made Just For You."
   ═══════════════════════════════════════════ */

.landing-page {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ── Background Gradient Orbs ── */
.landing-bg-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
  opacity: 0;
  animation: orbReveal 2s var(--ease-luxury) forwards;
}

.landing-bg-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blush), transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0.5s;
}

.landing-bg-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: 0.8s;
}

.landing-bg-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 196, 196, 0.3), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1s;
}

@keyframes orbReveal {
  to { opacity: 1; }
}

/* ── Landing Content ── */
.landing-content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 var(--space-md);
}

/* Overline */
.landing-overline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0;
  transform: translateY(20px);
  animation: landingFadeUp 1.2s var(--ease-luxury) 0.5s forwards;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

/* Main Title */
.landing-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--deep-charcoal);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(30px);
  animation: landingFadeUp 1.2s var(--ease-luxury) 0.8s forwards;
}

.landing-title-line {
  display: block;
}

.landing-title .word-highlight {
  position: relative;
  display: inline-block;
}

.landing-title .word-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--champagne-glow), var(--blush));
  opacity: 0.4;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 0.8s var(--ease-luxury) 2s forwards;
}

@keyframes underlineGrow {
  to { transform: scaleX(1); }
}

/* Subtitle */
.landing-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--soft-gray);
  font-style: italic;
  font-weight: 300;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: landingFadeUp 1.2s var(--ease-luxury) 1.2s forwards;
}

/* ── 3D Product Preview ── */
.landing-product-showcase {
  width: 280px;
  height: 320px;
  margin: 0 auto var(--space-lg);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: landingFadeUp 1.5s var(--ease-luxury) 1s forwards;
}

.candle-3d {
  width: 100%;
  height: 100%;
  position: relative;
  animation: candleFloat 6s ease-in-out infinite;
  perspective: 1000px;
}

.candle-body {
  width: 120px;
  height: 180px;
  margin: 40px auto 0;
  background: linear-gradient(180deg, #F5E6D3, #EDD9C0, #E8CDB0);
  border-radius: 12px 12px 16px 16px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(212, 175, 55, 0.15),
    inset 0 2px 10px rgba(255, 255, 255, 0.5),
    inset 0 -5px 15px rgba(0, 0, 0, 0.05);
  animation: candleRotate 12s linear infinite;
  transform-style: preserve-3d;
}

.candle-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  padding: 1rem 0.5rem;
  border: 1px solid var(--champagne);
  border-radius: 4px;
}

.candle-label-brand {
  font-family: var(--font-serif);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne);
  display: block;
  margin-bottom: 0.3rem;
}

.candle-label-name {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--charcoal);
  display: block;
  min-height: 1.5em;
  transition: all var(--transition-medium);
}

.candle-label-name.typing {
  border-right: 2px solid var(--champagne);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Wick */
.candle-wick {
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, #2C2C2C, #555);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
}

/* Flame */
.candle-flame {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 35px;
}

.flame-outer {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center bottom,
    rgba(212, 175, 55, 0.9),
    rgba(232, 196, 196, 0.5) 40%,
    transparent 70%
  );
  border-radius: 50% 50% 40% 40%;
  animation: flameFlicker 3s ease-in-out infinite alternate;
  filter: blur(1px);
}

.flame-inner {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 20px;
  background: radial-gradient(ellipse at center bottom,
    rgba(255, 255, 255, 0.95),
    rgba(255, 230, 150, 0.8) 50%,
    transparent 70%
  );
  border-radius: 50% 50% 40% 40%;
  animation: flameFlicker 2s ease-in-out infinite alternate-reverse;
}

.flame-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 60%);
  border-radius: var(--radius-full);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes flameFlicker {
  0% { transform: translateX(-50%) scaleX(1) scaleY(1); }
  25% { transform: translateX(-48%) scaleX(0.9) scaleY(1.05); }
  50% { transform: translateX(-52%) scaleX(1.05) scaleY(0.95); }
  75% { transform: translateX(-49%) scaleX(0.95) scaleY(1.02); }
  100% { transform: translateX(-50%) scaleX(1) scaleY(0.98); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

@keyframes candleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes candleRotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* Candle Shadow */
.candle-shadow {
  width: 100px;
  height: 15px;
  background: radial-gradient(ellipse, rgba(44, 44, 44, 0.1), transparent 70%);
  border-radius: var(--radius-full);
  margin: 20px auto 0;
  animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); opacity: 0.4; }
  50% { transform: scaleX(0.85); opacity: 0.3; }
}

/* ── CTA Button ── */
.landing-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: landingFadeUp 1.2s var(--ease-luxury) 1.6s forwards;
}

.landing-cta .btn {
  padding: 1.2rem 3.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  position: relative;
}

.landing-cta .btn-gold {
  box-shadow: 0 0 0 0 var(--champagne-glow);
  animation: ctaGlow 3s ease-in-out infinite 3s;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--champagne-glow); }
  50% { box-shadow: 0 0 30px 10px var(--champagne-glow); }
}

/* ── Scroll Indicator ── */
.landing-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: landingFadeUp 1s var(--ease-luxury) 2.5s forwards;
}

.landing-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--light-gray);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--champagne);
  border-radius: 3px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* ── Keyframe: Fade Up ── */
@keyframes landingFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .landing-product-showcase {
    width: 220px;
    height: 260px;
  }

  .candle-body {
    width: 100px;
    height: 150px;
  }

  .landing-cta .btn {
    padding: 1rem 2.5rem;
  }
}

@media (max-width: 480px) {
  .landing-product-showcase {
    width: 180px;
    height: 220px;
  }

  .candle-body {
    width: 85px;
    height: 130px;
    margin-top: 30px;
  }

  .candle-label-name {
    font-size: 0.9rem;
  }
}