/* ==========================================================================
   TITAN FORCE FITNESS - MASTER DESIGN SYSTEM
   Dark Luxury Cyber-Obsidian Theme with Neon Accents
   ========================================================================== */

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

:root {
  --bg-darkest: #070709;
  --bg-dark: #0d0e12;
  --bg-card: #13141b;
  --bg-card-hover: #181a24;
  --bg-glass: rgba(18, 20, 28, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(204, 255, 0, 0.3);

  /* Neon Brand Accents */
  --neon-lime: #CCFF00;
  --neon-lime-hover: #b8e600;
  --neon-lime-glow: rgba(204, 255, 0, 0.4);
  --neon-orange: #FF6B00;
  --neon-crimson: #FF2A5F;
  --neon-cyan: #00F2FE;
  --neon-gold: #FFB800;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-impact: 'Bebas Neue', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'Outfit', sans-serif;

  /* Transitions & Shadows */
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glow-shadow: 0 0 25px rgba(204, 255, 0, 0.25);
  --glow-crimson: 0 0 25px rgba(255, 42, 95, 0.25);
  --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.25);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-darkest);
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #090a0d;
}
::-webkit-scrollbar-thumb {
  background: #252836;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-lime);
}

/* Headings & Display Fonts */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.font-impact {
  font-family: var(--font-impact);
  letter-spacing: 0.04em;
}

.font-display {
  font-family: var(--font-display);
}

.font-ui {
  font-family: var(--font-ui);
}

/* Background Atmosphere Glows */
.bg-mesh-glow {
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(204, 255, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 42, 95, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.03) 0%, transparent 50%);
}

.bg-dark-card {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-subtle);
}

.bg-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

/* Section Title Accents */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204, 255, 0, 0.1);
  color: var(--neon-lime);
  border: 1px solid rgba(204, 255, 0, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-badge.badge-crimson {
  background: rgba(255, 42, 95, 0.1);
  color: var(--neon-crimson);
  border-color: rgba(255, 42, 95, 0.3);
}

.section-badge.badge-cyan {
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  border-color: rgba(0, 242, 254, 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
}

.text-gradient-lime {
  background: linear-gradient(135deg, #CCFF00 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-crimson {
  background: linear-gradient(135deg, #FF2A5F 0%, #FF8C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-neon-lime {
  color: var(--neon-lime) !important;
}

.text-neon-cyan {
  color: var(--neon-cyan) !important;
}

.text-neon-crimson {
  color: var(--neon-crimson) !important;
}

.text-neon-gold {
  color: var(--neon-gold) !important;
}

/* Modern Buttons */
.btn-neon-lime {
  background-color: var(--neon-lime);
  color: #000000;
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--neon-lime);
  box-shadow: 0 4px 20px rgba(204, 255, 0, 0.3);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-neon-lime:hover, .btn-neon-lime:focus {
  background-color: #d8ff33;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(204, 255, 0, 0.5);
}

.btn-neon-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 8px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-neon-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--neon-lime);
  border-color: var(--neon-lime);
  transform: translateY(-2px);
}

.btn-neon-crimson {
  background-color: var(--neon-crimson);
  color: #ffffff;
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--neon-crimson);
  box-shadow: 0 4px 20px rgba(255, 42, 95, 0.35);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-neon-crimson:hover {
  background-color: #ff4775;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 42, 95, 0.55);
}

.btn-whatsapp-direct {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition: var(--transition-fast);
}

.btn-whatsapp-direct:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Sticky Navbar */
.navbar-custom {
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
  transition: var(--transition-smooth);
}

.navbar-brand .brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--neon-lime), #00F2FE);
  color: #000;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
}

.navbar-brand .brand-text {
  font-family: var(--font-impact);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1;
}

.navbar-nav .nav-link {
  color: #cbd5e1;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--neon-lime) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--neon-lime);
  box-shadow: 0 0 8px var(--neon-lime);
  border-radius: 2px;
}

/* Hero Section with Video */
.hero-video-wrapper {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0.42;
  filter: saturate(1.2) contrast(1.1);
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 9, 0.75) 0%,
    rgba(7, 7, 9, 0.4) 40%,
    rgba(7, 7, 9, 0.85) 80%,
    rgba(7, 7, 9, 1) 100%
  );
  z-index: 1;
}

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

.hero-title {
  font-family: var(--font-impact);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 20, 28, 0.8);
  border: 1px solid rgba(204, 255, 0, 0.35);
  padding: 8px 18px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

/* Gym Cards */
.gym-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

.gym-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 255, 0, 0.35);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(204, 255, 0, 0.12);
}

.gym-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.gym-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gym-card:hover .gym-card-img-wrap img {
  transform: scale(1.08);
}

.gym-card-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

/* Stats Counter Box */
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: var(--transition-fast);
}

.stat-box:hover {
  border-color: var(--border-neon);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.stat-number {
  font-family: var(--font-impact);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--neon-lime);
}

/* Pricing Cards */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 28px;
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--neon-lime);
  background: linear-gradient(180deg, rgba(204, 255, 0, 0.06) 0%, var(--bg-card) 40%);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(204, 255, 0, 0.18);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--neon-lime);
}

.pricing-price {
  font-family: var(--font-impact);
  font-size: 3.5rem;
  line-height: 1;
  color: #ffffff;
}

.pricing-currency {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--neon-lime);
}

/* Before / After Slider */
.ba-comparison-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
}

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

.ba-after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--neon-lime);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.5);
}

.ba-after-wrapper .ba-after-img {
  width: 100%;
  min-width: 100%;
  height: 100%;
}

.ba-slider-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--neon-lime);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--neon-lime);
  pointer-events: none;
  z-index: 5;
}

.ba-tag {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 4;
}

.ba-tag.tag-before {
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-tag.tag-after {
  left: 16px;
  background: var(--neon-lime);
  color: #000000;
}

/* Timetable Styles */
.timetable-nav .nav-link {
  background: var(--bg-card);
  color: #94a3b8;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 18px;
  font-family: var(--font-ui);
  font-weight: 700;
  transition: var(--transition-fast);
}

.timetable-nav .nav-link.active,
.timetable-nav .nav-link:hover {
  background: var(--neon-lime);
  color: #000000;
  border-color: var(--neon-lime);
  box-shadow: 0 4px 15px rgba(204, 255, 0, 0.35);
}

.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--neon-lime);
  border-radius: 12px;
  padding: 20px 24px;
  transition: var(--transition-fast);
}

.schedule-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-lime);
  transform: translateX(4px);
}

/* Gallery Filter Tabs */
.gallery-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--neon-lime);
  color: #000000;
  border-color: var(--neon-lime);
  box-shadow: 0 4px 15px rgba(204, 255, 0, 0.3);
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

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

/* Floating WhatsApp Widget */
.whatsapp-float-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition-fast);
  position: relative;
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.whatsapp-tooltip-bubble {
  background: #1e202b;
  color: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

/* Interactive BMI Calculator */
.bmi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
}

.bmi-result-gauge {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #00F2FE 0%, #CCFF00 35%, #FFB800 70%, #FF2A5F 100%);
  position: relative;
  margin: 20px 0;
}

.bmi-pointer {
  position: absolute;
  top: -6px;
  left: 20%;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 3px solid #000;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modals */
.modal-content-dark {
  background: #111219;
  border: 1px solid rgba(204, 255, 0, 0.3);
  border-radius: 18px;
  color: #e2e8f0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(204, 255, 0, 0.15);
}

.modal-header-dark {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px;
}

.modal-footer-dark {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 24px;
}

/* Form Controls */
.form-control-dark, .form-select-dark {
  background-color: #0b0c10 !important;
  border: 1px solid var(--border-subtle) !important;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 12px 16px;
  transition: var(--transition-fast);
}

.form-control-dark:focus, .form-select-dark:focus {
  border-color: var(--neon-lime) !important;
  box-shadow: 0 0 12px rgba(204, 255, 0, 0.25) !important;
  background-color: #0e0f14 !important;
}

/* Video Player Modal */
.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.video-responsive-wrap iframe,
.video-responsive-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer-dark {
  background-color: #050608;
  border-top: 1px solid var(--border-subtle);
  color: #94a3b8;
  padding-top: 70px;
  padding-bottom: 30px;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-block;
  margin-bottom: 8px;
}

.footer-link:hover {
  color: var(--neon-lime);
  transform: translateX(4px);
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  background: #14161f;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-icon-btn:hover {
  background: var(--neon-lime);
  color: #000000;
  border-color: var(--neon-lime);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(204, 255, 0, 0.35);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-video-wrapper {
    min-height: 80vh;
  }
  .pricing-card.popular {
    transform: none;
  }
  .navbar-collapse {
    background: #0d0e14;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    margin-top: 12px;
  }
}
