/* ============================================
   LUMISELF — Global Design System
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette — derived from hero_background.png */
  --color-cream:        #FFF8F0;
  --color-blush:        #F5E1D0;
  --color-rose:         #E8A0BF;
  --color-magenta:      #C44D8E;
  --color-plum:         #7B2D5F;
  --color-lavender:     #C9B1DB;
  --color-lilac:        #E4D5F0;
  --color-gold:         #D4A843;
  --color-gold-light:   #F0D98A;
  --color-peach:        #F2C1A0;
  --color-sage:         #A8B89C;
  --color-sky:          #C5D8E8;
  --color-white:        #FFFFFF;
  --color-off-white:    #FEFCF9;
  --color-text:         #3A2434;
  --color-text-muted:   #7A6570;
  --color-text-light:   #A89BA0;
  --color-border:       rgba(200, 170, 190, 0.25);

  /* Gradients */
  --gradient-hero:      linear-gradient(135deg, rgba(196,77,142,0.08) 0%, rgba(201,177,219,0.12) 50%, rgba(212,168,67,0.08) 100%);
  --gradient-glow:      radial-gradient(ellipse at 50% 0%, rgba(228,213,240,0.5) 0%, transparent 70%);
  --gradient-rose:      linear-gradient(135deg, #E8A0BF 0%, #C9B1DB 100%);
  --gradient-gold:      linear-gradient(135deg, #D4A843 0%, #F0D98A 100%);
  --gradient-sunset:    linear-gradient(135deg, #F2C1A0 0%, #E8A0BF 50%, #C9B1DB 100%);

  /* Typography */
  --font-sans:   'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:  'Libre Baskerville', Georgia, serif;

  --fs-xs:    0.75rem;    /* 12px */
  --fs-sm:    0.875rem;   /* 14px */
  --fs-base:  1rem;       /* 16px */
  --fs-md:    1.125rem;   /* 18px */
  --fs-lg:    1.25rem;    /* 20px */
  --fs-xl:    1.5rem;     /* 24px */
  --fs-2xl:   2rem;       /* 32px */
  --fs-3xl:   2.5rem;     /* 40px */
  --fs-4xl:   3.25rem;    /* 52px */
  --fs-5xl:   4rem;       /* 64px */
  --fs-hero:  clamp(2.5rem, 5vw + 1rem, 5rem);

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semi:     600;
  --fw-bold:     700;

  --lh-tight:    1.15;
  --lh-snug:     1.3;
  --lh-normal:   1.6;
  --lh-relaxed:  1.8;

  --ls-tight:   -0.02em;
  --ls-normal:   0;
  --ls-wide:     0.08em;
  --ls-wider:    0.15em;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;
  --space-section: clamp(4rem, 8vw, 8rem);

  /* Layout */
  --max-width:       1280px;
  --max-width-narrow: 900px;
  --nav-height:      80px;

  /* Borders / Radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(58, 36, 52, 0.06);
  --shadow-md:    0 4px 20px rgba(58, 36, 52, 0.08);
  --shadow-lg:    0 8px 40px rgba(58, 36, 52, 0.10);
  --shadow-glow:  0 0 40px rgba(232, 160, 191, 0.20);

  /* Transitions */
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:   0.2s var(--ease-smooth);
  --transition-base:   0.35s var(--ease-smooth);
  --transition-slow:   0.6s var(--ease-out);
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}


/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-gradient {
  background: var(--gradient-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  color: var(--color-text);
}

.section-label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-magenta);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.8rem, 3vw + 0.5rem, 3rem);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  max-width: 600px;
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

.btn--primary {
  background: var(--gradient-rose);
  color: var(--color-white);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn--primary::before {
  background: linear-gradient(135deg, #d688aa 0%, #b89ec6 100%);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(232, 160, 191, 0.30);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  border-color: var(--color-rose);
  color: var(--color-magenta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  padding: 10px 20px;
}

.btn--ghost:hover {
  color: var(--color-magenta);
}

.btn--nav-cta {
  background: var(--gradient-rose);
  color: var(--color-white);
  padding: 12px 28px;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-sm);
}

.btn--nav-cta::before {
  background: linear-gradient(135deg, #d688aa 0%, #b89ec6 100%);
}

.btn--nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}


/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.nav--transparent {
  background: transparent;
}

.nav--scrolled {
  background: var(--color-white);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  letter-spacing: var(--ls-tight);
  transition: color var(--transition-fast);
  z-index: 1001;
}

.nav--transparent .nav__logo {
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text);
  transition: color var(--transition-fast);
  position: relative;
}

.nav--transparent .nav__link {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-magenta);
  transition: width var(--transition-base);
}

.nav--transparent .nav__link::after {
  background: var(--color-white);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-magenta);
}

.nav--transparent .nav__link:hover {
  color: var(--color-white);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav--transparent .nav__toggle span {
  background: var(--color-white);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 248, 240, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  transform: translateY(-20px);
  transition: all var(--transition-slow);
}

.nav__mobile-overlay.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile-overlay .nav__link {
  color: var(--color-text);
  font-size: var(--fs-lg);
  text-shadow: none;
}

.nav__mobile-overlay .nav__link::after {
  background: var(--color-magenta);
}


/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(135deg, var(--color-blush) 0%, var(--color-lilac) 100%);
  color: var(--color-text);
  border-top: none;
  padding: var(--space-4xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.footer .nav__logo {
  color: var(--color-text);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  max-width: 280px;
  margin-top: var(--space-md);
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.footer__link {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-magenta);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  position: relative;
  z-index: 1;
}

.footer__bottom a {
  transition: color var(--transition-fast);
}

.footer__bottom a:hover {
  color: var(--color-magenta);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-magenta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}


/* ---------- Decorative Flourishes ---------- */
.flourish {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

.flourish--circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid var(--color-rose);
}

.flourish--dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-rose);
  opacity: 0.3;
}

.flourish--line {
  width: 80px;
  height: 1px;
  background: var(--gradient-rose);
  opacity: 0.2;
}


/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }


/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --nav-height: 70px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}
