/*
Theme Name: Golden Whispers Theme
Theme URI: https://goldenwhispers.com
Author: Antigravity AI Team
Author URI: https://goldenwhispers.com
Description: A modern, serene, content-rich, and AdSense-optimized theme for breathing exercises, mindfulness, and manifestation.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: golden-whispers
Tags: grid-layout, dark-mode, responsive-layout, custom-menu, theme-options, translation-ready, e-commerce
*/

/* ==========================================================================
   Golden Whispers - Design System & Stylesheet
   Theme: Bluish-Cyan Wellness & Mindfulness
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Theme Variables
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Light Mode Default */
  --bg-primary: #f0f9ff;
  --bg-secondary: #e0f2fe;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-color: rgba(6, 182, 212, 0.18);
  --border-hover: rgba(6, 182, 212, 0.4);

  --text-primary: #06263a;
  --text-secondary: #334e68;
  --text-muted: #627d98;
  --text-inverse: #ffffff;

  --accent-cyan: #00b8d9;
  --accent-cyan-hover: #009cb8;
  --accent-teal: #0891b2;
  --accent-cyan-light: #e0f2fe;
  --accent-glow: rgba(0, 184, 217, 0.35);

  --shadow-sm: 0 4px 6px -1px rgba(6, 38, 58, 0.05), 0 2px 4px -1px rgba(6, 38, 58, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(6, 38, 58, 0.08), 0 8px 10px -6px rgba(6, 38, 58, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 184, 217, 0.15), 0 10px 15px -5px rgba(6, 38, 58, 0.06);
  --shadow-glow: 0 0 30px rgba(0, 184, 217, 0.3);

  --modal-overlay: rgba(6, 38, 58, 0.75);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #04131f;
  --bg-secondary: #082133;
  --bg-surface: #0a293e;
  --bg-surface-elevated: #0e3550;
  --bg-glass: rgba(10, 41, 62, 0.75);
  --border-color: rgba(0, 184, 217, 0.2);
  --border-hover: rgba(0, 184, 217, 0.5);

  --text-primary: #f0f9ff;
  --text-secondary: #bae6fd;
  --text-muted: #7dd3fc;
  --text-inverse: #06263a;

  --accent-cyan: #00b8d9;
  --accent-cyan-hover: #38bdf8;
  --accent-teal: #06b6d4;
  --accent-cyan-light: rgba(0, 184, 217, 0.15);
  --accent-glow: rgba(0, 184, 217, 0.45);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 184, 217, 0.25);
  --shadow-glow: 0 0 40px rgba(0, 184, 217, 0.4);

  --modal-overlay: rgba(2, 9, 15, 0.85);
}

/* --------------------------------------------------------------------------
   2. Reset & General Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-teal);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Header & Navigation Bar
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 15px var(--accent-glow);
  animation: pulse-glow 4s infinite ease-in-out;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Switch */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-normal);
}

.theme-toggle-btn:hover svg {
  transform: rotate(20deg);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   4. Buttons & UI Components
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--accent-glow);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-light);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
}

.btn-outline:hover {
  background: var(--accent-cyan);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-cyan-light);
  color: var(--accent-teal);
  border: 1px solid var(--border-color);
}

/* Card UI */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   5. Scrollytelling 3D Hero Section
   -------------------------------------------------------------------------- */
.scrolly-hero {
  position: relative;
  height: 280vh;
  background-color: var(--bg-primary);
}

.scrolly-sticky-container {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
}

.scrolly-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.scrolly-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.scrolly-hero-card {
  background: rgba(4, 19, 31, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 184, 217, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 880px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float-orb 12s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 450px;
  height: 450px;
  background: var(--accent-cyan);
  top: -100px;
  right: -50px;
}

.glow-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-teal);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 1.25rem 0;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-cyan) 80%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Trust Stats Bar in Hero */
.hero-stats-bar {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.85rem 2rem;
  margin-top: 2.75rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
}

.hero-stat-item .stat-icon {
  font-size: 1.25rem;
}

.hero-stat-item strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.hero-stat-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-stat-divider {
  width: 1px;
  height: 24px;
  background: var(--border-color);
}

/* Pulsing Breath Graphic in Hero */
.hero-breath-graphic {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-pulse-outer-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed var(--accent-cyan);
  opacity: 0.35;
  animation: rotate-slow 40s linear infinite;
}

.hero-pulse-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan-light) 0%, rgba(0,184,217,0.05) 70%);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  animation: hero-breath 8s infinite ease-in-out;
  position: relative;
  z-index: 2;
}

.hero-pulse-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  box-shadow: 0 0 20px var(--accent-glow);
}

@keyframes hero-breath {
  0%, 100% {
    transform: scale(0.85);
    border-color: rgba(0, 184, 217, 0.4);
    box-shadow: 0 0 15px rgba(0, 184, 217, 0.2);
  }
  50% {
    transform: scale(1.25);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 45px var(--accent-glow);
  }
}

/* Studio Filter Bar */
.studio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   6. Educational SEO Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-cyan-light);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-color);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. The 6 Breathing Tool Tiles
   -------------------------------------------------------------------------- */
.tools-section {
  scroll-margin-top: 90px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.25rem;
}

.tool-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.tool-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tool-tile:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg);
}

.tool-tile:hover::before {
  opacity: 1;
}

.tool-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan-light), rgba(0, 184, 217, 0.05));
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.tool-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.tool-name {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.tool-timing-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  background: var(--accent-cyan-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.tool-benefit {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tool-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
}

.rounds-select-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rounds-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.voice-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.voice-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.voice-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.voice-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  transition: .3s ease;
  border-radius: 22px;
}

.voice-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .3s ease;
  border-radius: 50%;
}

.voice-switch input:checked + .voice-slider {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  border-color: transparent;
}

.voice-switch input:checked + .voice-slider:before {
  transform: translateX(18px);
  background-color: #ffffff;
}

.rounds-pills {
  display: flex;
  gap: 0.4rem;
}

.pill-opt {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.pill-opt.active, .pill-opt:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
}

.btn-start-tool {
  width: 100%;
}

/* --------------------------------------------------------------------------
   8. Breathing Tool Popup / Modal System
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-overlay);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-instructions {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 440px;
}

/* Tool Tile Enhancements */
.tool-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tool-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-teal), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.tool-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-hover);
}

.tool-tile:hover::before {
  opacity: 1;
}

/* Breathing Visualizer Pulse Ring */
.breathing-visualizer {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 1rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath-circle-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: breath-pulse 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes breath-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.3; }
  50% { transform: scale(1.18); opacity: 0.75; }
}

.breath-circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--border-color);
  animation: rotate-slow 60s linear infinite;
  z-index: 1;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.breath-circle-main {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-cyan) 0%, var(--accent-teal) 100%);
  box-shadow: 0 0 50px var(--accent-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.breath-phase-text {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.breath-timer-count {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.nostril-cue {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--bg-surface-elevated);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.session-trackers-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.round-tracker {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--accent-cyan-light);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.session-timer-badge {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-teal);
  background: var(--bg-surface-elevated);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.voice-modal-badge {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--bg-surface-elevated);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.voice-modal-badge:hover {
  border-color: var(--accent-cyan);
}

.modal-timer-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
}

.modal-timer-actions .btn {
  flex: 1;
}

/* Completion View inside Modal */
.completion-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0.5rem 0;
  box-sizing: border-box;
}

.completion-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.45);
  flex-shrink: 0;
}

.completion-title {
  font-size: 1.85rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.completion-subtitle {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.completion-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--accent-cyan-light);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

/* Distinct Styled Manifestation Quote Card */
.affirmation-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.75rem 1.4rem;
  margin: 0 0 1.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent-cyan);
  opacity: 0.4;
  display: block;
  margin-bottom: -1.2rem;
}

.affirmation-quote-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.affirmation-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  background: var(--accent-cyan-light);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
}

.completion-prompt {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

/* Bottom Positioned Action Buttons */
.completion-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.completion-actions .btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
}

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.social-links {
  display: flex;
  gap: 0.85rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.social-icon-btn.social-youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.social-icon-btn.social-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.4);
}

.social-icon-btn.social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(220, 39, 67, 0.4);
}

.social-icon-btn.social-pinterest:hover {
  background: #bd081c;
  border-color: #bd081c;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(189, 8, 28, 0.4);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   10. Sub-Pages (About, Contact, Privacy, Disclaimer)
   -------------------------------------------------------------------------- */
.page-header {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-title {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.content-block {
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.8;
}

.content-block h2 {
  font-size: 1.8rem;
  margin: 2.25rem 0 1rem;
  color: var(--text-primary);
}

.content-block p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.content-block ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.content-block li {
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 4px var(--accent-cyan-light);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* FAQ Accordion */
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   11. Media Queries / Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .scrolly-hero {
    height: 220vh;
  }
  .scrolly-hero-card {
    padding: 2rem 1.25rem;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 99;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-start;
  }

  .modal-card {
    padding: 1.75rem 1.25rem 1.5rem;
    max-height: none;
    margin: 0.5rem auto;
  }

  .breathing-visualizer {
    width: 180px;
    height: 180px;
    margin: 0.5rem 0 1rem;
  }

  .breath-circle-main {
    width: 130px;
    height: 130px;
  }
}

@media (max-height: 720px) {
  .modal-overlay {
    align-items: flex-start;
    padding: 0.5rem;
  }
  .modal-card {
    max-height: none;
    margin: 0.5rem auto;
  }
  .breathing-visualizer {
    width: 160px;
    height: 160px;
    margin: 0.4rem 0 1rem;
  }
  .breath-circle-main {
    width: 120px;
    height: 120px;
  }
}

/* --------------------------------------------------------------------------
   Blog Article & AdSense Placement Styling
   -------------------------------------------------------------------------- */
.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.content-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 992px) {
  .content-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.toc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.toc-list {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.toc-list a:hover {
  color: var(--accent-cyan);
}

.article-body {
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.85rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-body h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.technique-timing {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem !important;
}

.technique-highlight-box {
  background: var(--accent-cyan-light);
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.technique-highlight-box h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.technique-highlight-box p, .technique-highlight-box ol {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.section-divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 3rem 0;
}

/* AdSense Unit Slots */
.adsense-slot-card {
  background: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
}

.ad-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.ad-placeholder {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Interactive Blog Tile Directory & Dedicated Guide Page Styling
   -------------------------------------------------------------------------- */
.blog-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.blog-tile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.blog-tile-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 184, 217, 0.15);
}

.tile-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--border-color);
  opacity: 0.5;
}

.tile-icon-badge {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.tile-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.tile-timing {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
}

.tile-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.blog-tile-card .btn-start-tool {
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}

.tile-badge {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tile-arrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  white-space: nowrap;
  transition: transform var(--transition-fast);
}

.blog-tile-card:hover .tile-arrow {
  transform: translateX(4px);
}

.faq-tile-card {
  border-color: rgba(234, 179, 8, 0.3);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(234, 179, 8, 0.05) 100%);
}

.guide-tool-section {
  padding-top: 1rem;
}

.guide-tool-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 184, 217, 0.1);
  margin-bottom: 2rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-top: 1rem;
  transition: border-color var(--transition-fast);
}

.faq-question:hover {
  border-color: var(--accent-cyan);
}

.faq-answer {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
