/* ============================================
   Manifest Journi — Immersive Landing Styles
   Cosmic dreamy: pinks, purples, creams, lavenders
   Script + serif pairings, sparkle accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Great+Vibes&display=swap');

/* ── CSS Variables ─────────────────────── */
:root {
  --pink-deep:    #7a1d47;
  --pink-mid:     #c44b7a;
  --pink-soft:    #f4b5c8;
  --lavender:     #b69fc9;
  --purple-soft:  #d6c2e0;
  --cream:        #fef8f4;
  --cream-warm:   #fff5f0;
  --white:        #ffffff;
  --text-dark:    #3a2535;
  --text-muted:   #7a6475;

  --font-script:   'Great Vibes', cursive;
  --font-serif:    'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body:     'Cormorant Garamond', Georgia, serif;

  --shadow-soft:   0 4px 24px rgba(122, 29, 71, 0.08);
  --shadow-card:   0 8px 32px rgba(122, 29, 71, 0.10);
  --shadow-glow:   0 0 40px rgba(196, 75, 122, 0.20);
}

/* ── Reset & Base ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Scrollbar ─────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--pink-soft);
  border-radius: 10px;
}

/* ── Typography ────────────────────────── */
.script-font { font-family: var(--font-script); }
.serif-font  { font-family: var(--font-serif); }

/* ── Section Utility ───────────────────── */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--pink-deep);
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-bottom: 60px;
}

/* ── Sparkle Decorations ───────────────── */
.sparkle {
  display: inline-block;
  font-size: 1.2em;
  animation: sparkle-rotate 3s ease-in-out infinite;
}
@keyframes sparkle-rotate {
  0%, 100% { transform: rotate(-5deg) scale(1);    opacity: 1;   }
  50%       { transform: rotate(5deg)  scale(1.15); opacity: 0.7; }
}

.sparkle-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: var(--lavender);
}

/* ── Texture Overlay ──────────────────── */
.torn-paper {
  position: relative;
  background: var(--cream-warm);
}
.torn-paper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.torn-paper > * { position: relative; z-index: 1; }

/* ── HERO ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(254, 248, 244, 0.25) 0%,
    rgba(196, 75, 122, 0.08) 40%,
    rgba(182, 159, 201, 0.35) 70%,
    rgba(250, 245, 240, 0.6) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  animation: float-up linear infinite;
}

.particle:nth-child(1)  { left: 10%; animation-duration: 8s;  animation-delay: 0s;    width: 2px; height: 2px; }
.particle:nth-child(2)  { left: 20%; animation-duration: 11s; animation-delay: 1s;   }
.particle:nth-child(3)  { left: 30%; animation-duration: 9s;  animation-delay: 2s;   width: 4px; height: 4px; }
.particle:nth-child(4)  { left: 40%; animation-duration: 13s; animation-delay: 0.5s; }
.particle:nth-child(5)  { left: 50%; animation-duration: 10s; animation-delay: 3s;  width: 2px; height: 2px; }
.particle:nth-child(6)  { left: 60%; animation-duration: 12s; animation-delay: 1.5s; }
.particle:nth-child(7)  { left: 70%; animation-duration: 8s;  animation-delay: 2.5s; width: 3px; height: 3px; }
.particle:nth-child(8)  { left: 80%; animation-duration: 9s;  animation-delay: 0s;   }
.particle:nth-child(9)  { left: 85%; animation-duration: 14s; animation-delay: 4s;  width: 2px; height: 2px; }
.particle:nth-child(10) { left: 95%; animation-duration: 10s; animation-delay: 1s;  }

@keyframes float-up {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; transform: translateY(90vh) scale(1); }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 24px;
}

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--pink-deep);
  line-height: 1;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(122, 29, 71, 0.15);
  animation: title-appear 1.2s ease-out both;
}

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

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-dark);
  font-style: italic;
  max-width: 520px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fade-up 1s ease-out 0.4s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-enter {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(122, 29, 71, 0.30), 0 0 0 0 rgba(196, 75, 122, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fade-up 1s ease-out 0.7s both;
}
.btn-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(122, 29, 71, 0.35), 0 0 0 4px rgba(196, 75, 122, 0.12);
}
.btn-enter:active {
  transform: translateY(0);
}

/* ── FEATURE ICON ROW ─────────────────── */
.features-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  padding: 80px 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(182, 159, 201, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fade-up 0.8s ease-out both;
}
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.feature-emoji {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: block;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pink-deep);
  margin-bottom: 10px;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* ── BLOOM RITUAL COLLECTION ──────────── */
.collection-section {
  padding: 80px 24px;
  background: var(--cream-warm);
}

.collection-header {
  text-align: center;
  margin-bottom: 48px;
}

.collection-label {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--pink-deep);
}

.carousel-wrapper {
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel-wrapper::-webkit-scrollbar { height: 6px; }
.carousel-wrapper::-webkit-scrollbar-track { background: rgba(182,159,201,0.1); border-radius: 3px; }
.carousel-wrapper::-webkit-scrollbar-thumb { background: var(--lavender); border-radius: 3px; }

.product-carousel {
  display: flex;
  gap: 24px;
  padding: 8px 4px;
  min-width: max-content;
  justify-content: center;
}

.product-card {
  flex: 0 0 260px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(182, 159, 201, 0.12);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 20px;
}

.product-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavender);
  margin-bottom: 4px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.product-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pink-mid);
}

/* ── STORY SECTION ─────────────────────── */
.story-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--cream-warm) 0%, rgba(182,159,201,0.12) 50%, var(--cream) 100%);
  text-align: center;
}

.story-quote {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--pink-deep);
  line-height: 1.3;
  max-width: 680px;
  margin: 0 auto 32px;
}

.story-body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.8;
}

.story-body + .story-body { margin-top: 0; }

.divider-flower {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto;
  color: var(--lavender);
  font-size: 1.2rem;
}
.divider-flower::before, .divider-flower::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lavender), transparent);
}

/* ── EMAIL SIGNUP ─────────────────────── */
.signup-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--pink-deep) 0%, #5c1a3d 100%);
  text-align: center;
}

.signup-title {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 8px;
}

.signup-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--pink-soft);
  font-style: italic;
  margin-bottom: 36px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  margin: 0 auto;
}

.signup-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.signup-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.signup-input::placeholder { color: rgba(255,255,255,0.6); }
.signup-input:focus { border-color: rgba(255,255,255,0.7); }

.btn-subscribe {
  padding: 14px 32px;
  background: var(--white);
  color: var(--pink-deep);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.signup-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ── FOOTER ────────────────────────────── */
.footer {
  padding: 60px 24px 40px;
  background: var(--cream);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-link {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--pink-mid); }

.footer-divider {
  width: 1px;
  height: 20px;
  background: var(--lavender);
  opacity: 0.4;
}

.footer-contact {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.footer-contact a {
  color: var(--pink-mid);
  text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; }

.footer-quote {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--lavender);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.4;
}

.footer-sparkle {
  margin-top: 40px;
  font-size: 1.2rem;
  color: var(--pink-soft);
  opacity: 0.6;
}

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .section { padding: 60px 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature-card { padding: 24px 16px; }
  .feature-emoji { font-size: 2.2rem; }
  .signup-row { flex-direction: column; }
  .btn-subscribe { width: 100%; }
  .footer-links { gap: 16px; }
}

@media (max-width: 400px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ── Animations on scroll ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}