:root {
  --bg: #03000a;
  --bg-deep: #080214;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --accent: #9d6eff;
  --accent-glow: rgba(157, 110, 255, 0.4);
  /* Liquid Glass Variables */
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --glass-blur: blur(16px);
  --nav-offset: 84px;
}

html {
  scroll-padding-top: calc(var(--nav-offset) + 16px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.story-page {
  min-height: 100vh;
  /* Dynamic purple accents while keeping black dominant */
  background: 
    radial-gradient(circle at 80% 10%, rgba(157, 110, 255, 0.12), transparent 40%),
    radial-gradient(circle at 20% 40%, rgba(115, 70, 242, 0.08), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(157, 110, 255, 0.05), transparent 50%),
    linear-gradient(to bottom, var(--bg-deep), var(--bg));
  background-attachment: fixed;
  overflow-x: hidden;
}

#main-content {
  padding-top: calc(var(--nav-offset) + env(safe-area-inset-top));
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: -0.02em;
  background: linear-gradient(to bottom right, #fff 20%, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255,255,255,0.1);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

p {
  margin: 0;
}

.label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
  font-weight: 600;
}

/* Refined Badge Style for Hero */
.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.25), rgba(157, 110, 255, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.55em 1.4em;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-shadow: 0 0 20px rgba(157, 110, 255, 0.5);
  box-shadow: 0 0 25px rgba(157, 110, 255, 0.35), 0 10px 30px rgba(3, 0, 10, 0.4);
  margin-bottom: 2.5rem;
}

.badge-icon {
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.1em;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Layout */
.shell {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

/* Sticky Nav */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(3, 0, 10, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher {
  position: relative;
  margin: 0;
  flex-shrink: 0;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.lang-trigger:hover {
  color: var(--accent);
}

.lang-trigger:focus-visible {
  outline: none;
  color: var(--accent);
}

.lang-label {
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.lang-current {
  font-weight: 600;
}

.lang-chevron {
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.language-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 220px;
  background: rgba(5, 0, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  padding: 0.4rem 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 120;
  flex-direction: column;
}

.lang-menu.open {
  display: flex;
}

.lang-option {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-option.active {
  background: rgba(157, 110, 255, 0.2);
  color: #fff;
}

.lang-option + .lang-option {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-logo {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-icon { border-radius: 22%;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(157, 110, 255, 0.3));
}

/* App Store Buttons */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08); /* Lighter glass */
  color: #fff;
  border-radius: 12px;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(10px);
}

.app-store-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.btn-small-text {
  font-size: 0.65rem;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  opacity: 0.8;
}

.btn-large-text {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.02em;
}

.app-store-btn-small {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.app-store-btn-small:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.apple-icon {
  display: inline-block;
  height: auto;
  flex-shrink: 0;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.2));
}

.apple-icon-small {
  width: 14px;
  margin-right: 0.5rem;
}

.apple-icon-large {
  width: 24px;
  margin-right: 0.75rem;
}

/* Centered Hero */
.story-hero.centered-layout {
  padding: 8rem 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.hero-text-centered {
  margin-bottom: 4rem;
}

.hero-text-centered h1.hero-title {
  padding-bottom: 0.2em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

/* Glass Hero Lede */
.hero-lede-glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin: 0 auto 2.5rem;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.check {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.store-rating {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  opacity: 0.7;
}

/* Hero Clock */
.hero-clock-container {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  z-index: 0;
  opacity: 1;
  display: flex;
  justify-content: center;
}

.hero-clock-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 80px rgba(115, 70, 242, 0.3));
  /* No mask, full image */
}

/* Liquid Glass Cards */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-card:hover {
  background: var(--glass-highlight);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

/* Content Overlay */
.content-overlay {
  position: relative;
  z-index: 10;
  margin-top: 450px;
  background: linear-gradient(to bottom, rgba(3,0,10,0.7), var(--bg) 20%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.02);
}

/* Trust Bar */
.trust-bar {
  padding: 2rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.trust-bar p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Health Grid */
.health-impact {
  padding: 6rem 0;
}

.section-head.centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.health-feature-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 4rem;
}

.health-item {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.health-item.large-item {
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(157, 110, 255, 0.05));
  border: 1px solid rgba(255,255,255,0.1);
}

.health-bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(157, 110, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.health-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.health-item p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.health-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(157, 110, 255, 0.2));
}

/* Volume Rise Graph */
.volume-rise {
  padding: 6rem 0;
}

.rise-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem;
  border-radius: 32px;
}

.rise-visual {
  position: relative;
  width: 100%;
  height: 250px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.rise-graph {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.graph-label-y {
  position: absolute;
  top: 0;
  left: -3rem;
  transform: rotate(-90deg);
  transform-origin: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.graph-labels-x {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Featured Quote */
.featured-quote {
  text-align: center;
  margin-bottom: 5rem;
  padding: 0 1rem;
  position: relative;
}

.featured-quote h3 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 0 40px rgba(157, 110, 255, 0.4);
}

.featured-quote p {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Sound Library */
.sound-library {
  padding: 3rem 0 6rem; /* Reduced top padding */
  text-align: center;
}

.library-head {
  margin-bottom: 3rem;
}

.library-controls {
  display: inline-flex;
  padding: 0.4rem;
  gap: 0.4rem;
  border-radius: 100px;
  margin-bottom: 3rem;
}

.glass-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.lib-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lib-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.lib-btn.active {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  animation: fadeIn 0.5s ease;
}

.sound-card {
  text-align: left;
  overflow: hidden;
  border-radius: 20px;
}

.card-art {
  width: 100%;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sound-info {
  padding: 1.25rem;
}

.sound-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: 'Playfair Display', serif;
}

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

.hidden {
  display: none;
}

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

/* App Store Reviews */
.appstore-reviews {
  padding: 6rem 0;
  overflow: hidden;
}

.reviews-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 2rem 1rem 4rem 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.appstore-card {
  flex: 0 0 300px;
  padding: 1.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.stars {
  color: #FFD700;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.review-date {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.appstore-card h4 {
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.appstore-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.appstore-card .reviewer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  opacity: 0.7;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-answer {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Footer & Closer */
.story-closer {
  padding: 8rem 0;
  text-align: center;
}

.story-closer h2 {
  margin-bottom: 1.5rem;
}

.story-closer p {
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.story-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.story-footer .shell {
  display: flex;
  justify-content: space-between;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-benefits {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .appstore-card {
    flex: 0 0 280px;
  }
  
  .story-footer .shell {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .hero-clock-container {
    top: 50%;
  }
  
  .health-grid, .rise-container {
    grid-template-columns: 1fr;
  }
  
  .rise-container {
    padding: 2rem;
    gap: 2rem;
  }
  
  .content-overlay {
    margin-top: 300px;
  }
  
  .health-feature-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .health-item.large-item {
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .library-grid {
    grid-template-columns: 1fr;
  }
}

/* Centered & Muted Section Head for Reviews */
.sheets-head.centered-muted {
  text-align: center;
  margin-bottom: 4rem;
}

.sheets-head.centered-muted h2 {
  color: var(--text-muted);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* Keyword Highlights & Glows */
strong {
  font-weight: 600;
  color: #fff;
}

.glow-text {
  color: #fff;
  text-shadow: 0 0 12px rgba(157, 110, 255, 0.6);
  font-weight: 500;
}

/* Cortisol Chart Mini Visualization */
.cortisol-chart-mini {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chart-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chart-label {
  width: 120px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: right;
}

.bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 10px;
}

.bar-fill.danger {
  width: 85%;
  background: linear-gradient(90deg, #ff4e50, #f9d423);
  box-shadow: 0 0 10px rgba(255, 78, 80, 0.4);
}

.bar-fill.gentle {
  width: 30%;
  background: linear-gradient(90deg, var(--accent), #d4bfff);
  box-shadow: 0 0 10px rgba(157, 110, 255, 0.4);
}

/* Make Cortisol Card Text nicer */
.health-item.large-item p {
  max-width: 90%;
  margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(157, 110, 255, 0.4));
}

.stat-number .percent {
  font-size: 2rem;
  vertical-align: super;
  opacity: 0.8;
}

.stat-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Nav Links */
.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.centered-action {
  text-align: center;
  margin-top: 3rem;
}

.btn-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.2s;
}

.btn-link:hover {
  color: #fff;
  border-bottom-color: var(--accent);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none; /* Hide links on mobile for simplicity or move to hamburger */
  }
}

/* Fix for Stat Numbers visibility */
.stat-number {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: #fff;
  text-shadow: 0 0 20px rgba(157, 110, 255, 0.6);
}

/* Enhanced Icon Styling */
.icon-glass {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 20px rgba(157, 110, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.icon-glass::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(157, 110, 255, 0.2), transparent 70%);
  pointer-events: none;
}

/* Subtitle for Stats */
.stats-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Cross-link grid for SEO pages */
.more-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.topic-card {
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.2s;
  text-decoration: none;
  display: block;
}

.topic-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.topic-card h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text);
  font-size: 1.1rem;
}

.topic-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}


/* Refined Badge Visibility - Stronger */
.badge-label {
  background: rgba(157, 110, 255, 0.25);
  border: 1px solid rgba(157, 110, 255, 0.6);
  color: #fff;
  box-shadow: 0 0 30px rgba(157, 110, 255, 0.4);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(157, 110, 255, 0.6);
}

/* Reduced Section Spacing between big sections */
.health-impact, .volume-rise, .appstore-reviews, .stats-section, .sound-library, .faq-section {
  padding: 3rem 0; /* Tighten the gap between sections */
}

/* Restore/Ensure spacing between Title and Subtitle */
.section-head h2, 
.rise-text h2, 
.library-head h2, 
.story-closer h2,
.sheets-head h2 {
  margin-bottom: 1.25rem;
}

/* Center Music Cards */
.library-grid {
  justify-content: center;
}

.sound-card {
  text-align: center;
}

.sound-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
b {
  color: #fff;
  text-shadow: 0 0 15px rgba(157, 110, 255, 0.6);
  font-weight: 600;
}
