/* ============================================================
   FitNation Redesign - Custom CSS (mudah dimodifikasi)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

:root {
    --bg-primary: #050505;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #1a1a1a;
    --accent: #e50914;
    --accent-secondary: #dc2626;
    --slate-1: #1e293b;
    --slate-2: #334155;
    --slate-3: #475569;
    --text-primary: #f5f5f5;
    --text-muted: #9ca3af;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===================== FONT HELPERS ===================== */
.font-display {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================== COLOR HELPERS ===================== */
.bg-primary   { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-tertiary  { background-color: var(--bg-tertiary); }

.accent-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
}
.slate-gradient {
    background: linear-gradient(135deg, var(--slate-1) 0%, var(--slate-2) 100%);
}

/* ===================== LAYOUT HELPERS ===================== */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; } }

.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-20 { padding-top: 5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-8  { padding-bottom: 2rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.25rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
.pt-8  { padding-top: 2rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* ===================== IMAGE CONTAINER ===================== */
.img-container {
    position: relative;
    overflow: hidden;
}
.img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    z-index: 1;
}
.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================== CARD HOVER ===================== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-8px);
}
.card-hover:hover .card-img,
.card-hover:hover img {
    transform: scale(1.1);
}

/* ===================== BORDER RADIUS (Rounded 3XL+) ===================== */
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-3xl  { border-radius: 1.5rem; }
.rounded-\[2rem\]   { border-radius: 2rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.rounded-\[1\.7rem\] { border-radius: 1.7rem; }
.rounded-full { border-radius: 9999px; }

/* ===================== BORDERS ===================== */
.border-subtle  { border: 1px solid var(--border-subtle); }
.border-light   { border: 1px solid var(--border-light); }
.border-y       { border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.border-t       { border-top: 1px solid var(--border-subtle); }
.border-b       { border-bottom: 1px solid var(--border-subtle); }

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--slate-3), transparent);
    width: 100%;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: rgba(5, 5, 5, 0.97);
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .nav-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .nav-container { padding: 0 2rem; } }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem; /* 80px */
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: gap 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: gap;
}
.nav-logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.3);
    color: white;
    font-size: 1.1rem;
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        margin 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
    transform-origin: left center;
    will-change: opacity, transform;
}
.nav-logo img {
    height: 2.5rem;
    width: auto;
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
    will-change: transform;
}

/* ===== ANIMASI LOGO HEADER SAAT SCROLL (Barbel Lenyap + Logo Geser Kiri) ===== */
.navbar.scrolled .nav-logo {
    gap: 0rem;
}
.navbar.scrolled .nav-logo-icon {
    opacity: 0;
    transform: scale(0.15) translateX(-2.2rem);
    width: 0;
    height: 0;
    margin: 0 -0.25rem;
    box-shadow: 0 0 0 rgba(229, 9, 20, 0);
}
.navbar.scrolled .nav-logo img {
    transform: translateX(-0.35rem);
    filter: drop-shadow(0 0 14px rgba(229, 9, 20, 0.22));
}

@media (prefers-reduced-motion: reduce) {
    .nav-logo, .nav-logo-icon, .nav-logo img,
    .navbar.scrolled .nav-logo, .navbar.scrolled .nav-logo-icon, .navbar.scrolled .nav-logo img {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
    .navbar.scrolled .nav-logo { gap: 0.75rem; }
    .navbar.scrolled .nav-logo-icon { opacity: 1; width: 2.75rem; height: 2.75rem; margin: 0; }

    .badge-pill, .badge-dot,
    .hero-stats > div,
    .btn-primary, .nav-cta {
        animation: none !important;
    }
}

.nav-links-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 1024px) { .nav-links-desktop { display: flex; } }
.nav-links-desktop a {
    color: #d1d5db;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links-desktop a:hover {
    color: #ffffff;
}

@keyframes navCtaGlowBreath {
    0%, 100% {
        box-shadow: 0 0 24px rgba(229, 9, 20, 0.24);
    }
    50% {
        box-shadow:
            0 0 40px rgba(229, 9, 20, 0.46),
            0 0 0 5px rgba(229, 9, 20, 0.04);
    }
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.3);
    transition: opacity 0.2s, box-shadow 0.2s;
    position: relative;
    isolation: isolate;
    will-change: box-shadow;
    animation: navCtaGlowBreath 3s ease-in-out infinite;
}
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
.nav-cta:hover { opacity: 0.9; animation-play-state: paused; }

.menu-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}
@media (min-width: 1024px) { .menu-btn { display: none; } }
.menu-btn:hover { background: rgba(255,255,255,0.1); }

/* MOBILE MENU — FIX HAMBURGER TIDAK BERFUNGSI (BUG CLASS MISMATCH) */
.mobile-menu {
    display: block;
    overflow: hidden;
    max-height: 0;
    padding: 0 1rem 0rem;
    transition:
        max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        padding-bottom 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease;
    opacity: 0;
    pointer-events: none;
    position: relative;
    z-index: 40;
}
.mobile-menu.open {
    max-height: 520px;
    padding-bottom: 1.5rem;
    opacity: 1;
    pointer-events: auto;
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    transform: translateY(-6px);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open .mobile-menu-inner {
    transform: translateY(0);
}
.mobile-menu-inner a {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.mobile-menu-inner a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

/* Transition fallback prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu-inner {
        transition: none !important;
    }
    .mobile-menu.open {
        max-height: none;
    }
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.35) 0%, rgba(5,5,5,0.75) 55%, var(--bg-primary) 100%);
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(71, 85, 105, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 85, 105, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 6rem 0 4rem;
}
.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ===================== HERO LOOPABLE ANIMASI #1: BADGE PULSE GLOW ===================== */
@keyframes badgeGlowRing {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(229, 9, 20, 0),
            0 0 20px rgba(229, 9, 20, 0.08);
        border-color: var(--border-light);
    }
    45% {
        box-shadow:
            0 0 0 6px rgba(229, 9, 20, 0.06),
            0 0 36px rgba(229, 9, 20, 0.22);
        border-color: rgba(229, 9, 20, 0.35);
    }
}
@keyframes badgeDotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.45);
        opacity: 1;
    }
    55% {
        transform: scale(1.35);
        box-shadow: 0 0 0 4px rgba(229, 9, 20, 0);
        opacity: 0.92;
    }
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    position: relative;
    isolation: isolate;
    will-change: box-shadow, border-color;
    animation: badgeGlowRing 2.8s ease-in-out infinite;
}
.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--accent);
    will-change: transform, box-shadow;
    animation: badgeDotPulse 2.8s ease-in-out infinite;
}
.badge-pill span {
    font-size: 0.75rem;
    color: #d1d5db;
    font-weight: 500;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}
.hero-title .line-1 { color: white; background: linear-gradient(135deg, #fff 0%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-title .line-2 { color: var(--accent); display: block; margin: 0.2em 0; }
.hero-title .line-3 { color: white; display: block; }

.hero-desc {
    color: #9ca3af;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 36rem;
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
/* ===================== HERO LOOPABLE ANIMASI #3: CTA BUTTON BREATHE GLOW PULSE ===================== */
@keyframes ctaGlowPulseRing {
    0%, 100% {
        box-shadow: 0 0 28px rgba(229, 9, 20, 0.18);
    }
    50% {
        box-shadow:
            0 0 44px rgba(229, 9, 20, 0.42),
            0 0 0 6px rgba(229, 9, 20, 0.05);
    }
}
@keyframes ctaMicroScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.012); }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    isolation: isolate;
    will-change: box-shadow, transform;
    animation: ctaGlowPulseRing 3s ease-in-out infinite, ctaMicroScale 3s ease-in-out infinite;
}
.btn-primary:hover { transform: scale(1.03); animation-play-state: paused; }
.btn-primary i:last-child { transition: transform 0.2s; }
.btn-primary:hover i:last-child { transform: translateX(4px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); }
.btn-secondary i:first-child { color: var(--accent); font-size: 1.25rem; }

/* ===================== HERO LOOPABLE ANIMASI #2: STATS BREATHING BOUNCE (STAGGERED) ===================== */
@keyframes statBreatheFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2.5px);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-light);
}
.hero-stats > div {
    display: block;
    will-change: transform;
    animation: statBreatheFloat 3.2s ease-in-out infinite;
    animation-delay: var(--stat-delay, 0s);
}
.hero-stats > div:nth-child(1) { --stat-delay: 0s; }
.hero-stats > div:nth-child(2) { --stat-delay: 0.3s; }
.hero-stats > div:nth-child(3) { --stat-delay: 0.6s; }
.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-num .unit {
    color: var(--accent);
    font-size: 1.5rem;
}
.stat-label {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* HERO SIDE IMAGE (desktop only) */
.hero-side {
    display: none;
    position: relative;
}
@media (min-width: 1024px) { .hero-side { display: block; } }

.hero-side-img {
    border-radius: 2rem;
    border: 1px solid var(--border-light);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.2);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-badge-members {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--slate-1) 0%, var(--slate-2) 100%);
    border: 1px solid var(--border-light);
    box-shadow: 0 0 30px rgba(71, 85, 105, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
}
.hero-badge-members .icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.hero-badge-members .text-num { font-weight: 700; color: white; font-size: 1.125rem; }
.hero-badge-members .text-sub { color: #9ca3af; font-size: 0.75rem; }

.hero-badge-avatars {
    position: absolute;
    top: -1rem;
    right: -1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 20;
}
.avatar-stack { display: flex; }
.avatar-stack div {
    width: 2rem; height: 2rem;
    border-radius: 9999px;
    border: 2px solid var(--bg-primary);
    margin-right: -0.5rem;
}
.avatar-1 { background: linear-gradient(135deg, var(--accent), #b91c1c); }
.avatar-2 { background: linear-gradient(135deg, var(--slate-1), var(--slate-2)); }
.avatar-3 { background: rgba(255,255,255,0.1); display:flex;align-items:center;justify-content:center;color:white;font-weight:700;font-size:0.7rem; }

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    z-index: 10;
}
.hero-scroll span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.scroll-wheel {
    width: 1.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 2px solid #4b5563;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}
.scroll-wheel div {
    width: 0.25rem;
    height: 0.75rem;
    border-radius: 9999px;
    background: var(--accent);
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(0.5rem); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ===================== FEATURES STRIP ===================== */
.features {
    position: relative;
    padding: 5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}
.features-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(5, 1fr); } }

.feature-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}
.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
    font-size: 1.1rem;
}
.feature-icon.red   { background: linear-gradient(135deg, var(--accent), #b91c1c); }
.feature-icon.slate { background: linear-gradient(135deg, var(--slate-1), var(--slate-2)); }

.feature-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: 0.75rem;
}
.feature-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.7;
}

/* ===================== SECTION HEADERS ===================== */
.section-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3.5rem;
}
@media (min-width: 640px) {
    .section-header { flex-direction: row; align-items: flex-end; }
}
.section-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.badge-red   { background: rgba(229, 9, 20, 0.1); border: 1px solid var(--border-subtle); color: var(--accent); }
.badge-slate { background: rgba(51, 65, 85, 0.5); border: 1px solid var(--border-subtle); color: #94a3b8; }

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: white;
}
.section-title span { color: var(--accent); }
.section-desc {
    color: #9ca3af;
    max-width: 32rem;
}
.section-link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}
.section-link-more:hover { color: white; }

/* ===================== GRID CONTAINERS ===================== */
.promo-grid,
.facility-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .promo-grid, .facility-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promo-grid, .facility-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===================== PROMO CARD ===================== */
.promo-card {
    display: block;
    border-radius: 1.7rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    color: inherit;
}
.promo-img {
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
}
.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.promo-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 2;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
}
.promo-body {
    padding: 1.5rem;
}
.promo-title {
    font-weight: 700;
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}
.promo-desc {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
}
.promo-link i { transition: transform 0.2s; }
.promo-card:hover .promo-img img { transform: scale(1.1); }
.promo-card:hover .promo-link i { transform: translateX(4px); }

/* ===================== FACILITY CARD ===================== */
.facility-card {
    display: block;
    border-radius: 1.7rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    color: inherit;
}
.facility-img {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}
.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.facility-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}
.facility-tag {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.facility-tag.red   { background: linear-gradient(135deg, var(--accent), #b91c1c); }
.facility-tag.slate { background: linear-gradient(135deg, var(--slate-1), var(--slate-2)); }

.facility-icon-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
}
.facility-body {
    padding: 1.5rem;
}
.facility-title {
    font-weight: 700;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.facility-desc {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.facility-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
}
.facility-link i { transition: transform 0.2s; }
.facility-card:hover .facility-img img { transform: scale(1.1); }
.facility-card:hover { transform: translateY(-8px); }
.facility-card:hover .facility-link i { transform: translateX(4px); }

/* ===================== CTA TRIAL ===================== */
.trial-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: var(--bg-secondary);
}
.trial-bg {
    position: absolute;
    inset: 0;
}
.trial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}
.trial-card {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 2.5rem;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    box-shadow: 0 0 60px rgba(229, 9, 20, 0.3);
    overflow: hidden;
}
@media (min-width: 640px)  { .trial-card { padding: 3.5rem; } }
@media (min-width: 1024px) { .trial-card { padding: 4rem; } }

.trial-decor-1, .trial-decor-2 {
    position: absolute;
    border-radius: 9999px;
    filter: blur(60px);
    pointer-events: none;
}
.trial-decor-1 {
    width: 24rem; height: 24rem;
    background: rgba(255,255,255,0.1);
    top: 0; right: 0;
    transform: translate(30%, -40%);
}
.trial-decor-2 {
    width: 20rem; height: 20rem;
    background: rgba(0,0,0,0.2);
    bottom: 0; left: 0;
    transform: translate(-30%, 40%);
}
.trial-inner {
    position: relative;
    z-index: 5;
    text-align: center;
}
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.15);
    margin-bottom: 1.5rem;
}
.trial-badge i { color: white; }
.trial-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.trial-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.25rem, 6vw, 4rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}
.trial-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}
.trial-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
@media (min-width: 640px) { .trial-ctas { flex-direction: row; } }
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    background: white;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
}
@media (min-width: 640px) { .btn-white { width: auto; } }
.btn-white:hover { background: #f3f4f6; }
.btn-white i:last-child { transition: transform 0.2s; }
.btn-white:hover i:last-child { transform: translateX(4px); }

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
}
@media (min-width: 640px) { .btn-outline-white { width: auto; } }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-outline-white i:first-child { font-size: 1.25rem; }

/* ===================== UTILITY: POSITION & TEXT ===================== */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }

/* ===================== TRANSFORMATION SECTION ===================== */
.transformation-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: var(--bg-secondary);
}
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(71, 85, 105, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 85, 105, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}
.transform-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}
@media (min-width: 1024px) { .transform-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.transform-img {
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid var(--border-light);
    box-shadow: 0 0 30px rgba(71, 85, 105, 0.2);
}
.transform-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover .transform-img img { transform: scale(1.1); }

.event-card {
    padding: 0.5rem;
    border-radius: 2rem;
    border: 1px solid var(--border-light);
}
@media (min-width: 640px) { .event-card { padding: 0.5rem; } }

.event-inner {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    border-radius: 1.7rem;
    overflow: hidden;
    background: var(--bg-tertiary);
}
@media (min-width: 1024px) { .event-inner { grid-template-columns: 1fr 1fr; } }

.event-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
@media (min-width: 1024px) { .event-img { aspect-ratio: auto; } }
.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.event-card:hover .event-img img { transform: scale(1.05); }

.event-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 640px)  { .event-body { padding: 3rem; } }
@media (min-width: 1024px) { .event-body { padding: 4rem; } }

.event-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}
.event-title span { color: var(--accent); }
.event-desc {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.event-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.event-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}
.event-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.event-btn-secondary:hover { background: rgba(255,255,255,0.05); }

/* ===================== INSTAGRAM GALLERY ===================== */
.insta-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .insta-grid { grid-template-columns: repeat(4, 1fr); } }

.insta-tile {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    text-decoration: none;
}
.insta-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.insta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
}
.insta-tile:hover img { transform: scale(1.1); }
.insta-tile:hover .insta-overlay { opacity: 1; }

.insta-stats {
    width: 100%;
}
.insta-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.insta-icons i { color: white; }
.insta-icons i.far.fa-heart, .insta-icons i.far.fa-comment { font-size: 0.875rem; }
.insta-icons i.fab.fa-instagram { font-size: 1rem; }
.insta-stat-num {
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
}
.insta-caption {
    color: rgba(255,255,255,0.95);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===================== FOOTER ===================== */
.footer {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 2rem;
    overflow: hidden;
    background: var(--bg-secondary);
}
.footer .grid-bg {
    opacity: 0.2;
}
.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.footer-logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.3);
}
.footer-brand-name .fit {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: white;
    letter-spacing: 0.05em;
}
.footer-brand-name .nation {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}
.footer-about {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}
.footer-social a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.footer-heading {
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}
.footer-links-ul { list-style: none; }
.footer-links-ul li { margin-bottom: 0.75rem; }
.footer-links-ul a {
    color: #9ca3af;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}
.footer-links-ul a i {
    color: var(--accent);
    font-size: 0.6rem;
}
.footer-links-ul a:hover { color: white; }

.contact-list { list-style: none; }
.contact-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.contact-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: rgba(229, 9, 20, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.contact-body { flex: 1; min-width: 0; }
.contact-label {
    color: #d1d5db;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}
.contact-value {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: break-word;
}
.contact-value a {
    color: #6b7280;
    text-decoration: none;
}
.contact-value a:hover { color: white; }

/* PARTNERS */
.footer-partners {
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
}
.partners-label {
    text-align: center;
    margin-bottom: 1.5rem;
}
.partners-label span {
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}
.partner-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    transition: all 0.3s;
}
.partner-item:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    background: rgba(255,255,255,0.04);
}
.partner-item img {
    height: 1.75rem;
    width: auto;
    max-width: 6rem;
    filter: brightness(0) invert(0.85);
    transition: filter 0.2s;
}
.partner-item:hover img { filter: brightness(0) invert(1); }
.partner-text .name {
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
}
.partner-text .desc {
    color: #6b7280;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copyright {
    color: #6b7280;
    font-size: 0.75rem;
}
.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.footer-legal a {
    color: #6b7280;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover { color: #d1d5db; }

/* ===================== FLOATING WA BUTTON ===================== */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: #25D366;
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float i { font-size: 1.25rem; }
.wa-float span { display: none; font-size: 0.875rem; }
@media (min-width: 640px) { .wa-float span { display: inline; } }

/* ===================== SCROLL REVEAL ===================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== FOOTER LOCATIONS SHIMMER (BERGANTIAN — ELEGAN, TIDAK NORAK, DIPERLAMBAT) ===================== */
/*
   Pola animasi:
   - Total durasi per card: 5.4s INFINITE (1.3s shimmer aktif, 4.1s DIAM / jeda tenang) — DIPERLAMBAT request user
   - Staggered 5 cards: delay 0s, 0.3s, 0.6s, 0.9s, 1.2s — DIPERLAMBAT agar urutan shimmer lebih santai
   - Shimmer opacity RENDAH (maks 11.5% putih) agar tetap premium, TIDAK mencuri perhatian
   - Accessibility: prefers-reduced-motion → shimmer MATI TOTAL
*/
@keyframes locShimmerWave {
    0% { transform: translateX(-65%); opacity: 0; }
    6% { opacity: 1; }
    22% { opacity: 1; }
    26% { transform: translateX(65%); opacity: 0; }
    100% { transform: translateX(65%); opacity: 0; }
}

.loc-shimmer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.loc-shimmer > * {
    position: relative;
    z-index: 2;
}
.loc-shimmer::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent 46%,
        rgba(255, 255, 255, 0.085) 49.5%,
        rgba(255, 255, 255, 0.115) 50%,
        rgba(255, 255, 255, 0.085) 50.5%,
        transparent 54%
    );
    transform: translateX(-65%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    animation: locShimmerWave 5.4s ease-in-out infinite;
    animation-delay: var(--shim-delay, 0s);
    will-change: transform, opacity;
}
.loc-shimmer.delay-0 { --shim-delay: 0s; }
.loc-shimmer.delay-1 { --shim-delay: 0.3s; }
.loc-shimmer.delay-2 { --shim-delay: 0.6s; }
.loc-shimmer.delay-3 { --shim-delay: 0.9s; }
.loc-shimmer.delay-4 { --shim-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
    .loc-shimmer::before {
        animation: none !important;
        display: none;
    }
}
