/* ========== HERO ========== */
.home-hero {
    position: relative;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(15, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.85) 100%),
        url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2000&q=80");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 80px);
    pointer-events: none;
}

.home-hero::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 30%;
    background: linear-gradient(180deg, transparent 0%, #0a0a0a 100%);
    pointer-events: none;
}

/* Diagonal slashes decorative element */
.diagonal-accent {
    position: absolute;
    top: 50%;
    right: -120px;
    transform: translateY(-50%) rotate(-25deg);
    pointer-events: none;
    opacity: 0.18;
}
.diagonal-accent span {
    display: block;
    width: 320px;
    height: 6px;
    background: linear-gradient(90deg, transparent, #FF003C, #FF6B00, transparent);
    margin: 22px 0;
}

/* Stat number that pulses subtly */
.stat-num {
    background: linear-gradient(180deg, #FF003C 0%, #FF6B00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 0, 60, 0.4);
}

/* Scroll indicator at bottom of hero */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.scroll-indicator-line {
    width: 1px;
    height: 50px;
    position: relative;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}
.scroll-indicator-line::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, transparent, #FF003C);
    animation: scrollIndicator 2s ease-in-out infinite;
}
@keyframes scrollIndicator {
    0% { transform: translateY(0); }
    100% { transform: translateY(70px); }
}

/* ========== SECTION DIVIDER (diagonal slash) ========== */
.section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 60, 0.4), transparent);
    margin: 0 auto;
    max-width: 1200px;
}

/* ========== ABOUT IMAGES STACK (CSS Grid - clean, no overlap) ========== */
.about-image-stack {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    width: 100%;
    aspect-ratio: 4 / 4.4;
    max-height: 620px;
}
.about-image-stack > div {
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    border: 1px solid #1a1a1a;
    transition: all 0.5s ease;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8);
}
.about-image-stack > div:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.about-image-stack > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}
.about-image-stack > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    border: 3px solid #FF003C;
    box-shadow: 0 0 28px rgba(255, 0, 60, 0.5), 0 20px 50px -12px rgba(0, 0, 0, 0.8);
}
.about-image-stack > div:hover {
    transform: scale(1.02);
}

/* Floating stat badge over the image stack */
.about-stat-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    z-index: 10;
    padding: 18px 26px;
    background: linear-gradient(135deg, #FF003C 0%, #d60033 100%);
    border: 3px solid #0a0a0a;
    box-shadow: 0 12px 30px -8px rgba(255, 0, 60, 0.6);
}
.about-stat-badge {
    border-radius: 6px;
}
.about-stat-badge-num {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1;
    color: white;
    letter-spacing: -0.02em;
}
.about-stat-badge-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    margin-top: 6px;
}

/* ========== TRAINER SOCIAL OVERLAY ========== */
.trainer-social {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 10;
}
.trainer-card:hover .trainer-social {
    opacity: 1;
    transform: translateY(0);
}
.trainer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    transition: all 0.2s ease;
}
.trainer-social a:hover {
    background: #FF003C;
    border-color: #FF003C;
}

/* ========== TESTIMONIAL STAR RATING ========== */
.star-rating {
    display: inline-flex;
    gap: 2px;
    color: #FF6B00;
}

/* ========== SCHEDULE TABLE ZEBRA + HOVER ========== */
.schedule-row {
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}
.schedule-row:hover {
    background: linear-gradient(90deg, rgba(255,0,60,0.06) 0%, transparent 100%);
    border-left-color: #FF003C;
}

/* ========== TRUST STRIP (below hero) ========== */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-strip > div {
    padding: 28px 16px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-strip > div:first-child {
    border-left: none;
}
.trust-strip-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}
.trust-strip-label {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}
@media (max-width: 768px) {
    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-strip > div:nth-child(odd) {
        border-left: none;
    }
    .trust-strip > div:nth-child(3),
    .trust-strip > div:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ========== FAQ ACCORDION ========== */
.faq-item {
    border-bottom: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}
.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 0;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: color 0.2s ease;
}
.faq-toggle:hover {
    color: #FF003C;
}
.faq-toggle svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #FF6B00;
    transition: transform 0.3s ease;
}
.faq-item.faq-open .faq-toggle svg {
    transform: rotate(45deg);
    color: #FF003C;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.65;
}
.faq-item.faq-open .faq-answer {
    max-height: 300px;
    padding-bottom: 22px;
}

/* ========== PRICING TOGGLE ========== */
.pricing-toggle {
    display: inline-flex;
    padding: 4px;
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    position: relative;
}
.pricing-toggle-btn {
    position: relative;
    z-index: 2;
    padding: 9px 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.25s ease;
}
.pricing-toggle-btn.is-active {
    color: white;
}
.pricing-toggle-indicator {
    position: absolute;
    z-index: 1;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #FF003C 0%, #d60033 100%);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(255, 0, 60, 0.5);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-toggle-savings {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 3px 9px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    background: rgba(16, 185, 129, 0.12);
    color: rgb(110, 231, 183);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    text-transform: uppercase;
}
.plan-period-monthly,
.plan-period-annual {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.is-annual .plan-period-monthly {
    display: none;
}
.plan-period-annual {
    display: none;
}
.is-annual .plan-period-annual {
    display: block;
}

/* ========== MEMBER STORIES ========== */
.story-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #1a1a1a;
    transition: all 0.5s ease;
}
.story-card:hover {
    border-color: #FF003C;
    transform: translateY(-4px);
}
.story-card-image {
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    transition: transform 0.7s ease;
    filter: brightness(0.78) contrast(1.08);
}
.story-card:hover .story-card-image {
    transform: scale(1.04);
    filter: brightness(0.92) contrast(1.08);
}
.story-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(10, 10, 10, 0.85) 75%, rgba(10, 10, 10, 0.98) 100%);
    pointer-events: none;
}
.story-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px;
    z-index: 2;
}
.story-card-goal {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 12px;
    background: rgba(255, 0, 60, 0.15);
    border: 1px solid rgba(255, 0, 60, 0.4);
    color: rgb(255, 116, 145);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border-radius: 999px;
}
.story-card-achievement {
    font-size: 1.65rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.story-card-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.story-card-quote {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    font-style: italic;
    border-left: 2px solid #FF003C;
    padding-left: 12px;
    margin-bottom: 12px;
}
.story-card-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
}

/* ========== GALLERY FILTER CHIPS ========== */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}
.gallery-filter-btn {
    padding: 8px 18px;
    background: transparent;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}
.gallery-filter-btn:hover {
    color: white;
    border-color: rgba(255, 0, 60, 0.5);
}
.gallery-filter-btn.is-active {
    background: linear-gradient(135deg, #FF003C 0%, #d60033 100%);
    border-color: #FF003C;
    color: white;
    box-shadow: 0 6px 18px -4px rgba(255, 0, 60, 0.5);
}

/* ========== GALLERY MASONRY GRID ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 10px;
    }
}
.gallery-grid .gallery-tile {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-grid .gallery-tile.is-hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}
.gallery-tile-caption {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 2;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-tile:hover .gallery-tile-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.lightbox.is-open {
    display: flex;
    animation: fadeIn 0.25s ease;
}
.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
@media (max-width: 640px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;
    }
    .lightbox-close { top: 16px; right: 16px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reduce parallax on mobile */
@media (max-width: 768px) {
    .home-hero {
        background-attachment: scroll;
    }
    .diagonal-accent {
        display: none;
    }
}
