/* ============================================
   EAST BLUE GYM - MAIN STYLESHEET
   Premium Dark Cinema Theme  v3.0
   ============================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,700&family=Barlow+Condensed:wght@400;600;700;900&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Midnight palette */
  --black:   #09090b;
  --midnight: #0d0d10;
  --dark:    rgba(9, 9, 11, 0.55);
  --dark2:   rgba(13, 13, 18, 0.55);
  --card:    rgba(14, 14, 20, 0.60);
  --card-solid: #14141c;
  --border:  rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.04);

  /* Brand */
  --yellow:      #f5e642;
  --yellow-dim:  #c9bc1f;
  --yellow-glow: rgba(245, 230, 66, 0.18);

  /* Text */
  --white:  #eeeef0;
  --offwhite: #c8c8d0;
  --muted:  #6b6b7a;
  --muted2: #3f3f4a;

  /* Accents */
  --red:   #e63946;
  --teal:  #2a9d8f;
  --purple: #9b5de5;
  --blue:  #457b9d;
  --orange: #f4a261;

  /* Typography — elevated */
  --font-head:    'Bebas Neue', 'Montserrat', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-sub:     'Barlow Condensed', 'Inter', sans-serif;
  --font-body:    'Inter', 'Barlow', sans-serif;

  /* Shape */
  --radius:    6px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion */
  --trans:    all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass */
  --glass:        rgba(14, 14, 20, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shine:  rgba(255, 255, 255, 0.03);

  /* Shadow */
  --shadow-premium: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  --shadow-glow:    0 0 40px rgba(245, 230, 66, 0.12);

  /* Spacing scale */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  120px;
  --space-2xl: 180px;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card), inset 0 1px 0 var(--glass-shine);
}

.hidden {
  display: none !important;
}

/* ---------- NAV DROPDOWN ---------- */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 220px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-premium);
  z-index: 1100;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown a {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: var(--radius);
}

.nav-dropdown a:hover {
  background: var(--border);
  color: var(--yellow);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--midnight);
}

body {
  font-family: var(--font-body);
  background-color: transparent;
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.75;
  letter-spacing: 0.01em;
  opacity: 1 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Prevent large headings from forcing horizontal scroll on narrow screens */
.hero-title,
.section-title,
.section-title-sm,
.page-hero-content h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

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

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  outline: none;
}

input,
select,
textarea {
  font-family: var(--font-body);
  outline: none;
}

/* ---------- MODALS ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
}

.modal-close {
  position: sticky;
  float: right;
  top: 10px;
  right: 10px;
  background: rgba(245, 230, 66, 0.1);
  color: var(--yellow);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  z-index: 5000;
  border: 1px solid rgba(245, 230, 66, 0.3);
  transition: var(--trans);
}

.modal-close:hover {
  background: var(--yellow);
  color: var(--black);
  transform: rotate(90deg) scale(1.1);
}

.modal-title {
  font-family: var(--font-head);
  font-size: 38px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-align: center;
}

.modal-title span {
  color: var(--yellow);
}

.modal-subtitle {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}

/* Auth Tabs in Modal */
.auth-tabs {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.auth-tab {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  padding-bottom: 8px;
  position: relative;
}

.auth-tab.active {
  color: var(--yellow);
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
}

.auth-form {
  display: none;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 15px 20px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  transition: var(--trans);
  backdrop-filter: blur(8px);
}

.form-input:focus {
  border-color: rgba(245, 230, 66, 0.5);
  background: rgba(245, 230, 66, 0.04);
  box-shadow: 0 0 0 3px rgba(245, 230, 66, 0.08), 0 4px 16px rgba(0,0,0,0.3);
  outline: none;
}

.form-input::placeholder {
  color: var(--muted2);
  font-style: italic;
  letter-spacing: 0;
}

select.form-input option {
  background-color: var(--card-solid);
  color: var(--white);
  font-family: var(--font-body);
  padding: 10px;
}

.auth-switch-text {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}

.auth-switch-text a {
  color: var(--yellow);
  font-weight: 700;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 5px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 10px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(9, 9, 11, 0.6);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--glass-border);
  z-index: 3000;
  transition: var(--trans);
}

.navbar.scrolled {
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);
  border-bottom: 1px solid rgba(245, 230, 66, 0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03), 0 8px 32px rgba(0,0,0,0.4);
}

/* Logo */
.nav-logo {
  font-family: var(--font-head);
  font-size: 30px;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--yellow);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #aaa;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: var(--trans);
}

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

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

.btn-nav-fill {
  background: var(--yellow);
  color: var(--black);
  border: 1px solid var(--yellow);
}

.btn-nav-fill:hover {
  background: transparent;
  color: var(--yellow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: transparent;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--trans);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  /* Match navbar height */
  left: 0;
  right: 0;
  height: calc(100vh - 80px);
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(30px);
  display: none;
  flex-direction: column;
  padding: 40px 5%;
  z-index: 2000;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex !important;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-sub);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #aaa;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  transition: var(--trans);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--yellow);
}


/* ============================================
   BUTTONS  — premium CTA treatment
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: var(--radius-xl);
  transition: var(--trans);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Yellow shimmer layer */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.btn:hover::before { transform: translateX(100%); }

.btn-yellow {
  background: var(--yellow);
  color: #09090b;
  border: none;
  box-shadow: 0 4px 24px rgba(245, 230, 66, 0.25);
  font-weight: 800;
}

.btn-yellow:hover {
  background: #fff59a;
  box-shadow: 0 8px 40px rgba(245, 230, 66, 0.45);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.05);
  color: var(--offwhite);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline-yellow {
  background: transparent;
  color: var(--yellow);
  border: 1px solid rgba(245, 230, 66, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-yellow:hover {
  background: var(--yellow-glow);
  border-color: var(--yellow);
  box-shadow: 0 0 24px var(--yellow-glow);
}

/* --- MICRO-INTERACTIONS --- */
.btn {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   GLOBAL VIDEO BACKGROUND
   ============================================ */
.global-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -100;
  overflow: hidden;
  background: var(--black);
}

.global-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.global-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: -99;
}



.section-glass {
  background: rgba(17, 17, 17, 0.45) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-glass-alt {
  background: rgba(24, 24, 24, 0.4) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245, 230, 66, 0.3);
}

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

/* --- PROGRESS BARS --- */
.progress-container {
  width: 100%;
  background: var(--border);
  height: 8px;
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), #fff);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- TESTIMONIAL SLIDER --- */
.testi-slider-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.testi-track {
  display: flex;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  gap: 32px;
}

.testi-card {
  min-width: calc(33.333% - 22px);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .testi-card {
    min-width: calc(50% - 16px);
  }
}

@media (max-width: 768px) {
  .testi-card {
    min-width: 100%;
  }
}

/* --- DYNAMIC HERO VIDEO --- */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: -1;
}

/* --- SPECIAL OFFER CTA --- */
.offer-cta {
  background: linear-gradient(135deg, #111, #1a1a1a);
  border: 1px solid var(--yellow);
  padding: 60px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-cta::before {
  content: 'LIMITED';
  position: absolute;
  top: -20px;
  left: -20px;
  font-family: var(--font-head);
  font-size: 120px;
  color: rgba(245, 230, 66, 0.03);
  pointer-events: none;
}

.btn-arrow::after {
  content: '→';
  font-family: var(--font-body);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
  transform: translateX(6px);
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section {
  padding: var(--space-xl) 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-sm {
  padding: var(--space-lg) 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-full {
  padding: var(--space-xl) 80px;
}

/* Overline label — restrained yellow usage */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  display: block;
  opacity: 0.9;
}

/* Large display heading */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(44px, 6.5vw, 86px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
}

.section-title span {
  color: var(--yellow);
}

/* Medium heading */
.section-title-sm {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--offwhite);
  line-height: 1.85;
  max-width: 560px;
  letter-spacing: 0.01em;
  font-weight: 300;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--yellow);
  margin: 18px 0;
}

/* ============================================
   HERO (shared base)
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(8, 8, 8, 0.95) 0%,
      rgba(8, 8, 8, 0.6) 50%,
      rgba(8, 8, 8, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(64px, 10vw, 130px);
  line-height: 0.9;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--yellow);
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(245, 245, 245, 0.75);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 80px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero-scroll::before {
  content: '';
  width: 1px;
  height: 60px;
  background: var(--yellow);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 0 80px 60px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 9, 11, 0.85) 0%,
    rgba(9, 9, 11, 0.5)  55%,
    rgba(9, 9, 11, 0.25) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

/* ============================================
   CARDS — glassmorphism treatment
   ============================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.card:hover {
  border-color: rgba(245, 230, 66, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 230, 66, 0.1);
}

.card-img {
  position: relative;
  overflow: hidden;
}

.card-img img {
  transition: transform 0.5s ease;
}

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

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  z-index: 1;
}

.card-tag-yellow {
  background: var(--yellow);
  color: var(--black);
}


.card-tag-teal { background: rgba(42, 157, 143, 0.15); color: var(--teal); border: 1px solid rgba(42, 157, 143, 0.3); }
.card-tag-purple { background: rgba(155, 93, 229, 0.15); color: var(--purple); border: 1px solid rgba(155, 93, 229, 0.3); }
.card-tag-orange { background: rgba(244, 162, 97, 0.15); color: var(--orange); border: 1px solid rgba(244, 162, 97, 0.3); }
.card-tag-blue { background: rgba(69, 123, 157, 0.15); color: var(--blue); border: 1px solid rgba(69, 123, 157, 0.3); }

.card-tag-red {
  background: var(--red);
  color: var(--white);
}

.card-tag-white {
  background: var(--white);
  color: var(--black);
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  font-family: var(--font-sub);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.card-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--yellow);
  padding: 50px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  color: var(--black);
  letter-spacing: 2px;
}

.stat-label {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 8px;
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.marquee-section {
  background: var(--yellow);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 36px;
  white-space: nowrap;
}

.marquee-track span.dot {
  color: rgba(0, 0, 0, 0.4);
  padding: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--trans);
}

.testi-card:hover {
  border-color: var(--yellow);
}

.testi-quote {
  font-size: 42px;
  color: var(--yellow);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 16px;
}

.testi-text {
  font-size: 15px;
  color: #ccc;
  line-height: 1.75;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
  flex-shrink: 0;
}

.testi-name {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testi-loc {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ============================================
   NEWSLETTER / CTA
   ============================================ */
.newsletter-section {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px;
  text-align: center;
}

.newsletter-section h2 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.newsletter-section h2 span {
  color: var(--yellow);
}

.newsletter-section p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 36px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  background: #222;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  padding: 14px 18px;
  font-size: 14px;
  transition: var(--trans);
}

.newsletter-form input:focus {
  border-color: var(--yellow);
}

.newsletter-form input::placeholder {
  color: var(--muted2);
}

.newsletter-form button {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--yellow);
  transition: var(--trans);
}

.newsletter-form button:hover {
  background: transparent;
  color: var(--yellow);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 80px 40px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto 56px;
}

.footer-brand h3 {
  font-family: var(--font-head);
  font-size: 26px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-brand h3 span {
  color: var(--yellow);
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}

.footer-social-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-3px);
}

.footer-mailing h4 {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.footer-mailing h3 {
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-mailing h3 span {
  color: var(--yellow);
}

.footer-mailing p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

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

.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: var(--trans);
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted2);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--muted2);
  transition: var(--trans);
  text-decoration: none;
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

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

.flex {
  display: flex;
}

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

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

.text-yellow {
  color: var(--yellow);
}

.text-muted {
  color: var(--muted);
}

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

.text-upper {
  text-transform: uppercase;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-40 {
  margin-bottom: 40px;
}

.tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
}

.tag-yellow {
  background: var(--yellow);
  color: var(--black);
}

.tag-dark {
  background: var(--card);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {

  .section,
  .section-sm,
  .section-full {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero,
  .page-hero {
    padding-left: 40px;
    padding-right: 40px;
  }

  .stats-bar {
    padding: 40px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  footer {
    padding: 50px 40px 24px;
  }

  .newsletter-section {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 3100;
  }

  .mobile-menu {
    display: flex;
    z-index: 2000;
  }

  /* Admin Mobile Fix */
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    width: 280px;
    z-index: 3000;
  }

  .admin-sidebar.active {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
    padding: 80px 20px 40px;
  }

  .admin-header-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .admin-header-mobile .nav-logo {
    font-size: 20px;
  }

  .section,
  .section-sm,
  .section-full {
    padding: 60px 20px;
  }

  .hero {
    padding: 0 20px 60px;
  }

  .page-hero {
    padding: 0 20px 40px;
    min-height: 320px;
  }

  .hero-title {
    font-size: clamp(52px, 14vw, 90px);
  }

  .hero-scroll {
    display: none;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 20px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 16px;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  footer {
    padding: 48px 20px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-section {
    padding: 60px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(42px, 16vw, 70px);
  }

  .section-title {
    font-size: clamp(34px, 12vw, 60px);
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
  }
}



/* --- ELITE PROFILE DROPDOWN (2026 UPDATE) --- */
.nav-profile-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-profile-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding: 4px;
  transition: all 0.3s ease;
}

.nav-profile-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

/* Unified profile dropdown styles handled above */

.dropdown-header {
  padding: 8px 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}

.dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.dropdown-item:hover {
  background: rgba(245, 230, 66, 0.1);
  color: #f5e642;
  padding-left: 16px;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 8px 0;
}

/* --- FAQ ACCORDION --- */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-item {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  border-color: var(--yellow);
  background: #161616;
}

.faq-item.active {
  border-color: var(--yellow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.faq-question {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 2px;
  color: white;
  margin: 0;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
  color: var(--yellow);
}

.faq-icon {
  font-size: 24px;
  color: var(--yellow);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-head);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 32px;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
  opacity: 1;
}

.faq-answer p {
  color: #888;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}



/* --- BMI CALCULATOR --- */
.bmi-calculator-box {
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-top: 40px;
}

.gender-toggle {
  display: flex;
  background: #111;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
}

.gender-toggle input {
  display: none;
}

.gender-toggle label {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--trans);
  color: var(--muted);
}

.gender-toggle input:checked+label {
  background: var(--yellow);
  color: var(--black);
  border-radius: 2px;
}

.bmi-result-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 480px;
  animation: fadeIn 0.6s ease forwards;
}

.bmi-score-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 30px;
}

.bmi-gauge {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.bmi-gauge-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.bmi-gauge-fill {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 8;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.65, 0, 0.35, 1);
  stroke-linecap: round;
}

.bmi-score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bmi-score-text span {
  font-family: var(--font-head);
  font-size: 54px;
  line-height: 1;
  color: var(--yellow);
}

.bmi-score-text small {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.bmi-status-wrap h3 {
  font-family: var(--font-head);
  font-size: 32px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: var(--white);
}

.bmi-status-wrap p {
  font-size: 14px;
  color: var(--muted);
  max-width: 300px;
  margin: 0 auto 30px;
}

.bmi-scale {
  display: flex;
  width: 100%;
  gap: 4px;
  height: 6px;
  margin-top: 20px;
}

.scale-item {
  flex: 1;
  background: var(--border);
  position: relative;
  border-radius: 2px;
}

.scale-item span {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-family: var(--font-sub);
  text-transform: uppercase;
  color: var(--muted2);
}

.scale-item.active[data-status="underweight"] {
  background: #3498db;
}

.scale-item.active[data-status="healthy"] {
  background: #2ecc71;
}

.scale-item.active[data-status="overweight"] {
  background: #f1c40f;
}

.scale-item.active[data-status="obese"] {
  background: #e74c3c;
}

.bmi-illustration {
  border-radius: 10px;
  overflow: hidden;
  height: 480px;
  position: relative;
  background-size: cover;
  background-position: center;
}


/* --- PREMIUM SCHEDULE & FILTERS --- */
.filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.category-filters {
  display: flex;
  gap: 12px;
  background: var(--dark);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.filter-btn {
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  transition: var(--trans);
}

.filter-btn:hover {
  color: var(--white);
}

.filter-btn:active {
  transform: scale(0.95) !important;
  filter: brightness(1.3) !important;
  transition: transform 0.05s ease, filter 0.05s ease !important;
}

.filter-btn.active {
  background: var(--yellow);
  color: var(--black);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.schedule-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: var(--trans);
  overflow: hidden;
}

.schedule-card:hover {
  border-color: var(--yellow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--yellow);
  opacity: 0.3;
}

.schedule-card.cardio::before {
  background: var(--yellow);
}

.schedule-card.strength::before {
  background: var(--red);
}

.schedule-card.recovery::before {
  background: var(--white);
}

.sched-time {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--yellow);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sched-name {
  font-family: var(--font-sub);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}

.sched-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.meta-item i {
  color: var(--yellow);
  width: 16px;
}

.trainer-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 50px;
  width: fit-content;
}

.trainer-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--yellow);
}

.sched-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.spots-left {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.spots-left span {
  color: var(--yellow);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .category-filters {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    border-radius: 12px;
  }

  .filter-btn {
    white-space: nowrap;
  }
}


/* --- TRAINER PROFILE STYLES --- */
.trainer-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 80px 80px;
  overflow: hidden;
}

.trainer-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.trainer-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  mask-image: linear-gradient(to left, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.trainer-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.trainer-specialty {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  display: block;
}

.trainer-name {
  font-family: var(--font-head);
  font-size: clamp(60px, 10vw, 120px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.trainer-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.t-stat-item {
  display: flex;
  flex-direction: column;
}

.t-stat-num {
  font-family: var(--font-head);
  font-size: 42px;
  color: var(--white);
  line-height: 1;
}

.t-stat-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.trainer-bio-section {
  padding: 100px 80px;
  background: var(--dark);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: 2fr 1.2fr;
  }
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: var(--radius);
}

.cert-icon {
  font-size: 20px;
  color: var(--yellow);
}

.transformation-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.trans-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 450px;
}

.trans-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trans-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: var(--trans);
}

.trans-card:hover .trans-overlay {
  opacity: 1;
}

.trans-label {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.trans-title {
  font-family: var(--font-sub);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

@media (max-width: 1024px) {
  .trainer-hero {
    padding: 100px 24px 60px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 40px;
  }

  .trainer-hero-bg {
    position: relative;
    width: 100%;
    height: 400px;
    mask-image: none;
    -webkit-mask-image: none;
    border-radius: 12px;
  }

  .trainer-content {
    max-width: 100%;
  }

  .trainer-bio-section {
    padding: 60px 24px;
  }
}

/* 
========================================
TRANSFORMATION SECTION
========================================
*/
.comparison-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.comparison-before {
  z-index: 1;
}

.comparison-after {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
  /* Start at 50% */
}

.comparison-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--yellow);
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.comparison-handle::before {
  content: '⇌';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(245, 230, 66, 0.5);
}

.comparison-label {
  position: absolute;
  bottom: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 4;
  border-radius: var(--radius);
  pointer-events: none;
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

/* Success Story Cards */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 60px;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-card:hover {
  border-color: var(--yellow);
  transform: translateY(-5px);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.story-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  object-fit: cover;
}

.story-meta h4 {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story-meta span {
  font-size: 13px;
  color: var(--yellow);
  font-weight: 600;
}

.story-content {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
}

.story-stats {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.s-stat-item {
  display: flex;
  flex-direction: column;
}

.s-stat-val {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--yellow);
}

.s-stat-lab {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted2);
}

/* --- PREMIUM NEURAL GLOW & MICRO-INTERACTIONS --- */
.bento-card,
.product-card,
.class-card,
.glass,
.cal-session {
  position: relative;
  overflow: hidden;
}

.bento-card::before,
.product-card::before,
.class-card::before,
.glass::before,
.cal-session::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(245, 230, 66, 0.12), transparent 40%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover::before,
.product-card:hover::before,
.class-card:hover::before,
.glass:hover::before,
.cal-session:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(1px) scale(0.96);
  transition: transform 0.1s;
}

.navbar {
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   GLOBAL RESPONSIVENESS (MOBILE-FIRST)
   ============================================ */
@media (max-width: 1024px) {
  .section { padding: 80px 40px; }
  .section-sm { padding: 50px 40px; }
  .hero { padding: 0 40px 60px; }
  .page-hero { padding: 0 40px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .section-sm { padding: 40px 20px; }
  .hero { padding: 0 20px 40px; }
  .page-hero { padding: 0 20px 30px; }
  .hero-title { font-size: clamp(48px, 12vw, 80px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nav-actions { display: none; } /* Actions moved to mobile menu */
}

@media (max-width: 480px) {
  .section-title { font-size: 38px; }
  .section-title-sm { font-size: 28px; }
  .modal-content { padding: 32px 20px; }
}

/* ============================================
   WORKOUT MODALITIES (F45 Style)
   ============================================ */
.modality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

@media (max-width: 1200px) {
  .modality-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .modality-grid { grid-template-columns: 1fr; }
}

.modality-card {
  position: relative;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.modality-card:hover, .modality-card.is-active {
  transform: translateY(-10px);
  border-color: var(--yellow);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.modality-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  filter: grayscale(100%) brightness(0.6);
}

.modality-card:hover .modality-bg, .modality-card.is-active .modality-bg {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(0.8);
}

.modality-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.4) 50%, transparent 100%);
  z-index: 1;
}

.modality-content {
  position: relative;
  z-index: 2;
}

.modality-icon {
  font-size: 24px;
  color: var(--yellow);
  margin-bottom: 12px;
}

.modality-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-style: italic;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.modality-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.modality-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  transition: var(--trans);
}

.modality-btn::after {
  content: '→';
  transition: transform 0.3s;
}

.modality-card:hover .modality-btn::after, .modality-card.is-active .modality-btn::after {
  transform: translateX(5px);
}

/* --- SUPPORT CHAT WIDGET --- */
#support-widget {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 350px;
  height: 500px;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

#support-widget.open {
  transform: translateY(0);
}

.support-header {
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-header h3 {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--white);
  margin: 0;
}

.support-header button {
  background: transparent;
  color: var(--white);
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.support-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.support-role-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  height: 100%;
}

.support-role-btn {
  padding: 15px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 14px;
  transition: var(--trans);
}

.support-role-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.support-msg {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.support-msg.user {
  align-self: flex-end;
  background: var(--yellow);
  color: var(--black);
  border-bottom-right-radius: 0;
}

.support-msg.admin {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-bottom-left-radius: 0;
}

.support-msg img {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 5px;
  cursor: pointer;
}

.support-footer {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.support-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.support-footer button {
  background: transparent;
  border: none;
  color: var(--yellow);
  cursor: pointer;
  font-size: 20px;
  transition: transform 0.2s;
}

.support-footer button:hover {
  transform: scale(1.1);
}

.support-toggle-btn {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 65px;
  height: 65px;
  border-radius: 20px;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 5px 20px rgba(245, 230, 66, 0.4);
  transition: transform 0.3s;
}

.support-toggle-btn:hover {
  transform: scale(1.1);
}

body.chatbot-is-open .support-toggle-btn,
body.chatbot-is-open #support-widget {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

@media (max-width: 500px) {
  .support-toggle-btn {
    bottom: 100px;
    right: 20px;
  }
}