/* ============================================
   EMMA HINES - PREMIUM DESIGN SYSTEM
   A $500K Website Experience
   ============================================ */

/* === CUSTOM FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
  /* Premium Color Palette - Sunset Warmth */
  --gold: #D4A574;
  --gold-light: #E8C9A0;
  --gold-dark: #B8956A;
  --coral: #E8998D;
  --coral-light: #F2B8AE;
  --coral-dark: #D4786A;
  --blush: #F5E6E0;
  --cream: #FBF8F5;
  --cream-dark: #F2EDE8;
  --sage: #9CAF88;
  --sage-light: #B8CCA8;
  --sage-dark: #7A8F6A;
  
  /* Neutrals */
  --black: #1A1A1A;
  --charcoal: #2D2D2D;
  --gray-dark: #4A4A4A;
  --gray: #6B6B6B;
  --gray-light: #9A9A9A;
  --gray-lighter: #D4D4D4;
  --white: #FFFFFF;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Premium Spacing Scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 12rem;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  
  /* Effects */
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.12);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

/* Custom Selection */
::selection {
  background: var(--gold-light);
  color: var(--charcoal);
}

/* === CUSTOM CURSOR === */
.cursor {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s var(--ease-out-expo), 
              opacity 0.15s ease,
              background 0.15s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(2);
  background: var(--gold);
  opacity: 0.5;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  .cursor, .cursor-dot { display: none; }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
}

.headline-xl {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.headline-lg {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.headline-md {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.headline-sm {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
}

.subhead {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  letter-spacing: 0.01em;
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.8;
}

.body-md {
  font-size: 1rem;
  line-height: 1.7;
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.italic {
  font-style: italic;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-sm {
  max-width: 800px;
}

.container-lg {
  max-width: 1600px;
}

.container-full {
  max-width: 100%;
  padding: 0;
}

/* === PREMIUM HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all 0.6s var(--ease-out-expo);
}

.header.scrolled {
  background: rgba(251, 248, 245, 0.85);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.7;
}

.logo span {
  color: var(--gold);
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: block;
  }
  
  .nav-desktop ul {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
  }
  
  .nav-desktop a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    padding: var(--space-2xs) 0;
    transition: color 0.3s ease;
  }
  
  .nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out-expo);
  }
  
  .nav-desktop a:hover {
    color: var(--gold-dark);
  }
  
  .nav-desktop a:hover::after {
    width: 100%;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s var(--ease-out-expo);
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile ul {
  list-style: none;
  text-align: center;
}

.nav-mobile li {
  margin: var(--space-md) 0;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s var(--ease-out-expo);
}

.nav-mobile.active li {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile.active li:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile.active li:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile.active li:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile.active li:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile.active li:nth-child(5) { transition-delay: 0.3s; }
.nav-mobile.active li:nth-child(6) { transition-delay: 0.35s; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-mobile a:hover {
  color: var(--gold);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 0.9rem;
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.75rem;
}

/* Button with arrow animation */
.btn .arrow {
  transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* === PREMIUM HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(ellipse at 30% 20%, rgba(232, 153, 141, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(212, 165, 116, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(156, 175, 136, 0.1) 0%, transparent 50%);
  animation: gradientFloat 20s ease-in-out infinite;
}

@keyframes gradientFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--ease-out-expo) 0.3s forwards;
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero-title .highlight {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  max-width: 600px;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s var(--ease-out-expo) 0.9s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 1.2s forwards;
}

.scroll-indicator span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* === SECTIONS === */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .label {
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-lg);
}

.card-content h3 {
  margin-bottom: var(--space-xs);
}

.card-content p {
  color: var(--gray);
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

/* === MARQUEE === */
.marquee-wrapper {
  overflow: hidden;
  padding: var(--space-xl) 0;
  background: var(--charcoal);
}

.marquee {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  gap: var(--space-3xl);
  padding-right: var(--space-3xl);
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.marquee-item span {
  color: var(--gold);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold-light);
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-light);
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-title {
  font-size: 0.875rem;
  color: var(--gray);
}

/* === BLOG/ARTICLES === */
.article-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all 0.5s var(--ease-out-expo);
}

@media (min-width: 768px) {
  .article-card {
    grid-template-columns: 300px 1fr;
    padding: var(--space-md);
  }
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-sm) 0;
}

.article-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.article-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.article-date {
  font-size: 0.75rem;
  color: var(--gray-light);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: var(--space-sm);
  transition: color 0.3s ease;
}

.article-card:hover .article-title {
  color: var(--gold-dark);
}

.article-excerpt {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Article List */
.article-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* === NEWSLETTER === */
.newsletter-section {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 100%);
  color: var(--white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-inner h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.newsletter-inner p {
  color: var(--gray-light);
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: var(--gray);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

/* === FOOTER === */
.footer {
  background: var(--cream-dark);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--gray);
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer-nav h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: var(--space-sm);
}

.footer-nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gold-dark);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-lighter);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: var(--gray-light);
  font-size: 0.875rem;
}

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out-expo);
}

.reveal.active {
  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; }

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* === UTILITIES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* === ENHANCED MOBILE STYLES === */
@media (max-width: 480px) {
  html { font-size: 14px; }
  
  .container { padding: 0 var(--space-md); }
  
  .headline-xl { font-size: 2.5rem; }
  .headline-lg { font-size: 2rem; }
  .headline-md { font-size: 1.5rem; }
  .headline-sm { font-size: 1.25rem; }
  
  .hero { min-height: 90vh; }
  .hero-content { padding-top: var(--space-xl); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  
  .section { padding: var(--space-2xl) 0; }
  .section-lg { padding: var(--space-3xl) 0; }
  
  .btn { padding: var(--space-sm) var(--space-lg); font-size: 0.8rem; }
  .btn-lg { padding: var(--space-md) var(--space-xl); }
  
  .product-grid { gap: var(--space-md); }
  .card-content { padding: var(--space-md); }
  
  .feature-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .feature-item { padding: var(--space-lg); }
  
  .footer-grid { gap: var(--space-xl); }
  .footer-nav { display: none; }
  .footer-nav:first-of-type { display: block; }
  
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { text-align: center; }
  
  .testimonial-slider { grid-template-columns: 1fr; }
  .testimonial-card { padding: var(--space-lg); }
  
  .instagram-feed { grid-template-columns: repeat(3, 1fr); }
  
  .trust-badges { gap: var(--space-md); }
  .trust-badge-icon { width: 40px; height: 40px; font-size: 1rem; }
  .trust-badge span { font-size: 0.65rem; }
  
  .badge-one-of-one { font-size: 0.6rem; padding: var(--space-3xs) var(--space-xs); }
  
  .waitlist-form { padding: var(--space-lg); }
  .waitlist-form form { flex-direction: column; }
  .waitlist-form input { min-width: auto; width: 100%; }
  
  .marquee-item { font-size: 1.5rem; }
  .marquee-content { gap: var(--space-xl); padding-right: var(--space-xl); }
  
  .scroll-indicator { display: none; }
}

@media (max-width: 768px) {
  .split-section { gap: var(--space-xl); }
  .split-image { aspect-ratio: 16/10; order: -1; }
  
  .product-layout { gap: var(--space-xl); }
  .product-sticky { position: relative; top: 0; }
  
  .article-card { grid-template-columns: 1fr; }
  .article-image { aspect-ratio: 16/9; }
  
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  
  .email-popup { margin: var(--space-md); max-width: calc(100% - var(--space-xl)); }
  .email-popup-image { height: 150px; }
  .email-popup-content { padding: var(--space-lg); }
  
  .process-grid { grid-template-columns: 1fr; }
  
  .pricing-row { grid-template-columns: 1fr; gap: var(--space-sm); }
  .pricing-row .price { text-align: left; }
}

/* Touch-friendly tap targets */
@media (pointer: coarse) {
  .btn { min-height: 48px; }
  .nav-mobile a { padding: var(--space-md) 0; }
  .quiz-option { min-height: 60px; }
  .filter-btn { min-height: 44px; padding: var(--space-sm) var(--space-md); }
  
  input, select, textarea {
    font-size: 16px !important; /* Prevents iOS zoom */
  }
}

/* Safe area support for notched phones */
@supports (padding: max(0px)) {
  .header { padding-top: max(var(--space-md), env(safe-area-inset-top)); }
  .footer { padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom)); }
  .nav-mobile { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee { animation: none; }
  .hero-gradient { animation: none; }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  /* Can be enabled later if desired */
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* === SPECIAL ELEMENTS === */

/* Divider with icon */
.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-3xl) 0;
}

.divider-icon::before,
.divider-icon::after {
  content: '';
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: var(--gray-lighter);
}

.divider-icon span {
  color: var(--gold);
  font-size: 1.5rem;
}

/* Feature highlights */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  text-align: center;
  padding: var(--space-xl);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--gold-light);
  border-radius: var(--radius-lg);
}

.feature-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--gray);
}

/* Image with overlay text */
.image-overlay {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  color: var(--white);
}

/* Split section */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.split-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scripture/Quote Block */
.quote-block {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--gold);
  margin: var(--space-xl) 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.quote-block cite {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: normal;
  color: var(--gray);
}

/* === PAGE TRANSITIONS === */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.8s var(--ease-out-expo);
}

.page-transition.active {
  transform: translateY(0);
}

/* === LOADING STATE === */
.loading {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--charcoal);
  animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === ONE OF ONE BADGE === */
.badge-one-of-one {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-2xs) var(--space-sm);
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge-one-of-one::before {
  content: '✦';
  color: var(--gold);
}

.badge-sold {
  background: var(--gray);
  text-decoration: line-through;
  opacity: 0.7;
}

.badge-last-one {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 153, 141, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(232, 153, 141, 0); }
}

/* === EMAIL POPUP === */
.email-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.email-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.email-popup {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s var(--ease-out-expo);
  position: relative;
}

.email-popup-overlay.active .email-popup {
  transform: translateY(0) scale(1);
}

.email-popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gray);
  transition: all 0.3s ease;
  z-index: 1;
}

.email-popup-close:hover {
  background: var(--charcoal);
  color: var(--white);
}

.email-popup-image {
  height: 200px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--coral-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.email-popup-content {
  padding: var(--space-xl);
  text-align: center;
}

.email-popup-content h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.email-popup-content p {
  color: var(--gray);
  margin-bottom: var(--space-lg);
}

.email-popup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.email-popup-form input {
  padding: var(--space-md);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-md);
  font-size: 1rem;
  text-align: center;
}

.email-popup-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.email-popup-disclaimer {
  font-size: 0.75rem;
  color: var(--gray-light);
  margin-top: var(--space-sm);
}

/* === TESTIMONIALS === */
.testimonial-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .testimonial-slider {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .testimonial-slider {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--coral-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.testimonial-info h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* === INSTAGRAM FEED === */
.instagram-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 640px) {
  .instagram-feed {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .instagram-feed {
    grid-template-columns: repeat(6, 1fr);
  }
}

.instagram-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.instagram-item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.instagram-item .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-size: 1.5rem;
  z-index: 1;
  transition: transform 0.3s var(--ease-out-expo);
}

.instagram-item:hover .icon {
  transform: translate(-50%, -50%) scale(1);
}

/* === TRUST BADGES === */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-xl) 0;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.trust-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
}

/* === PRODUCT PAGE ENHANCEMENTS === */
.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .product-gallery {
    grid-template-columns: 100px 1fr;
  }
}

.product-thumbnails {
  display: flex;
  gap: var(--space-sm);
  order: 2;
}

@media (min-width: 768px) {
  .product-thumbnails {
    flex-direction: column;
    order: 1;
  }
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--gold);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-main-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  order: 1;
  cursor: zoom-in;
}

@media (min-width: 768px) {
  .product-main-image {
    order: 2;
  }
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.product-main-image:hover img {
  transform: scale(1.05);
}

.product-details {
  padding: var(--space-xl) 0;
}

.product-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.product-description {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: var(--space-lg);
}

.product-meta-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.product-meta-item .icon {
  width: 24px;
  text-align: center;
  color: var(--gold);
}

.product-meta-item h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.product-meta-item p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out-expo);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === WAITLIST FORM === */
.waitlist-form {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  color: var(--white);
  text-align: center;
}

.waitlist-form h4 {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.waitlist-form p {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.waitlist-form form {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input {
  flex: 1;
  min-width: 200px;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 0.9rem;
}

.waitlist-form input::placeholder {
  color: var(--gray);
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* === PROCESS TIMELINE === */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cream-dark);
}

@media (min-width: 768px) {
  .process-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.process-step {
  position: relative;
  padding-left: 70px;
  padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .process-step {
    padding-left: 0;
    padding-right: 0;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: var(--space-lg);
    align-items: center;
  }
  
  .process-step:nth-child(odd) .process-content {
    grid-column: 1;
    text-align: right;
  }
  
  .process-step:nth-child(odd) .process-number {
    grid-column: 2;
  }
  
  .process-step:nth-child(odd) .process-spacer {
    grid-column: 3;
  }
  
  .process-step:nth-child(even) .process-spacer {
    grid-column: 1;
  }
  
  .process-step:nth-child(even) .process-number {
    grid-column: 2;
  }
  
  .process-step:nth-child(even) .process-content {
    grid-column: 3;
    text-align: left;
  }
}

.process-number {
  position: absolute;
  left: 0;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
}

@media (min-width: 768px) {
  .process-number {
    position: relative;
    left: auto;
    margin: 0 auto;
  }
}

.process-content h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.process-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* === SCARCITY BANNER === */
.scarcity-banner {
  background: var(--black);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  text-align: center;
  font-size: 0.85rem;
}

.scarcity-banner strong {
  color: var(--gold);
}

/* === IMAGE HOVER EFFECTS === */
.image-zoom {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.image-zoom img {
  transition: transform 0.8s var(--ease-out-expo);
}

.image-zoom:hover img {
  transform: scale(1.08);
}

/* Tilt effect on hover */
.card-tilt {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.card-tilt:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}
