/* ============================================
   NEJJI - Memory Companion Marketing Website
   Mobile-first, playful, green-themed design
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
  /* Green Color Palette */
  --green-light: #a3d9a5; /* Eucalyptus - Optional Tint */
  --green-soft: #81c784; /* Mint - Primary Green secondary */
  --green-mid: #4caf50;
  --green-primary: #2e7d32; /* Forest - Primary Green main */
  --green-deep: #1b5e20;
  --green-dark: #121212; /* Accent Black */
  --green-forest: #0d3b0d;

  /* Extended palette for gradients */
  --teal-light: #b2dfdb;
  --teal-mid: #26a69a;
  --lime-light: #dcedc8;
  --lime-mid: #9ccc65;
  --emerald: #10b981;
  --mint: #a3d9a5; /* Eucalyptus */

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f4f1ed; /* Warm Cream - Soft Accent */
  --cream: #f4f1ed; /* Warm Cream - Soft Accent */
  --gray-50: #eceff1; /* Light Gray - Soft Accent */
  --gray-100: #e0e0e0;
  --gray-200: #d0d0d0;
  --gray-300: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #1c1c1c; /* Text Dark */
  --black: #121212; /* Accent Black */
  
  /* Typography */
  --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Metal', serif;
  --font-weight-normal: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 800;
  
  /* 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;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-green: 0 4px 20px rgba(67, 160, 71, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Layout */
  --container-max: 1200px;
  --navbar-height: 72px;
  --navbar-height-scrolled: 60px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 2px;
}

/* ============================================
   BRAND ICON STYLES
   ============================================ */
.inline-icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  margin-right: 0.3em;
  object-fit: contain;
}

.hero-benefit-icon-img {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  object-fit: contain;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.step-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.use-case-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.room-icon-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.3;
}

h4 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
}

p {
  color: var(--gray-900); /* Text Dark */
}

.text-small {
  font-size: 0.875rem;
}

.text-large {
  font-size: 1.125rem;
}


/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-lg);
  color: var(--green-deep);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-primary));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-top: var(--space-lg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(67, 160, 71, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-deep);
  border: 2px solid var(--green-mid);
}

.btn-secondary:hover {
  background: var(--green-light);
  border-color: var(--green-primary);
}

.btn-ghost {
  color: var(--green-deep);
  padding: var(--space-sm) var(--space-md);
}

.btn-ghost:hover {
  background: var(--green-light);
}

.btn-small {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.875rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
  height: var(--navbar-height);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(200, 200, 200, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-logo {
  height: 36px;
  width: auto;
}

.navbar-wordmark {
  font-size: 1.5rem;
  font-weight: var(--font-weight-extra-bold);
  color: var(--green-deep);
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(28, 28, 28, 0.2);
  margin: 0 var(--space-md);
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--green-deep);
  background: var(--green-light);
}

.navbar-cta {
  display: block;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: var(--space-xl);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-link {
  display: block;
  padding: var(--space-md);
  font-size: 1.125rem;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: var(--space-lg);
}

/* ============================================
   PAGE HERO SECTION
   ============================================ */
.page-hero {
  padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-4xl);
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-light) 100%);
  text-align: center;
}

.page-hero-content h1 {
  margin-bottom: var(--space-lg);
}

.page-hero-content p {
  font-size: 1.125rem;
  color: var(--gray-900);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   VIDEO HERO SECTION
   ============================================ */
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(18, 18, 18, 0.7) 0%,
    rgba(18, 18, 18, 0.5) 50%,
    rgba(46, 125, 50, 0.3) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-content .container {
  max-width: 700px;
  text-align: left;
}

.hero-content .hero-tagline {
  color: var(--white);
  opacity: 0.9;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hero-content .hero-subheading {
  color: var(--white);
  opacity: 0.8;
}

.hero-content .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero-content .hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.hero-content .hero-secondary-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.hero-content .hero-secondary-link:hover {
  color: var(--white);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .video-hero {
    height: 90vh;
    min-height: 500px;
  }

  .hero-content .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content .hero-ctas {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
}

/* Decorative organic shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: 
    radial-gradient(circle at 30% 30%, var(--green-soft) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, var(--mint) 0%, transparent 40%);
  opacity: 0.6;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morphBlob 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: 
    radial-gradient(circle at 60% 40%, var(--lime-light) 0%, transparent 50%),
    radial-gradient(circle at 30% 60%, var(--teal-light) 0%, transparent 40%);
  opacity: 0.5;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphBlob 25s ease-in-out infinite reverse;
}

@keyframes morphBlob {
  0%, 100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 50% 60% 30% 60% / 70% 40% 50% 50%;
    transform: rotate(10deg) scale(1.05);
  }
  75% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

.hero-inner {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.hero-content {
  text-align: left;
}

.hero-tagline {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-deep);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 400;
  font-style: normal;
  color: var(--black);
  opacity: 0.7;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-subheading em {
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

@media (min-width: 968px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-benefits {
  margin-bottom: var(--space-xl);
}

.hero-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  text-align: left;
}

@media (min-width: 968px) {
  .hero-benefit {
    justify-content: flex-start;
  }
}

.hero-benefit-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-benefit-text {
  color: var(--gray-800);
  font-weight: var(--font-weight-medium);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
  margin-left: var(--space-2xl);
}

@media (min-width: 968px) {
  .hero-ctas {
    flex-direction: row;
    align-items: flex-start;
    margin-left: var(--space-3xl);
  }
}

.hero-secondary-link {
  color: var(--green-deep);
  font-weight: var(--font-weight-medium);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-fast);
}

.hero-secondary-link:hover {
  gap: var(--space-sm);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: var(--white);
  border-radius: 40px;
  box-shadow: var(--shadow-xl);
  border: 8px solid var(--gray-900);
  overflow: hidden;
}

@media (min-width: 480px) {
  .phone-mockup {
    width: 320px;
    height: 640px;
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--off-white);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.phone-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.phone-header-logo {
  font-size: 1.25rem;
  font-weight: var(--font-weight-extra-bold);
  color: var(--green-deep);
}

.phone-header-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Audio waveform */
.waveform-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  height: 40px;
  margin-bottom: var(--space-md);
}

.waveform-bar {
  width: 4px;
  background: var(--green-mid);
  border-radius: 2px;
  animation: waveform 1.2s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.waveform-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { height: 35px; animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { height: 20px; animation-delay: 0.6s; }

@keyframes waveform {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* Microphone button */
.mic-button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  box-shadow: var(--shadow-green);
  position: relative;
  animation: pulse-ring 2s ease-out infinite;
}

.mic-button::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--green-mid);
  opacity: 0.5;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

.mic-icon {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

.mic-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: var(--space-lg);
}

/* Sample cards in phone */
.sample-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  overflow: hidden;
}

.sample-card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--green-mid);
}

.sample-card-title {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.sample-card-tags {
  display: flex;
  gap: var(--space-xs);
}

.sample-card-tag {
  font-size: 0.625rem;
  background: var(--green-light);
  color: var(--green-deep);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Orbiting dots around phone */
.orbit-container {
  position: absolute;
  inset: -40px;
  pointer-events: none;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--green-mid);
  border-radius: 50%;
  animation: orbit 8s linear infinite;
}

.orbit-dot:nth-child(1) {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}

.orbit-dot:nth-child(2) {
  top: 30%;
  right: -5%;
  animation-delay: -2s;
}

.orbit-dot:nth-child(3) {
  bottom: 20%;
  left: -5%;
  animation-delay: -4s;
}

.orbit-dot:nth-child(4) {
  bottom: 10%;
  right: 10%;
  animation-delay: -6s;
}

@keyframes orbit {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-10px) scale(1.2); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.6; }
}

/* ============================================
   WHY NEJJI / BENEFITS SECTION
   ============================================ */
.how-were-different {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 100% at 0% 100%, rgba(163, 217, 165, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(244, 241, 237, 0.7) 0%, transparent 40%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.how-were-different::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green-light) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
}

.benefits::after {
  content: '🌳';
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 4rem;
  opacity: 0.15;
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.benefit-card {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-normal);
  border: 2px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-primary));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-soft);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-soft) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
  padding: var(--space-md);
}

.benefit-card h3 {
  margin-bottom: var(--space-md);
  color: var(--green-deep);
  font-size: 1.25rem;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  position: relative;
  overflow: hidden;
  background:
    /* Wavy mesh gradient with new colors */
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(46, 125, 50, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 50%, rgba(163, 217, 165, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 100% 30%, rgba(129, 199, 132, 0.3) 0%, transparent 50%),
    linear-gradient(160deg, var(--green-soft) 0%, var(--cream) 40%, var(--off-white) 80%, var(--green-primary) 100%);
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: 
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.6) 0%, transparent 50%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: 
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.5) 0%, transparent 50%);
  border-radius: 50%;
  animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

.timeline {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 20%;
    right: 20%;
    height: 4px;
    background: linear-gradient(90deg, var(--green-mid), var(--green-primary), var(--green-mid));
    z-index: 0;
    border-radius: 2px;
  }
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

@media (min-width: 768px) {
  .timeline-step {
    flex: 1;
    max-width: 340px;
    margin-bottom: 0;
  }
}

.timeline-step:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-mid);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-deep) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--font-weight-extra-bold);
  margin: 0 auto var(--space-lg);
  box-shadow: 0 4px 16px rgba(67, 160, 71, 0.4);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--green-mid);
  opacity: 0.5;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.timeline-step h3 {
  margin-bottom: var(--space-md);
  color: var(--green-deep);
  font-size: 1.25rem;
}

.timeline-step p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ============================================
   USE CASES SECTION
   ============================================ */
.use-cases {
  position: relative;
  overflow: hidden;
  background:
    /* Subtle pattern overlay with new colors */
    radial-gradient(circle at 20% 80%, rgba(163, 217, 165, 0.4) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(244, 241, 237, 0.5) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(129, 199, 132, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--cream) 0%, var(--off-white) 50%, var(--white) 100%);
}

.use-cases::before {
  content: '🌲';
  position: absolute;
  top: 50px;
  left: 30px;
  font-size: 5rem;
  opacity: 0.08;
  pointer-events: none;
  transform: rotate(-15deg);
}

.use-cases-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.use-case-card {
  background: transparent;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.use-case-card:hover {
  transform: translateY(-4px);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-soft) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  box-shadow: 0 2px 8px rgba(102, 187, 106, 0.2);
  padding: var(--space-sm);
}

.use-case-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--green-deep);
}

.use-case-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ============================================
   MEMORY AGENT SECTION
   ============================================ */
.memory-agent {
  color: var(--white);
  position: relative;
  overflow: hidden;
  background:
    /* Deep forest gradient with new color scheme */
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(163, 217, 165, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(129, 199, 132, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(46, 125, 50, 0.2) 0%, transparent 40%),
    linear-gradient(160deg, var(--green-primary) 0%, var(--green-deep) 30%, var(--black) 70%, #0a4a0a 100%);
}

.memory-agent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.memory-agent::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 187, 106, 0.2) 0%, transparent 60%);
  border-radius: 50%;
}

.memory-agent::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.memory-agent-inner {
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 968px) {
  .memory-agent-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.memory-agent-content h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.memory-agent-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  font-size: 1.125rem;
  line-height: 1.8;
}

.agent-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.agent-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.agent-feature:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.agent-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.agent-feature-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

/* Memory Graph Visual */
.memory-graph {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 350px;
}

@media (min-width: 768px) {
  .memory-graph {
    min-height: 400px;
  }
}

.graph-node {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--white);
  transition: all var(--transition-normal);
  cursor: default;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.graph-node:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.graph-node.center {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-primary) 100%);
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  padding: var(--space-md) var(--space-xl);
  box-shadow: 0 8px 32px rgba(67, 160, 71, 0.4);
}

.graph-node.center:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Node positions - more spread out */
.node-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.node-1 { top: 10%; left: 20%; }
.node-2 { top: 5%; right: 20%; }
.node-3 { top: 45%; right: 5%; }
.node-4 { bottom: 15%; right: 15%; }
.node-5 { bottom: 10%; left: 20%; }
.node-6 { top: 50%; left: 2%; }

@media (max-width: 767px) {
  .node-1 { top: 5%; left: 10%; }
  .node-2 { top: 5%; right: 10%; }
  .node-3 { top: 40%; right: 2%; }
  .node-4 { bottom: 10%; right: 10%; }
  .node-5 { bottom: 5%; left: 15%; }
  .node-6 { top: 45%; left: 0%; }
}

/* Connection lines */
.graph-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.graph-lines svg {
  width: 100%;
  height: 100%;
}

.graph-lines line {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 2;
  stroke-dasharray: 4 4;
}

/* ============================================
   WAITLIST SECTION
   ============================================ */
.waitlist {
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
  background:
    /* Aurora-like gradient with new colors */
    radial-gradient(ellipse 100% 100% at 0% 0%, rgba(163, 217, 165, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 80% 80% at 100% 100%, rgba(244, 241, 237, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(129, 199, 132, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--white) 0%, var(--cream) 30%, var(--green-soft) 70%, var(--green-light) 100%);
}

.waitlist::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 60%);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.waitlist::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green-soft) 0%, transparent 60%);
  opacity: 0.4;
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.waitlist h2 {
  margin-bottom: var(--space-md);
  color: var(--green-deep);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.waitlist-subtitle {
  font-size: 1.125rem;
  margin-bottom: var(--space-2xl);
  color: var(--gray-700);
  line-height: 1.7;
}

.waitlist-form {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--green-soft);
}

@media (min-width: 768px) {
  .waitlist-form {
    padding: var(--space-3xl);
  }
}

.form-group {
  margin-bottom: var(--space-xl);
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--off-white);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--gray-300);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(102, 187, 106, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group .optional {
  font-weight: var(--font-weight-normal);
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.waitlist-form .btn {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.125rem;
  margin-top: var(--space-md);
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.active {
  display: block;
}

.form-success-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.form-success h3 {
  margin-bottom: var(--space-md);
  color: var(--green-deep);
  font-size: 1.5rem;
}

.form-success p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: var(--space-md) var(--space-lg);
  z-index: 900;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .mobile-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
  }
}

.mobile-sticky-cta p {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  color: var(--gray-800);
}

.mobile-sticky-cta .btn {
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--gray-300);
  margin-bottom: var(--space-md);
}

.footer-coming-soon {
  display: inline-block;
  background: var(--green-deep);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  color: var(--gray-300);
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--green-mid);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  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-500);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--green-mid);
}

/* ============================================
   MEMORY PALACE PAGE STYLES
   ============================================ */

/* Base room styles */
.palace-room {
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.palace-room .container {
  position: relative;
  z-index: 2;
}

.room-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.room-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--space-md);
}

.room-label {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.room-content {
  max-width: 800px;
}

.room-content p {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.room-content p:last-child {
  margin-bottom: 0;
}

.room-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.room-hint {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-top: var(--space-xl);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ROOM 0: Grand Entrance */
.room-entrance {
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
  min-height: 90vh;
  text-align: center;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(46, 125, 50, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(163, 217, 165, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 80% 60%, rgba(244, 241, 237, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--green-soft) 50%, var(--green-light) 100%);
}

.room-entrance h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 50%, var(--teal-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.palace-intro {
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-700);
}

.entrance-arch {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border: 3px solid rgba(102, 187, 106, 0.2);
  border-bottom: none;
  border-radius: 300px 300px 0 0;
}

.entrance-columns::before,
.entrance-columns::after {
  content: '🏛️';
  position: absolute;
  font-size: 4rem;
  opacity: 0.1;
  bottom: 20%;
}

.entrance-columns::before { left: 10%; }
.entrance-columns::after { right: 10%; }

/* ROOM 1: The Library */
.room-library {
  background: 
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(141, 110, 99, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 20%, rgba(188, 170, 164, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, #faf8f5 0%, #f5f0eb 30%, #ebe5de 60%, var(--cream) 100%);
  color: var(--gray-900);
}

.room-library h2 {
  color: #5d4037;
}

.library-shelves {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 120px,
      rgba(121, 85, 72, 0.08) 120px,
      rgba(121, 85, 72, 0.08) 124px
    );
}

.floating-books::before {
  content: '📖';
  position: absolute;
  font-size: 3rem;
  top: 15%;
  right: 10%;
  opacity: 0.15;
  animation: floatBook 6s ease-in-out infinite;
}

.floating-books::after {
  content: '📚';
  position: absolute;
  font-size: 4rem;
  bottom: 20%;
  left: 5%;
  opacity: 0.12;
  animation: floatBook 8s ease-in-out infinite reverse;
}

@keyframes floatBook {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ROOM 2: The Garden */
.room-garden {
  background: 
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(129, 199, 132, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 0% 50%, rgba(165, 214, 167, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 100% 30%, rgba(200, 230, 201, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--green-light) 30%, #d4edda 70%, var(--mint) 100%);
}

.room-garden h2 {
  color: var(--green-deep);
}

.garden-vines {
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: 
    repeating-linear-gradient(
      180deg,
      transparent,
      transparent 40px,
      rgba(76, 175, 80, 0.1) 40px,
      rgba(76, 175, 80, 0.05) 80px
    );
  transform: skewX(-5deg);
}

.garden-flowers::before {
  content: '🌸';
  position: absolute;
  font-size: 2rem;
  top: 20%;
  right: 15%;
  opacity: 0.3;
  animation: sway 4s ease-in-out infinite;
}

.garden-flowers::after {
  content: '🌺';
  position: absolute;
  font-size: 2.5rem;
  bottom: 25%;
  left: 8%;
  opacity: 0.25;
  animation: sway 5s ease-in-out infinite reverse;
}

@keyframes sway {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

/* ROOM 3: The Music Room */
.room-music {
  background: 
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(179, 157, 219, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(149, 117, 205, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 100% 20%, rgba(186, 104, 200, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #faf5ff 0%, #f3e8ff 30%, #ede4f5 60%, #e8e0f0 100%);
}

.room-music h2 {
  color: #6a1b9a;
}

.music-waves {
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='rgba(149,117,205,0.1)' d='M0,60 Q300,0 600,60 T1200,60 V120 H0 Z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  animation: wave 8s linear infinite;
}

@keyframes wave {
  0% { background-position-x: 0; }
  100% { background-position-x: 1200px; }
}

.music-notes::before {
  content: '🎵';
  position: absolute;
  font-size: 2.5rem;
  top: 15%;
  left: 10%;
  opacity: 0.2;
  animation: musicFloat 5s ease-in-out infinite;
}

.music-notes::after {
  content: '🎶';
  position: absolute;
  font-size: 3rem;
  top: 30%;
  right: 12%;
  opacity: 0.15;
  animation: musicFloat 7s ease-in-out infinite reverse;
}

@keyframes musicFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(5deg); }
  75% { transform: translateY(10px) rotate(-5deg); }
}

/* ROOM 4: The Observatory */
.room-observatory {
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 15%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
    linear-gradient(180deg, #1a237e 0%, #0d1b4a 30%, #0a1628 70%, #050a15 100%);
  color: var(--white);
}

.room-observatory h2 {
  color: #90caf9;
}

.room-observatory .room-content p {
  color: var(--white);
}

.room-observatory .room-label {
  color: var(--white);
}

.stars {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, white, transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 160px 120px, white, transparent),
    radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 250px 90px, white, transparent),
    radial-gradient(2px 2px at 300px 60px, rgba(255,255,255,0.5), transparent);
  background-size: 350px 150px;
  animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.telescope::before {
  content: '🔭';
  position: absolute;
  font-size: 4rem;
  bottom: 15%;
  right: 10%;
  opacity: 0.3;
}

/* ROOM 5: The Greenhouse */
.room-greenhouse {
  background: 
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(129, 199, 132, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(165, 214, 167, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 100% 30%, rgba(178, 223, 219, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, #e8f5e9 0%, #c8e6c9 30%, #a5d6a7 60%, #81c784 100%);
}

.room-greenhouse h2 {
  color: var(--green-dark);
}

.greenhouse-glass {
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: 
    linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

.growing-plants::before {
  content: '🌱';
  position: absolute;
  font-size: 3rem;
  bottom: 10%;
  left: 15%;
  opacity: 0.3;
  animation: grow 4s ease-in-out infinite;
}

.growing-plants::after {
  content: '🪴';
  position: absolute;
  font-size: 4rem;
  bottom: 15%;
  right: 10%;
  opacity: 0.25;
  animation: grow 5s ease-in-out infinite reverse;
}

@keyframes grow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ROOM 6: Exit Hall / CTA */
.room-exit {
  text-align: center;
  background: 
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(255, 152, 0, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--green-light) 0%, #fff8e1 30%, #ffecb3 60%, #ffe082 100%);
}

.room-exit h2 {
  color: #e65100;
  margin-bottom: var(--space-lg);
}

.room-exit p {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 1.25rem;
}

.exit-doorway::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 300px;
  border: 4px solid rgba(230, 81, 0, 0.15);
  border-radius: 100px 100px 0 0;
}

.palace-cta {
  text-align: center;
}

.palace-cta h2 {
  margin-bottom: var(--space-md);
}

.palace-cta p {
  margin: 0 auto var(--space-xl);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
/* All content visible by default - animations are progressive enhancement */
.fade-in,
.fade-in-stagger,
.fade-in-stagger > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Screen reader only */
.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;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-green { color: var(--green-deep); }
.bg-green-light { background: var(--green-light); }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }

