/* ==========================================================================
   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. Hero Section
   -------------------------------------------------------------------------- */
.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;
}

/* Pulsing Breath Graphic in Hero */
.hero-breath-graphic {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

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

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

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px var(--accent-glow); }
  50% { box-shadow: 0 0 30px var(--accent-cyan); }
}

/* --------------------------------------------------------------------------
   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;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.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;
  width: 100%;
  height: 100%;
  background: var(--modal-overlay);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  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: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  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;
}

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

/* Animated Breathing Visualizer inside Modal */
.breathing-visualizer {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 1rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath-circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--border-color);
  animation: rotate-slow 60s linear infinite;
}

@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, var(--accent-cyan) 0%, var(--accent-teal) 100%);
  box-shadow: 0 0 40px 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);
}

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

.completion-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.completion-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.affirmation-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
}

.affirmation-box::before {
  content: '“';
  font-size: 3rem;
  font-family: serif;
  color: var(--accent-cyan);
  position: absolute;
  top: -10px;
  left: 15px;
  opacity: 0.3;
}

.completion-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 340px;
}

/* --------------------------------------------------------------------------
   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) {
  .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-card {
    padding: 1.75rem 1.25rem;
  }

  .breathing-visualizer {
    width: 200px;
    height: 200px;
  }

  .breath-circle-main {
    width: 140px;
    height: 140px;
  }
}
