/* ============================================================
   FACT FITNESS POCKING — DESIGN SYSTEM
   Industrial Dark — Red + Charcoal + Cream
   Inspired by DoItFitness layout
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* --- COLORS --- */
:root {
    --accent: #DC0712;
    --accent-light: #F02030;
    --accent-dark: #B0050E;
    --charcoal: #0D0D0D;
    --charcoal-light: #1A1A1A;
    --charcoal-mid: #2A2A2A;
    --cream: #F5F0E8;
    --cream-dark: #E8E0D0;
    --stone: #8A8478;
    --stone-light: #B0A898;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--charcoal);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- GRAIN TEXTURE --- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

/* --- TYPOGRAPHY --- */
.font-display {
    font-family: 'Bebas Neue', sans-serif;
}

.font-body {
    font-family: 'DM Sans', sans-serif;
}

/* --- SECTION DIVIDERS --- */
.diagonal-top {
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    margin-top: -40px;
    padding-top: 80px;
}

.diagonal-bottom {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    padding-bottom: 80px;
}

/* --- SCROLL REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.from-left {
    transform: translateX(-60px);
}

.reveal.from-right {
    transform: translateX(60px);
}

.reveal.from-scale {
    transform: scale(0.9);
}

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

.stagger-1 {
    transition-delay: 0.08s;
}

.stagger-2 {
    transition-delay: 0.16s;
}

.stagger-3 {
    transition-delay: 0.24s;
}

.stagger-4 {
    transition-delay: 0.32s;
}

.stagger-5 {
    transition-delay: 0.40s;
}

/* --- NAVIGATION --- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(220, 7, 18, 0.08);
    transition: all 0.5s ease;
}

.site-nav.scrolled {
    background: rgba(13, 13, 13, 0.95);
    border-bottom-color: rgba(220, 7, 18, 0.15);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-icon {
    width: 200px;
    height: 64px;
    overflow: hidden;
    transition: transform 0.3s;
}

.nav-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.05);
}

.nav-logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--cream);
}

.nav-logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.7);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cream);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

/* --- BUTTONS --- */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: #FFF;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    text-decoration: none;
}

.cta-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 7, 18, 0.35);
}

.cta-btn:active {
    transform: translateY(0);
}

.cta-btn.small {
    padding: 10px 24px;
    font-size: 1rem;
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.cta-btn-outline:hover {
    background: rgba(220, 7, 18, 0.1);
    transform: translateY(-2px);
}

/* --- CARDS --- */
.price-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px rgba(220, 7, 18, 0.25);
}

/* --- MOBILE MENU --- */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s;
}

.burger:hover span {
    background: var(--accent);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(13, 13, 13, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-close:hover {
    color: var(--accent);
}

/* --- AMBIENT SHAPES --- */
.ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

/* --- PAGE HERO (subpages) --- */
.page-hero {
    position: relative;
    padding: 10rem 1.5rem 5rem;
    text-align: center;
    overflow: hidden;
    background: var(--charcoal);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--charcoal));
}

.page-hero-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.02em;
    line-height: 0.95;
    color: var(--cream);
    position: relative;
    z-index: 1;
}

/* --- SECTION LABELS --- */
.section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--stone);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-label.accent {
    color: var(--accent);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.02em;
    line-height: 0.95;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--charcoal);
    border-top: 1px solid rgba(245, 240, 232, 0.05);
    padding: 2.5rem 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.75rem;
    color: rgba(245, 240, 232, 0.3);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(245, 240, 232, 0.6);
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(245, 240, 232, 0.15);
}

/* --- HERO SHIMMER --- */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-title-shimmer {
    background: linear-gradient(90deg, var(--cream) 0%, var(--accent) 25%, var(--cream) 50%, var(--accent) 75%, var(--cream) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

/* --- RESPONSIVE --- */
@media (max-width: 1023px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: flex;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 8rem 1rem 3rem;
    }
}