/* ═══════════════════════════════════════════════════
   LILIA — Landing Page (Redesigned)
   ═══════════════════════════════════════════════════ */

:root {
  --crimson: #9C142B;
  --crimson-pressed: #7A1022;
  --crimson-soft: #F2D5DA;
  --blush: #FDF2EE;
  --cream: #FFF9F6;
  --warm: #F5E1DA;
  --rose: #EECFC6;
  --ink: #1E1B2E;
  --ink-secondary: #4A4458;
  --ink-muted: #8A8494;
  --ink-faint: #C4C0CC;
  --shadow-soft: 0 2px 8px rgba(30,27,46,0.06);
  --shadow-medium: 0 4px 16px rgba(30,27,46,0.08);
  --shadow-elevated: 0 8px 32px rgba(30,27,46,0.12);
  --container: 1080px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--blush);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ── NAV ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.nav--scrolled {
  background: rgba(253,242,238,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(196,192,204,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-icon { border-radius: 8px; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  color: var(--crimson);
}
.nav-cta {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--crimson);
  padding: 10px 24px;
  border: 1.5px solid var(--crimson);
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--crimson); color: white; }


/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(165deg, #FDF2EE 0%, #F5E1DA 35%, #EECFC6 70%, #F2D5DA 100%);
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 32px 80px;
  width: 100%;
}
.hero-text {
  flex: 1 1 55%;
  min-width: 0;
}
.hero-eyebrow {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--crimson);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 520px;
}
.hero-sub {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-cta {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.hero-cta img { display: block; }

.hero-visual {
  flex: 0 0 auto;
}
.hero-screenshot {
  width: 270px;
  border-radius: 32px;
  box-shadow: var(--shadow-elevated), 0 16px 48px rgba(156,20,43,0.12);
}


/* ── ABOUT SECTION (with illustration) ────────────── */
.about-section {
  padding: 64px 0;
  background: var(--cream);
}
.about-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.about-illustration {
  width: 220px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 24px rgba(156,20,43,0.08));
}
.about-content { max-width: 460px; }
.about-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 16px;
}
.about-text {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}
.about-text:last-child { margin-bottom: 0; }


/* ── IMMERSIVE — Feel the app ─────────────────────── */
.immersive {
  position: relative;
  min-height: 50vh;
  background: linear-gradient(165deg, #B8405E 0%, #9C142B 40%, #6B1022 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 32px;
  overflow: hidden;
}
.immersive::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.immersive::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(156,20,43,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.immersive-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
}
.immersive-label {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.immersive-affirmation {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: opacity 0.6s ease, transform 0.6s ease;
  min-height: 3.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.immersive-affirmation.fading {
  opacity: 0;
  transform: translateY(12px);
}
.immersive-sub {
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 420px;
  margin: 32px auto 0;
  text-align: center;
}


/* ── FEATURES — Alternating rows ──────────────────── */
.features {
  padding: 120px 0 80px;
  background: white;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: var(--container);
  margin: 0 auto 80px;
  padding: 0 24px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse { flex-direction: row-reverse; }

.feature-text {
  flex: 1;
  min-width: 0;
}
.feature-title {
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature-desc {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-secondary);
}

.feature-img {
  flex: 0 0 auto;
}
.feature-screenshot {
  width: 220px;
  border-radius: 28px;
  box-shadow: var(--shadow-elevated);
}


/* ── SOCIAL PROOF — Intimate pull quotes ──────────── */
.voices {
  padding: 96px 24px;
  background: var(--blush);
}
.voices-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.voices-eyebrow {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--crimson);
  margin-bottom: 12px;
}
.voices-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 56px;
}

.voice {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-faint);
}
.voice:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.voice-quote {
  margin: 0;
}
.voice-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.voice-author {
  font-family: 'Lora', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 16px;
}


/* ── FINAL CTA ────────────────────────────────────── */
.final-cta {
  padding: 96px 24px;
  background: linear-gradient(165deg, #B8405E 0%, #9C142B 40%, #6B1022 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-icon {
  margin: 0 auto 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: white;
  margin-bottom: 16px;
}
.cta-sub {
  font-family: 'Lora', serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 400px;
  margin: 0 auto 28px;
}


/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 40px 0;
}
.footer-simple { text-align: center; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  color: white;
  display: block;
  margin-bottom: 16px;
}
.footer-links-inline {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-links-inline a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}
.footer-links-inline a:hover { color: white; }
.footer-copy {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}


/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }


/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px 48px;
    gap: 32px;
  }
  .hero-text { flex: none; }
  .hero-headline { max-width: none; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .hero-lily { width: 120px; top: -20px; left: -40px; }
  .hero-screenshot { width: 200px; border-radius: 28px; }

  .about-layout { flex-direction: column; text-align: center; gap: 28px; }
  .about-illustration { width: 180px; }
  .about-content { max-width: 100%; }

  .immersive {
    min-height: 60vh;
    padding: 64px 24px;
  }

  .feature-row,
  .feature-row--reverse {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    margin-bottom: 64px;
  }
  .feature-row--reverse { flex-direction: column; }
  .feature-screenshot { width: 180px; margin: 0 auto; }
  .feature-title { font-size: 24px; }

  .voices { padding: 64px 20px; }
  .voices-headline { margin-bottom: 40px; }
  .voice { margin-bottom: 36px; padding-bottom: 36px; }

  .final-cta { padding: 72px 20px; }

  .nav-inner { padding: 16px 16px; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-screenshot { width: 180px; }
  .hero-lily { width: 100px; top: -16px; left: -32px; }
  .feature-screenshot { width: 160px; border-radius: 24px; }
  .immersive { min-height: 50vh; padding: 56px 20px; }
}
