/* Landing Page Styles - Shared across all audience segments */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Syne:wght@400;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Default theme - overridden per page */
  --primary: #ff00ff;
  --secondary: #00ffff;
  --bg-dark: #0a0a0f;
  --bg-card: rgba(20, 20, 30, 0.9);
  --text: #ffffff;
  --text-muted: #a0a0b0;
}

/* Sensory/Calm theme */
.theme-sensory {
  --primary: #4a9eff;
  --secondary: #7c3aed;
  --bg-dark: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.95);
}

/* Psychedelic theme */
.theme-psychedelic {
  --primary: #ff00ff;
  --secondary: #00ff88;
  --bg-dark: #0a000a;
  --bg-card: rgba(30, 0, 30, 0.9);
}

/* Kids theme */
.theme-kids {
  --primary: #ff6b6b;
  --secondary: #4ecdc4;
  --bg-dark: #1a1a2e;
  --bg-card: rgba(40, 40, 70, 0.95);
}

/* Meditation theme */
.theme-meditation {
  --primary: #06b6d4;
  --secondary: #8b5cf6;
  --bg-dark: #0c1222;
  --bg-card: rgba(20, 30, 50, 0.95);
}

/* Creators theme */
.theme-creators {
  --primary: #f97316;
  --secondary: #ec4899;
  --bg-dark: #18181b;
  --bg-card: rgba(39, 39, 42, 0.95);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(ellipse at 20% 20%, var(--primary) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, var(--secondary) 0%, transparent 50%),
    var(--bg-dark);
  opacity: 0.15;
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { opacity: 0.1; transform: scale(1); }
  100% { opacity: 0.2; transform: scale(1.1); }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero .subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 0, 255, 0.4);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Preview embed */
.preview-container {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Use Cases / Benefits */
.benefits {
  padding: 6rem 2rem;
  background: rgba(0, 0, 0, 0.3);
}

.benefits-content {
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.benefit-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
  padding: 6rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text);
}

.testimonial-card cite {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.1));
}

.final-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.final-cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 5rem 1.5rem 3rem;
  }
  
  .cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
  }
}

/* Utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

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

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
