/* ==========================================================================
   SHADOW FITNESS - THE CREATIVE MASTERPIECE
   ========================================================================== */

:root {
    --bg-base: #030303;
    --bg-surface: #0a0a0a;
    --bg-panel: rgba(15, 15, 15, 0.7);
    --rubber: #080808;
    --mat-line: rgba(255, 255, 255, 0.055);
    
    --neon-red: #df741f;
    --neon-red-glow: rgba(223, 116, 31, 0.36);
    --neon-orange: #f0a448;
    --sweat-gold: #d8a348;
    
    --text-white: #ffffff;
    --text-grey: #8a8a8a;
    --text-dark: #333333;
    
    --border-dim: rgba(255, 255, 255, 0.05);
    --border-neon: rgba(201, 106, 35, 0.34);
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    
    /* Dynamic Mouse Tracking Vars */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* =========================================
   GLOBAL RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (pointer: fine) {
    a, button, input, select, .door-push, .digital-card, .digital-image-card {
        cursor: pointer;
    }
}

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(circle at 18% 0%, rgba(201, 106, 35, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.025) 0 10px, transparent 10px 20px),
        var(--bg-base);
    background-size: auto, 24px 24px, auto;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.locked {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }

.text-neon { color: var(--neon-red); text-shadow: 0 0 10px var(--neon-red-glow); }
.text-grey { color: var(--text-grey); }

/* =========================================
   INTERACTIVE ENVIRONMENT (VFX)
   ========================================= */

/* WebGL Background */
#webgl-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.8;
}

/* Digital Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.02;
    z-index: -1;
    pointer-events: none;
}

/* Mouse Spotlight */
.spotlight {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle 600px at var(--mouse-x) var(--mouse-y), rgba(201, 106, 35, 0.05), transparent 80%);
    mix-blend-mode: screen;
}

/* Custom cursor disabled for clarity; native cursor is more usable here. */
.cursor-dot, .cursor-outline { display: none; }

/* Scroll Strength Meter */
.strength-meter-container {
    position: fixed;
    right: 30px; top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 100;
    opacity: 0.5;
    transition: var(--transition-fast);
}
.strength-meter-container:hover { opacity: 1; }

.meter-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-grey);
}

.meter-track {
    width: 4px; height: 200px;
    background: var(--border-dim);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.meter-fill {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 0%;
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
}

.meter-value {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--neon-red);
}

/* =========================================
   LAYOUT UTILS & TYPOGRAPHY
   ========================================= */
.content-wrapper { position: relative; z-index: 1; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.section { padding: 120px 0; position: relative; overflow: hidden; }
.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 49%, rgba(255,255,255,0.035) 49% 50%, transparent 50% 100%),
        radial-gradient(circle at 10% 20%, rgba(201,106,35,0.08), transparent 30%);
    background-size: 84px 84px, auto;
    opacity: 0.38;
    pointer-events: none;
}
.section > .container { position: relative; z-index: 1; }
.dark-section {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.74)),
        repeating-linear-gradient(135deg, var(--rubber) 0 18px, #111 18px 20px);
}
.mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* Badges & Titles */
.tech-badge {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--neon-red);
    color: var(--neon-red);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, rgba(201, 106, 35, 0.14), rgba(255, 176, 0, 0.04));
    box-shadow: inset 4px 0 0 var(--neon-red), 0 10px 30px rgba(0,0,0,0.25);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.section-header {
    position: relative;
    margin-bottom: 26px;
}

.section-header::after {
    content: '';
    display: block;
    width: min(520px, 70vw);
    height: 8px;
    margin: 24px auto 0;
    background:
        linear-gradient(90deg, transparent, var(--neon-red), var(--sweat-gold), var(--neon-red), transparent);
    clip-path: polygon(0 40%, 45% 40%, 48% 0, 52% 100%, 55% 40%, 100% 40%, 100% 60%, 55% 60%, 52% 100%, 48% 0, 45% 60%, 0 60%);
    opacity: 0.86;
    filter: drop-shadow(0 0 10px rgba(201,106,35,0.42));
}

.subtitle-text {
    color: var(--text-grey);
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.lead-text {
    font-size: 1.4rem;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 20px;
    border-left: 2px solid var(--neon-red);
    padding-left: 15px;
}

/* Digital Panels (Glassmorphism) */
.digital-panel {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.055), transparent 34%),
        rgba(8, 8, 8, 0.78);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 18px 60px rgba(0,0,0,0.34);
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle, rgba(255,255,255,0.98), rgba(230,255,255,0.92)),
        #fff;
    border: 2px solid rgba(255,255,255,0.92);
    box-shadow:
        0 0 0 3px rgba(0, 160, 155, 0.42),
        0 0 28px rgba(201, 106, 35, 0.45),
        0 10px 28px rgba(0,0,0,0.45);
    overflow: hidden;
}

.logo-badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: contrast(1.16) saturate(1.08);
}

.entry-logo-badge {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.nav-logo-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex: 0 0 52px;
}

.footer-logo-badge {
    width: 132px;
    height: 132px;
    border-radius: 50%;
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Entrance Overlay */
.entrance-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.95), rgba(8,0,2,0.72), rgba(0,0,0,0.95)),
        linear-gradient(0deg, rgba(201,106,35,0.16), rgba(0,0,0,0.28) 45%, rgba(0,0,0,0.96)),
        url('../img/ourclass.jpg') center bottom / cover no-repeat;
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1), opacity 1s;
    perspective: 1400px;
    overflow: hidden;
}
.entrance-overlay.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.gym-entry::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 80, 0, 0.2), transparent 42%),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 120px);
    opacity: 0.58;
    pointer-events: none;
}

.gym-entry::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 22%, rgba(255,255,255,0.075), transparent 18%),
        radial-gradient(circle at 50% 82%, rgba(240,161,58,0.12), transparent 26%);
    animation: roomPulse 3.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.entry-door {
    position: absolute;
    top: 0;
    width: 50.5%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.98), rgba(20,0,5,0.9)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 80px);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 1.1s cubic-bezier(0.74, 0, 0.18, 1), box-shadow 1.1s;
    z-index: 1;
}

.entry-door-left {
    left: 0;
    transform-origin: left center;
    box-shadow: inset -30px 0 60px rgba(201,106,35,0.15);
}

.entry-door-right {
    right: 0;
    transform-origin: right center;
    box-shadow: inset 30px 0 60px rgba(201,106,35,0.15);
}

.entrance-overlay.hidden .entry-door-left { transform: rotateY(-78deg) translateX(-12vw); }
.entrance-overlay.hidden .entry-door-right { transform: rotateY(78deg) translateX(12vw); }

.entry-floor-light {
    position: absolute;
    bottom: -10vh;
    left: 50%;
    width: min(680px, 72vw);
    height: 28vh;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(201,106,35,0.34), rgba(255,77,0,0.12) 38%, transparent 70%);
    filter: blur(18px);
    z-index: 3;
    pointer-events: none;
    animation: floorHeat 2.8s ease-in-out infinite;
}

.entry-light-beams {
    position: absolute;
    inset: -20% -10%;
    z-index: 2;
    background:
        linear-gradient(105deg, transparent 0 34%, rgba(255,255,255,0.045) 35% 37%, transparent 38% 100%),
        linear-gradient(72deg, transparent 0 58%, rgba(201,106,35,0.075) 59% 61%, transparent 62% 100%);
    filter: blur(1px);
    animation: sweepLights 5.2s ease-in-out infinite;
    pointer-events: none;
}

.entry-chalk {
    position: absolute;
    z-index: 2;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.42);
    box-shadow:
        42px 28px 0 rgba(255,255,255,0.35),
        -64px 70px 0 rgba(255,255,255,0.26),
        92px 126px 0 rgba(240,161,58,0.28),
        -24px 158px 0 rgba(255,255,255,0.22);
    filter: blur(0.3px);
    animation: chalkFloat 6s linear infinite;
    pointer-events: none;
}

.entry-chalk-1 { left: 18%; top: 20%; animation-delay: 0s; }
.entry-chalk-2 { left: 72%; top: 16%; animation-delay: -2s; transform: scale(0.7); }
.entry-chalk-3 { left: 48%; top: 54%; animation-delay: -4s; transform: scale(0.55); }

.entry-gym-shadow {
    position: absolute;
    left: 50%;
    top: 62%;
    z-index: 2;
    width: min(760px, 84vw);
    height: 180px;
    transform: translate(-50%, -50%);
    opacity: 0.18;
    filter: blur(1.4px);
    pointer-events: none;
    animation: shadowLift 2.6s ease-in-out infinite;
}

.shadow-bar {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 80px;
    height: 10px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    border-radius: 999px;
}

.shadow-plate {
    position: absolute;
    top: 42px;
    width: 72px;
    height: 86px;
    border-radius: 18px;
    background: linear-gradient(90deg, #020202, #313131, #030303);
    box-shadow: inset 0 0 22px rgba(255,255,255,0.08), 0 0 30px rgba(201,106,35,0.16);
}

.shadow-plate-left { left: 0; }
.shadow-plate-right { right: 0; }

.entrance-content {
    position: relative;
    z-index: 5;
    width: min(620px, calc(100vw - 36px));
    max-width: 620px;
    padding: 0 22px;
    animation: entryContentRise 900ms ease both;
}

.entry-kicker {
    color: var(--neon-red);
    font-family: var(--font-heading);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.entry-copy {
    color: #d8d8d8;
    font-size: clamp(1.05rem, 2.2vw, 1.22rem);
    max-width: 540px;
    margin: 0 auto 34px;
    line-height: 1.55;
}

.door-push {
    position: relative;
    display: inline-grid;
    grid-template-columns: 62px minmax(210px, auto);
    align-items: center;
    gap: 18px;
    min-height: 70px;
    padding: 8px 30px 8px 10px;
    background:
        linear-gradient(90deg, rgba(240,161,58,0.16), rgba(201,106,35,0.16)),
        rgba(0,0,0,0.56);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text-white);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(201,106,35,0.24), 0 18px 50px rgba(0,0,0,0.38), 0 0 28px rgba(240,161,58,0.13);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 18px 50%);
    overflow: hidden;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.door-push::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: translateX(-100%);
    animation: handleShine 2.6s ease-in-out infinite;
}

.door-push:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(240,161,58,0.8);
    background:
        linear-gradient(90deg, rgba(240,161,58,0.24), rgba(201,106,35,0.24)),
        rgba(0,0,0,0.62);
}

.door-grip {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #fff, #ffc857 20%, #4a2400 52%, #120600 70%);
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 0 28px rgba(240,161,58,0.45), inset -8px -8px 16px rgba(0,0,0,0.55);
}

.door-grip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #080808;
    box-shadow: inset 0 0 8px rgba(255,255,255,0.22);
}

.door-push-text {
    position: relative;
    z-index: 1;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    white-space: nowrap;
}

@keyframes handleShine {
    0%, 45% { transform: translateX(-110%); }
    72%, 100% { transform: translateX(110%); }
}

@keyframes sweepLights {
    0%, 100% { transform: translateX(-4%) rotate(0deg); opacity: 0.75; }
    50% { transform: translateX(5%) rotate(1deg); opacity: 1; }
}

@keyframes chalkFloat {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    12% { opacity: 0.85; }
    100% { transform: translateY(-160px) translateX(34px); opacity: 0; }
}

@keyframes shadowLift {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    45%, 62% { transform: translate(-50%, -50%) translateY(28px); }
}

@keyframes floorHeat {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.08); }
}

@keyframes roomPulse {
    0%, 100% { opacity: 0.72; }
    50% { opacity: 1; }
}

@keyframes entryContentRise {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes screenShake {
    0% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(-15px, -15px) rotate(-2deg); filter: brightness(2) contrast(2); }
    20% { transform: translate(15px, 15px) rotate(2deg); }
    30% { transform: translate(-15px, 15px) rotate(-2deg); }
    40% { transform: translate(15px, -15px) rotate(2deg); filter: invert(100%); }
    50% { transform: translate(-5px, -5px) rotate(-1deg); }
    60% { transform: translate(5px, 5px) rotate(1deg); filter: invert(0%); }
    70% { transform: translate(-5px, 5px) rotate(-1deg); }
    80% { transform: translate(5px, -5px) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}
.shake {
    animation: screenShake 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Cyber Button */
.cyber-btn {
    position: relative;
    display: inline-flex;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-white);
    background: transparent;
    border: none;
    outline: none;
    overflow: hidden;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: 1;
}

.cyber-btn::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--neon-red);
    z-index: -1;
    transition: transform var(--transition-slow);
    transform-origin: left;
}

.cyber-btn.secondary::before {
    background: transparent;
    border: 1px solid var(--neon-red);
}

.cyber-btn span {
    position: relative;
    z-index: 2;
}

.cyber-btn::after {
    content: ''; position: absolute;
    bottom: 0; right: 0; width: 8px; height: 8px;
    background: var(--text-white);
}

.cyber-btn:hover::before {
    transform: scaleX(1.05);
    background: var(--neon-orange);
}

.cyber-btn.secondary:hover::before {
    background: rgba(201,106,35,0.1);
}

/* Glitch Text */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-base);
}
.glitch::before {
    left: 2px; text-shadow: -2px 0 var(--neon-red);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px; text-shadow: -2px 0 #0ff;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(20px, 9999px, 80px, 0); }
    20% { clip: rect(60px, 9999px, 10px, 0); }
    40% { clip: rect(40px, 9999px, 50px, 0); }
    60% { clip: rect(80px, 9999px, 30px, 0); }
    80% { clip: rect(10px, 9999px, 90px, 0); }
    100% { clip: rect(50px, 9999px, 40px, 0); }
}

.glow-pulse {
    animation: pulse 2s infinite alternate;
}
@keyframes pulse {
    0% { text-shadow: 0 0 10px var(--neon-red-glow); }
    100% { text-shadow: 0 0 30px var(--neon-red), 0 0 10px var(--neon-red); }
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 14px 0; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    transition: padding var(--transition-fast);
}

.navbar.scrolled { padding: 8px 0; border-bottom: 1px solid var(--border-neon); }

.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo > img { height: 45px; filter: drop-shadow(0 0 5px var(--neon-red)); }
.logo .nav-logo-badge img { height: 100%; }
.logo > span:not(.logo-badge) { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; }

.nav-links { display: flex; gap: 30px; }
.nav-item {
    font-family: var(--font-heading); font-size: 1rem;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--text-grey); position: relative; padding: 5px 0;
}
.nav-item::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--neon-red); transition: width var(--transition-fast);
}
.nav-item:hover, .nav-item.active { color: var(--text-white); }
.nav-item:hover::after, .nav-item.active::after { width: 100%; box-shadow: 0 0 10px var(--neon-red); }

.mobile-toggle { display: none; background: transparent; border: none; color: var(--neon-red); font-size: 1.8rem; }

.mobile-menu {
    position: fixed; top: 0; right: -100%;
    width: 100%; max-width: 350px; height: 100vh;
    z-index: 1001; padding: 80px 40px;
    border-left: 1px solid var(--border-neon);
    transition: right var(--transition-slow);
}
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 30px; right: 30px; background: transparent; border: none; color: var(--text-white); font-size: 2rem; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a { font-family: var(--font-heading); font-size: 2rem; color: var(--text-grey); text-transform: uppercase; }
.mobile-menu a:hover { color: var(--neon-red); padding-left: 10px; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 860px;
    display: flex; align-items: center;
    position: relative; padding: 120px 0 90px;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3,3,3,0.98) 0%, rgba(3,3,3,0.86) 48%, rgba(3,3,3,0.35) 100%),
        linear-gradient(0deg, rgba(3,3,3,0.28), rgba(3,3,3,0.82)),
        url('../img/ourclass.jpg') center bottom / cover no-repeat;
    z-index: -3;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background:
        radial-gradient(ellipse at 72% 100%, rgba(255,77,0,0.22), transparent 38%),
        linear-gradient(0deg, rgba(201,106,35,0.14), transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.gym-floor-lines {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16vh;
    height: 56vh;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent 0 22%, rgba(201,106,35,0.25) 22% 22.4%, transparent 22.4% 48%, rgba(240,161,58,0.2) 48% 48.3%, transparent 48.3% 75%, rgba(201,106,35,0.22) 75% 75.35%, transparent 75.35%),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 110px);
    transform: perspective(520px) rotateX(64deg);
    transform-origin: bottom center;
    opacity: 0.7;
    pointer-events: none;
}

.gym-motion-stage {
    position: relative;
    justify-self: end;
    align-self: center;
    width: min(520px, 100%);
    height: 390px;
    z-index: 2;
    filter: drop-shadow(0 38px 50px rgba(0,0,0,0.62));
    animation: stageBreath 2.4s ease-in-out infinite;
    margin-top: 32px;
}

.gym-motion-stage::before {
    content: '';
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: 18px;
    height: 38px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.72), transparent 70%);
    filter: blur(6px);
}

.mirror-wall {
    position: absolute;
    left: 5%;
    right: 5%;
    top: 18px;
    height: 170px;
    background:
        linear-gradient(110deg, rgba(255,255,255,0.12), transparent 20% 36%, rgba(255,255,255,0.07) 37% 39%, transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 0 36px rgba(255,255,255,0.05), 0 26px 50px rgba(0,0,0,0.28);
    transform: perspective(500px) rotateX(4deg);
}

.neon-sign {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--neon-red);
    font-family: var(--font-heading);
    letter-spacing: 5px;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    text-shadow: 0 0 12px var(--neon-red), 0 0 34px var(--neon-red);
    animation: neonFlicker 4s infinite;
    white-space: nowrap;
}

.steam {
    position: absolute;
    bottom: 88px;
    width: 82px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.16), transparent 68%);
    filter: blur(14px);
    opacity: 0;
    animation: steamRise 4.6s ease-in-out infinite;
    pointer-events: none;
}

.steam-1 { left: 20%; animation-delay: -1s; }
.steam-2 { right: 22%; animation-delay: -2.6s; }

.jump-rope {
    position: absolute;
    right: 13%;
    bottom: 70px;
    width: 126px;
    height: 180px;
    opacity: 0.48;
    pointer-events: none;
}

.jump-rope span {
    position: absolute;
    inset: 18px 0 0 0;
    border: 3px solid rgba(240,161,58,0.62);
    border-top-color: transparent;
    border-radius: 50%;
    transform-origin: center top;
    animation: ropeSwing 1.15s linear infinite;
    box-shadow: 0 0 18px rgba(240,161,58,0.25);
}

.rack {
    position: absolute;
    bottom: 72px;
    width: 14px;
    height: 220px;
    background: linear-gradient(#5d5d5d, #181818);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0 0 8px rgba(255,255,255,0.16), 0 0 22px rgba(201,106,35,0.12);
}

.rack::before,
.rack::after {
    content: '';
    position: absolute;
    left: -18px;
    width: 50px;
    height: 8px;
    background: #2a2a2a;
    border-radius: 999px;
}

.rack::before { top: 24px; }
.rack::after { bottom: 0; }
.rack-left { left: 44px; }
.rack-right { right: 44px; }

.bench {
    position: absolute;
    left: 25%;
    bottom: 72px;
    width: 50%;
    height: 30px;
    background: linear-gradient(90deg, #111, #3a3a3a, #111);
    border-radius: 18px;
    transform: skewX(-12deg);
    border: 1px solid rgba(255,255,255,0.18);
}

.bench::before,
.bench::after {
    content: '';
    position: absolute;
    bottom: -56px;
    width: 10px;
    height: 60px;
    background: #111;
    transform: skewX(16deg);
}

.bench::before { left: 22%; }
.bench::after { right: 22%; }

.barbell {
    position: absolute;
    left: 8%;
    top: 84px;
    width: 84%;
    height: 90px;
    animation: benchPress 2.15s cubic-bezier(0.45, 0, 0.25, 1) infinite;
    transform-origin: center;
}

.bar {
    position: absolute;
    left: 11%;
    right: 11%;
    top: 42px;
    height: 8px;
    background: linear-gradient(90deg, #bbb, #f4f4f4, #777);
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(255,255,255,0.28);
}

.plate {
    position: absolute;
    top: 8px;
    width: 30px;
    height: 76px;
    border-radius: 12px;
    background: linear-gradient(90deg, #050505, #2a2a2a 45%, #080808);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 0 14px rgba(255,255,255,0.08);
}

.plate-left-lg { left: 0; width: 42px; }
.plate-left-sm { left: 46px; width: 22px; height: 64px; top: 14px; }
.plate-right-sm { right: 46px; width: 22px; height: 64px; top: 14px; }
.plate-right-lg { right: 0; width: 42px; }

.lifter {
    position: absolute;
    left: 50%;
    bottom: 100px;
    width: 220px;
    height: 150px;
    transform: translateX(-50%);
}

.head {
    position: absolute;
    left: 50%;
    bottom: 60px;
    width: 48px;
    height: 48px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 36% 28%, #f1d0b6, #8d4b38 55%, #28120f);
    box-shadow: 0 0 18px rgba(201,106,35,0.16);
}

.torso {
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 122px;
    height: 50px;
    transform: translateX(-50%) rotate(-4deg);
    border-radius: 60px 60px 20px 20px;
    background: linear-gradient(90deg, #1e1e1e, #5a1a24, #111);
    border: 1px solid rgba(255,255,255,0.1);
}

.arm {
    position: absolute;
    top: 30px;
    width: 80px;
    height: 12px;
    background: linear-gradient(90deg, #d7a17e, #6b3326);
    border-radius: 999px;
    transform-origin: bottom center;
    animation: armPress 2.15s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.arm-left {
    left: 14px;
    transform: rotate(-35deg);
}

.arm-right {
    right: 14px;
    transform: rotate(35deg);
}

.leg {
    position: absolute;
    bottom: 0;
    width: 82px;
    height: 13px;
    background: linear-gradient(90deg, #151515, #343434);
    border-radius: 999px;
}

.leg-left { left: 8px; transform: rotate(20deg); }
.leg-right { right: 8px; transform: rotate(-20deg); }

.rep-counter {
    position: absolute;
    right: 22px;
    top: 18px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    background: radial-gradient(circle, rgba(201,106,35,0.22), rgba(0,0,0,0.68));
    border: 1px solid rgba(255,255,255,0.18);
    font-family: var(--font-heading);
    box-shadow: 0 0 30px rgba(201,106,35,0.28);
}

.rep-counter.rep-pop {
    animation: repPop 420ms ease;
}

.floor-impact {
    position: absolute;
    left: 50%;
    bottom: 46px;
    width: 120px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(201,106,35,0.42), transparent 72%);
    filter: blur(6px);
    animation: floorImpact 2.15s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.rep-counter span {
    font-size: 0.62rem;
    letter-spacing: 1px;
    color: #bdbdbd;
}

.rep-counter strong {
    font-size: 2.2rem;
    line-height: 0.9;
    color: #fff;
}

@keyframes benchPress {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    45% { transform: translateY(112px) rotate(-0.7deg); }
    64% { transform: translateY(112px) rotate(0.6deg); }
}

@keyframes armPress {
    0%, 100% { top: 30px; }
    45%, 64% { top: 92px; }
}

@keyframes stageBreath {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

@keyframes neonFlicker {
    0%, 11%, 14%, 100% { opacity: 1; }
    12%, 13% { opacity: 0.38; }
    62% { opacity: 0.82; }
}

@keyframes steamRise {
    0% { transform: translateY(35px) scale(0.6); opacity: 0; }
    20% { opacity: 0.55; }
    100% { transform: translateY(-110px) scale(1.35); opacity: 0; }
}

@keyframes ropeSwing {
    0% { transform: rotateY(0deg) rotateZ(0deg) scaleX(1); }
    50% { transform: rotateY(180deg) rotateZ(4deg) scaleX(0.38); }
    100% { transform: rotateY(360deg) rotateZ(0deg) scaleX(1); }
}

@keyframes floorImpact {
    0%, 100% { opacity: 0.18; transform: translateX(-50%) scaleX(0.75); }
    45%, 64% { opacity: 0.68; transform: translateX(-50%) scaleX(1.45); }
}

@keyframes repPop {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(201,106,35,0.28); }
    45% { transform: scale(1.09); box-shadow: 0 0 44px rgba(240,161,58,0.42); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(201,106,35,0.28); }
}

.hero-grid-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 10s linear infinite;
    z-index: -2;
    mask-image: linear-gradient(to top, transparent, black);
    -webkit-mask-image: linear-gradient(to top, transparent, black);
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.74fr);
    gap: clamp(36px, 5vw, 78px);
    align-items: center;
}
.hero-content {
    max-width: 680px;
    position: relative;
    z-index: 3;
}
.hero-content::before {
    content: '01 / WARM-UP';
    display: block;
    width: max-content;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.42);
    font-family: var(--font-heading);
    letter-spacing: 4px;
    transform: rotate(-2deg);
}
.hero-title .text-line { display: block; line-height: 1; }
.hero-desc {
    font-size: 1.25rem;
    color: #dedede;
    max-width: 620px;
    margin: 30px 0;
    border-left: 4px solid var(--neon-red);
    padding-left: 18px;
    background: linear-gradient(90deg, rgba(201,106,35,0.08), transparent);
}

.gym-sensory {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: -10px 0 30px;
}

.gym-sensory span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.38);
    color: #e8e8e8;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gym-sensory i { color: var(--neon-red); }

.hero-stats {
    display: flex; gap: 40px; margin-bottom: 40px;
    padding-top: 20px; border-top: 1px solid var(--border-dim);
}
.workout-board {
    gap: 12px;
    border-top: none;
    padding-top: 0;
    margin-bottom: 34px;
}
.h-stat {
    width: min(31%, 164px);
    min-width: 138px;
    padding: 14px 16px 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01)),
        rgba(0,0,0,0.42);
    border: 1px solid rgba(255,255,255,0.11);
    border-bottom: 3px solid var(--neon-red);
}
.h-stat .h-val { font-family: var(--font-heading); font-size: 2.5rem; color: var(--text-white); }
.h-stat .h-label { display: block; font-family: var(--font-heading); font-size: 0.78rem; color: #b9b9b9; letter-spacing: 1.4px; }

.hero-actions { display: flex; gap: 20px; }

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 3px; color: var(--text-grey);
}
.mouse { width: 24px; height: 36px; border: 2px solid var(--text-grey); border-radius: 12px; position: relative; }
.wheel { width: 4px; height: 6px; background: var(--neon-red); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scroll 1.5s infinite; }
@keyframes scroll { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }

/* Marquee */
.cyber-marquee {
    padding: 15px 0; overflow: hidden; white-space: nowrap; display: flex;
    border-top: 1px solid var(--border-neon); border-bottom: 1px solid var(--border-neon);
    background:
        linear-gradient(90deg, rgba(201,106,35,0.18), rgba(240,161,58,0.08), rgba(201,106,35,0.18)),
        rgba(0,0,0,0.7);
}
.marquee-content { display: flex; animation: marquee 25s linear infinite; }
.marquee-content span { font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 4px; padding-right: 50px; color: var(--text-white); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   NARRATIVE SECTIONS (Digital Panels)
   ========================================= */

/* Origin / About */
.digital-image-panel {
    position: relative; padding: 10px; background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    transform: rotate(-1.5deg);
    box-shadow: 18px 18px 0 rgba(201,106,35,0.12), 0 35px 90px rgba(0,0,0,0.55);
}
.digital-image-panel img { width: 100%; display: block; filter: grayscale(100%) contrast(1.2); transition: var(--transition-slow); }
.digital-image-panel:hover img { filter: grayscale(0%); }
.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--neon-red); box-shadow: 0 0 10px var(--neon-red);
    animation: scan 3s linear infinite; opacity: 0.5; pointer-events: none;
}
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

.corner-brackets::before, .corner-brackets::after {
    content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid var(--neon-red);
}
.corner-brackets::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.corner-brackets::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.tech-list li {
    font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: 1px;
    padding: 13px 0; border-bottom: 1px solid var(--border-dim); display: flex; align-items: center; gap: 15px;
}
.tech-list i { color: var(--neon-red); }

/* Zones / Facilities */
.digital-card {
    background:
        linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01)),
        repeating-linear-gradient(135deg, #090909 0 14px, #111 14px 16px);
    border: 1px solid rgba(255,255,255,0.12); padding: 40px 30px;
    position: relative; overflow: hidden; transition: var(--transition-slow);
    display: flex; flex-direction: column; align-items: flex-start;
    min-height: 285px;
}
.digital-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 7px;
    height: 100%;
    background: linear-gradient(var(--neon-red), var(--neon-orange));
}
.digital-card::after {
    content: 'STATION';
    position: absolute;
    right: 18px;
    top: 16px;
    color: rgba(255,255,255,0.08);
    font-family: var(--font-heading);
    font-size: 2.4rem;
    letter-spacing: 3px;
    transform: rotate(-4deg);
}
.card-bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--border-dim) 1px, transparent 1px); background-size: 10px 10px;
    opacity: 0.3; z-index: 0; pointer-events: none;
}
.digital-card > * { position: relative; z-index: 1; }
.fac-icon {
    width: 64px; height: 64px; border: 1px solid rgba(255,255,255,0.16);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px; color: var(--text-white); transition: var(--transition-fast);
    background: rgba(201,106,35,0.12);
    border-radius: 50%;
}
.digital-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.digital-card p { color: var(--text-grey); font-size: 1rem; }
.hover-glow {
    position: absolute; bottom: -50px; right: -50px; width: 150px; height: 150px;
    background: var(--neon-red); filter: blur(60px); opacity: 0; transition: var(--transition-slow); pointer-events: none;
}
.digital-card:hover { border-color: var(--border-neon); transform: translateY(-8px) rotate(-1deg); }
.digital-card:hover .fac-icon { color: var(--neon-red); border-color: var(--neon-red); }
.digital-card:hover .hover-glow { opacity: 0.4; }

/* Programs / Classes */
.classes-grid { gap: 0; border: 1px solid var(--border-dim); }
.digital-image-card {
    height: 390px; background-size: cover; background-position: center; position: relative;
    border: 1px solid rgba(255,255,255,0.1); filter: grayscale(60%) contrast(1.08); transition: var(--transition-slow); overflow: hidden;
}
.digital-image-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--neon-red), var(--sweat-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}
.card-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 100%); transition: var(--transition-fast);
}
.card-content {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; transition: var(--transition-slow);
}
.target-icon {
    position: absolute; top: 20px; right: 20px; width: 30px; height: 30px;
    border: 1px solid var(--neon-red); display: flex; align-items: center; justify-content: center;
    color: var(--neon-red); font-size: 0.8rem; opacity: 0; transition: var(--transition-fast);
}
.digital-image-card h3 { font-size: 1.8rem; text-shadow: 2px 2px 4px #000; }
.digital-image-card p { color: #f2f2f2; opacity: 0.72; transition: var(--transition-slow); font-size: 0.95rem; }

.digital-image-card:hover { filter: grayscale(0%) contrast(1.12); transform: scale(1.025); z-index: 2; box-shadow: 0 18px 44px rgba(0,0,0,0.88); }
.digital-image-card:hover::after { transform: scaleX(1); }
.digital-image-card:hover .card-overlay { background: linear-gradient(to top, rgba(126,57,18,0.9), transparent); }
.digital-image-card:hover .card-content { bottom: 0; }
.digital-image-card:hover .card-content p { opacity: 1; color: var(--text-white); }
.digital-image-card:hover .target-icon { opacity: 1; animation: spin 4s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Access / Memberships */
.pricing-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.digital-pricing-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015)),
        #090909;
    padding: 50px 30px; position: relative;
    border: 1px solid rgba(255,255,255,0.13); transition: var(--transition-slow);
    box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}
.digital-pricing-card::after {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 18px;
    height: 18px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 6px, transparent 6px 14px);
    opacity: 0.22;
}
.tier-name { font-size: 1.2rem; color: var(--text-grey); letter-spacing: 2px; }
.digital-pricing-card .duration { font-family: var(--font-heading); font-size: 1rem; color: var(--text-white); margin-bottom: 20px; }
.digital-pricing-card .price { font-family: var(--font-heading); font-size: 3.5rem; margin-bottom: 30px; }
.price .currency { font-size: 1.5rem; vertical-align: top; margin-right: 5px; }

.features li { padding: 12px 0; border-bottom: 1px solid var(--border-dim); display: flex; align-items: center; gap: 15px; font-size: 1.05rem; }
.features li i { color: var(--text-white); }
.features li.disabled { color: var(--text-grey); text-decoration: line-through; }
.features li.disabled i { color: var(--text-grey); }

.digital-pricing-card.premium {
    background:
        linear-gradient(180deg, rgba(201,106,35,0.22), rgba(240,161,58,0.06)),
        #080202;
    border: 1px solid var(--border-neon); transform: scale(1.05); z-index: 2;
}
.pulse-border {
    position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
    border: 1px solid var(--neon-red); pointer-events: none; animation: borderPulse 2s infinite alternate;
}
@keyframes borderPulse { 0% { opacity: 0.3; } 100% { opacity: 1; box-shadow: inset 0 0 20px rgba(201,106,35,0.22); } }

.popular-tag {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--neon-red); color: #fff; font-family: var(--font-heading);
    padding: 4px 20px; font-size: 0.8rem; letter-spacing: 2px;
}

/* Masters / Trainers */
.trainer-showcase { display: flex; justify-content: center; }
.digital-trainer-profile {
    display: flex; gap: 40px;
    background:
        linear-gradient(110deg, rgba(201,106,35,0.16), transparent 42%),
        repeating-linear-gradient(135deg, #070707 0 18px, #101010 18px 20px);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.13); align-items: center; max-width: 880px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}
.trainer-visual {
    width: 250px; height: 250px; position: relative; overflow: hidden;
    border: 1px solid var(--border-neon);
}
.trainer-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.scanner {
    position: absolute; top: 0; left: 0; width: 100%; height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(201,106,35,0.4));
    animation: scan 2s ease-in-out infinite alternate; pointer-events: none;
}
.trainer-data { flex: 1; }
.data-row { display: flex; font-family: var(--font-heading); font-size: 1.2rem; letter-spacing: 1px; border-bottom: 1px solid var(--border-dim); padding-bottom: 10px; margin-bottom: 10px; }
.d-label { width: 80px; color: var(--text-grey); }
.cyber-icon {
    width: 40px; height: 40px; border: 1px solid var(--border-dim); display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-grey); transition: var(--transition-fast); margin-right: 10px;
}
.cyber-icon:hover { border-color: var(--neon-red); color: var(--neon-red); background: rgba(201,106,35,0.1); }

/* Metrics / Tools */
.tools-wrapper { max-width: 760px; margin: 0 auto; }
.calc-panel {
    padding: 40px;
    background:
        linear-gradient(120deg, rgba(201,106,35,0.12), rgba(255,255,255,0.03)),
        repeating-linear-gradient(135deg, #090909 0 16px, #121212 16px 18px);
}
.calc-panel::before {
    content: 'BODY SCAN';
    position: absolute;
    right: 28px;
    top: 18px;
    color: rgba(255,255,255,0.08);
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 4px;
}
.cyber-tabs { display: flex; gap: 15px; margin-bottom: 30px; border-bottom: 1px solid var(--border-dim); padding-bottom: 20px; }
.tool-tab {
    background: rgba(0,0,0,0.32); border: 1px solid rgba(255,255,255,0.12); color: var(--text-grey);
    font-family: var(--font-heading); padding: 10px 20px; letter-spacing: 2px; transition: var(--transition-fast);
}
.tool-tab.active, .tool-tab:hover { border-color: var(--neon-red); color: var(--text-white); background: rgba(201,106,35,0.1); }
.calc-title { color: var(--neon-red); margin-bottom: 20px; font-size: 1.5rem; }
.input-grid { display: grid; gap: 20px; }
.cyber-input label { display: block; font-family: var(--font-heading); color: var(--text-grey); margin-bottom: 5px; letter-spacing: 1px; }
.cyber-input input {
    width: 100%; background: var(--bg-base); border: 1px solid var(--border-dim);
    padding: 15px; color: var(--text-white); font-family: var(--font-heading); font-size: 1.2rem; outline: none; transition: var(--transition-fast);
}
.cyber-input input:focus, .cyber-select:focus { border-color: var(--neon-red); box-shadow: 0 0 10px rgba(201,106,35,0.2); }
.cyber-select {
    width: 100%; background: var(--bg-base); border: 1px solid var(--border-dim);
    padding: 15px; color: var(--text-white); font-family: var(--font-heading); font-size: 1.1rem; outline: none; transition: var(--transition-fast);
    cursor: pointer; appearance: none;
}
.cyber-select option { background: var(--bg-base); color: var(--text-white); }

.flex-wrap { flex-wrap: wrap; justify-content: center; }
.full-width { width: 100%; }
.calc-result { margin-top: 20px; font-family: var(--font-heading); font-size: 1.5rem; text-align: center; height: 30px; }

.gender-toggle { display: flex; gap: 20px; }
.radio-cyber { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); color: var(--text-grey); cursor: pointer; }
.radio-cyber input { accent-color: var(--neon-red); }

/* Footer */
.footer { padding: 80px 0 20px; border-top: 1px solid var(--border-neon); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-logo { max-width: 150px; filter: none; }
.contact-list li { display: flex; gap: 20px; margin-bottom: 25px; }
.icon-box { width: 40px; height: 40px; background: rgba(201,106,35,0.1); display: flex; align-items: center; justify-content: center; color: var(--neon-red); border: 1px solid var(--border-neon); }
.contact-list strong { display: block; font-family: var(--font-heading); letter-spacing: 1px; color: var(--text-white); }
.contact-list p { color: var(--text-grey); }

.digital-map { height: 250px; position: relative; padding: 5px; background: var(--bg-surface); border: 1px solid var(--border-dim); }
.digital-map iframe { filter: grayscale(100%) invert(90%) contrast(150%); }
.map-overlay-scan { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(201,106,35,0.1) 1px, transparent 1px); background-size: 100% 4px; pointer-events: none; opacity: 0.5; }

.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border-dim); font-family: var(--font-heading); color: var(--text-grey); font-size: 0.9rem; letter-spacing: 1px; }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .digital-trainer-profile { flex-direction: column; text-align: center; }
    .trainer-visual { margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-wrapper { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .digital-pricing-card.premium { transform: scale(1); }
    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-content { max-width: 760px; }
    .gym-motion-stage {
        width: min(560px, 100%);
        justify-self: center;
        margin: 26px auto 0;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-action .cyber-btn { display: none; }
    .mobile-toggle { display: block; }
    .grid-3 { grid-template-columns: 1fr; }
    
    .hero-title { font-size: 3.5rem; }
    .hero-stats { flex-direction: column; gap: 14px; }
    .hero-actions { flex-direction: column; }
    .hero { align-items: flex-start; padding: 126px 0 70px; }
    .hero::before {
        background:
            linear-gradient(90deg, rgba(3,3,3,0.96), rgba(3,3,3,0.72)),
            linear-gradient(0deg, rgba(3,3,3,0.35), rgba(3,3,3,0.8)),
            url('../img/ourclass.jpg') 58% bottom / cover no-repeat;
    }
    .entry-door { display: none; }
    .entry-copy { font-size: 1rem; }
    .door-push { grid-template-columns: 58px minmax(150px, auto); padding-right: 22px; }
    .door-grip { width: 48px; height: 48px; }
    .gym-motion-stage {
        height: 300px;
        transform: scale(0.9);
        transform-origin: center top;
        margin-top: 10px;
    }
    .h-stat { width: 100%; }
    .gym-sensory span { width: 100%; justify-content: center; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .strength-meter-container { display: none; } /* Hide on mobile to save space */
}
