@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Design System --- */
:root {
  --bg-darker: #020203;
  --bg-dark: #0a0a0c;
  --bg-card: rgba(18, 18, 22, 0.6);
  --bg-card-hover: rgba(26, 26, 32, 0.8);
  
  --accent-cyan: #00f0ff;
  --accent-cyan-rgb: 0, 240, 255;
  --accent-orange: #ff5e00;
  --accent-orange-rgb: 255, 94, 0;
  --accent-purple: #8b5cf6;
  --accent-purple-rgb: 139, 92, 246;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-active: rgba(0, 240, 255, 0.3);
  
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
  --glow-orange: 0 0 20px rgba(255, 94, 0, 0.35);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scrollbar-width: none; /* Hide default scrollbars for Lenis scroll */
  -ms-overflow-style: none;
  background-color: var(--bg-darker);
  font-family: var(--font-body);
  color: var(--text-primary);
  overflow-x: hidden;
  scroll-behavior: auto; /* Required for Lenis */
}

html::-webkit-scrollbar {
  display: none;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-darker);
  position: relative;
  line-height: 1.6;
}

/* Custom noise overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom interactive mouse glow spotlight */
.mouse-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.07) 0%, rgba(255, 94, 0, 0.03) 50%, rgba(0,0,0,0) 100%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: width 0.3s, height 0.3s;
}

/* Custom Cursor Glow */
.custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
  mix-blend-mode: difference;
}

.custom-cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Loading Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.preloader-logo span {
  display: inline-block;
  animation: logoPulse 1.5s infinite alternate;
}

.loader-track {
  width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  box-shadow: 0 0 10px var(--accent-cyan);
}

.loader-percent {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 1px;
}

/* --- Layout & Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -1px;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
}

section {
  padding: 120px 8%;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.section-header {
  margin-bottom: 80px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 4px;
  margin-bottom: 15px;
  display: inline-block;
  background: rgba(0, 240, 255, 0.05);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.section-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.1rem;
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: border-color 0.4s, background-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.glass-panel:hover {
  border-color: var(--border-active);
  background-color: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.03);
}

/* --- Hero Section --- */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  overflow: hidden;
  position: relative;
}

#three-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-background-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 50%, rgba(0, 240, 255, 0.05) 0%, rgba(255, 94, 0, 0.02) 40%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.hero-athlete-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-image: url('../assets/hero_athlete.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.75;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  z-index: 2;
  transform: scale(1.05);
}

.hero-content {
  max-width: 60%;
  position: relative;
  z-index: 3;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(255, 94, 0, 0.05));
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-title {
  font-size: 6rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 25px;
  font-family: var(--font-heading);
}

.hero-title span {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 500px;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Magnetic Button styles */
.btn-magnetic-container {
  display: inline-block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan));
  color: var(--bg-darker);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
  transition: transform 0.1s, box-shadow 0.3s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
}

.btn-primary span {
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(255, 94, 0, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
}

/* Hero HUD statistics Overlay */
.hero-hud {
  position: absolute;
  bottom: 50px;
  right: 8%;
  display: flex;
  gap: 20px;
  z-index: 10;
}

.hud-card {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.hud-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-card[data-type="cyan"] .hud-icon {
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.hud-card[data-type="orange"] .hud-icon {
  color: var(--accent-orange);
  border-color: rgba(255, 94, 0, 0.2);
  box-shadow: 0 0 15px rgba(255, 94, 0, 0.1);
}

.hud-info {
  display: flex;
  flex-direction: column;
}

.hud-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.hud-value {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

/* --- Section: Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.03) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.why-card:hover::after {
  opacity: 1;
}

.why-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
  margin-bottom: 30px;
  font-size: 1.5rem;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.02);
  transition: color 0.4s, border-color 0.4s;
}

.why-card:hover .why-card-icon {
  color: var(--accent-orange);
  border-color: rgba(255, 94, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 94, 0, 0.1);
}

.why-card-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.why-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Section: Workout Categories (Interactive Accordion) --- */
.category-container {
  display: flex;
  height: 550px;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.category-pane {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s;
}

.category-pane.active {
  flex: 2.5;
  border-color: var(--accent-cyan);
}

.category-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  filter: brightness(0.3) grayscale(0.5);
}

.category-pane.active .category-bg {
  filter: brightness(0.6) grayscale(0);
  transform: scale(1.03);
}

.category-pane:hover:not(.active) .category-bg {
  filter: brightness(0.4) grayscale(0.2);
}

.category-pane-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(2, 2, 3, 0.95) 0%, rgba(2, 2, 3, 0.2) 60%, rgba(2, 2, 3, 0) 100%);
  z-index: 1;
}

.category-pane-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.category-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  display: block;
}

.category-title {
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.1;
  transition: transform 0.4s ease;
}

.category-pane:not(.active) .category-title {
  transform: translateY(20px);
}

.category-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease 0.2s, max-height 0.5s ease 0.2s;
}

.category-pane.active .category-details {
  opacity: 1;
  max-height: 150px;
}

.category-details p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
}

/* --- Section: Transformation Journey Timeline --- */
.timeline-section {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.timeline-visual {
  flex: 1;
  position: sticky;
  top: 150px;
  height: 450px;
}

.timeline-visual-card {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-visual-tag {
  color: var(--accent-cyan);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.timeline-visual-title {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.timeline-visual-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.timeline-flow {
  flex: 1.2;
  position: relative;
  padding-left: 50px;
}

/* SVG Line Drawing */
.timeline-svg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.timeline-svg-line {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.timeline-svg-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-orange));
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -58px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 4px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
  transition: border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
}

.timeline-item.active .timeline-node {
  border-color: var(--accent-cyan);
  background-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.timeline-item-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color 0.4s;
}

.timeline-item.active .timeline-item-title {
  color: var(--accent-cyan);
}

.timeline-item-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Section: Gym Equipment Showcase (Interactive) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.showcase-canvas-container {
  height: 500px;
  position: relative;
  z-index: 2;
}

.showcase-interactive-card {
  padding: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

.showcase-tab {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.showcase-tab.active {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.showcase-info-title {
  font-size: 2.6rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.showcase-info-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.showcase-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.showcase-spec {
  display: flex;
  flex-direction: column;
}

.showcase-spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.showcase-spec-val {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Section: Personal Trainers --- */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.trainer-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 480px;
  border: 1px solid var(--border-glass);
  transition: border-color 0.4s;
}

.trainer-card:hover {
  border-color: var(--accent-cyan);
}

.trainer-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  filter: brightness(0.6) grayscale(0.3);
}

.trainer-card:hover .trainer-img {
  transform: scale(1.05);
  filter: brightness(0.85) grayscale(0);
}

.trainer-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(2, 2, 3, 0.95) 0%, rgba(2, 2, 3, 0.4) 50%, rgba(2, 2, 3, 0) 100%);
  z-index: 1;
}

.trainer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  transition: transform 0.4s ease;
}

.trainer-role {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
  display: block;
}

.trainer-name {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.trainer-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.trainer-card:hover .trainer-bio {
  opacity: 1;
  max-height: 100px;
  margin-bottom: 15px;
}

.trainer-socials {
  display: flex;
  gap: 15px;
}

.trainer-social-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.trainer-social-link:hover {
  color: var(--accent-cyan);
}

/* --- Section: Before/After Slider --- */
.slider-container-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.before-after-slider {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  user-select: none;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slider-img.img-before {
  background-image: url('../assets/before_athlete.jpg');
}

.slider-img.img-after {
  background-image: url('../assets/after_athlete.jpg');
  width: 50%; /* Initial split width */
}

/* The slider bar */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--accent-cyan);
  cursor: ew-resize;
  z-index: 5;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--bg-darker);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.slider-label {
  position: absolute;
  bottom: 25px;
  padding: 8px 18px;
  background: rgba(2, 2, 3, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slider-label.label-before {
  left: 25px;
  border-color: rgba(255, 255, 255, 0.15);
}

.slider-label.label-after {
  right: 25px;
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* --- Section: Calculators & Workouts --- */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.calc-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.calc-card-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-card-title i {
  color: var(--accent-cyan);
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

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

.calc-input-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-input-group input, .calc-input-group select {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}

.calc-input-group input:focus, .calc-input-group select:focus {
  border-color: var(--accent-cyan);
}

.calc-btn {
  padding: 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-active);
  color: var(--accent-cyan);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.calc-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-darker);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.calc-result {
  margin-top: 25px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  border-left: 3px solid var(--accent-cyan);
  display: none;
}

.calc-result-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.calc-result-val {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.calc-result-status {
  font-size: 0.95rem;
  margin-top: 5px;
  color: var(--accent-cyan);
}

/* Scheduler / Live Schedules */
.schedule-container {
  margin-top: 50px;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.schedule-header-title {
  font-size: 2.2rem;
  text-transform: uppercase;
}

.schedule-tabs {
  display: flex;
  gap: 10px;
}

.schedule-tab {
  padding: 8px 16px;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: all 0.3s;
}

.schedule-tab.active {
  background: rgba(255, 94, 0, 0.1);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

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

.schedule-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.schedule-time {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.schedule-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.schedule-trainer {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.schedule-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

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

.schedule-join {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* --- Section: Membership Plans --- */
.plans-comparison-slider {
  max-width: 1100px;
  margin: 0 auto;
}

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

.plan-card {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.plan-card.popular {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.03) 0%, rgba(18, 18, 22, 0.6) 100%);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.05);
}

.plan-card-tag {
  position: absolute;
  top: 25px;
  right: -35px;
  background: var(--accent-cyan);
  color: var(--bg-darker);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 35px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-end;
  line-height: 1;
}

.plan-price span {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 5px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.plan-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.plan-features li.disabled i {
  color: var(--text-muted);
}

.plan-btn {
  width: 100%;
  padding: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
}

/* --- Section: Success Statistics --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* --- Section: Testimonials --- */
.testimonials-carousel-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
}

.testimonial-quote {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--accent-cyan);
  background-color: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-cyan);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Section: FAQ (Accordion) --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
}

.faq-trigger {
  padding: 24px 30px;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-trigger i {
  color: var(--accent-cyan);
  transition: transform 0.3s;
}

.faq-item.active .faq-trigger i {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 30px;
}

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

.faq-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Section: Mobile App Showcase --- */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.app-visual {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.app-visual-img {
  max-height: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.2);
  transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
  transition: transform 0.5s;
}

.app-visual:hover .app-visual-img {
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) scale(1.02);
}

.app-content {
  padding: 30px;
}

.app-title {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.app-desc {
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.app-feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.app-feature-icon {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin-top: 3px;
}

.app-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.app-feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.app-download-buttons {
  display: flex;
  gap: 20px;
}

/* --- Section: Contact & Footer --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-title {
  font-size: 2.5rem;
  text-transform: uppercase;
}

.contact-info-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.contact-detail-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
}

.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.contact-detail-val {
  font-size: 1rem;
  font-weight: 500;
}

.contact-form-card {
  padding: 50px;
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, .form-group textarea {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-cyan);
}

.form-submit-btn {
  margin-top: 10px;
}

/* Footer layout */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 80px 8% 40px;
  background-color: var(--bg-darker);
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.footer-brand-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer-social-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

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

.footer-col-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

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

.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links-list a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-meta-links {
  display: flex;
  gap: 30px;
}

.footer-meta-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-meta-links a:hover {
  color: var(--accent-cyan);
}

/* --- Header Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  z-index: 999;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(2, 2, 3, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.3s, height 0.3s, border-color 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 10, 12, 0.85);
  height: 70px;
  border-bottom-color: var(--border-active);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.nav-cta-btn {
  padding: 10px 24px;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* --- Scroll to Top Button --- */
#scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, border-color 0.3s, background-color 0.3s;
}

#scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scroll-to-top:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 94, 0, 0.2);
}

/* --- Responsiveness --- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 4.5rem;
  }
  .section-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .why-grid, .trainers-grid, .plans-grid, .schedule-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content {
    max-width: 80%;
  }
  .hero-athlete-img {
    width: 60%;
    opacity: 0.5;
  }
  .timeline-section, .showcase-grid, .app-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .timeline-visual {
    position: relative;
    top: 0;
    height: auto;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  section {
    padding: 80px 5%;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-athlete-img {
    display: none;
  }
  .hero-content {
    max-width: 100%;
  }
  .why-grid, .trainers-grid, .plans-grid, .schedule-grid, .stats-grid, .calc-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .category-container {
    flex-direction: column;
    height: 900px;
  }
  .category-pane.active {
    flex: 3;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Animations support keys */
@keyframes logoPulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(255, 94, 0, 0.6));
  }
}
