/* ==========================================================================
   D28D Gym Virtual - Base CSS
   ========================================================================== */

/* --- Variables & Theme Tokens --- */
:root {
    /* Colors */
    --clr-black: #050505;
    --clr-dark-grey: #121212;
    --clr-grey-surface: #1E1E1E;
    --clr-yellow-primary: #FFD700; /* Energetic Yellow */
    --clr-yellow-hover: #E5C100;
    --clr-white: #FFFFFF;
    --clr-text-main: #E2E8F0;
    --clr-text-muted: #94A3B8;

    /* Typography */
    --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --container-max-width: min(1680px, 96vw);
    --page-gutter: clamp(1.25rem, 3.5vw, 3.5rem);
    --section-pad-y: clamp(4.5rem, 7vw, 6.5rem);
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease-in-out;
    --header-height: 80px;
    --glass-bg: rgba(5, 5, 5, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-black);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}

@media (min-width: 1900px) {
    :root {
        --container-max-width: min(1840px, 94vw);
    }
}

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

.d-mobile-only { display: block; }
.d-desktop-only { display: none; }

@media (min-width: 992px) {
    .d-mobile-only { display: none; }
    .d-desktop-only { display: inline-flex; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--clr-yellow-primary);
    color: var(--clr-black);
}

.btn-primary:hover {
    background-color: var(--clr-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-white);
    color: var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-black);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--clr-yellow-primary);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background-color: rgba(5, 5, 5, 0.98); /* More solid for better visibility */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--clr-yellow-primary);
}

.header-socials { 
    display: none !important; 
}

.header-social-link {
    width: 32px;
    height: 32px;
    background-color: var(--clr-grey-surface);
    color: var(--clr-white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    transition: all var(--transition-base);
}

.header-social-link:hover {
    background-color: var(--clr-yellow-primary);
    color: var(--clr-black);
    transform: scale(1.1);
}

.header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100%;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}

.header-container.full-width-header {
    max-width: 100% !important;
    width: 100%;
    padding: 0 var(--page-gutter);
}

.logo {
    font-size: clamp(1.15rem, 1.35vw, 1.4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-text { color: var(--clr-white); }
.logo-accent { color: var(--clr-yellow-primary); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--clr-white);
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--clr-white);
    left: 0;
    transition: all var(--transition-base);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Menu Open State */
.menu-toggle.is-active .hamburger { background-color: transparent; }
.menu-toggle.is-active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.menu-toggle.is-active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Navigation List */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--clr-dark-grey);
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    transition: right var(--transition-base);
    z-index: 999;
    border-left: 1px solid var(--glass-border);
}

.main-nav.is-open {
    right: 0;
}

.nav-item {
    flex-shrink: 0;
    position: relative;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text-main);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    color: var(--clr-yellow-primary);
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .menu-toggle { display: none; }

    .header-container,
    .header-container.full-width-header {
        gap: 1.25rem;
        padding: 0 clamp(1.25rem, 2.5vw, 2.5rem);
    }
    
    .main-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        position: static !important;
        right: auto !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
        z-index: auto;
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(0.35rem, 1.1vw, 1.35rem);
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        overflow: visible;
    }

    .nav-item {
        flex: 0 0 auto;
        text-align: center;
        min-width: auto;
    }

    .nav-item.d-mobile-only {
        display: none !important;
    }
    
    .nav-link {
        font-size: clamp(0.88rem, 1vw, 1.02rem);
        font-weight: 700;
        letter-spacing: 0.02em;
        white-space: nowrap;
        display: inline-block;
        padding: 0.45rem 0.35rem;
        line-height: 1.2;
        position: relative;
    }

    .header-actions .btn {
        font-size: 0.9rem;
        font-weight: 800;
        padding: 0.65rem 1.15rem;
        white-space: nowrap;
    }

    .header-socials { display: none !important; }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--clr-yellow-primary);
        transition: width var(--transition-base);
    }

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

@media (min-width: 1400px) {
    .nav-list {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.5rem 0.45rem;
    }

    .logo {
        font-size: 1.45rem;
    }
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- Navigation & Dropdown --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--clr-dark-grey);
    border: 1px solid var(--clr-grey-surface);
    border-top: 2px solid var(--clr-yellow-primary);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    padding: 0.5rem 0;
    z-index: 100;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-main);
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--clr-yellow-primary);
    padding-left: 2rem;
}

@media (min-width: 992px) {
    .nav-item.dropdown .dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile Dropdown (Simple version) */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(0,0,0,0.2);
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
        display: none;
    }
    .nav-item.dropdown.is-active .dropdown-menu {
        display: block;
    }
}

/* --- Main Content & Hero Video --- */
.site-main {
    min-height: calc(100vh - 300px);
    padding-top: var(--header-height); /* Prevent overlap with fixed header */
}

.hero-video {
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5,5,5,0.9), rgba(5,5,5,0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: min(52rem, 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    max-width: 38rem;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Shared section rhythm --- */
.intro-video-section,
.transformations-section,
.services-section,
.pricing-section,
.products-section,
.desafio-section,
.equipment-section,
.how-to-join-section,
.faq-section,
.trainers-section,
.hall-of-fame {
    padding: var(--section-pad-y) 0;
}

.intro-video-section {
    background: var(--clr-dark-grey);
}

.intro-video-section .video-wrapper {
    max-width: min(1100px, 100%);
    margin: 3rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--clr-yellow-primary);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.15);
    aspect-ratio: 16 / 9;
}

.intro-video-section .video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.transformations-section {
    background: var(--clr-black);
}

/* --- Services Section --- */
.services-section {
    background-color: var(--clr-black);
}

.section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
    max-width: 46rem;
}

.section-title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-subtitle,
.section-desc {
    color: var(--clr-text-muted);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.55;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1.25rem, 2vw, 1.75rem);
}

.service-card {
    background-color: var(--clr-dark-grey);
    border: 1px solid var(--clr-grey-surface);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--clr-yellow-primary);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.card-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-icon {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.card-description {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--clr-yellow-primary);
    transition: width var(--transition-base);
}

.service-card:hover::after {
    width: 100%;
}


/* --- Store & Products --- */
.store-hero {
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    background-color: var(--clr-dark-grey);
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: clamp(1.25rem, 2vw, 1.75rem);
}

.products-section .products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.7rem, 1.1vw, 1.15rem);
}

.products-section .product-card {
    padding: 1rem;
    min-width: 0;
}

.products-section .product-image {
    height: 160px;
    margin-bottom: 1rem;
}

.products-section .product-name {
    font-size: 0.95rem;
    line-height: 1.25;
}

.products-section .product-price {
    font-size: 1.15rem;
}

.products-section .product-card .btn {
    font-size: 0.8rem;
    padding: 0.6rem 0.75rem;
}

@media (max-width: 1199px) {
    .products-section .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .products-section .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-section .product-image {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .products-section .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background-color: var(--clr-dark-grey);
    border: 1px solid var(--clr-grey-surface);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

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

.product-image {
    height: 220px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

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

.product-info {
    flex-grow: 1;
}

.product-category {
    color: var(--clr-yellow-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--clr-white);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-yellow-primary);
    margin-bottom: 0.5rem;
}

.product-stock {
    font-size: 0.85rem;
    color: var(--clr-text-main);
    margin-bottom: 1rem;
}

.product-stock.low-stock {
    color: #ff4444;
    font-weight: 600;
}

.out-of-stock {
    color: #ff4444;
    text-transform: uppercase;
    font-weight: 900;
}

/* --- Add to Cart Modal --- */
.cart-product-modal {
    max-width: 720px;
    position: relative;
    padding: 1.5rem;
}
.cart-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    background: transparent;
    border: none;
    color: var(--clr-text-muted);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}
.cart-modal-close:hover { color: var(--clr-yellow-primary); }
.cart-modal-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1.5rem;
    align-items: start;
}
.cart-modal-media {
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0a;
    aspect-ratio: 1;
}
.cart-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-modal-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clr-text-muted);
    margin-bottom: 0.35rem;
}
.cart-modal-body h2 {
    font-size: 1.45rem;
    color: var(--clr-white);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.cart-modal-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clr-yellow-primary);
    margin-bottom: 0.35rem;
}
.cart-modal-stock {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    color: var(--clr-text-main);
}
.cart-modal-stock.is-low { color: #ff6b6b; font-weight: 600; }
.cart-modal-field {
    margin-bottom: 1.15rem;
}
.cart-modal-field label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: var(--clr-yellow-primary);
    font-size: 0.85rem;
}
.cart-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.cart-color-option {
    border: 1.5px solid var(--clr-grey-surface);
    background: var(--clr-black);
    color: var(--clr-text-main);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cart-color-option:hover {
    border-color: var(--clr-yellow-primary);
}
.cart-color-option.is-selected {
    background: var(--clr-yellow-primary);
    border-color: var(--clr-yellow-primary);
    color: #000;
    font-weight: 700;
}
.cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--clr-grey-surface);
    border-radius: 10px;
    overflow: hidden;
    background: var(--clr-black);
}
.cart-qty-control button {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--clr-white);
    font-size: 1.2rem;
    cursor: pointer;
}
.cart-qty-control button:hover { color: var(--clr-yellow-primary); }
.cart-qty-control input {
    width: 56px;
    height: 42px;
    border: none;
    border-left: 1px solid var(--clr-grey-surface);
    border-right: 1px solid var(--clr-grey-surface);
    background: transparent;
    color: var(--clr-white);
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 700;
    -moz-appearance: textfield;
}
.cart-qty-control input::-webkit-outer-spin-button,
.cart-qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cart-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.5rem;
}
.cart-item-meta {
    display: block;
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    margin-top: 0.15rem;
}
@media (max-width: 700px) {
    .cart-modal-layout {
        grid-template-columns: 1fr;
    }
    .cart-modal-media {
        max-width: 220px;
        margin: 0 auto;
    }
}

.btn-block {
    width: 100%;
}

/* --- Shopping Cart Sidebar --- */
.cart-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--clr-yellow-primary);
    color: var(--clr-black);
    font-size: 0.7rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--clr-dark-grey);
    z-index: 2000;
    transition: right var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.cart-sidebar.is-open {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--clr-grey-surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.close-cart {
    background: transparent;
    border: none;
    color: var(--clr-white);
    font-size: 2rem;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--clr-text-muted);
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--clr-grey-surface);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    color: var(--clr-white);
}

.cart-item-price {
    color: var(--clr-yellow-primary);
    font-weight: 700;
}

.remove-item {
    background: transparent;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
    padding: 0;
    margin-top: 0.25rem;
}

.cart-footer {
    padding: 2rem;
    background-color: var(--clr-black);
    border-top: 1px solid var(--clr-grey-surface);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

#cart-total-amount {
    color: var(--clr-yellow-primary);
}


/* --- Footer --- */
.site-footer {
    background-color: var(--clr-dark-grey);
    padding: var(--spacing-xl) 0 2rem;
    border-top: 1px solid var(--clr-grey-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
    }
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.footer-social-link:hover {
    background: var(--clr-yellow-primary);
    color: var(--clr-black);
    transform: translateY(-3px);
}

.footer-description {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    transition: color var(--transition-fast);
}

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

.newsletter-form {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-grey-surface);
    background-color: var(--clr-black);
    color: var(--clr-white);
    border-radius: 4px 0 0 4px;
    font-family: inherit;
}

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

.newsletter-form .btn {
    border-radius: 0 4px 4px 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px; /* More modern button look */
    background-color: var(--clr-grey-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background-color: var(--clr-yellow-primary);
    color: var(--clr-black);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--clr-grey-surface);
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.875rem;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all var(--transition-base);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Contact Page --- */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--clr-yellow-primary);
    width: 50px;
    height: 50px;
    background-color: var(--clr-grey-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    color: var(--clr-white);
    margin-bottom: 0.25rem;
}

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

.contact-form-card {
    background-color: var(--clr-dark-grey);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--clr-grey-surface);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--clr-black);
    border: 1px solid var(--clr-grey-surface);
    color: var(--clr-white);
    border-radius: 4px;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-yellow-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* --- Program Page Styles --- */
.program-hero {
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?q=80&w=2070&auto=format&fit=crop') center/cover;
    text-align: center;
    padding-top: 2rem; /* Additional breathing room */
}

.program-hero .hero-content {
    margin: 0 auto;
}

.benefits-section, .how-it-works-section, .included-section {
    padding: var(--spacing-xl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--clr-dark-grey);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--clr-yellow-primary);
    transition: transform 0.3s ease;
}

.benefit-card:hover { transform: translateY(-5px); }

.benefit-icon { font-size: 2rem; margin-bottom: 1rem; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step-card {
    position: relative;
    padding: 3rem 2rem 2rem;
    background: var(--clr-dark-grey);
    border-radius: 12px;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 215, 0, 0.2);
}

.step-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-yellow-primary);
}

.included-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--clr-dark-grey);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--clr-grey-surface);
}

@media (min-width: 992px) {
    .included-card { grid-template-columns: 1fr 1fr; }
}

.included-content { padding: 4rem; }

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

.check-list { margin: 2rem 0; }
.check-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.testimonial-box {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--clr-black);
    border-radius: 12px;
    border-left: 4px solid var(--clr-yellow-primary);
    font-style: italic;
}

.testimonial-text { font-size: 1.1rem; margin-bottom: 1rem; color: var(--clr-text-main); }
.testimonial-author { font-weight: 700; color: var(--clr-yellow-primary); font-style: normal; }

.final-cta-section {
    padding: 6rem 0;
    background: var(--clr-yellow-primary);
    color: var(--clr-black);
}

.final-cta-section .section-title, .final-cta-section .cta-subtitle {
    color: var(--clr-black);
}

.final-cta-section .btn-primary {
    background: var(--clr-black);
    color: var(--clr-yellow-primary);
}

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

/* How to Join Section Styles */
.steps-vertical-container {
    position: relative;
    padding-left: 2rem;
    max-width: min(920px, 100%);
    margin: 3rem auto 0;
}

.steps-vertical-container::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--clr-yellow-primary), transparent);
}

.step-v-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.step-v-number {
    width: 60px;
    height: 60px;
    background: var(--clr-black);
    border: 2px solid var(--clr-yellow-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-yellow-primary);
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.step-v-content h3 {
    color: var(--clr-yellow-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.step-v-content p {
    color: var(--clr-text-main);
    line-height: 1.6;
    font-size: 1.1rem;
}

.zoom-download-btn:hover {
    background: #1a73e8 !important;
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .steps-vertical-container::before {
        left: 30px;
    }
    .step-v-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Equipment Needed Section Styles */
.equipment-section {
    background: var(--clr-black);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: clamp(1.25rem, 2vw, 1.75rem);
    margin-top: 3rem;
}

.equipment-item {
    background: var(--clr-dark-grey);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--clr-grey-surface);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-10px);
    border-color: var(--clr-yellow-primary);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.equipment-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.equipment-item h4 {
    color: var(--clr-yellow-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.equipment-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--clr-text-main);
}

.equipment-footer-msg {
    margin-top: 4rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-yellow-primary);
    text-align: center;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 1px dashed var(--clr-yellow-primary);
}

/* Desafio D28D Section Styles */
.desafio-section {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1574680096145-d05b474e2155?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    border-top: 2px solid var(--clr-yellow-primary);
    border-bottom: 2px solid var(--clr-yellow-primary);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(1.25rem, 2vw, 1.75rem);
    margin: 3rem 0;
}

.prize-card {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid var(--clr-yellow-primary);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.prize-card:hover {
    transform: scale(1.05);
}

.prize-card.gold {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.2), rgba(0,0,0,0.2));
    border-width: 3px;
    transform: translateY(-10px);
}

.prize-rank {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--clr-yellow-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.prize-usd {
    font-size: 1.1rem;
    opacity: 0.7;
    color: var(--clr-text-main);
}

.desafio-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.req-box, .cond-box {
    background: var(--clr-dark-grey);
    padding: 3rem;
    border-radius: 20px;
}

.req-box h3, .cond-box h3 {
    color: var(--clr-yellow-primary);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.desafio-list {
    list-style: none;
}

.desafio-list li {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.desafio-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-yellow-primary);
    font-weight: 800;
}

@media (max-width: 992px) {
    .desafio-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Trainers Section Styles */
.trainers-section {
    background: var(--clr-dark-grey);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: clamp(0.5rem, 1vw, 1rem);
    margin-top: 3rem;
    align-items: stretch;
}

.trainer-card {
    background: var(--clr-black);
    padding: 1.5rem 0.55rem 1.35rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--clr-grey-surface);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 0;
}

.trainer-card:hover {
    transform: translateY(-15px);
    border-color: var(--clr-yellow-primary);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.trainer-img-wrapper {
    width: clamp(72px, 8vw, 110px);
    height: clamp(72px, 8vw, 110px);
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 4px;
    border: 2px solid var(--clr-yellow-primary);
    position: relative;
}

.trainer-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

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

.trainer-name {
    font-size: clamp(0.68rem, 0.95vw, 0.95rem);
    color: white;
    margin-bottom: 0.4rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.trainer-specialty {
    color: var(--clr-yellow-primary);
    font-size: clamp(0.58rem, 0.75vw, 0.78rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .trainers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .trainer-card {
        padding: 2rem 1rem;
    }

    .trainer-img-wrapper {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .trainer-name {
        font-size: 1.15rem;
    }

    .trainer-specialty {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
}

/* Admin Tabs Styles */
.tab-btn {
    background: none;
    border: none;
    color: var(--clr-text-main);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--clr-yellow-primary);
    opacity: 1;
    border-bottom: 3px solid var(--clr-yellow-primary);
}

/* FAQ Accordion Styles */
.faq-section {
    background: var(--clr-black);
}

.faq-container {
    max-width: min(920px, 100%);
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--clr-dark-grey);
    border: 1px solid var(--clr-grey-surface);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-question:hover {
    color: var(--clr-yellow-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--clr-yellow-primary);
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

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

.faq-item.active {
    border-color: var(--clr-yellow-primary);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0, 1, 0, 1);
    background: rgba(255, 215, 0, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: all 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-answer-content {
    padding: 0 2rem 2rem;
    color: var(--clr-text-main);
    line-height: 1.6;
}

/* Transformations Section */
.transformations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.25rem, 2vw, 1.75rem);
    margin-top: 3rem;
}

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

.transformation-card {
    background: var(--clr-dark-grey);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--clr-grey-surface);
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
}

.transformation-card:hover {
    transform: translateY(-8px);
    border-color: var(--clr-yellow-primary);
    box-shadow: 0 16px 36px rgba(0,0,0,0.45);
}

.comparison-container {
    position: relative;
    width: 100%;
    height: clamp(300px, 26vw, 440px);
    overflow: hidden;
    cursor: ew-resize;
}

.img-comparison-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--clr-yellow-primary);
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.slider-handle::before {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--clr-yellow-primary);
    color: var(--clr-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.label-before, .label-after {
    position: absolute;
    bottom: 20px;
    padding: 6px 14px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 5;
    pointer-events: none;
}

.label-before { left: 20px; border-left: 3px solid #ff4444; }
.label-after { right: 20px; border-right: 3px solid #00c851; }

.transformation-info {
    padding: 1.35rem 1.25rem 1.5rem;
    text-align: center;
}

.transformation-info h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.transformation-info p {
    color: var(--clr-yellow-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Modal System */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 2rem;
    box-sizing: border-box;
}

.modal.is-visible {
    display: flex;
}

.modal-content {
    background: var(--clr-dark-grey);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    position: relative;
    border: 1px solid var(--glass-border);
    max-height: 90vh;
    overflow-y: auto;
}

/* Schedule Table Styles */
.schedule-modal .modal-content {
    max-width: 95vw;
    width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    background: #1e1e1e;
    border: 1px solid #333;
}

.schedule-header-box {
    background: #1a1a1a;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--clr-yellow-primary);
}

.schedule-header-box h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
}

/* Program Selector */
.schedule-program-selector {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem 2rem 0.5rem;
    background: #1a1a1a;
}

.program-tab {
    padding: 0.7rem 2rem;
    background: #2a2a2a;
    border: 2px solid #444;
    color: #aaa;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.program-tab:hover {
    border-color: var(--clr-yellow-primary);
    color: #fff;
}

.program-tab.active {
    background: var(--clr-yellow-primary);
    border-color: var(--clr-yellow-primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Legend Filters */
.legend-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1.5px solid #555;
    color: #888;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.5;
}

.legend-filter.active {
    border-color: #aaa;
    color: #eee;
    opacity: 1;
}

.legend-filter:hover {
    border-color: var(--clr-yellow-primary);
    color: var(--clr-yellow-primary);
    opacity: 1;
}

/* Dimmed cells (filtered out) */
.cell-dimmed {
    opacity: 0.15 !important;
    filter: grayscale(100%);
    transition: opacity 0.3s ease;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #1a1a1a;
}

.schedule-tab {
    padding: 0.6rem 1.8rem;
    background: transparent;
    border: 2px solid #444;
    color: #aaa;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.schedule-tab:hover {
    border-color: var(--clr-yellow-primary);
    color: var(--clr-yellow-primary);
}

.schedule-tab.active {
    background: var(--clr-yellow-primary);
    border-color: var(--clr-yellow-primary);
    color: #000;
}

.schedule-legend {
    display: flex;
    gap: 1.5rem;
    padding: 0.8rem 2rem;
    background: #222;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #bbb;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.schedule-table-wrapper {
    overflow-x: auto;
    padding: 1rem;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 3px;
    min-width: 750px;
}

.schedule-table th, .schedule-table td {
    padding: 10px 8px;
    text-align: center;
    border-radius: 6px;
}

.schedule-table th {
    background: #333;
    color: var(--clr-yellow-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.hour-col {
    background: #2a2a2a !important;
    font-weight: 800;
    color: #fff !important;
    width: 110px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.class-cell {
    min-height: 70px;
    font-size: 0.8rem;
    color: #222;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    vertical-align: middle;
    padding: 8px 6px !important;
}

.class-cell:not(.empty-cell):hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2;
}

.empty-cell {
    background: #1a1a1a !important;
    color: #444 !important;
    font-size: 0.9rem;
}

/* Color-coded class backgrounds */
.bg-yoga {
    background: #f8bbd0 !important;
    color: #880e4f !important;
}

.bg-functional {
    background: #ce93d8 !important;
    color: #4a148c !important;
}

.bg-rumba {
    background: #f06292 !important;
    color: #fff !important;
}

.bg-mamitas {
    background: #80cbc4 !important;
    color: #004d40 !important;
}

/* Cell content */
.cell-class-name {
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.cell-teacher {
    font-weight: 600;
    font-size: 0.75rem;
    opacity: 0.85;
}

.cell-type {
    font-size: 0.7rem;
    opacity: 0.75;
    margin-top: 2px;
    font-weight: 500;
}

/* --- THEME SYSTEM --- */
:root {
    --clr-bg: #0a0a0a;
    --clr-surface: #121212;
    --clr-text: #ffffff;
    --clr-text-muted: #a0a0a0;
    --clr-border: #333333;
    --hero-overlay: rgba(5,5,5,0.85);
}

body.light-mode {
    /* Global Variable Redefinition */
    --clr-black: #ffffff;
    --clr-dark-grey: #ffffff;
    --clr-grey-surface: #f1f1f1;
    --clr-white: #000000;
    --clr-text-main: #1a1a1a;
    --clr-text-muted: #555555;
    --clr-bg: #ffffff;
    --clr-surface: #ffffff;
    --clr-text: #1a1a1a;
    --clr-border: #dddddd;
    --glass-bg: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(0, 0, 0, 0.1);
    --hero-overlay: rgba(255,255,255,0.95);

    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

/* Specific Component Overrides for Light Mode */
body.light-mode header,
body.light-mode .site-header,
body.light-mode .site-header.scrolled {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--clr-border) !important;
    backdrop-filter: blur(15px);
}

body.light-mode .logo { color: #000000 !important; }
body.light-mode .logo span { color: #FFD700 !important; }

body.light-mode .nav-link,
body.light-mode .section-title,
body.light-mode .footer-link {
    color: #000000 !important;
}

body.light-mode .section-subtitle {
    color: #555555 !important;
}

body.light-mode .video-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.4)) !important;
}

body.light-mode .faq-question,
body.light-mode .faq-answer-content,
body.light-mode .faq-answer {
    color: #000000 !important;
}

body.light-mode .faq-item {
    border-bottom-color: #dddddd !important;
}

body.light-mode .program-hero {
    --hero-overlay: rgba(0,0,0,0.7) !important;
}

body.light-mode .program-hero .hero-title,
body.light-mode .program-hero h1 {
    color: #FFD700 !important; /* Yellow to stand out */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

body.light-mode .program-hero .hero-subtitle,
body.light-mode .program-hero p {
    color: #ffffff !important; /* White for subtitle on dark hero */
}

body.light-mode .card, 
body.light-mode .trainer-card, 
body.light-mode .product-card,
body.light-mode .service-card,
body.light-mode .admin-card,
body.light-mode .step-v-number,
body.light-mode section {
    background-color: #ffffff !important;
    border-color: var(--clr-border) !important;
}

body.light-mode .card h3,
body.light-mode .trainer-name,
body.light-mode .product-name,
body.light-mode .service-title,
body.light-mode h1:not(.hero-title),
body.light-mode h2,
body.light-mode h3 {
    color: #000000 !important;
}

body.light-mode p, 
body.light-mode li,
body.light-mode span:not(.text-accent):not(.badge),
body.light-mode .trainer-specialty { 
    color: #333333 !important; 
}

body.light-mode .header-social-link {
    background-color: #f1f1f1 !important;
    color: #000000 !important;
}

body.light-mode .text-accent {
    color: #FFD700 !important;
}

body.light-mode .btn-primary {
    color: #000000 !important;
}

body.light-mode footer { 
    background-color: #f8f9fa !important; 
    border-top: 1px solid #ddd !important; 
}

/* Global variables mapping */
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}
/* End Theme System */

.current-hour-row td {
    background: rgba(255, 215, 0, 0.15) !important;
    border-top: 2px solid var(--clr-yellow-primary);
    border-bottom: 2px solid var(--clr-yellow-primary);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.schedule-legend {
    padding: 1rem 2rem;
    display: flex;
    gap: 2rem;
    background: white;
    font-size: 0.9rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* Admin Schedule Styles */
.admin-schedule-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
    margin-top: 2rem;
}

.admin-slot-input {
    width: 100%;
    padding: 5px;
    font-size: 0.7rem;
    border: 1px solid #ddd;
}

/* Hall of Fame - Podium & History */
.hall-of-fame {
    background: linear-gradient(180deg, var(--clr-black) 0%, #0a0a0a 100%);
}

.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    margin: 3rem auto 4.5rem;
    max-width: 1100px;
    perspective: 1000px;
}

.podium-step {
    flex: 1;
    max-width: 360px;
    background: var(--clr-grey-surface);
    border-radius: 20px 20px 0 0;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: transform 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.podium-step:hover {
    transform: translateY(-10px);
}

/* Specific Steps */
.step-1 { 
    height: 450px; 
    border-top: 4px solid var(--clr-yellow-primary);
    box-shadow: 0 20px 50px rgba(255, 230, 0, 0.1);
    z-index: 2;
}
.step-2 { height: 380px; border-top: 4px solid #C0C0C0; z-index: 1; }
.step-3 { height: 320px; border-top: 4px solid #CD7F32; z-index: 1; }

.winner-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.1);
}

.step-1 .winner-photo { width: 180px; height: 180px; border-color: var(--clr-yellow-primary); }

.medal-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--clr-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.winner-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--clr-white);
}

.winner-stats {
    color: var(--clr-yellow-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.winner-prize {
    background: rgba(255, 230, 0, 0.1);
    color: var(--clr-yellow-primary);
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    font-size: 1rem;
}

/* History Grid */
.hall-history {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.25rem, 2vw, 1.75rem);
    margin-top: 3rem;
}

.history-card {
    background: var(--clr-grey-surface);
    border-radius: 15px;
    overflow: hidden;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

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

.history-edition {
    font-weight: 800;
    color: var(--clr-yellow-primary);
}

.history-winner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-winner-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.history-winner-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.history-winner-info {
    flex: 1;
}

.history-winner-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
}

.history-winner-stats {
    font-size: 0.8rem;
    color: var(--clr-grey-text);
}

@media (max-width: 992px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
    }
    .podium-step {
        width: 100%;
        height: auto !important;
        border-radius: 20px;
        margin-bottom: 20px;
    }
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: clamp(0.85rem, 1.5vw, 1.15rem);
    margin-top: 3rem;
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .pricing-card {
        background: #0a0a0a;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        padding: 2.5rem 1.5rem;
        position: relative;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: flex;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        height: 100%;
    }

    .pricing-card:hover {
        transform: translateY(-10px);
        border-color: var(--clr-yellow-primary);
        box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    }

    .pricing-card.recommended {
        border: 2px solid var(--clr-yellow-primary);
        transform: scale(1.05);
    }

    .pricing-card.recommended:hover {
        transform: scale(1.05) translateY(-10px);
    }
}

.plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--clr-yellow-primary);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-name-yellow {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--clr-yellow-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.plan-separator {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.sep-arrows {
    color: var(--clr-yellow-primary);
}

.plan-features-img {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-features-img li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

.feat-icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.sep-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--clr-white);
}

.plan-sub-price {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    margin-top: -1rem;
}

.plan-footer.mt-auto {
    margin-top: auto;
}

@media (max-width: 768px) {
    .pricing-card.recommended {
        transform: scale(1);
    }
    .pricing-card.recommended:hover {
        transform: translateY(-10px);
    }
}

.legal-main {
    padding-top: calc(var(--header-height) + 1rem);
}

.legal-hero {
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.legal-jump {
    margin-top: 1.25rem;
}

.legal-jump a {
    color: var(--clr-yellow-primary);
    font-weight: 600;
}

.legal-section {
    padding: 0 0 4rem;
}

.legal-wrap {
    max-width: 860px;
}

.legal-card {
    background: var(--clr-black);
    border: 1px solid var(--clr-grey-surface);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    margin-bottom: 2rem;
}

.legal-card h2 {
    color: var(--clr-white);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.legal-body {
    white-space: pre-wrap;
    color: var(--clr-text-main);
    line-height: 1.75;
    font-size: 0.98rem;
}
