/* ==========================================
   yogolyfs Design System & Stylesheet
   Zen Minimalist, responsive, high-performance CSS
   ========================================== */

/* ------------------------------------------
   1. CSS Custom Properties & Minimal Tokens
   ------------------------------------------ */
:root {
  /* Minimalist Color Palette - Light Mode */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F2EEE9;
  --bg-surface: rgba(255, 255, 255, 0.92);
  --bg-surface-solid: #FFFFFF;
  --bg-glass: rgba(250, 248, 245, 0.85);

  --text-primary: #222825;
  --text-secondary: #58635D;
  --text-muted: #8A9690;

  --brand-primary: #375A4C;
  --brand-primary-hover: #294439;
  --brand-primary-light: #EEF4F1;

  --brand-accent: #C87D65;
  --brand-accent-hover: #B46A52;
  --brand-accent-light: #FAF2EF;

  --brand-gold: #D4A373;

  --border-color: rgba(34, 40, 37, 0.08);
  --border-glow: rgba(55, 90, 76, 0.15);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.06);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --bg-primary: #111614;
  --bg-secondary: #19201C;
  --bg-surface: rgba(25, 32, 28, 0.9);
  --bg-surface-solid: #19201C;
  --bg-glass: rgba(17, 22, 20, 0.85);

  --text-primary: #F0F4F2;
  --text-secondary: #BAC5C0;
  --text-muted: #7E8C86;

  --brand-primary: #52B788;
  --brand-primary-hover: #40A073;
  --brand-primary-light: rgba(82, 183, 136, 0.12);

  --brand-accent: #E09F87;
  --brand-accent-hover: #D58B71;
  --brand-accent-light: rgba(224, 159, 135, 0.12);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(82, 183, 136, 0.2);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------
   2. Reset & Base Minimal Styles
   ------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--brand-primary);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 40px;
}

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

.text-gradient {
  color: var(--brand-primary);
  font-style: italic;
}

.brand-inline {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Minimalist Section Header */
.section-header {
  max-width: 620px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Minimalist Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #FFFFFF !important;
}
.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-muted);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background-color: var(--brand-primary-light);
}

.btn-success {
  background-color: var(--brand-primary);
  color: #FFFFFF;
}
.btn-success:hover {
  background-color: var(--brand-primary-hover);
}

.btn-text {
  background: transparent;
  color: var(--text-muted);
  padding: 8px 16px;
}
.btn-text:hover {
  color: var(--brand-accent);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-full { width: 100%; }

.btn-icon {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-full);
}

.glass-panel {
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------
   3. Header & Minimal Navigation
   ------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon { font-size: 1.4rem; }
.logo-accent { color: var(--brand-accent); }

.desktop-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Icon State */
[data-theme="light"] .dark-icon { display: none; }
[data-theme="light"] .light-icon { display: inline-block; }
[data-theme="dark"] .light-icon { display: none; }
[data-theme="dark"] .dark-icon { display: inline-block; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background-color: var(--bg-surface-solid);
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  transform: translateY(-150%);
  transition: transform var(--transition-normal);
  z-index: 99;
}

.mobile-nav[aria-hidden="false"] {
  transform: translateY(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-primary);
}

/* ------------------------------------------
   4. Minimalist Hero Section
   ------------------------------------------ */
.hero-section {
  padding: 130px 0 80px 0;
  position: relative;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-primary);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  font-size: 1.25rem;
}

.feature-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.hero-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-glass-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px;
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.glass-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-primary);
  border-radius: 50%;
}

.glass-card-body {
  display: flex;
  justify-content: space-around;
}

.energy-stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brand-primary);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ------------------------------------------
   5. Mindset Section
   ------------------------------------------ */
.mindset-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
}

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

.mindset-card {
  background: var(--bg-surface-solid);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.featured-card {
  border-color: var(--brand-primary);
}

.card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-warning {
  background-color: rgba(200, 125, 101, 0.12);
  color: var(--brand-accent);
}

.badge-success {
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.mindset-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.check-list-negative li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brand-accent);
}

.check-list-positive li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-primary);
}

/* ------------------------------------------
   6. Minimal Pose Sequence Grid
   ------------------------------------------ */
.sequence-section {
  padding: 100px 0;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--text-muted);
}

.filter-btn.active {
  background-color: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

.poses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.pose-card {
  background-color: var(--bg-surface-solid);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.pose-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.pose-image-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.pose-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pose-number {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg-surface);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-primary);
}

.bookmark-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.3);
  border: none;
  color: #FFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bookmark-btn.bookmarked .star-icon {
  color: var(--brand-gold);
}

.pose-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pose-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pose-sanskrit { font-style: italic; }
.pose-time { font-weight: 500; color: var(--brand-primary); }

.pose-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pose-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  flex-grow: 1;
  font-weight: 300;
}

.pose-benefits-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.mini-pill {
  font-size: 0.725rem;
  padding: 2px 8px;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.sequence-footer-cta {
  text-align: center;
  margin-top: 24px;
}

/* ------------------------------------------
   7. Science & Benefits
   ------------------------------------------ */
.benefits-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
}

.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.benefit-card {
  background: var(--bg-surface-solid);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.benefit-icon-wrapper {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ------------------------------------------
   8. Daily Streak Tracker
   ------------------------------------------ */
.tracker-section {
  padding: 100px 0;
}

.tracker-wrapper {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tracker-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.tracker-content p {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 24px;
}

.streak-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.streak-stat-box {
  background: var(--bg-secondary);
  padding: 16px;
  border-radius: var(--radius-md);
  flex: 1;
  text-align: center;
}

.streak-fire, .streak-icon { font-size: 1.25rem; display: block; }

.streak-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--brand-primary);
  display: block;
}

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

.tracker-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tracker-calendar {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-md);
}

.tracker-calendar h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.days-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.day-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  background-color: var(--bg-surface-solid);
  border-radius: var(--radius-sm);
  flex: 1;
  border: 1px solid var(--border-color);
}

.day-box.completed {
  background-color: var(--brand-primary-light);
  border-color: var(--brand-primary);
}

.day-name { font-size: 0.75rem; color: var(--text-muted); }
.day-check { font-size: 1rem; }

/* ------------------------------------------
   9. FAQ Accordion
   ------------------------------------------ */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
}

.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface-solid);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 18px 20px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

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

.faq-icon {
  font-size: 1.25rem;
  color: var(--brand-primary);
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 300;
}

/* ------------------------------------------
   10. Minimal Newsletter Signup
   ------------------------------------------ */
.newsletter-section {
  padding: 100px 0;
}

.newsletter-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
}

.newsletter-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.newsletter-card p {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 24px;
}

.newsletter-form .form-group {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 12px auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-surface-solid);
  outline: none;
  font-size: 0.9rem;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--brand-primary);
}

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

.open-privacy-link {
  color: var(--brand-primary);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}

.toast {
  display: none;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.toast-success {
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}

/* ------------------------------------------
   11. Footer
   ------------------------------------------ */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 56px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-tagline {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 300;
  max-width: 300px;
}

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

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a, .footer-modal-btn {
  color: var(--text-secondary);
  text-decoration: none;
  background: none;
  border: none;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
}

.footer-col a:hover, .footer-modal-btn:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.social-links {
  display: flex;
  gap: 14px;
  font-size: 1.1rem;
}

/* ------------------------------------------
   12. Minimal Dialog Modals
   ------------------------------------------ */
dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
}

dialog::backdrop {
  background: rgba(17, 22, 20, 0.6);
  backdrop-filter: blur(6px);
}

.flow-dialog .dialog-content {
  background: var(--bg-surface-solid);
  width: 90vw;
  max-width: 520px;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  position: relative;
  margin: auto;
  text-align: center;
}

.dialog-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.player-badge {
  display: inline-block;
  padding: 3px 10px;
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.player-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
}

.player-sanskrit {
  font-style: italic;
  color: var(--brand-accent);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.timer-ring-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 20px auto;
}

.timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-circle-bg {
  fill: none;
  stroke: var(--bg-secondary);
  stroke-width: 8;
}

.timer-circle-progress {
  fill: none;
  stroke: var(--brand-primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 552.92;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s linear;
}

.timer-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
}

.time-large {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text-primary);
}

.time-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.player-instruction {
  font-size: 0.925rem;
  color: var(--text-secondary);
  font-weight: 300;
  min-height: 64px;
  margin-bottom: 20px;
}

.player-progress-track {
  margin-bottom: 24px;
}

.pose-step-pills {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
}

.step-dot.active {
  background-color: var(--brand-primary);
  transform: scale(1.2);
}

.step-dot.completed {
  background-color: var(--brand-accent);
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-round-lg {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  padding: 0;
  font-size: 1.25rem;
}

.btn-icon-lg {
  background: var(--bg-secondary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Legal Modals */
.legal-dialog .legal-dialog-content {
  background: var(--bg-surface-solid);
  width: 90vw;
  max-width: 600px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px;
  margin: auto;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);

  h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
  }
}

.legal-body {
  overflow-y: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.legal-body h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 6px;
}

.legal-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  text-align: right;
}

/* ------------------------------------------
   13. Responsive Media Queries
   ------------------------------------------ */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-img { height: 320px; }
  .mindset-grid { grid-template-columns: 1fr; }
  .tracker-wrapper { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
  .hero-title { font-size: 2.25rem; }
  .section-title { font-size: 1.85rem; }
  .hero-features { flex-direction: column; gap: 16px; }
  .newsletter-form .form-group { flex-direction: column; }
  .footer-bottom-flex { flex-direction: column; gap: 12px; text-align: center; }
}
