/* ===== FitPath - Energetic Fitness Magazine ===== */
/* Colors: Vibrant Orange #ff6348, Electric Blue #3742fa, Dark Charcoal #2f3542 */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700&display=swap');

:root {
  --orange: #ff6348;
  --orange-dark: #e8553a;
  --blue: #3742fa;
  --blue-dark: #2a33c9;
  --charcoal: #2f3542;
  --charcoal-light: #57606f;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #eef0f2;
  --gray: #a4b0be;
  --success: #2ed573;
  --warning: #ffa502;
  --gradient-fire: linear-gradient(135deg, #ff6348 0%, #ff4757 50%, #3742fa 100%);
  --gradient-blue: linear-gradient(135deg, #3742fa 0%, #5352ed 100%);
  --gradient-dark: linear-gradient(135deg, #2f3542 0%, #1e2430 100%);
  --shadow-sm: 0 2px 8px rgba(47, 53, 66, 0.08);
  --shadow-md: 0 4px 20px rgba(47, 53, 66, 0.12);
  --shadow-lg: 0 8px 40px rgba(47, 53, 66, 0.16);
  --shadow-orange: 0 4px 20px rgba(255, 99, 72, 0.3);
  --shadow-blue: 0 4px 20px rgba(55, 66, 250, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ===== DIAGONAL CLIP BACKGROUNDS ===== */
.diagonal-top {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
}

.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}

.diagonal-both {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(47, 53, 66, 0.08);
  transition: all 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-accent {
  color: var(--orange);
}

.nav-logo .logo-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-light);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: rgba(255, 99, 72, 0.08);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 8px;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-menu a:hover {
  background: rgba(255, 99, 72, 0.08);
  color: var(--orange);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: var(--orange);
  transform: rotate(-12deg);
  opacity: 0.08;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: var(--blue);
  transform: rotate(8deg);
  opacity: 0.06;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 99, 72, 0.15);
  border: 1px solid rgba(255, 99, 72, 0.3);
  color: var(--orange);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
  color: var(--orange);
  position: relative;
}

.hero h1 .highlight-blue {
  color: var(--blue);
  background: linear-gradient(135deg, #3742fa, #5352ed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-condensed);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 36px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--light-gray);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-gray {
  background: var(--off-white);
}

.section-orange {
  background: var(--orange);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-dark .section-tag {
  color: var(--orange);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

/* ===== GUIDE CARDS ===== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.guide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.guide-card-header {
  position: relative;
  padding: 32px 28px 24px;
  background: var(--gradient-dark);
  overflow: hidden;
}

.guide-card-header::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.1;
}

.guide-card-header.blue-header {
  background: var(--gradient-blue);
}

.guide-card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}

.guide-card-tag {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 8px;
}

.blue-header .guide-card-tag {
  color: rgba(255,255,255,0.7);
}

.guide-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
}

.guide-card-body {
  padding: 24px 28px 28px;
}

.guide-card-excerpt {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.guide-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray);
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.guide-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== EXPANDED ARTICLE ===== */
.article-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 40px 20px;
  animation: fadeIn 0.3s ease;
}

.article-modal.open {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.article-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  padding: 48px;
  position: relative;
  animation: slideUp 0.4s ease;
  margin: 20px auto;
}

.article-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--charcoal);
  transition: all 0.2s ease;
  z-index: 10;
}

.article-close:hover {
  background: var(--orange);
  color: var(--white);
}

.article-tag {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 12px;
}

.article-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--charcoal);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 28px 0 12px;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
}

.article-body p {
  margin-bottom: 16px;
  color: var(--charcoal-light);
  line-height: 1.8;
}

.article-body ul, .article-body ol {
  margin: 12px 0 16px 24px;
  color: var(--charcoal-light);
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body strong {
  color: var(--charcoal);
}

.article-body .callout {
  background: rgba(255, 99, 72, 0.08);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-weight: 500;
}

.article-body .callout-blue {
  background: rgba(55, 66, 250, 0.06);
  border-left-color: var(--blue);
}

/* ===== AD SLOTS ===== */
.ad-slot {
  background: var(--light-gray);
  border: 2px dashed var(--gray);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin: 32px 0;
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot-wide {
  min-height: 100px;
}

.ad-slot-sidebar {
  min-height: 280px;
}

.ad-slot-inline {
  min-height: 90px;
  margin: 24px 0;
}

/* ===== CALCULATORS ===== */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.calc-card:hover {
  box-shadow: var(--shadow-md);
}

.calc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.calc-icon.orange {
  background: rgba(255, 99, 72, 0.1);
  color: var(--orange);
}

.calc-icon.blue {
  background: rgba(55, 66, 250, 0.1);
  color: var(--blue);
}

.calc-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.calc-card p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 24px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-light);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.2s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-btn {
  width: 100%;
  padding: 14px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.calc-btn.orange {
  background: var(--orange);
  color: var(--white);
}

.calc-btn.orange:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

.calc-btn.blue {
  background: var(--blue);
  color: var(--white);
}

.calc-btn.blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.calc-result {
  margin-top: 20px;
  padding: 20px;
  background: var(--off-white);
  border-radius: 12px;
  display: none;
}

.calc-result.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.calc-result-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}

.calc-result-label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-light);
  margin-top: 4px;
}

.calc-result-breakdown {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
}

.calc-result-row:last-child {
  border-bottom: none;
}

.calc-result-row .label {
  color: var(--charcoal-light);
}

.calc-result-row .value {
  font-weight: 600;
  color: var(--charcoal);
}

/* ===== WORKOUT PLANS ===== */
.workout-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.workout-tab {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 28px;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--charcoal-light);
}

.workout-tab.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.workout-tab:hover:not(.active) {
  border-color: var(--orange);
  color: var(--orange);
}

.workout-plan {
  display: none;
}

.workout-plan.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.workout-day {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  margin-bottom: 16px;
  overflow: hidden;
}

.workout-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.workout-day-header:hover {
  background: var(--off-white);
}

.workout-day-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.workout-day-badge {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255, 99, 72, 0.1);
  color: var(--orange);
}

.workout-day-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--charcoal-light);
}

.workout-day.open .workout-day-toggle {
  transform: rotate(180deg);
}

.workout-day-content {
  display: none;
  padding: 0 24px 24px;
}

.workout-day.open .workout-day-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

.exercise-table {
  width: 100%;
  border-collapse: collapse;
}

.exercise-table th {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-light);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--light-gray);
}

.exercise-table td {
  padding: 12px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--light-gray);
}

.exercise-table tr:last-child td {
  border-bottom: none;
}

.exercise-name {
  font-weight: 600;
  color: var(--charcoal);
}

/* ===== COMPARISON TABLES ===== */
.comparison-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comparison-table thead th {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px;
  background: var(--charcoal);
  color: var(--white);
  text-align: left;
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.comparison-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--light-gray);
  vertical-align: top;
}

.comparison-table tr:nth-child(even) {
  background: var(--off-white);
}

.comparison-table tr:hover {
  background: rgba(255, 99, 72, 0.04);
}

.rating-stars {
  color: var(--orange);
  letter-spacing: 2px;
}

.badge-green {
  background: rgba(46, 213, 115, 0.1);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.badge-orange {
  background: rgba(255, 99, 72, 0.1);
  color: var(--orange);
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.badge-blue {
  background: rgba(55, 66, 250, 0.1);
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--charcoal);
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  color: var(--charcoal-light);
}

.faq-item.open .faq-icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
  color: var(--charcoal-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-brand .logo-accent {
  color: var(--orange);
}

.footer-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== DISCLAIMER BANNER ===== */
.disclaimer {
  background: rgba(255, 165, 2, 0.08);
  border: 1px solid rgba(255, 165, 2, 0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.disclaimer-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.disclaimer p {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.disclaimer strong {
  color: var(--charcoal);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 72px;
  left: 0;
  height: 3px;
  background: var(--gradient-fire);
  z-index: 999;
  transition: width 0.1s ease;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-orange);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--orange-dark);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MUSCLE GROUP GRID ===== */
.muscle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.muscle-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.muscle-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

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

.muscle-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.muscle-card ul {
  list-style: none;
  padding: 0;
}

.muscle-card li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--charcoal-light);
  padding-left: 16px;
  position: relative;
}

.muscle-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 24px;
  }
  .hero-stat-num {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .article-content {
    padding: 32px 24px;
  }
  .article-title {
    font-size: 1.6rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .comparison-wrapper {
    margin: 20px -24px;
    border-radius: 0;
  }
  .muscle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 1.8rem;
  }
}
