/* ==========================================================================
   CURL FITNESS PREMIUM DESIGN SYSTEM
   Vanilla CSS Styling Engine (Dark Premium Aesthetic)
   ========================================================================== */

/* 1. Root Variables & Theme Tokens */
:root {
  /* Color Palettes */
  --primary-rgb: 255, 71, 87;
  --primary: #FF4757;             /* Energetic coral red */
  --primary-hover: #E84150;
  
  --secondary: #1E272E;           /* Sleek charcoal */
  --accent: #FFA502;              /* Warm orange for special CTA */
  --accent-hover: #E69500;
  
  --bg-dark: #0A0A0A;             /* Core black */
  --bg-darker: #050505;           /* Deep void */
  --bg-card: rgba(30, 39, 46, 0.6);/* Frosted card base */
  --bg-light: #F8F9FA;            /* Soft light section */
  
  --text-light: #FFFFFF;
  --text-muted: #A4B0BE;          /* Sleek gray text */
  --text-dark: #2F3640;           /* High contrast light section text */
  --text-dark-muted: #718093;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-active: rgba(255, 71, 87, 0.25);
  --shadow-glow: rgba(255, 71, 87, 0.15);
  
  /* Fonts */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-clean: 'Inter', sans-serif;
  
  /* Transitions & Radii */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

/* 2. Base Reset & Typography Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* 3. Reusable UI Components */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sub-heading {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-clean);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.accent-color {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-dark);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(254, 165, 2, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.btn-outline:hover {
  border-color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Micro-animations */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

@keyframes pulse-orange {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(254, 165, 2, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(254, 165, 2, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(254, 165, 2, 0); }
}

.btn-pulse {
  animation: pulse-orange 2s infinite;
}

/* 4. Loader Spinner */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-darker);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-glass);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 5. Header & Navigation (Sticky Blur) */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom-color: var(--border-glass);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
  padding: 10px 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  filter: drop-shadow(0 0 5px rgba(255, 71, 87, 0.5));
}

.logo-text {
  font-family: var(--font-headings);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text-light);
}

/* Desktop Navigation */
.desktop-nav ul {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  font-family: var(--font-clean);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary);
}

/* Mobile Hamburger Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition-fast);
  transform-origin: left center;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 40px 40px 40px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-links ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--primary);
  padding-left: 5px;
}

.btn-mobile {
  margin-top: 20px;
}

/* 6. HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.05);
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

/* Star Review Badge */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.rating-badge .stars {
  display: flex;
  gap: 2px;
}

.rating-badge .stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.rating-badge span {
  font-family: var(--font-clean);
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 8px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text-light) 60%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.hero-subtitle {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-tagline {
  color: var(--primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Wave Divider */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.hero-wave svg {
  width: 100%;
  height: 50px;
}

/* 7. FEATURES SECTION */
.features {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 50px 32px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-glass-active);
  box-shadow: 0 15px 35px var(--shadow-glow);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 71, 87, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 71, 87, 0.2);
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary);
  transform: scale(1.1) rotate(5deg);
}

.feature-icon {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  fill: var(--text-light);
}

.feature-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.feature-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Card Subtle Border Glow */
.card-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.15) 0%, rgba(255,71,87,0) 70%);
  top: -75px;
  right: -75px;
  transition: var(--transition-normal);
  opacity: 0;
  pointer-events: none;
}

.feature-card:hover .card-glow {
  opacity: 1;
}

/* 8. CLASSES SECTION */
.classes {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.class-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}

.class-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-active);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.class-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.class-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.class-card:hover .class-img {
  transform: scale(1.1);
}

.class-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 50%);
  z-index: 1;
}

.class-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--text-light);
  font-family: var(--font-clean);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.class-content {
  padding: 24px;
}

.class-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.class-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 66px;
}

.class-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 15px;
  font-family: var(--font-clean);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 9. BMI CALCULATOR EXTRA SECTION */
.bmi-calculator-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.bmi-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.bmi-info-panel {
  padding: 60px;
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bmi-title {
  font-size: 1.8rem;
  line-height: 1.25;
  margin-bottom: 16px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text-light) 50%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bmi-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.bmi-fact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.bmi-fact {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 15px;
  text-align: center;
}

.fact-num {
  display: block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.fact-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.bmi-form-panel {
  padding: 60px;
  background-color: rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bmi-form-heading {
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  border-left: 3px solid var(--primary);
  padding-left: 12px;
}

.bmi-calculator-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-control-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-control-wrapper label {
  font-family: var(--font-clean);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-control-wrapper input {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
}

/* BMI Results Container styling */
.bmi-results-box {
  background-color: rgba(255, 71, 87, 0.05);
  border: 1px solid var(--border-glass-active);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bmi-results-box.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.bmi-score-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bmi-val-label {
  font-family: var(--font-clean);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bmi-score-number {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.bmi-class-badge {
  background-color: var(--accent);
  color: var(--bg-dark);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.bmi-advice {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border-glass);
  padding-top: 15px;
}

/* 10. SCHEDULE SECTION */
.schedule {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.schedule-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.schedule-description {
  color: var(--text-muted);
  font-size: 1.02rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.schedule-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}

.schedule-day-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.day-name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.day-hours {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

.schedule-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.highlight-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.schedule-highlight span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.schedule-graphic {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.time-floating-card {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
}

.floating-title {
  display: block;
  font-family: var(--font-clean);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.floating-time {
  display: block;
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.floating-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 11. MEMBERSHIP / PRICING SECTION */
.pricing {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

/* Toggle switch stylings */
.pricing-toggle-container {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: 50px;
}

.billing-label {
  font-family: var(--font-clean);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.billing-label.active {
  color: var(--text-light);
  font-weight: 700;
}

.discount-badge {
  background-color: var(--primary);
  color: var(--text-light);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 4px;
}

.toggle-btn {
  width: 48px;
  height: 24px;
  background-color: var(--border-glass-active);
  border: none;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: var(--transition-normal);
}

.toggle-circle {
  width: 18px;
  height: 18px;
  background-color: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: var(--transition-normal);
  box-shadow: 0 0 5px rgba(255, 71, 87, 0.5);
}

.toggle-btn.annual .toggle-circle {
  left: 27px;
  background-color: var(--accent);
  box-shadow: 0 0 5px rgba(254, 165, 2, 0.5);
}

.toggle-btn.annual {
  background-color: rgba(254, 165, 2, 0.2);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pricing-card.popular {
  border-color: var(--primary);
  background-color: rgba(30, 39, 46, 0.85);
  box-shadow: 0 10px 30px rgba(255, 71, 87, 0.1);
  transform: translateY(-8px);
}

.pricing-card:hover {
  transform: translateY(-12px);
  border-color: var(--border-glass-active);
  box-shadow: 0 15px 35px var(--shadow-glow);
}

.pricing-card.popular:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(255, 71, 87, 0.25);
}

.popular-tag {
  position: absolute;
  top: 15px;
  right: -30px;
  background-color: var(--primary);
  color: var(--text-light);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.65rem;
  padding: 4px 30px;
  transform: rotate(45deg);
}

.card-header {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 24px;
}

.tier-name {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

.price-num {
  font-family: var(--font-headings);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-light);
}

.pricing-card.popular .price-num {
  color: var(--primary);
}

.duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
}

.card-body {
  padding: 30px 0;
  flex-grow: 1;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.4;
}

.feature-list li strong {
  color: var(--text-light);
}

.feature-list li svg {
  width: 18px;
  height: 18px;
  fill: #2ED573;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-list li.disabled {
  color: rgba(255,255,255,0.15);
  text-decoration: line-through;
}

.feature-list li.disabled svg {
  fill: var(--primary);
  opacity: 0.4;
}

.card-footer {
  margin-top: 20px;
}

/* 12. TRAINERS SECTION */
.trainers {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.trainer-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition-normal);
}

.trainer-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-active);
  box-shadow: 0 15px 30px var(--shadow-glow);
}

.trainer-img-container {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.trainer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition-slow);
}

.trainer-card:hover .trainer-img {
  transform: scale(1.05);
}

.trainer-social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 100%);
  display: flex;
  justify-content: center;
  padding: 40px 20px 20px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-normal);
  z-index: 2;
}

.trainer-card:hover .trainer-social-overlay {
  opacity: 1;
  transform: translateY(0);
}

.trainer-social-overlay a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.trainer-social-overlay a:hover {
  background-color: var(--text-light);
  transform: scale(1.1);
}

.trainer-social-overlay .social-icon {
  width: 20px;
  height: 20px;
  fill: var(--text-light);
}

.trainer-social-overlay a:hover .social-icon {
  fill: var(--primary);
}

.trainer-info {
  padding: 30px;
}

.trainer-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.trainer-role {
  display: block;
  font-family: var(--font-clean);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.trainer-bio {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
}

.trainer-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-glass);
  padding-top: 15px;
  font-family: var(--font-clean);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trainer-stats strong {
  color: var(--text-light);
}

/* 13. GALLERY SECTION */
.gallery {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.2) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.15rem;
  text-transform: uppercase;
}

.gallery-category {
  font-family: var(--font-clean);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

/* 14. TESTIMONIALS SECTION */
.testimonials {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 300%; /* Represents 3 cards */
}

.testimonial-card {
  width: 33.333%; /* Displays 1 card at a time */
  flex-shrink: 0;
  padding: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.card-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.review-text {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 30px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-details {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
}

.reviewer-status {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-glass-active);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dots .dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
  box-shadow: 0 0 5px rgba(255, 71, 87, 0.5);
}

/* 15. CONTACT & MAP SECTION */
.contact {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-box-title {
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.item-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 71, 87, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.item-content {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-family: var(--font-clean);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.detail-val {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.4;
}

.detail-val:hover {
  color: var(--primary);
}

.tel-link {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
}

.click-to-call,
.tag-open,
.plus-code {
  font-size: 0.75rem;
  margin-top: 4px;
}

.click-to-call { color: var(--accent); }
.tag-open { color: #2ED573; font-weight: 600; }
.plus-code { color: var(--text-muted); font-family: var(--font-clean); }

.social-text-link {
  color: var(--primary);
}

/* Map Wrap */
.map-embed-wrapper {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Contact Form styling */
.contact-form-column {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.interactive-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-group label {
  font-family: var(--font-clean);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.form-group select option {
  background-color: var(--secondary);
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.15);
}

/* 16. FOOTER Styling */
.footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo .logo-text {
  font-size: 1.5rem;
}

.footer-about {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
}

.footer-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-title {
  font-family: var(--font-clean);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.badge-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}

.badge-count {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  font-weight: 300;
}

.footer-plus,
.footer-phone {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-phone {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  text-align: center;
}

.copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

/* 17. FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition-fast);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  fill: var(--text-light);
}

/* Breathing alert circle */
.whatsapp-ping {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background-color: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--text-light);
  animation: pulse-ping 2s infinite;
}

@keyframes pulse-ping {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* 18. INTERACTIVE DYNAMIC TOASTS */
.toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid var(--border-glass-active);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  z-index: 1001;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  animation: slideToastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}

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

.toast-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toast-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(46, 213, 115, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 18px;
  height: 18px;
  fill: #2ED573;
}

.toast-content {
  display: flex;
  flex-direction: column;
}

.toast-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
}

.toast-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding-left: 10px;
}

.toast-close:hover {
  color: var(--text-light);
}

/* 19. SCROLL REVEAL (AOS ENGINE) STYLES */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   20. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet Screens (1024px and down) */
@media screen and (max-width: 1024px) {
  html { font-size: 15px; }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .bmi-wrapper {
    grid-template-columns: 1fr;
  }
  
  .bmi-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 40px;
  }
  
  .bmi-form-panel {
    padding: 40px;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* Put elastic tier on center */
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .address-col {
    grid-column: span 3;
  }
}

/* Mobile Medium/Large (768px and down) */
@media screen and (max-width: 768px) {
  /* Navigation mobile menu activation */
  .desktop-nav,
  .header-cta {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .hero {
    padding-top: 100px;
    text-align: center;
  }
  
  .rating-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .schedule-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .schedule-graphic {
    height: 300px;
  }
  
  .trainers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 450px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .address-col {
    grid-column: span 2;
  }
}

/* Mobile Small (576px and down) */
@media screen and (max-width: 576px) {
  html { font-size: 14px; }
  
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .classes-grid {
    grid-template-columns: 1fr;
  }
  
  .bmi-fact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-column {
    padding: 24px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .address-col {
    grid-column: span 1;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
}
