:root {
  --primary: #000000;
  --primary-light: #333333;
  --secondary: #666666;
  --accent: #999999;
  --success: #000000;
  --warning: #000000;
  --danger: #000000;
  --light: #ffffff;
  --dark: #000000;
  --text: #000000;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #e5e5e5;
  --border-light: #f5f5f5;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(135deg, #000000 0%, #333333 100%);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f8f9fa 100%);
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  zoom: 0.9;
}

.navbar {
  background: white !important;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: 4px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
  flex-grow: 0;
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
  }
  
  .navbar .d-flex {
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--dark) !important;
  letter-spacing: -0.025em;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  margin: 0 0.25rem;
  position: relative;
}

.nav-link:hover {
  color: var(--dark) !important;
  background: var(--border-light);
  transform: translate3d(0, -1px, 0);
}

.nav-link:focus {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}

.nav-link.active {
  color: var(--dark) !important;
  background: var(--border);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--dark);
  border-radius: 50%;
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

.btn-outline-primary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

.btn-outline-primary:focus {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}

.btn:focus {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero {
  text-align: center;
  padding: 3rem 0;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.section-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.section-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 15px 35px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.form-control {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: white;
  color: var(--text);
  font-weight: 400;
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  outline: none;
  transform: translate3d(0, -1px, 0);
}

.form-control:hover {
  border-color: var(--text-light);
  transform: translate3d(0, -0.5px, 0);
}

.form-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
  min-height: 44px;
}

.form-select:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.form-select:hover {
  border-color: var(--text-light);
}

.btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}



.btn-primary {
  background: #111827;
  border: 1px solid #111827;
  color: white;
}

.btn-primary:hover {
  background: #1f2937;
  border-color: #1f2937;
}

.btn-success {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

.btn-success:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-danger {
  background: transparent;
  color: var(--text-light);
  border-color: var(--border);
}

.btn-danger:hover {
  background: var(--border-light);
  color: var(--dark);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
}

.btn-outline-secondary:hover {
  background: var(--border-light);
  color: var(--dark);
  border-color: var(--dark);
}

.breathe-btn {
  border-radius: 25px;
  padding: 12px 24px;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.breathe-btn.active {
  background: var(--gradient) !important;
  color: white !important;
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.timer-display {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin: 2rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'JetBrains Mono', monospace;
}

.timer-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.journal-entry {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.journal-entry:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(5px);
}

.journal-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mood-badge {
  background: var(--gradient-light);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.chat-message {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.chat-message:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.chat-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--dark);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.75rem;
}

@keyframes spin {
  0% { 
    transform: rotate3d(0, 0, 1, 0deg);
  }
  100% { 
    transform: rotate3d(0, 0, 1, 360deg);
  }
}

.success-message {
  background: rgba(0, 0, 0, 0.05);
  color: var(--dark);
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

.error-message {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

.auth-message {
  background: rgba(102, 126, 234, 0.1);
  color: var(--dark);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(102, 126, 234, 0.2);
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
  text-align: center;
}

.upgrade-message {
  background: rgba(255, 193, 7, 0.1);
  color: var(--dark);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 193, 7, 0.3);
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
  text-align: center;
}

.stat-item.locked {
  opacity: 0.5;
  position: relative;
}

.stat-item.locked::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  pointer-events: none;
}

.upgrade-prompt {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.upgrade-prompt p {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.upgrade-prompt .btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.upgrade-banner {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border);
  color: var(--text);
  border-left: 4px solid var(--dark);
}

.loading-message {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-light);
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

.footer {
  background: #fafafa;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--dark);
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .footer {
    text-align: center;
  }
  
  .footer .col-md-6:first-child {
    margin-bottom: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

.breathing-guide {
  text-align: center;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breathing-circle {
  width: 120px;
  height: 120px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
  transition: all 4s ease-in-out;
}

.breathing-circle.inhale {
  transform: scale(1.3);
  background: rgba(102, 126, 234, 0.1);
}

.breathing-circle.exhale {
  transform: scale(0.8);
  background: rgba(102, 126, 234, 0.05);
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }
  
  .auth-card {
    padding: 1.25rem;
    margin-top: 2rem !important;
  }
  
  .hero-landing {
    padding: 4rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    max-width: 100%;
    border-radius: 16px;
  }
  
  .timer-display {
    font-size: 3rem;
  }
  
  .breathe-btn {
    margin: 0.25rem;
    padding: 10px 16px;
  }
  
  .timer-controls {
    flex-direction: column;
    align-items: center;
  }
}

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

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

.slide-in {
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from { 
    opacity: 0; 
    transform: translateX(-20px);
  }
  to { 
    opacity: 1; 
    transform: translateX(0);
  }
}

.animate-in {
  animation: animateIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

@keyframes animateIn {
  0% { 
    opacity: 0; 
    transform: translate3d(0, 30px, 0) scale3d(0.96, 0.96, 1);
  }
  100% { 
    opacity: 1; 
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

/* Cool Aesthetic Animations */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  animation: float-random 20s infinite linear;
}

@keyframes float-random {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.morphing-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #f8f9fa, #ffffff, #f1f3f4);
  background-size: 400% 400%;
  animation: morphing 15s ease-in-out infinite;
  z-index: -2;
}

@keyframes morphing {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hover-lift {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.text-gradient {
  background: linear-gradient(135deg, #000000, #333333, #000000);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 0 40px rgba(0, 0, 0, 0.2); }
}

.typewriter {
  overflow: hidden;
  border-right: 2px solid #000;
  white-space: nowrap;
  animation: typewriter 3s steps(40) 1s 1 normal both,
             blink 1s steps(1) infinite;
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.slide-up {
  animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Modern Sidebar Styles */
.progress-circle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.progress-circle {
  position: relative;
}

#progressRing {
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              stroke 0.3s ease;
  transform-origin: center;
  transform: rotate(-90deg);
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.progress-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}

.progress-unit {
  font-size: 0.75rem;
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-box {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.benefits-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.benefit-modern:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.benefit-icon {
  font-size: 1.5rem;
  min-width: 40px;
}

.benefit-content h6 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--dark);
}

.benefit-content p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

/* Auth Pages */
.auth-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.divider span {
  background: white;
  padding: 0 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.auth-visual {
  padding: 2rem;
}

.feature-highlight {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateX(10px);
}

.highlight-icon {
  font-size: 2rem;
  min-width: 60px;
  text-align: center;
}

.highlight-item h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--dark);
}

.highlight-item p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

/* Feedback Page */
.feedback-card {
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  cursor: pointer;
}

.star {
  font-size: 1.5rem;
  transition: all 0.2s ease;
  opacity: 0.3;
}

.star:hover {
  transform: scale(1.1);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--dark);
  min-width: 30px;
}

.contact-item strong {
  font-size: 0.875rem;
  color: var(--dark);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
}

.tip-icon {
  font-size: 1rem;
  min-width: 20px;
}

@keyframes floatUp {
  0% { 
    opacity: 1; 
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
  100% { 
    opacity: 0; 
    transform: translate3d(0, -40px, 0) scale3d(1.1, 1.1, 1);
  }
}

.completion-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.completion-content {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.4s ease-out;
}

.completion-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 0.6s ease-out;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { 
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
  40%, 43% { 
    transform: translate3d(0, -15px, 0) scale3d(1.02, 1.02, 1);
  }
  70% { 
    transform: translate3d(0, -8px, 0) scale3d(1.01, 1.01, 1);
  }
  90% { 
    transform: translate3d(0, -3px, 0) scale3d(1, 1, 1);
  }
}

.success-toast, .error-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  z-index: 1000;
  animation: slideInRight 0.3s ease-out;
}

.success-toast {
  background: var(--success);
}

.error-toast {
  background: var(--danger);
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

.notification.show {
  transform: translateX(0);
}

.logo {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale3d(1, 1, 1);
  }
  50% { 
    transform: scale3d(1.02, 1.02, 1);
  }
}

.glow {
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.chat-actions {
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-message:hover .chat-actions {
  opacity: 1;
}

.journal-content {
  line-height: 1.6;
  color: var(--text);
}

.nav-btn.active {
  background: var(--primary) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Minimal Landing Page Styles */
.hero-landing {
  background: #ffffff;
  color: var(--dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 6rem 0 4rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 200;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: #111827;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-features {
  margin: 2rem 0;
}

.feature-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.feature-point i {
  color: var(--dark);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .feature-list {
    flex-direction: column;
    gap: 1rem;
  }
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.hero-actions .btn {
  padding: 1rem 2rem;
  font-weight: 500;
  border-radius: 6px;
  margin: 0.5rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--dark);
  border: 1px solid var(--dark);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1px solid var(--border);
  color: var(--text-light);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--border-light);
  color: var(--dark);
  border-color: var(--border);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: var(--text);
  animation: float 12s ease-in-out infinite;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.875rem;
  max-width: 140px;
}

.floating-card:hover {
  transform: translateY(-12px) scale(1.08) rotate(2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
  background: rgba(255, 255, 255, 1);
}

.floating-card:hover i {
  transform: scale(1.2);
  color: #667eea;
}

.floating-card:hover span {
  color: var(--dark);
  font-weight: 600;
}

.floating-card i {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: block;
}

.floating-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}

.card-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 40%;
  right: 5%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 10%;
  right: 15%;
  animation-delay: 4s;
}

.hero-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: zen-pulse 8s ease-in-out infinite;
}

.hero-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  animation: zen-pulse 8s ease-in-out infinite 2s;
}

.hero-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--dark);
  border-radius: 50%;
  animation: zen-pulse 8s ease-in-out infinite 4s;
}

@keyframes zen-pulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

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

.features-section {
  background: #fafafa;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 200;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  font-weight: 400;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--dark);
  transform: scale3d(0, 1, 1);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.feature-card:hover h3 {
  color: #667eea;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.feature-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.feature-link:hover {
  color: var(--text-light);
  transform: translate3d(4px, 0, 0);
}

.feature-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.feature-link:hover i {
  transform: translate3d(3px, 0, 0);
}

.benefits-section {
  padding: 5rem 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.benefit-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.benefit-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.cta-section {
  background: var(--gradient);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Minimal Page Styles */
.page-header {
  background: white;
  color: var(--dark);
  padding: 6rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: 2.25rem;
  font-weight: 200;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #000000;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.page-stats {
  display: none;
}

.journal-card, .breathing-card, .community-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.journal-card:hover, .breathing-card:hover, .community-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transform: translate3d(0, -1px, 0);
}

.card-header {
  background: #fafafa;
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.card-subtitle {
  color: var(--text-light);
  margin: 0;
  font-size: 0.875rem;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translate3d(0, -2px, 0);
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.breathing-circle-pro {
  width: 160px;
  height: 160px;
  border: 2px solid var(--dark);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 4s cubic-bezier(0.4, 0, 0.6, 1);
  background: white;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
}

.breathing-circle-pro::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: all 4s cubic-bezier(0.4, 0, 0.6, 1);
}

.breathing-circle-pro.inhale {
  transform: scale(1.2);
  background: var(--border-light);
  border-color: var(--dark);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.breathing-circle-pro.inhale::before {
  transform: scale(1.3);
  border-color: rgba(0, 0, 0, 0.2);
}

.breathing-circle-pro.exhale {
  transform: scale(0.9);
  background: white;
  border-color: var(--text-light);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.breathing-circle-pro.exhale::before {
  transform: scale(0.8);
  border-color: rgba(0, 0, 0, 0.05);
}

.breathing-circle-pro.hold {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--dark);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.breathing-circle-pro.hold::before {
  transform: scale(1.2);
  border-color: rgba(0, 0, 0, 0.15);
}

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

.breathing-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: block;
  margin-bottom: 0.25rem;
}

.breathing-phase {
  font-size: 0.75rem;
  color: var(--text-light);
}

.timer-display-pro {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--dark);
  text-align: center;
  margin: 2rem 0;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.05em;
}

.breathing-instruction {
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.control-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.technique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.technique-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.technique-card:hover {
  border-color: var(--dark);
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.technique-card.active {
  border-color: var(--dark);
  background: var(--dark);
  color: white;
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.technique-card.active .technique-icon,
.technique-card.active h6,
.technique-card.active p {
  color: white;
}

.technique-card h6 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem;
  color: var(--dark);
}

.technique-card p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 0;
}

.technique-icon {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: block;
}

.duration-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.duration-btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.duration-btn.active {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

.focus-areas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.focus-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text);
}

.focus-item i {
  color: var(--dark);
  font-size: 1rem;
  width: 16px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.col-lg-4, .col-lg-6, .col-lg-8, .col-md-4, .col-md-6 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

.min-vh-100 {
  min-height: 100vh;
}

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

.justify-content-center {
  justify-content: center;
}

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

.text-lg-end {
  text-align: left;
}

@media (min-width: 992px) {
  .text-lg-end {
    text-align: right;
  }
}

.card-body {
  padding: 2rem;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

@media (max-width: 768px) {
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

.g-4 > * {
  padding: 0.75rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-column {
  flex-direction: column;
}

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

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.me-2 {
  margin-right: 0.5rem;
}

.me-3 {
  margin-right: 1rem;
}

.ms-2 {
  margin-left: 0.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

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

.mb-5 {
  margin-bottom: 3rem;
}

/* Professional Touch Targets */
.btn, .form-control, .form-select, .technique-card, .nav-link {
  min-height: 44px;
  touch-action: manipulation;
}

/* Responsive Form Improvements */
@media (max-width: 768px) {
  .form-control, .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 48px;
  }
  
  .btn {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
  }
  
  .prompt-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .prompt-btn {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  .input-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .input-group .form-control {
    border-radius: 8px;
    margin-bottom: 0;
  }
  
  .input-group .btn {
    border-radius: 8px;
    width: 100%;
    min-height: 48px;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-header {
    padding: 1.5rem 1.5rem 1rem;
  }
}

/* Tablet Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-visual {
    height: 400px;
    margin-top: 2rem;
  }
  
  .floating-card {
    padding: 1rem;
  }
  
  .feature-list {
    justify-content: center;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-landing {
    padding: 3rem 0 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 200;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
  }
  
  .page-header {
    padding: 4rem 0 2rem;
  }
  
  .page-title {
    font-size: 1.75rem;
    text-align: center;
  }
  
  .page-subtitle {
    text-align: center;
  }
  
  .floating-card {
    display: none;
  }
  
  .hero-visual {
    height: 200px;
    margin-top: 2rem;
  }
  
  .hero-circle {
    width: 150px;
    height: 150px;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-header {
    padding: 1.5rem;
  }
  
  .feature-list {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    min-height: 52px;
    font-weight: 600;
    letter-spacing: 0.025em;
  }
  
  .technique-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .duration-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .duration-btn {
    width: 100%;
    max-width: 200px;
  }
  
  .control-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .control-buttons .btn {
    width: 100%;
    max-width: 240px;
    min-height: 48px;
  }
  
  .breathing-visualization {
    padding: 1rem;
  }
  
  .breathing-container {
    margin-bottom: 2rem;
  }
  
  .breathing-circle-pro {
    width: 120px;
    height: 120px;
  }
  
  .timer-display-pro {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
    text-align: center;
  }
  
  .section-subtitle {
    text-align: center;
  }
  
  .feature-card {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    margin: 0 auto 1rem;
  }
  
  .benefit-item {
    text-align: center;
    flex-direction: column;
    margin-bottom: 2rem;
  }
  
  .benefit-item i {
    margin-right: 0;
    margin-bottom: 1rem;
    font-size: 2rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .hero-landing {
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .page-header {
    padding: 3rem 0 1.5rem;
  }
  
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .page-subtitle {
    font-size: 0.875rem;
  }
  
  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    min-height: 44px;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-header {
    padding: 1rem;
  }
  
  .sidebar-card {
    margin-top: 1.5rem;
    padding: 1rem;
  }
  
  .breathing-circle-pro {
    width: 90px;
    height: 90px;
  }
  
  .timer-display-pro {
    font-size: 1.5rem;
    margin: 1rem 0;
  }
  
  .technique-card {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .form-control, .form-select {
    padding: 0.875rem;
    font-size: 16px;
    min-height: 44px;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }
  
  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .logo {
    height: 32px;
  }
}

/* Progress Stats Styles */
.progress-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Community Real-time Styles */
.community-post {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.community-post:hover {
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.post-content {
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-light);
}

.post-type-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-light);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.tab-btn:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.tab-btn.active {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

@media (max-width: 768px) {
  .progress-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .stat-item {
    padding: 0.75rem;
  }
  
  .stat-value {
    font-size: 1.25rem;
  }
  
  .post-type-tabs {
    justify-content: center;
  }
  
  .tab-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}
