/* ========================================
   PEACECHAT - MODERN UI STYLES
   Grid Background, Gradient Text, Responsive Design
   ======================================== */

/* ===== NEON COLOR PALETTE ===== */
:root {
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff00ff;
  --neon-purple: #b24bf3;
  --neon-blue: #4d4dff;
  --neon-pink: #ff006e;
  --neon-green: #00ff88;
  --neon-orange: #ff9500;
  --neon-yellow: #ffea00;
  --grid-glow: rgba(0, 240, 255, 0.15);
  
  /* Feature card colors */
  --glow-listeners: rgba(0, 240, 255, 0.3);
  --glow-psychologists: rgba(255, 0, 255, 0.3);
  --glow-communities: rgba(0, 255, 136, 0.3);
  
  /* Room card colors */
  --glow-vibes: rgba(255, 234, 0, 0.3);
  --glow-detox: rgba(0, 240, 255, 0.3);
  --glow-silent: rgba(178, 75, 243, 0.3);
  --glow-yoga: rgba(0, 255, 136, 0.3);
  --glow-music: rgba(255, 0, 110, 0.3);
  --glow-movies: rgba(255, 149, 0, 0.3);
}

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

html, body { 
  height: 100%; 
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  scroll-behavior: smooth;
}

/* ===== PAGE LAYOUT WITH GRID BACKGROUND ===== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Subtle grid using repeating-linear-gradients */
  background:
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px; /* Grid cell size */
  background-color: #fbfbfd;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== HEADER / NAVIGATION ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.brand {
  display: flex; 
  align-items: center; 
  gap: 12px;
  text-decoration: none; 
  color: inherit;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.logo {
  width: 44px; 
  height: 44px; 
  border-radius: 12px;
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: rotate(-5deg) scale(1.05);
}

.brand-name {
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
}

nav a {
  text-decoration: none; 
  color: #374151; 
  font-weight: 600; 
  font-size: 15px;
  padding: 10px 16px; 
  border-radius: 10px;
  transition: all 0.2s ease;
}

nav a:hover { 
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
}

.controls { 
  display: flex; 
  gap: 12px; 
  align-items: center; 
}

/* ===== BUTTONS ===== */
.btn {
  border: 0;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
}

.btn:active { 
  transform: translateY(1px); 
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
  padding: 14px 32px;
  font-size: 16px;
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}

/* Neon glow for buttons in dark mode */
.dark .btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  box-shadow: 0 8px 24px rgba(77, 77, 255, 0.4), 0 0 30px rgba(178, 75, 243, 0.2);
}

.dark .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(77, 77, 255, 0.5), 0 0 40px rgba(178, 75, 243, 0.3);
  transform: translateY(-2px);
}

.btn-primary-small {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-primary-small:hover {
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #374151;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.2);
  color: #6366f1;
}

/* ===== HERO SECTION ===== */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  padding: 0 32px;
  margin: 0 auto;
}

/* Big headline - responsive */
.headline {
  font-weight: 900;
  line-height: 0.95;
  margin: 0 0 24px;
  letter-spacing: -2px;
  /* Responsive sizing using clamp */
  font-size: clamp(42px, 8vw, 108px);
}

.headline .line { 
  display: block; 
}

/* Special gradient word */
.grad-word {
  display: inline-block;
  background-image: linear-gradient(90deg, #6366f1, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 8px;
  animation: gradientShift 8s ease infinite;
}

/* Neon glow for gradient text in dark mode */
.dark .grad-word {
  background-image: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-purple));
  filter: drop-shadow(0 0 20px var(--grid-glow)) drop-shadow(0 0 40px rgba(255, 0, 255, 0.3));
  animation: gradientShift 8s ease infinite, neonPulse 4s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% {
    filter: drop-shadow(0 0 20px var(--grid-glow)) drop-shadow(0 0 40px rgba(255, 0, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 30px var(--grid-glow)) drop-shadow(0 0 60px rgba(255, 0, 255, 0.5));
  }
}

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

/* Supporting paragraph */
.sub {
  margin: 0 auto 32px;
  color: #6b7280;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  max-width: 720px;
}

/* CTA Buttons */
.cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 24px;
}

.small-note { 
  margin-top: 20px; 
  color: #9ca3af; 
  font-size: 14px;
  font-weight: 500;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 100px 24px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: clamp(16px, 1.6vw, 20px);
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  color: inherit;
  display: block;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 24px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.feature-card p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-link {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  display: inline-block;
}

.feature-link:hover {
  color: #8b5cf6;
  transform: translateX(4px);
}

/* ===== ROOMS SECTION ===== */
.rooms-section {
  padding: 100px 24px;
  background: 
    linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-color: #fafafa;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 100px 24px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border: 2px solid rgba(99, 102, 241, 0.15);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 56px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

.pricing-icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.pricing-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111827;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 20px;
  gap: 4px;
}

.currency {
  font-size: 32px;
  font-weight: 700;
  color: #6366f1;
}

.amount {
  font-size: 72px;
  font-weight: 900;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.duration {
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
}

.pricing-description {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 48px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}

.pricing-features li {
  color: #374151;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card .btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
}

/* Dark mode pricing */
.dark .pricing-section {
  background: #0f172a;
  border-top-color: rgba(255, 255, 255, 0.05);
}

.dark .pricing-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
  border-color: rgba(99, 102, 241, 0.3);
}

.dark .pricing-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
}

/* Video Chat - Blue/Purple gradient */
.dark .pricing-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(40, 40, 120, 0.4) 0%, rgba(25, 25, 80, 0.6) 100%);
  border-color: rgba(77, 77, 255, 0.3);
}
.dark .pricing-card:nth-child(1):hover {
  background: linear-gradient(135deg, rgba(50, 50, 140, 0.6) 0%, rgba(30, 30, 100, 0.8) 100%);
  border-color: rgba(77, 77, 255, 0.6);
  box-shadow: 0 20px 56px rgba(77, 77, 255, 0.3), 0 0 40px rgba(77, 77, 255, 0.2);
}

/* Audio Chat - Pink/Purple gradient */
.dark .pricing-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(80, 0, 60, 0.4) 0%, rgba(60, 0, 40, 0.6) 100%);
  border-color: rgba(255, 0, 110, 0.3);
}
.dark .pricing-card:nth-child(2):hover {
  background: linear-gradient(135deg, rgba(100, 0, 80, 0.6) 0%, rgba(70, 0, 50, 0.8) 100%);
  border-color: rgba(255, 0, 110, 0.6);
  box-shadow: 0 20px 56px rgba(255, 0, 110, 0.3), 0 0 40px rgba(255, 0, 110, 0.2);
}

.dark .pricing-card h3 {
  color: #f1f5f9;
}

.dark .pricing-description {
  color: #94a3b8;
}

.dark .pricing-features li {
  color: #cbd5e1;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.dark .disclaimer-highlight {
  background: linear-gradient(135deg, #ec4899, #f59e0b);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
}

.dark .designer-credit {
  color: #a5b4fc;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.room-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  display: block;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.room-icon {
  font-size: 36px;
  display: inline-block;
}

.room-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border-radius: 20px;
}

.room-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.room-card p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 48px;
}

.room-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.room-meta span {
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
}

.btn-join {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.view-experts {
  color: #6366f1;
  font-weight: 600;
  font-size: 14px;
}

/* ===== FOOTER ===== */
.footer {
  background: #111827;
  color: #e5e7eb;
  padding: 64px 24px 32px;
  margin-top: 100px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-brand .logo {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.footer-brand .brand-name {
  color: white;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.footer-tagline {
  color: #9ca3af;
  margin-top: 12px;
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: #f3f4f6;
}

.footer-column a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #6366f1;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  font-size: 14px;
}

.footer-bottom p {
  margin: 8px 0;
}

.crisis-note {
  color: #fbbf24;
  font-weight: 600;
  margin-top: 12px !important;
}

.disclaimer-highlight {
  background: linear-gradient(135deg, #ec4899, #f59e0b);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
  animation: neonGlow 2s ease-in-out infinite;
}

@keyframes neonGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(236, 72, 153, 0.6), 0 0 32px rgba(245, 158, 11, 0.4); }
}

.designer-credit {
  color: #6366f1;
  font-weight: 600;
}

.designer-credit strong {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* ===== DARK MODE WITH NEON GRID ===== */
.dark {
  background-color: #0b1220;
  position: relative;
  color: #e6eef8;
  overflow-x: hidden;
}

/* Animated Neon Grid Background */
.dark::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(90deg, transparent 0%, transparent calc(50% - 0.5px), var(--neon-cyan) calc(50% - 0.5px), var(--neon-cyan) calc(50% + 0.5px), transparent calc(50% + 0.5px), transparent 100%),
    linear-gradient(0deg, transparent 0%, transparent calc(50% - 0.5px), var(--neon-purple) calc(50% - 0.5px), var(--neon-purple) calc(50% + 0.5px), transparent calc(50% + 0.5px), transparent 100%);
  background-size: 100px 100px;
  opacity: 0.12;
  filter: blur(0.5px);
  mix-blend-mode: screen;
  animation: gridDrift 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Diagonal grid layer for depth */
.dark::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 100px,
      var(--neon-magenta) 100px,
      var(--neon-magenta) 101px
    );
  opacity: 0.04;
  filter: blur(1px);
  mix-blend-mode: screen;
  animation: gridDrift 90s linear infinite reverse;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content stays above grid */
.dark > * {
  position: relative;
  z-index: 1;
}

@keyframes gridDrift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(50px, 50px) rotate(1deg);
  }
}

/* Pulsing glow effect */
@keyframes gridPulse {
  0%, 100% {
    opacity: 0.12;
    filter: blur(0.5px);
  }
  50% {
    opacity: 0.18;
    filter: blur(1px) drop-shadow(0 0 20px var(--grid-glow));
  }
}

/* Apply pulse to grid - respecting reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .dark::before {
    animation: gridDrift 60s linear infinite, gridPulse 8s ease-in-out infinite;
  }
  .dark::after {
    animation: gridDrift 90s linear infinite reverse, gridPulse 12s ease-in-out infinite;
  }
}

/* Reduced motion fallback - static grid */
@media (prefers-reduced-motion: reduce) {
  .dark::before,
  .dark::after {
    animation: none !important;
    opacity: 0.08;
  }
}

.dark header {
  background: rgba(11, 18, 32, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.dark .sub { 
  color: #9fb0c9; 
}

.dark nav a { 
  color: #e6eef8; 
}

.dark nav a:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.dark .btn-ghost { 
  background: rgba(255, 255, 255, 0.05); 
  color: #e6eef8; 
  border-color: rgba(255, 255, 255, 0.1); 
}

.dark .btn-ghost:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.dark .features-section {
  background: #0f172a;
  border-top-color: rgba(255, 255, 255, 0.05);
}

.dark .feature-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
  backdrop-filter: blur(10px);
  border-color: rgba(178, 75, 243, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.dark .feature-card:hover {
  border-color: rgba(178, 75, 243, 0.4);
  box-shadow: 0 8px 32px rgba(178, 75, 243, 0.2), 0 0 20px rgba(0, 240, 255, 0.15);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
}

/* Individual glow colors for feature cards */
.dark .feature-card:nth-child(1) {
  border-color: rgba(0, 240, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 60, 80, 0.4) 0%, rgba(0, 30, 50, 0.6) 100%);
}
.dark .feature-card:nth-child(1):hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 8px 32px var(--glow-listeners), 0 0 40px var(--glow-listeners), inset 0 0 30px rgba(0, 240, 255, 0.05);
  background: linear-gradient(135deg, rgba(0, 80, 100, 0.6) 0%, rgba(0, 40, 60, 0.8) 100%);
}

.dark .feature-card:nth-child(2) {
  border-color: rgba(255, 0, 255, 0.2);
  background: linear-gradient(135deg, rgba(80, 0, 80, 0.4) 0%, rgba(50, 0, 60, 0.6) 100%);
}
.dark .feature-card:nth-child(2):hover {
  border-color: rgba(255, 0, 255, 0.5);
  box-shadow: 0 8px 32px var(--glow-psychologists), 0 0 40px var(--glow-psychologists), inset 0 0 30px rgba(255, 0, 255, 0.05);
  background: linear-gradient(135deg, rgba(100, 0, 100, 0.6) 0%, rgba(60, 0, 80, 0.8) 100%);
}

.dark .feature-card:nth-child(3) {
  border-color: rgba(0, 255, 136, 0.2);
  background: linear-gradient(135deg, rgba(0, 60, 40, 0.4) 0%, rgba(0, 40, 30, 0.6) 100%);
}
.dark .feature-card:nth-child(3):hover {
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 8px 32px var(--glow-communities), 0 0 40px var(--glow-communities), inset 0 0 30px rgba(0, 255, 136, 0.05);
  background: linear-gradient(135deg, rgba(0, 80, 60, 0.6) 0%, rgba(0, 50, 40, 0.8) 100%);
}

.dark .feature-card h3 {
  color: #f1f5f9;
}

.dark .feature-card p {
  color: #94a3b8;
}

.dark .rooms-section {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-color: #0b1220;
}

.dark .room-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border-color: rgba(0, 240, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.dark .room-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.2), 0 0 20px rgba(178, 75, 243, 0.15);
  background: rgba(30, 41, 59, 0.8);
}

/* Individual glow colors for room cards */
.dark .room-card:nth-child(1) {
  border-color: rgba(255, 234, 0, 0.2);
  background: linear-gradient(135deg, rgba(80, 70, 0, 0.4) 0%, rgba(50, 40, 0, 0.6) 100%);
}
.dark .room-card:nth-child(1):hover {
  border-color: rgba(255, 234, 0, 0.5);
  box-shadow: 0 8px 32px var(--glow-vibes), 0 0 40px var(--glow-vibes), inset 0 0 30px rgba(255, 234, 0, 0.05);
  background: linear-gradient(135deg, rgba(100, 90, 0, 0.6) 0%, rgba(60, 50, 0, 0.8) 100%);
}

.dark .room-card:nth-child(2) {
  border-color: rgba(0, 240, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 60, 80, 0.4) 0%, rgba(0, 30, 50, 0.6) 100%);
}
.dark .room-card:nth-child(2):hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 8px 32px var(--glow-detox), 0 0 40px var(--glow-detox), inset 0 0 30px rgba(0, 240, 255, 0.05);
  background: linear-gradient(135deg, rgba(0, 80, 100, 0.6) 0%, rgba(0, 40, 60, 0.8) 100%);
}

.dark .room-card:nth-child(3) {
  border-color: rgba(178, 75, 243, 0.2);
  background: linear-gradient(135deg, rgba(60, 20, 80, 0.4) 0%, rgba(40, 10, 60, 0.6) 100%);
}
.dark .room-card:nth-child(3):hover {
  border-color: rgba(178, 75, 243, 0.5);
  box-shadow: 0 8px 32px var(--glow-silent), 0 0 40px var(--glow-silent), inset 0 0 30px rgba(178, 75, 243, 0.05);
  background: linear-gradient(135deg, rgba(80, 30, 100, 0.6) 0%, rgba(50, 15, 70, 0.8) 100%);
}

.dark .room-card:nth-child(4) {
  border-color: rgba(0, 255, 136, 0.2);
  background: linear-gradient(135deg, rgba(0, 60, 40, 0.4) 0%, rgba(0, 40, 30, 0.6) 100%);
}
.dark .room-card:nth-child(4):hover {
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 8px 32px var(--glow-yoga), 0 0 40px var(--glow-yoga), inset 0 0 30px rgba(0, 255, 136, 0.05);
  background: linear-gradient(135deg, rgba(0, 80, 60, 0.6) 0%, rgba(0, 50, 40, 0.8) 100%);
}

.dark .room-card:nth-child(5) {
  border-color: rgba(255, 0, 110, 0.2);
  background: linear-gradient(135deg, rgba(80, 0, 40, 0.4) 0%, rgba(60, 0, 30, 0.6) 100%);
}
.dark .room-card:nth-child(5):hover {
  border-color: rgba(255, 0, 110, 0.5);
  box-shadow: 0 8px 32px var(--glow-music), 0 0 40px var(--glow-music), inset 0 0 30px rgba(255, 0, 110, 0.05);
  background: linear-gradient(135deg, rgba(100, 0, 60, 0.6) 0%, rgba(70, 0, 40, 0.8) 100%);
}

.dark .room-card:nth-child(6) {
  border-color: rgba(255, 149, 0, 0.2);
  background: linear-gradient(135deg, rgba(80, 45, 0, 0.4) 0%, rgba(60, 30, 0, 0.6) 100%);
}
.dark .room-card:nth-child(6):hover {
  border-color: rgba(255, 149, 0, 0.5);
  box-shadow: 0 8px 32px var(--glow-movies), 0 0 40px var(--glow-movies), inset 0 0 30px rgba(255, 149, 0, 0.05);
  background: linear-gradient(135deg, rgba(100, 60, 0, 0.6) 0%, rgba(70, 40, 0, 0.8) 100%);
}

.dark .room-card h3 {
  color: #f1f5f9;
}

.dark .room-card p {
  color: #94a3b8;
}

.dark .room-meta {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.dark .room-meta span {
  color: #64748b;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 700px) {
  nav { 
    display: none; 
  }
  
  header { 
    padding: 12px 18px; 
  }
  
  .hero {
    padding: 60px 24px 40px;
  }
  
  .container { 
    padding: 0 20px; 
  }
  
  .sub { 
    padding: 0 12px; 
  }

  .features-section,
  .rooms-section {
    padding: 60px 20px;
  }

  .features-grid,
  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta {
    flex-direction: column;
    width: 100%;
  }

  .cta .btn {
    width: 100%;
  }
}

/* ===== ACCESSIBILITY ===== */
a:focus, 
button:focus { 
  outline: 3px solid rgba(99, 102, 241, 0.4); 
  outline-offset: 3px; 
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== PROFILE PAGE STYLES ===== */
.profile-page {
  padding: 60px 24px 80px;
  min-height: calc(100vh - 200px);
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 32px;
  transition: all 0.2s ease;
  font-size: 15px;
}

.back-link:hover {
  color: #8b5cf6;
  transform: translateX(-4px);
}

.page-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  margin: 24px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.room-icon-large {
  font-size: clamp(48px, 8vw, 72px);
}

.page-description {
  color: #6b7280;
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Expert Cards Grid */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.expert-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.expert-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.avatar-placeholder {
  color: white;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.expert-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.blink {
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.status-text {
  color: #16a34a;
  font-size: 13px;
  font-weight: 600;
}

.expert-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expert-name {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.expert-languages {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.language-tag {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.expert-about h4 {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expert-about p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.expert-modes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mode-badge {
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-book {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 15px;
  margin-top: 8px;
}

/* Dark mode for profile pages */
.dark .page-description {
  color: #9fb0c9;
}

.dark .expert-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .expert-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.dark .expert-name {
  color: #f1f5f9;
}

.dark .expert-about h4 {
  color: #e2e8f0;
}

.dark .expert-about p {
  color: #94a3b8;
}

.dark .mode-badge {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive profile page */
@media (max-width: 700px) {
  .profile-page {
    padding: 40px 20px 60px;
  }

  .experts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-title {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-page {
  padding: 60px 24px 80px;
  min-height: calc(100vh - 200px);
}

.legal-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  margin: 24px 0 12px;
  color: #111827;
}

.legal-subtitle {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 40px;
  font-weight: 600;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-content p {
  color: #374151;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content em {
  color: #6b7280;
  font-size: 14px;
}

/* Dark mode legal pages */
.dark .legal-title {
  color: #f1f5f9;
}

.dark .legal-subtitle {
  color: #94a3b8;
}

.dark .legal-content {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .legal-content p {
  color: #cbd5e1;
}

.dark .legal-content em {
  color: #94a3b8;
}

/* Responsive legal pages */
@media (max-width: 700px) {
  .legal-page {
    padding: 40px 20px 60px;
  }

  .legal-content {
    padding: 32px 24px;
  }

  .pricing-section {
    padding: 60px 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


