/* ================================================= */
/* ---        CSS for Dr. Shrink Website         --- */
/* ---    TDS Therapy - Complete Style Guide     --- */
/* ---               July 2025                   --- */
/* ================================================= */

/* --- 1. FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- 2. CSS VARIABLES (DESIGN TOKENS) --- */
:root {
  /* Core Colors - Therapeutic Palette */
  /*--bg-color: #1A2A2D; /* Deep, calm teal */
  /*--bg-color-secondary: #2C3E40; /* Slightly lighter dark */
  /*--bg-card: #223438; /* Card background */
  /*--text-color: #E0E7E9; /* Soft off-white */
  /*--text-color-muted: #A8B2B5; /* Dimmer text */
  /*--text-color-headings: #ffffff; /* Pure white headings */

  --bg-color: #0f1419;
  --bg-color-secondary: #1a1f2e;
  --bg-card: #242b3d;
  --text-color: #e8eaed;
  --text-color-muted: #9aa0a6;
  --text-color-headings: #ffffff;
  --border-color: #3c4043;

/* NEW Accent Colors - Blue to Pink Gradient */
  --primary-blue: #4f9cf9;
  --accent-pink: #e879f9;
  --primary-gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-pink) 100%);

/* Typography */
  --font-primary: 'Poppins', sans-serif;

/* Spacing */
  --card-padding: 1.5rem;
  --section-padding: 3rem 1rem;


  /* Accent Colors */
  --healing-green: #2ecc71; /* Vibrant, positive green */
  --healing-green-dark: #27ae60;
  --calm-blue: #3498db; /* Trustworthy, calm blue */
  --calm-blue-dark: #2980b9;
  
  /* UI Elements */
  --link-color: var(--healing-green);
  --link-color-hover: #58d68d; /* Lighter green */
  /*--border-color: #3b5257; /* Subtle border */
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;

  /* Spacing */
  --card-padding: 1.5rem;
  --section-padding: 3rem 1rem;
  
  /* Process Step Colors */
  --step-1: #007bff;
  --step-2: #28a745;
  --step-3: #ffc107;
  --step-4: #dc3545;
  --step-5: #6f42c1;
}

/* --- 3. BASE STYLES & TYPOGRAPHY --- */
* {
  box-sizing: border-box;
}




body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-color-headings);
  line-height: 1.3;
  margin: 0 0 1rem 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-color-muted);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent-pink); }

/* a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-color-hover);
} change */


/* --- 4. NAVIGATION --- */
.navbar {
  background-color: var(--bg-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color-headings);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color-muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--link-color-hover);
}

/* --- 4start. HERO SECTIONS new section --- */
/* Custom Hero for Journey Pages (like anxiety.qmd) */
.journey-hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 1rem;
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center center;
}
/* Overlay for text readability on background image */
.journey-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 20, 25, 0.7);
  backdrop-filter: blur(4px);
}
.journey-hero .callout-note {
  position: relative; /* Bring content above the overlay */
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* --- 7newstart. QUARTO-SPECIFIC STYLES --- */
.callout-note {
  background-color: rgba(36, 43, 61, 0.8) !important;
  border-left-color: var(--primary-blue) !important;
}

/* Custom Callout Styling - Add this to your tds-therapy.css */

/* Define your brand colors if not already defined */
:root {
  --primary-blue: #4f9cf9;
  --accent-pink: #e879f9;
  --bg-color: #0f1419;
  --bg-color-secondary: #1a1f2e;
  --bg-card: #242b3d;
  --text-color: #e8eaed;
  --text-color-headings: #ffffff;
  --border-color: #3c4043;
}

/* Override default callout styles */
.callout {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  margin: 1.5rem 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Callout tip specific styling */
.callout-tip {
  border-left: 4px solid var(--primary-blue) !important;
  background: linear-gradient(135deg, 
    rgba(79, 156, 249, 0.1) 0%, 
    rgba(232, 121, 249, 0.05) 100%) !important;
}

/* Callout header styling */
.callout-header {
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-pink)) !important;
  color: white !important;
  padding: 1rem 1.5rem !important;
  border-radius: 12px 12px 0 0 !important;
  border-bottom: none !important;
}

.callout-title-container {
  color: white !important;
}

.callout-title-container strong {
  color: white !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
}

/* Callout body styling */
.callout-body-container {
  padding: 1.5rem !important;
  background: var(--bg-card) !important;
  color: var(--text-color) !important;
}

.callout-body {
  color: var(--text-color) !important;
}

/* Blockquote styling within callouts */
.callout blockquote {
  background: rgba(79, 156, 249, 0.05) !important;
  border-left: 3px solid var(--primary-blue) !important;
  margin: 1rem 0 !important;
  padding: 1rem 1.5rem !important;
  border-radius: 0 8px 8px 0 !important;
  position: relative !important;
}

.callout blockquote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent-pink);
  position: absolute;
  top: -0.5rem;
  left: 0.5rem;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.callout blockquote p {
  color: var(--text-color) !important;
  font-style: italic !important;
  margin: 0 !important;
  line-height: 1.6 !important;
  padding-left: 1rem !important;
}

/* Citation styling */
.callout .citation {
  color: var(--accent-pink) !important;
  font-weight: 500 !important;
  font-style: normal !important;
}

/* Hover effects for interactive feel */
.callout {
  transition: all 0.3s ease !important;
}

.callout:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(79, 156, 249, 0.2) !important;
}

/* Alternative styling for different callout types */
.callout-warning {
  border-left: 4px solid #f59e0b !important;
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.1) 0%, 
    rgba(245, 158, 11, 0.05) 100%) !important;
}

.callout-note {
  border-left: 4px solid var(--accent-pink) !important;
  background: linear-gradient(135deg, 
    rgba(232, 121, 249, 0.1) 0%, 
    rgba(232, 121, 249, 0.05) 100%) !important;
}

/* Ensure text contrast */
.callout * {
  color: var(--text-color) !important;
}

.callout strong {
  color: var(--text-color-headings) !important;
}

/* Remove any default Bootstrap overrides */
.callout .blockquote {
  font-size: inherit !important;
  margin-bottom: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .process-steps { flex-direction: column; align-items: stretch; }
}

/* --- 7newend. QUARTO-SPECIFIC STYLES --- */

/* Hero for Albums Page */
.songs-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed  50%, #ec4899 100%);
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  text-align: center;
}
.hero-mood-filter {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem;
}
.mood-btn {
  padding: 0.75rem 1.5rem; font-size: 1rem; border: 1px solid var(--border-color);
  background: transparent; color: var(--text-color-muted); border-radius: 50px;
  cursor: pointer; transition: all 0.3s ease;
}
.mood-btn.active, .mood-btn:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* --- 4end. HERO SECTIONS new section --- */

/* --- 5. HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, var(--bg-color) 0%, #20363b 100%);
  padding: 5rem 1rem; 
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-color-headings);
  line-height: 1.2;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--text-color-muted);
}

/* ===== Albums Page Styles ===== */
.hero.songs-hero {
  background: linear-gradient(135deg, var(--bg-color) 0%, #162B42 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem;
  text-align: center;
  animation: slideDown 0.8s ease-out;
}

.hero.songs-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 133, 211, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--healing-green), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-color);
  opacity: 0.9;
  font-size: 1.3rem;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
}

/* Album grid */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.album-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.album-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 217, 255, 0.3);
}

.album-cover {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: linear-gradient(135deg, var(--healing-green), var(--accent-pink));
}

.album-title {
  color: var(--text-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.album-artist {
  color: var(--healing-green);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.album-description {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.album-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--healing-green), var(--warm-orange));
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.album-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 217, 255, 0.4);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero.songs-hero {
    padding: 3rem 1rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .album-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

/* --- 6. BUTTONS & CTA --- */
@keyframes pulse-grow {
  0% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); 
  }
  70% { 
    transform: scale(1.03); 
    box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); 
  }
  100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); 
  }
}

.cta-button.primary {
  display: inline-block;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: var(--healing-green);
  color: white !important;
  border: none;
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
  animation: pulse-grow 2.5s infinite;
  cursor: pointer;
}

.cta-button.primary:hover {
  background-color: var(--healing-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(46, 204, 113, 0.4);
  animation-play-state: paused;
}

/* --- 5newstart. BUTTONS --- */
.btn {
  padding: 12px 30px; border-radius: 50px; border: none; font-weight: 500;
  cursor: pointer; transition: all 0.3s ease; text-decoration: none;
}
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 5px 15px rgba(79, 156, 249, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(232, 121, 249, 0.3);
}
/* --- 5newend. BUTTONS --- */

/* --- .btn {
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-primary {
  background: var(--healing-green);
  color: white;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
  background: var(--healing-green-dark);
  transform: translateY(-3px);
} */

.btn-outline {
  background: transparent;
  border: 2px solid var(--healing-green);
  color: var(--healing-green);
}

.btn-outline:hover {
  background: rgba(46, 204, 113, 0.1);
  transform: translateY(-3px);
}

/* --- 7. SECTIONS & CONTAINERS --- */
.section {
  padding: var(--section-padding);
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--text-color-headings);
  font-weight: 600;
}

/* --- 8. FEATURES SECTION --- */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 1100px;
  padding: 0 1rem;
}

.feature {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  width: 320px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--healing-green);
}

.feature h3 {
  color: var(--text-color-headings);
  margin: 1rem 0 0.5rem 0;
  font-size: 1.5rem;
}

.feature p {
  color: var(--text-color-muted);
  margin-bottom: 0;
}

.feature-icon {
  font-size: 2.5rem;
  line-height: 1;
}

/* --- 9. TRACKS SECTION --- */
.tracks-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.track-card {
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.track-image {
  height: 160px;
  background: linear-gradient(135deg, var(--healing-green), var(--calm-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.track-info {
  padding: var(--card-padding);
  flex-grow: 1;
}

.track-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
  color: var(--text-color-headings);
}

.track-info p {
  color: var(--text-color-muted);
  margin-bottom: 1.5rem;
}

.track-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}

/* --- 10. TESTIMONIAL SECTION --- */
.testimonial-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: var(--section-padding);
  background-color: var(--bg-card);
  border-radius: 12px;
}

.testimonial {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.7;
  text-align: center;
  border-left: 4px solid var(--healing-green);
  padding-left: 1.5rem;
}

.testimonial::after {
  content: attr(data-cite);
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--text-color-muted);
  margin-top: 1rem;
  font-size: 1rem;
}

/* --- 11. SOCIAL/INTERNAL LINKS SECTION --- */
.social-section {
  background: linear-gradient(135deg, var(--healing-green-dark) 0%, var(--calm-blue-dark) 100%);
  padding: 3rem 1rem;
  margin: 2rem 0;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  position: relative;
}

.social-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.social-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 1.8rem 1rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-decoration: none;
}

.social-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
  background: white;
}

.social-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.15);
}

.social-card h3 {
  color: #333;
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

.social-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

.social-card p:empty {
  display: none;
}

.vibe-quote {
  display: block;
  text-align: center;
  font-style: italic;
  font-size: 1.4rem;
  color: white;
  margin: 2.5rem auto 0 auto;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  max-width: 800px;
}

/* --- 12. PROCESS LAYOUTS --- */
.process-vertical {
  position: relative;
  padding-left: 40px;
}

.process-vertical::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--step-1), var(--step-2));
}

/* --- 6newstart. PROCESS STEPS & CARDS --- */
.process-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
}

.genre-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem;
  background: rgba(79, 156, 249, 0.1);
  color: var(--primary-blue);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(79, 156, 249, 0.2);
}
/* --- 6newend. PROCESS STEPS & CARDS --- */

.process-steps {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

.dialogue-flow {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

.dialogue-flow .step {
  background: #d5f5e3;
  border-radius: 15px;
  padding: 1.5rem;
  position: relative;
}

.connector {
  flex: 1;
  border-top: 2px dashed var(--healing-green-dark);
  margin-top: 2.5rem;
}

/* --- 13. PROCESS STEPS --- */
/* --- .step {
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
  flex: 1;
}--- */

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* ---.step-number {
  position: absolute;
  left: -40px;
  width: 48px;
  height: 48px;
  background: var(--step-1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  z-index: 2;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0 auto 1rem;
}--- */

/* --- 6newstart. PROCESS STEPS & CARDS --- */
.step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 280px;
  transition: all 0.3s ease;
}
.step:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}
.step-number {
  width: 48px; height: 48px;
  background: var(--primary-gradient);
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 1.2rem;
  margin: 0 auto 1rem auto;
}
/* --- 6newend. PROCESS STEPS & CARDS --- */
.step:nth-child(1) .step-number { background: var(--step-1); }
.step:nth-child(2) .step-number { background: var(--step-2); }
.step:nth-child(3) .step-number { background: var(--step-3); color: #000; }
.step:nth-child(4) .step-number { background: var(--step-4); }
.step:nth-child(5) .step-number { background: var(--step-5); }

.step-header h3 {
  margin: 0;
  margin-left: 1rem;
  color: white;
}

.step-content {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--step-1);
  margin-left: 1rem;
}

.step:nth-child(1) .step-content { border-left-color: var(--step-1); }
.step:nth-child(2) .step-content { border-left-color: var(--step-2); }
.step:nth-child(3) .step-content { border-left-color: var(--step-3); }
.step:nth-child(4) .step-content { border-left-color: var(--step-4); }
.step:nth-child(5) .step-content { border-left-color: var(--step-5); }

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 2rem;
  color: #16a085;
  padding: 0 1rem;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* --- 14. MUSIC PLAYER COMPONENTS --- */
.music-player-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--bg-color-secondary);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: var(--text-color);
  text-align: center;
  border: 1px solid var(--border-color);
}

.album-cover-section {
  position: relative;
  margin-bottom: 30px;
}

.album-cover-wrapper {
  position: relative;
  display: inline-block;
}

.album-cover {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  display: block;
}

.play-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to right, rgba(46, 204, 113, 0.8), rgba(52, 152, 219, 0.7));
  padding: 8px 15px;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.play-button {
  font-size: 16px;
  color: white;
  cursor: pointer;
}

.track-duration {
  font-size: 14px;
  font-weight: bold;
  color: white;
}

.player-actions {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-follow, .btn-share {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-follow:hover, .btn-share:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.song-info h1 {
  font-size: 2.5em;
  margin: 20px 0 10px 0;
  color: var(--text-color-headings);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.artist-credit {
  font-size: 1.2em;
  color: var(--text-color-muted);
  margin-bottom: 30px;
}

.streaming-section {
  margin: 30px 0;
}

.get-music-label {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-headings);
}

.streaming-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn-streaming {
  background: var(--bg-card);
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-streaming:hover {
  background-color: var(--healing-green);
  color: white;
  border-color: var(--healing-green);
}

.buy-artist-section {
  margin: 20px 0;
}

.btn-buy-artist {
  background: var(--healing-green);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.btn-buy-artist:hover {
  background: var(--healing-green-dark);
  transform: translateY(-2px);
}

.description {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-color-muted);
  border: 1px solid var(--border-color);
}

.release-info {
  margin: 20px 0;
  font-size: 1.1em;
  color: var(--text-color-muted);
  font-weight: bold;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-btn {
  background: var(--bg-card);
  color: var(--text-color);
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.social-btn:hover {
  background-color: var(--calm-blue);
  color: white;
  transform: translateY(-2px);
}

/* --- 15. THERAPIST COMPONENTS --- */
.therapist-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.therapist-card {
  background-color: var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.therapist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(90deg, var(--healing-green), var(--calm-blue));
  color: white;
  padding: 25px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.card-body {
  padding: 40px;
}

.mic-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(46, 204, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

@keyframes pulse-recording {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 133, 162, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 133, 162, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 133, 162, 0);
  }
}

.mic-button {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--healing-green), var(--calm-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(93, 95, 239, 0.3);
  position: relative;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.mic-button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(93, 95, 239, 0.4);
}

.mic-button.recording {
  background: linear-gradient(135deg, var(--healing-green-dark), var(--calm-blue-dark));
  animation: pulse-recording 1s infinite;
}

.mic-icon {
  font-size: 50px;
  color: white;
}

.instructions {
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-color-muted);
}

.transcript-container {
  margin-top: 40px;
}

.transcript-box {
  background: var(--bg-color-secondary);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid var(--border-color);
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  color: var(--text-color);
}

.transcript-placeholder {
  color: #999;
  font-style: italic;
  text-align: center;
  padding: 40px 0;
}

.customization-row {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.customization-column {
  flex: 1;
}

.customization-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color-headings);
  font-weight: 500;
}

.customization-select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color-secondary);
  color: var(--text-color);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.customization-select:focus {
  outline: none;
  border-color: var(--healing-green);
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.prompt-container {
  background: var(--bg-color-secondary);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid var(--border-color);
  margin-top: 30px;
  display: none;
}

.prompt-container.show {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.prompt-title {
  color: var(--text-color-headings);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.prompt-text {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 10px;
  font-family: monospace;
  white-space: pre-wrap;
  overflow-x: auto;
  line-height: 1.5;
  color: var(--text-color);
}

.prompt-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}

/* --- 16. AUDIO ELEMENTS --- */
audio {
  width: 100%;
  max-width: 600px;
  margin-top: 1rem;
  border-radius: 50px;
}

/* Customizing audio player controls */
audio::-webkit-media-controls-panel {
  background-color: var(--bg-card);
  border-radius: 50px;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
  background-color: var(--healing-green);
  border-radius: 50%;
}

audio::-webkit-media-controls-timeline {
  background-color: var(--border-color);
  border-radius: 20px;
}

/* --- 17. DECORATIVE ELEMENTS --- */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: -1;
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.wave .shape-fill {
  fill: rgba(93, 95, 239, 0.1);
}

/* --- 18. FOOTER --- */
footer {
  background-color: var(--bg-color-secondary);
  padding: 3rem 1rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-color-muted);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: var(--text-color-headings);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color-muted);
}

/* --- 19. RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .features {
    max-width: 900px;
  }
  
  .card-body {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }
  
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .customization-row {
    flex-direction: column;
    gap: 15px;
  }

  .card-body {
    padding: 25px;
  }

  .mic-button {
    width: 100px;
    height: 100px;
  }

  .mic-icon {
    font-size: 40px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .streaming-buttons {
    grid-template-columns: 1fr;
  }
  
  .song-info h1 {
    font-size: 2em;
  }
  
  .music-player-container {
    margin: 10px;
    padding: 15px;
  }
  
  .process-steps,
  .dialogue-flow {
    flex-direction: column;
    gap: 1rem;
  }
  
  .step {
    margin-bottom: 1rem;
  }
  
  .social-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 2rem 1rem;
  }
  
  .feature {
    width: 100%;
    max-width: 300px;
  }
  
  .therapist-container {
    padding: 10px;
  }
  
  .social-section {
    padding: 2rem 1rem;
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- 20. UTILITY CLASSES --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

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

/* --- 21. ACCESSIBILITY IMPROVEMENTS --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.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;
}

/* Focus styles for better accessibility */
.btn:focus,
.customization-select:focus,
a:focus {
  outline: 2px solid var(--healing-green);
  outline-offset: 2px;
}

/* --- 22. PRINT STYLES --- */
@media print {
  .navbar,
  .social-section,
  .mic-container,
  .action-buttons {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero {
    background: none;
  }
  
  .feature,
  .track-card,
  .therapist-card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}

/* --- NEW: LYRICS BLOCK STYLES (No Background Version) --- */
.lyrics {
  /* We removed background, box-shadow, and padding to make it float */
  border-left: 3px solid var(--primary-blue); /* A subtle left border to anchor it */
  padding-left: 2rem;                       /* Space between border and text */
  margin: 3rem auto;                          /* Vertical and horizontal centering */
  max-width: 600px;                           /* Optimal reading width */
  font-family: var(--font-primary);
}

.lyrics h3 {
  /* The title is no longer centered, aligning with the text */
  text-align: left;
  margin-top: 0;
  margin-bottom: 2rem; /* More space after the title */
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block; /* Ensures gradient only covers the text */
}

.lyrics p {
  font-size: 1.15rem; /* Slightly larger for readability */
  line-height: 1.9;   /* More open line spacing */
  color: var(--text-color);
  margin-bottom: 2em; /* Generous space between stanzas */
  white-space: pre-wrap;
  text-align: left; /* Align text to the left for a classic look */
}

.lyrics p:last-child {
  margin-bottom: 0;
}

/* Tags Container */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.5rem 0;
  padding: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border-left: 4px solid #5e72e4;
}

/* Individual Tag Styling */
.therapy-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: #5e72e4;
  color: white !important;
  border-radius: 50px;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
}

/* Hover Effects */
.therapy-tag:hover {
  background-color: #434190;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Focus State for Accessibility */
.therapy-tag:focus {
  outline: 3px solid rgba(94, 114, 228, 0.5);
  outline-offset: 2px;
}

/* Tag Variations */
.therapy-tag[href*="TransformativeLove"] { background-color: #d53f8c; }
.therapy-tag[href*="GriefAndGrace"] { background-color: #805ad5; }
.therapy-tag[href*="MusicTherapy"] { background-color: #3182ce; }
.therapy-tag[href*="SacredThresholds"] { background-color: #0c9; }
.therapy-tag[href*="DevelopmentalTrauma"] { background-color: #dd6b20; }
.therapy-tag[href*="FatherWounds"] { background-color: #c53030; }
.therapy-tag[href*="DoctorShrink"] { 
  background-color: #2a4365;
  font-weight: 700;
}
.therapy-tag[href*="TherapeuticMusic"] { background-color: #00b5d8; }
.therapy-tag[href*="NarrativeHealing"] { background-color: #38a169; }
.therapy-tag[href*="EmotionalAlchemy"] { background-color: #b7791f; }
.therapy-tag[href*="VoiceOfTheSoul"] { background-color: #97266d; }
.therapy-tag[href*="BrisbaneHealer"] { background-color: #2c5282; }
.therapy-tag[href*="RelationalRecovery"] { background-color: #2b6cb0; }
.therapy-tag[href*="LoveAsLegacy"] { background-color: #0987a0; }
/* ================================================= */
/* ---              END OF STYLES                --- */
/* ================================================= */