@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;600;800&display=swap');

:root {
  --bg-primary: #050505;
  --bg-secondary: #101010;
  --card-surface: #181818;
  --accent-primary: #FF5A1F;
  --accent-secondary: #F97316;
  --glow-color: #FF7A18;
  --text-light: #FFFFFF;
  --text-muted: #B5B5B5;
  --color-success: #22C55E;
  
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --header-height: 90px;
  --cursor-x: 0px;
  --cursor-y: 0px;
  --slider-pos: 50%;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Accessibility: Premium Focus Rings */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
  box-shadow: 0 0 10px var(--glow-color);
}

/* 1. Global Subtle Grain / Noise Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--card-surface);
  border-radius: 4px;
  border: 1px solid rgba(255, 90, 31, 0.15);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--glow-color);
}

/* 3. Mouse-Follow Glow Element */
.custom-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.08) 0%, rgba(249, 115, 22, 0) 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(calc(var(--cursor-x) - 175px), calc(var(--cursor-y) - 175px));
  filter: blur(40px);
  will-change: transform;
}

@media (max-width: 1024px) {
  .custom-cursor-glow {
    display: none !important;
  }
}

/* 4. Global Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
}

h2 {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

h4 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 300;
  max-width: 75ch; /* Reading Comfort */
}

/* 5. Spotlight Reflections / Low-Opacity Glow Backgrounds */
.glowing-spotlight {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.06) 0%, rgba(255, 90, 31, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* 6. Utility Grid & Containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 30px);
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(15px, 2vw, 30px);
}

@media (max-width: 991px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: clamp(25px, 4vw, 40px);
  }
}

/* 7. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: var(--text-light);
  border: none;
  box-shadow: 0 4px 20px rgba(255, 90, 31, 0.25);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 90, 31, 0.45), 0 0 15px var(--glow-color);
}

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

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--text-light);
  background: rgba(255, 90, 31, 0.05);
  box-shadow: 0 0 15px rgba(255, 90, 31, 0.15);
  transform: translateY(-3px);
}

.btn-arrow {
  transition: transform 0.3s ease;
}
.btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* 8. Fixed Shrinking Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.7);
}

header.scrolled {
  height: 70px;
  background: rgba(16, 16, 16, 0.95);
  border-bottom: 1px solid rgba(255, 90, 31, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 90, 31, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(255, 90, 31, 0.5);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--glow-color);
}

nav a:hover, nav a.active {
  color: var(--text-light);
}

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

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 90, 31, 0.15);
  }
  nav.active {
    right: 0;
  }
}

/* Hamburger transition */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--accent-primary);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--accent-primary);
}

/* 9. Fullscreen Cinematic Hero */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #030303;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transform: scale(1.05);
  transition: transform 12s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.1) brightness(0.8);
}

.hero-section:hover .hero-bg {
  transform: scale(1.12);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5,5,5,0.4) 0%, rgba(5,5,5,0.95) 90%),
              radial-gradient(circle at 80% 30%, rgba(255, 90, 31, 0.15) 0%, transparent 60%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 950px;
  padding: 0 20px;
  margin-top: 50px;
}

.hero-title {
  text-shadow: 0 0 30px rgba(0,0,0,0.8);
  margin-bottom: 25px;
  line-height: 0.95;
  letter-spacing: -1px;
}

.hero-title span {
  display: block;
}

.hero-title .highlight {
  color: var(--accent-primary);
  background: linear-gradient(to right, var(--text-light), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Scroll indicator animation */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite ease-in-out;
  box-shadow: 0 0 8px var(--glow-color);
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* 10. Scroll Intersection Reveal Styles */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* 11. Staggered Elements Grid & Cards */
.card-premium {
  background-color: var(--card-surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 90, 31, 0.05) 0%, transparent 60%);
  z-index: 1;
  transition: opacity 0.5s ease;
}

.card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 90, 31, 0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(255, 90, 31, 0.08);
}

.card-premium-icon {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: rgba(255, 90, 31, 0.1);
  border: 1px solid rgba(255, 90, 31, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-primary);
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(255, 90, 31, 0.4);
  position: relative;
  z-index: 2;
}

.card-premium h3 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  position: relative;
  z-index: 2;
}

.card-premium p {
  position: relative;
  z-index: 2;
  font-size: 0.98rem;
}

/* 3D Perspective Grid cards for programs */
.program-card-perspective {
  height: 480px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.6) contrast(1.1);
}

.program-card-grad {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,0.95) 95%);
  z-index: 2;
}

.program-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 3;
}

.program-card-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--accent-primary);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  border-radius: 2px;
}

.program-card-perspective h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.program-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0;
  max-height: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card-perspective:hover .program-card-img {
  transform: scale(1.1);
  filter: brightness(0.4) contrast(1.15);
}

.program-card-perspective:hover .program-card-desc {
  opacity: 1;
  max-height: 80px;
  margin-top: 10px;
}

.program-card-perspective:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(255, 90, 31, 0.2);
}

/* 12. Before/After Interactive Slider Layout */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  user-select: none;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-img.before {
  clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
  z-index: 2;
}

.slider-img.after {
  z-index: 1;
}

.slider-label {
  position: absolute;
  top: 30px;
  padding: 6px 16px;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-size: 1.1rem;
  color: var(--text-light);
  border-radius: 2px;
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.slider-label.before-label {
  left: 30px;
  background-color: rgba(5,5,5,0.7);
  border-left: 3px solid var(--accent-primary);
}

.slider-label.after-label {
  right: 30px;
  background-color: rgba(5,5,5,0.7);
  border-right: 3px solid var(--color-success);
}

.slider-bar {
  position: absolute;
  top: 0;
  left: var(--slider-pos, 50%);
  width: 3px;
  height: 100%;
  background: var(--accent-primary);
  z-index: 4;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 15px var(--glow-color);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: var(--slider-pos, 50%);
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  z-index: 5;
  cursor: ew-resize;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: background-color 0.2s ease;
}

.slider-handle-button:hover {
  background-color: var(--accent-primary);
}

/* 13. Odometer Statistics Counter */
.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--text-light);
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255, 90, 31, 0.15);
  font-variant-numeric: tabular-nums;
}

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

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

/* 14. Luxury Pricing Plan Cards */
.pricing-grid {
  margin-top: 60px;
}

.price-card {
  background-color: var(--card-surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 1000px;
}

.price-card.popular {
  border-color: rgba(255, 90, 31, 0.4);
  box-shadow: 0 15px 40px rgba(255, 90, 31, 0.05);
}

.price-card.popular::after {
  content: "MOST POPULAR";
  position: absolute;
  top: 25px;
  right: -35px;
  background-color: var(--accent-primary);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  padding: 6px 40px;
  transform: rotate(45deg);
}

.price-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 45px rgba(0,0,0,0.6), 0 0 30px rgba(255, 90, 31, 0.15);
}

.price-plan-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--text-light);
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
}

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

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

.price-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.98rem;
  font-weight: 300;
}

.price-features li svg {
  color: var(--accent-primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* 15. Membership Cost Calculator */
.calculator-box {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 50px;
  margin-top: 80px;
}

.calc-title {
  text-align: center;
  margin-bottom: 40px;
}

.calc-control-group {
  margin-bottom: 35px;
}

.calc-control-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.calc-control-label span:last-child {
  color: var(--accent-primary);
}

/* Custom range slider styling */
.calc-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--card-surface);
  border-radius: 3px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--glow-color);
  transition: transform 0.1s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

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

@media (max-width: 768px) {
  .calc-addons-grid {
    grid-template-columns: 1fr;
  }
}

.calc-addon-card {
  background-color: var(--card-surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 20px 25px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calc-addon-card.active {
  border-color: var(--accent-primary);
  background-color: rgba(255, 90, 31, 0.05);
  box-shadow: 0 0 15px rgba(255, 90, 31, 0.08);
}

.calc-addon-info h4 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.calc-addon-info p {
  font-size: 0.85rem;
}

.calc-addon-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent-primary);
}

.calc-result-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .calc-result-panel {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}

.calc-result-price {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--text-light);
}

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

/* 16. Luxury Team Trainers Showcase Grid */
.trainer-card {
  background-color: var(--card-surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.trainer-card-img-box {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.trainer-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.85);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.trainer-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,0.9) 100%);
  z-index: 2;
}

.trainer-card-tags {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.trainer-card-tag {
  background-color: rgba(5, 5, 5, 0.85);
  border: 1px solid rgba(255, 90, 31, 0.4);
  color: var(--text-light);
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  border-radius: 2px;
}

.trainer-card-info {
  padding: 25px 30px;
  text-align: center;
  position: relative;
  z-index: 3;
  margin-top: -60px;
}

.trainer-card h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.trainer-card-role {
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.trainer-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(255, 90, 31, 0.15);
  transform: translateY(-5px);
}

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

/* 17. Pop-Open Dialog / Top-Layer Profiles */
dialog.trainer-dialog {
  width: 90%;
  max-width: 900px;
  border: 1px solid rgba(255, 90, 31, 0.3);
  border-radius: 8px;
  background-color: var(--bg-secondary);
  color: var(--text-light);
  padding: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 50px rgba(255, 90, 31, 0.15);
  z-index: 2000;
  
  /* Standard Discrete entry/exit support */
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.96);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-behavior: allow-discrete;
}

dialog.trainer-dialog[open] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);

  @starting-style {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
}

dialog.trainer-dialog::backdrop {
  background-color: rgba(5, 5, 5, 0);
  backdrop-filter: blur(0px);
  transition:
    display 0.4s allow-discrete,
    overlay 0.4s allow-discrete,
    background-color 0.4s ease,
    backdrop-filter 0.4s ease;
}

dialog.trainer-dialog[open]::backdrop {
  background-color: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(8px);

  @starting-style {
    background-color: rgba(5, 5, 5, 0);
    backdrop-filter: blur(0px);
  }
}

/* Dialog close button */
.dialog-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.dialog-close:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--glow-color);
}

.dialog-body {
  display: flex;
}

.dialog-img-box {
  width: 40%;
  height: 550px;
}

.dialog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.9);
}

.dialog-info {
  width: 60%;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dialog-info h2 {
  font-size: 3.5rem;
  margin-bottom: 5px;
}

.dialog-quote {
  font-style: italic;
  color: var(--accent-primary);
  margin-bottom: 25px;
  font-weight: 300;
}

.dialog-bio {
  margin-bottom: 30px;
  font-size: 0.98rem;
}

.dialog-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 35px;
}

.dialog-detail-row {
  display: flex;
  gap: 10px;
}

.dialog-detail-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-muted);
  width: 120px;
}

.dialog-detail-val {
  font-weight: 300;
  color: var(--text-light);
}

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

.dialog-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.dialog-social-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--glow-color);
}

@media (max-width: 768px) {
  .dialog-body {
    flex-direction: column;
  }
  .dialog-img-box {
    width: 100%;
    height: 300px;
  }
  .dialog-info {
    width: 100%;
    padding: 30px;
  }
  .dialog-info h2 {
    font-size: 2.8rem;
  }
}

/* 18. Personal Training Interactive Matcher Quiz */
.quiz-container {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background-color: var(--card-surface);
  border-radius: 2px;
  margin-bottom: 40px;
  overflow: hidden;
}

.quiz-progress-fill {
  width: 33.3%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.4s ease;
  box-shadow: 0 0 10px var(--glow-color);
}

.quiz-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.quiz-option {
  background-color: var(--card-surface);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 20px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 300;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-option::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.quiz-option.selected {
  border-color: var(--accent-primary);
  background-color: rgba(255, 90, 31, 0.05);
}

.quiz-option.selected::after {
  border-color: var(--accent-primary);
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--glow-color);
}

.quiz-navigation {
  display: flex;
  justify-content: space-between;
}

.quiz-result-card {
  text-align: center;
  animation: scaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-match-title {
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.quiz-match-coach {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}

.quiz-match-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 25px rgba(255, 90, 31, 0.3);
}

.quiz-match-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

/* 19. Chronological Milestone timeline (About page) */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-primary) 0%, rgba(255, 255, 255, 0.05) 100%);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 50px;
  z-index: 2;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-marker {
  position: absolute;
  top: 35px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 3px solid var(--accent-primary);
  z-index: 3;
  box-shadow: 0 0 10px var(--glow-color);
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -8px;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -8px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 5px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding: 20px 20px 20px 60px;
    text-align: left !important;
  }
  .timeline-marker {
    left: 22px !important;
  }
}

/* 20. Sleek Dark Vector Interactive Map (Contact) */
.map-placeholder-box {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  height: 480px;
  position: relative;
  overflow: hidden;
}

.vector-map-bg {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #151515 0%, #080808 100%);
  position: relative;
}

/* Sleek grid lines representing modern maps */
.vector-map-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-location-node {
  position: absolute;
  cursor: pointer;
  z-index: 5;
}

.map-location-ping {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  position: relative;
  box-shadow: 0 0 15px var(--glow-color);
}

.map-location-ping::after {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-primary);
  animation: pingAnimation 2s infinite ease-out;
  opacity: 0;
}

@keyframes pingAnimation {
  0% { transform: scale(0.2); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}

.map-tooltip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--card-surface);
  border: 1px solid var(--accent-primary);
  padding: 15px 25px;
  border-radius: 6px;
  width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  text-align: center;
}

.map-location-node:hover .map-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.map-tooltip h4 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.map-tooltip p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 21. Legal & Articles Pages */
.legal-wrapper {
  max-width: 850px;
  margin: 60px auto 0;
}

.legal-wrapper h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: var(--text-light);
  border-left: 3px solid var(--accent-primary);
  padding-left: 15px;
}

.legal-wrapper p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* 22. Luxury Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 90px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand p {
  margin-top: 20px;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1.25rem;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
  color: var(--text-light);
  position: relative;
}

.footer-links h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-primary);
}

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

.footer-links ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.98rem;
  transition: all 0.3s ease;
}

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

.newsletter-form {
  display: flex;
  margin-top: 20px;
  max-width: 360px;
}

.newsletter-input {
  flex-grow: 1;
  background-color: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.08);
  border-right: none;
  padding: 15px 20px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  border-color: var(--accent-primary);
}

.newsletter-btn {
  background: var(--accent-primary);
  border: none;
  color: var(--text-light);
  padding: 0 25px;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: var(--accent-secondary);
}

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

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copy {
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  gap: 25px;
}

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

.footer-legal-links a:hover {
  color: var(--accent-primary);
}

/* 23. App download showcase links */
.app-download-box {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 18px;
  border-radius: 6px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.app-btn:hover {
  border-color: var(--accent-primary);
  background-color: rgba(255, 90, 31, 0.03);
}

.app-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.app-btn-text span {
  display: block;
}

.app-btn-text span:first-child {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.app-btn-text span:last-child {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* 24. 404 Custom Luxury Page */
.error-page-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.error-title-large {
  font-size: clamp(8rem, 15vw, 15rem);
  line-height: 0.8;
  color: rgba(255, 90, 31, 0.15);
  font-family: var(--font-heading);
  position: absolute;
  z-index: 1;
  pointer-events: none;
  letter-spacing: 2px;
}

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

.error-content-box h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 20px;
  color: var(--text-light);
}

.error-content-box p {
  max-width: 500px;
  margin: 0 auto 40px;
}

/* 25. Micro Animation Keyframes */
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.95; }
  100% { transform: scale(1); opacity: 0.8; }
}

.pulse-glow-accent {
  animation: pulseGlow 4s infinite ease-in-out;
}

/* 26. Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

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

.loading-logo {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

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

.loading-bar-wrapper {
  width: 200px;
  height: 2px;
  background-color: rgba(255,255,255,0.08);
  border-radius: 1px;
  overflow: hidden;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background-color: var(--accent-primary);
  transition: width 0.4s ease;
  box-shadow: 0 0 10px var(--glow-color);
}

/* 27. Production Card Consistency Standardizations */
.card-premium, .price-card, .magazine-card, .trainer-card, .prog-detail-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prog-detail-card .prog-img-box,
.trainer-card .trainer-card-img-box,
.magazine-card .magazine-card-img {
  aspect-ratio: 16 / 10;
  height: auto !important;
}

.price-card {
  min-height: 520px;
}

/* 28. Sticky Mobile CTA Panel */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 90, 31, 0.3);
  padding: 12px 20px;
  z-index: 999;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -8px 25px rgba(0,0,0,0.6), 0 0 15px rgba(255, 90, 31, 0.08);
}

@media (max-width: 767px) {
  .sticky-mobile-cta {
    display: flex;
  }
  body {
    padding-bottom: 75px !important;
  }
}

.sticky-mobile-cta-btn {
  flex-grow: 1;
  padding: 14px 20px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 400;
}

.sticky-mobile-cta-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(255, 90, 31, 0.35);
}

.sticky-mobile-cta-btn.secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.15);
  margin-right: 10px;
}

.sticky-mobile-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.45);
}

/* 29. Production Motion Reduction Safe Zones */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
    transform: none !important;
  }
  .custom-cursor-glow {
    display: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
