/* ========================================
   D-BREV FITNESS APP - COMPLETE STYLES
   ✅ ALL FIXES APPLIED
======================================== */
/* ========================================
   CSS VARIABLES & RESET
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --background: #0A0A0A;
  --foreground: #FFFFFF;
  --primary: #FF6B23;
  --primary-dark: #E55A15;
  --primary-light: #FF8C4D;
  
  /* UI Elements */
  --card-bg: rgba(20, 20, 20, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  
  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #B3B3B3;
  --text-muted: #808080;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.4);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
}

/* ========================================
   BASE STYLES
======================================== */

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--primary);
  color: white;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

/* ========================================
   UTILITY CLASSES
======================================== */

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 107, 35, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   SECTIONS & LAYOUT
======================================== */

.section {
  display: none;
  min-height: 100vh;
  position: relative;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.section.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  animation: fadeInSection 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   BACKGROUND LAYERS
======================================== */

.hero-bg,
.dashboard-bg {
  position: fixed;
  inset: 0;
  background-image: url('bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

.hero-overlay,
.dashboard-overlay {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255, 107, 35, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-overlay::after,
.dashboard-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.setup-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  z-index: -2;
}

.setup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: -1;
}

/* ========================================
   NAVIGATION BAR - ✅ FIXED STRUCTURE
======================================== */

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.nav-container {
  position: relative; /* ✅ KEY FIX */
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform var(--transition-normal);
  z-index: 1001;
}

.nav-brand:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 2px 8px rgba(255, 107, 35, 0.3));
}

.nav-brand:hover .logo-img {
  transform: rotate(5deg) scale(1.1);
}

.brand-text {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ========================================
   HAMBURGER BUTTON - ✅ FIXED
======================================== */

.hamburger-btn {
  position: relative;
  background: rgba(255, 107, 35, 0.1);
  border: 2px solid rgba(255, 107, 35, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 1002; /* ✅ HIGHEST */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn:hover {
  background: rgba(255, 107, 35, 0.2);
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 107, 35, 0.3);
}

.hamburger-btn:active {
  transform: scale(0.95);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  width: 1.5rem;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--foreground);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Hamburger Animation */
.hamburger-btn.active .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger-btn.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ========================================
   HAMBURGER MENU - ✅ FIXED POSITIONING
======================================== */

.hamburger-menu {
  position: absolute; /* ✅ RELATIVE TO .nav-container */
  top: calc(100% + 0.5rem); /* ✅ BELOW NAV */
  right: var(--spacing-lg); /* ✅ RIGHT ALIGNED */
  
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  min-width: 220px;
  
  z-index: 1001; /* ✅ HIGH Z-INDEX */
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all var(--transition-normal);
  
  box-shadow: var(--shadow-xl);
}

.hamburger-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-item {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.menu-item:hover {
  background: rgba(255, 107, 35, 0.15);
  color: var(--primary);
  transform: translateX(4px);
}

#profileMenuBtn,
#profileMenuBtn2 {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* ========================================
   HERO SECTION
======================================== */

.hero-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
}

.hero-content {
  max-width: 70rem;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.04em;
}

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ========================================
   SCROLLING BAR - ✅ NO Z-INDEX
======================================== */

.scrolling-bar {
  position: relative;
  /* ❌ NO z-index - This was causing menu to appear below */
  background: rgba(255, 107, 35, 0.1);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 107, 35, 0.3);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}

.scrolling-text span {
  font-size: 1.5rem;
  font-weight: 700;
  padding-right: 4rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.33%); }
}

/* ========================================
   BUTTONS
======================================== */

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  padding: 1.2rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(255, 107, 35, 0.4);
  overflow: hidden;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 107, 35, 0.6);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: inherit;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 107, 35, 0.4);
}

.btn-outline:active {
  transform: translateY(0);
}

/* ========================================
   SETUP FORM
======================================== */

.setup-container {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.setup-card {
  max-width: 600px;
  width: 100%;
  padding: var(--spacing-xl);
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.setup-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: var(--spacing-xl);
  text-align: center;
  letter-spacing: -0.02em;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 107, 35, 0.1);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group select option {
  background-color: #1A1A1A;
  color: var(--foreground);
  padding: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:checked {
  background-color: rgba(255, 107, 35, 0.2);
  color: var(--foreground);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF6B23' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

@-moz-document url-prefix() {
  .form-group select option {
    background-color: #1A1A1A;
    color: #FFFFFF;
  }
}

textarea:focus {
  outline: none;
  border-color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 35, 0.1);
}

textarea::placeholder {
  color: var(--text-muted);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-label {
  cursor: pointer;
}

.glass-option {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.glass-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 107, 35, 0.5);
  transform: translateX(4px);
}

.glass-option input[type="radio"] {
  margin-right: 0.75rem;
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.glass-option input[type="radio"]:checked + .radio-text {
  color: var(--primary);
  font-weight: 700;
}

.radio-text {
  font-size: 1rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.calorie-result {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: linear-gradient(135deg, rgba(255, 107, 35, 0.15), rgba(255, 140, 66, 0.05));
  border: 2px solid rgba(255, 107, 35, 0.3);
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-lg);
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.calorie-result h3 {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calorie-value {
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: var(--spacing-sm) 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.calorie-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* ========================================
   LOADING SCREEN
======================================== */

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--spacing-lg);
  text-align: center;
}

.loading-text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-xl);
  letter-spacing: -0.02em;
}

.loading-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-top: var(--spacing-md);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.progress-bar {
  width: 100%;
  max-width: 600px;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 107, 35, 0.6);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ========================================
   DASHBOARD
======================================== */

.dashboard-container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.dashboard-header {
  margin-bottom: var(--spacing-xl);
  text-align: center;
  animation: fadeInUp 0.6s ease;
}

.dashboard-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.03em;
}

.user-stats {
  font-size: 1.3rem;
  color: var(--text-secondary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

.tabs {
  margin-top: var(--spacing-lg);
}

.tab-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  max-width: 500px;
  margin: 0 auto var(--spacing-xl);
  padding: 0.5rem;
}

.tab-btn {
  padding: 1.1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
}

.tab-btn span {
  font-size: 1.3rem;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 107, 35, 0.3);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(255, 107, 35, 0.4);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ========================================
   WORKOUT CARDS
======================================== */

.workout-day {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-normal);
}

.workout-day:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 107, 35, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.workout-day h3 {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
}

.workout-day h3::before {
  content: '';
  width: 4px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

.workout-day ul {
  list-style: none;
}

.workout-day li {
  padding: 0.9rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.workout-day li:last-child {
  border-bottom: none;
}

.workout-day li:hover {
  color: var(--primary);
  transform: translateX(6px);
}

.workout-day li::before {
  content: '→';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.3rem;
}

.workout-day p {
  padding: var(--spacing-sm) 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ========================================
   FEEDBACK FORM
======================================== */

.feedback-btn {
  background: linear-gradient(135deg, rgba(255, 107, 35, 0.15), rgba(255, 140, 66, 0.05));
  border: 2px solid rgba(255, 107, 35, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.feedback-btn:hover {
  background: linear-gradient(135deg, rgba(255, 107, 35, 0.25), rgba(255, 140, 66, 0.1));
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feedback-btn h3 {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.feedback-btn p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.rating-stars {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
  margin-top: 0.5rem;
}

.star {
  cursor: pointer;
  transition: all var(--transition-fast);
  filter: grayscale(1);
  opacity: 0.4;
}

.star:hover,
.star.active {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.2);
}

.star.active {
  animation: starPop 0.3s ease;
}

@keyframes starPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.2); }
}

/* ========================================
   VIDEO MODAL
======================================== */

#videoModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-modal-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.video-close-btn {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10000;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 35, 0.2);
  border: 2px solid rgba(255, 107, 35, 0.3);
  border-radius: 50%;
}

.video-close-btn:hover {
  background: rgba(255, 107, 35, 0.4);
  border-color: var(--primary);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 107, 35, 0.5);
}

.video-modal-title {
  color: white;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

#videoContainer {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 107, 35, 0.2);
  border: 2px solid rgba(255, 107, 35, 0.3);
}

#videoContainer iframe {
  width: 100%;
  height: 500px;
  border: none;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
  :root {
    font-size: 15px;
  }

  .dashboard-container {
    padding: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .nav-container {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 1.5rem;
  }

  .hero-main {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .setup-card {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    grid-template-columns: 1fr;
  }

  .hamburger-menu {
    right: var(--spacing-md);
    min-width: 200px;
  }

  .dashboard-container {
    padding: var(--spacing-sm);
  }

  .workout-day {
    padding: var(--spacing-md);
  }

  .scrolling-text span {
    font-size: 1.2rem;
  }

  #videoContainer iframe {
    height: 300px;
  }

  .video-close-btn {
    top: -40px;
    font-size: 2rem;
    width: 40px;
    height: 40px;
  }

  .rating-stars {
    font-size: 1.5rem;
  }

  .feedback-btn {
    padding: var(--spacing-md);
  }

  .feedback-btn h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .calorie-value {
    font-size: 3rem;
  }

  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .setup-title {
    font-size: 2rem;
  }

  .tab-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .workout-day h3 {
    font-size: 1.3rem;
  }

  .workout-day li {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
