/* ==========================================================================
   FIT FOR LIFE - Premium Scrollytelling Stylesheet
   ========================================================================== */

/* --- Core Elements --- */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Hide main body scrollbar to use wrapper instead */
    background-color: #000000;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Canvas Layer (Background) --- */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Let clicks pass through to scroll-wrapper */
    overflow: hidden;
    background-color: #000000;
}

#bg-canvas {
    display: block;
    width: 100%;
    height: 100%;
    /* Aspect ratio cover sizing handled in JS for pixel-perfect cropping */
}

/* --- Interface Layer (Foreground / Scroll Wrapper) --- */
#scroll-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    z-index: 10;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

#scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, and Opera */
}

#scroll-height {
    width: 100%;
    height: 900vh;
    /* 800vh video scrub range + 100vh viewport height to keep gym content below fold */
    pointer-events: none;
}

/* --- Luxury Loading Screen --- */
#loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: radial-gradient(circle at center, #111111 0%, #050505 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    visibility: visible;
}

#loader-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Double circular premium loader */
.loader-spinner-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 32px;
}

.loader-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    border-top-color: #ff5e00;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    filter: drop-shadow(0 0 8px rgba(255, 94, 0, 0.5));
}

.loader-spinner-inner {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: spin-reverse 1.2s linear infinite;
}

.loader-title {
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 0.5em;
    color: #ffffff;
    margin: 0;
    padding-left: 0.5em;
    /* Compensate for letter spacing alignment */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.loader-sub {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #666666;
    margin-top: 10px;
    padding-left: 0.3em;
}

.loader-progress {
    font-size: 2.25rem;
    font-weight: 200;
    color: #ff5e00;
    margin-top: 24px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 12px rgba(255, 94, 0, 0.4);
}

/* --- Loader Spinner Keyframes --- */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* --- Premium Gym Design System Variables --- */
:root {
    --color-primary: #ff5e00;
    --color-primary-gradient: linear-gradient(135deg, #ff5e00 0%, #ff2a00 100%);
    --color-bg-deep: #050505;
    --color-bg-card: #0d0d0d;
    --color-bg-card-hover: #141414;
    --color-border: rgba(255, 255, 255, 0.05);
    --color-border-glow: rgba(255, 94, 0, 0.3);
    --color-text-primary: #ffffff;
    --color-text-secondary: #aaaaaa;
    --color-text-muted: #666666;
    --shadow-neon: 0 0 20px rgba(255, 94, 0, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Global Section Overrides & Utility Classes --- */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

.gym-section {
    padding: 120px 24px;
    position: relative;
    z-index: 20;
    background-color: var(--color-bg-deep);
    border-top: 1px solid var(--color-border);
}

.gym-section.alt-bg {
    background-color: #080808;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    text-align: center;
    margin: 0;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--color-primary-gradient);
    margin: 24px auto 60px auto;
    border-radius: 2px;
    box-shadow: var(--shadow-neon);
}

/* --- Header & Navigation Bar --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 80;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8) 0%, rgba(5, 5, 5, 0) 100%);
    backdrop-filter: blur(0px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.logo .orange-accent {
    color: var(--color-primary);
    margin: 0 4px;
    text-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--color-text-primary);
}

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

.btn-cta {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    background: transparent;
    border: 2px solid var(--color-primary);
    padding: 12px 28px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 rgba(255, 94, 0, 0);
    display: inline-block;
    text-align: center;
}

.btn-cta:hover {
    background: var(--color-primary-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.btn-cta.primary-cta {
    background: var(--color-primary-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-neon);
}

.btn-cta.primary-cta:hover {
    background: transparent;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 rgba(255, 94, 0, 0);
    color: var(--color-text-primary);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 90;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* --- Floating Text Overlays --- */
#text-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.scroll-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scroll-text-overlay h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px 0;
    color: var(--color-text-primary);
    line-height: 1.1;
}

.scroll-text-overlay p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 200;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    margin: 0;
}

.glow-text {
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 94, 0, 0.2);
}

/* Scroll Down Hint Overlay */
.scroll-down-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    z-index: 10;
}

.scroll-down-hint span {
    animation: pulseHint 2s infinite;
}

.scroll-down-hint .arrow-down {
    animation: bounceHint 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand);
}

@keyframes bounceHint {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

@keyframes pulseHint {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* --- Gym Content Section Slide up --- */
#gym-content {
    background-color: var(--color-bg-deep);
    position: relative;
    z-index: 20;
    width: 100%;
}

/* --- Programs Grid --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.program-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 94, 0, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-neon);
}

.program-card:hover::before {
    opacity: 1;
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(255, 94, 0, 0.4));
}

.program-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--color-text-primary);
}

.program-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 28px 0;
}

.program-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: inline-block;
    border: 1px solid rgba(255, 94, 0, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 94, 0, 0.05);
}

/* --- Pricing/Membership Styles --- */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

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

.discount-badge {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--color-primary);
    color: var(--color-text-primary);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-text-primary);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--color-primary);
    border-color: transparent;
}

input:checked+.slider:before {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 48px 36px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-neon);
    transform: scale(1.03);
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: translateY(-8px) scale(1.03);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-primary-gradient);
    color: var(--color-text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: var(--shadow-neon);
}

.plan-header {
    margin-bottom: 36px;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    margin: 0 0 16px 0;
}

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

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 200;
    color: var(--color-primary);
}

.plan-price .price-val {
    font-size: 4rem;
    font-weight: 200;
    color: var(--color-text-primary);
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.plan-duration {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plan-breakdown {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

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

.plan-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 700;
}

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

.plan-features li.disabled::before {
    content: '✕';
    color: var(--color-text-muted);
}

.pricing-btn {
    width: 100%;
}

/* --- Trainers Section --- */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.trainer-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.trainer-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.trainer-img-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
}

.trainer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

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

.trainer-info {
    padding: 32px;
}

.trainer-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--color-text-primary);
}

.trainer-role {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.trainer-info p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

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

.trainer-socials a {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    padding: 6px 14px;
    border-radius: 4px;
}

.trainer-socials a:hover {
    color: var(--color-text-primary);
    border-color: var(--color-primary);
    background-color: rgba(255, 94, 0, 0.05);
}

/* --- BMI Calculator Section --- */
.bmi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bmi-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 36px 0;
}

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

.input-row {
    display: flex;
    gap: 24px;
}

.input-row .input-group {
    flex: 1;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-group textarea~label {
    top: 24px;
    transform: none;
}

/* Float labels on focus/fill */
.input-group input:focus~label,
.input-group input:valid~label,
.input-group textarea:focus~label,
.input-group textarea:valid~label {
    top: 0;
    left: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: #080808;
    padding: 2px 8px;
    transform: translateY(-50%);
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.1);
}

.bmi-result-side {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 48px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.result-placeholder {
    text-align: center;
    max-width: 320px;
}

.calc-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.result-placeholder p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.result-display {
    width: 100%;
}

.result-display.hidden {
    display: none;
}

.score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.score-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.score-value {
    font-size: 4.5rem;
    font-weight: 200;
    color: var(--color-primary);
    line-height: 1;
}

.status-indicator {
    margin-bottom: 32px;
}

.status-bar-bg {
    width: 100%;
    height: 8px;
    background-color: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.status-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-primary-gradient);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.status-labels {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.recommendation-box {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.recommendation-box h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin: 0 0 10px 0;
}

.recommendation-box p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 48px;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: 16px;
    left: 36px;
    font-size: 6rem;
    color: rgba(255, 94, 0, 0.08);
    font-family: serif;
    line-height: 1;
}

.quote-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0 0 36px 0;
    position: relative;
    z-index: 2;
}

.member-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.member-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 4px 0;
}

.member-details span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.member-metric {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-size: 1.35rem;
    font-weight: 700;
}

.metric-lbl {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.green-glow .metric-val {
    color: #00ff66;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

.orange-glow .metric-val {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 94, 0, 0.3);
}

/* --- Contact & Location Styles --- */
.contact-wrapper,
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

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

.info-block h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin: 0 0 12px 0;
}

.info-block p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

.contact-form-center {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.contact-form-side {
    position: relative;
}

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

.contact-success-msg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
    padding: 40px;
    box-shadow: var(--shadow-neon);
    animation: fadeIn 0.4s ease forwards;
}

.contact-success-msg span {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.contact-success-msg.hidden {
    display: none;
}

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

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Footer Styles --- */
.gym-footer {
    background-color: #030303;
    border-top: 1px solid var(--color-border);
    padding: 80px 24px 40px 24px;
    position: relative;
    z-index: 20;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-brand {
    max-width: 500px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-newsletter {
    max-width: 400px;
    width: 100%;
}

.footer-newsletter h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    margin: 0 0 20px 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

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

.inline-btn {
    padding: 14px 24px;
    font-size: 0.8rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1023px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 85;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-cta {
        display: none;
        /* Hide in primary desktop spot, let's keep it clean */
    }

    .mobile-nav-toggle {
        display: flex;
    }

    /* Animate mobile toggle */
    .mobile-nav-toggle.open .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .mobile-nav-toggle.open .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .bmi-wrapper,
    .location-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gym-section {
        padding: 80px 20px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}