/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5db7ff;
    --secondary-color: #6de1c2;
    --dark-bg: #0f172a;
    --light-bg: #f5f7fa;
    --text-dark: #1a202c;
    --text-light: #ffffff;
    --accent: #b9edff;
    --glass-bg: rgba(236, 247, 255, 0.16);
    --glass-bg-soft: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.34);
    --glass-highlight: rgba(255, 255, 255, 0.56);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

html,
body,
body * {
    touch-action: pan-y !important;
}

body {
    font-family: 'Sora', 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        radial-gradient(1200px 700px at -10% 15%, rgba(135, 218, 255, 0.22), transparent 58%),
        radial-gradient(900px 620px at 115% 20%, rgba(126, 237, 212, 0.2), transparent 62%),
        #0b1220;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html.hotspot-menu-lock,
body.hotspot-menu-lock {
    overflow: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(70px);
    pointer-events: none;
    z-index: 1;
}

body::before {
    top: -120px;
    left: -120px;
    background: rgba(104, 197, 255, 0.22);
}

body::after {
    bottom: -150px;
    right: -140px;
    background: rgba(116, 236, 206, 0.2);
}

.interactive-bg {
    position: fixed;
    inset: 0;
    height: var(--stable-vh, 100dvh);
    z-index: 0;
    overflow: hidden;
    background: #0b1220;
}

.interactive-bg img {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    height: auto;
    max-width: none;
    transform: translate3d(-50%, 0, 0);
    will-change: transform;
}

.interactive-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 12, 24, 0.62) 0%,
        rgba(8, 12, 24, 0.42) 45%,
        rgba(8, 12, 24, 0.65) 100%
    );
    pointer-events: none;
}

.ankle-hotspot-ui {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: 35;
    transform: translate3d(-9999px, -9999px, 0);
    overflow: visible;
}

.lateral-glezen-hotspot {
    border: none;
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.12s linear;
}

#lateral-glezen-hotspot {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    z-index: 4;
}

#medial-glezen-hotspot {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    z-index: 4;
}

#lateral-glezen-hotspot::before {
    content: '';
    position: absolute;
    inset: 13px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), rgba(198, 231, 255, 0.45) 44%, rgba(120, 173, 255, 0.2) 72%, rgba(120, 173, 255, 0) 100%),
        rgba(157, 208, 255, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.45),
        0 0 14px rgba(118, 191, 255, 0.45),
        0 10px 24px rgba(8, 20, 36, 0.4);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    animation: hotspotPulse 2.2s ease-in-out infinite;
}

#medial-glezen-hotspot::before {
    content: '';
    position: absolute;
    inset: 13px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), rgba(198, 231, 255, 0.45) 44%, rgba(120, 173, 255, 0.2) 72%, rgba(120, 173, 255, 0) 100%),
        rgba(157, 208, 255, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.45),
        0 0 14px rgba(118, 191, 255, 0.45),
        0 10px 24px rgba(8, 20, 36, 0.4);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    animation: hotspotPulse 2.2s ease-in-out infinite;
}

#lateral-glezen-hotspot::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    border: 1px solid rgba(174, 226, 255, 0.52);
    opacity: 0;
    transform: scale(0.74);
    animation: hotspotRing 2.2s ease-out infinite;
}

#medial-glezen-hotspot::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    border: 1px solid rgba(174, 226, 255, 0.52);
    opacity: 0;
    transform: scale(0.74);
    animation: hotspotRing 2.2s ease-out infinite;
}

.liquid-glass-menu {
    position: absolute;
    left: 58px;
    top: 50%;
    transform: translateY(-50%) scale(0.86);
    transform-origin: left center;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.28), rgba(188, 228, 255, 0.11)),
        rgba(16, 34, 56, 0.22);
    box-shadow:
        0 12px 28px rgba(8, 20, 36, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px) saturate(175%);
    -webkit-backdrop-filter: blur(16px) saturate(175%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

#medial-glezen-ui .liquid-glass-menu {
    left: auto;
    right: 8px;
    transform-origin: right center;
}

.liquid-glass-menu::before {
    content: '';
    position: absolute;
    inset: -22px -14px;
    z-index: -1;
    background: radial-gradient(circle at 20% 50%, rgba(114, 198, 255, 0.24), rgba(114, 198, 255, 0)),
        radial-gradient(circle at 78% 40%, rgba(184, 163, 255, 0.2), rgba(184, 163, 255, 0));
    filter: blur(14px);
    animation: liquidDrift 6s linear infinite alternate;
}

.liquid-glass-menu::after {
    content: attr(data-title);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    white-space: nowrap;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    color: rgba(238, 249, 255, 0.96);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(5, 16, 31, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.glass-item {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background:
        radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.9), rgba(212, 241, 255, 0.4) 45%, rgba(125, 180, 255, 0.2) 72%, rgba(125, 180, 255, 0) 100%),
        rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.48),
        inset 0 -8px 16px rgba(126, 200, 255, 0.18),
        inset 0 0 22px rgba(145, 222, 255, 0.18),
        0 10px 18px rgba(8, 22, 36, 0.34);
    cursor: pointer;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.glass-item-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.glass-item-label {
    position: static;
    transform: none;
    white-space: nowrap;
    padding: 0;
    font-size: 0.68rem;
    line-height: 1.2;
    color: rgba(242, 251, 255, 0.96);
    border-radius: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: none;
    transition: none;
    z-index: 3;
}

.glass-item::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 52%);
    pointer-events: none;
    opacity: 0.7;
}

.glass-item::after {
    content: '';
    position: absolute;
    inset: -26%;
    background: conic-gradient(from 180deg, rgba(255, 255, 255, 0), rgba(186, 237, 255, 0.28), rgba(255, 255, 255, 0));
    transform: rotate(0deg) scale(0.86);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.45s ease;
    pointer-events: none;
}

.glass-item:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: rgba(214, 245, 255, 0.86);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.64),
        inset 0 -10px 20px rgba(119, 201, 255, 0.34),
        inset 0 0 30px rgba(149, 232, 255, 0.3),
        0 16px 24px rgba(8, 22, 36, 0.42),
        0 0 22px rgba(137, 218, 255, 0.5);
}

.glass-item:hover::after {
    opacity: 1;
    transform: rotate(30deg) scale(1.06);
}

.glass-item-peroneus {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
        url('../images/peroneus.png') center / cover no-repeat;
}

.glass-item-ligaments-lateral-ankle {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
    url('../images/ligaments.png') center / cover no-repeat;
}

.glass-item-bone {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
        url('../images/bone.png') center / cover no-repeat;
}

.glass-item-cartilage {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
        url('../images/cartilage.png') center / cover no-repeat;
}

.glass-item-muscles {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
        url('../images/muscles.png') center / cover no-repeat;
}

.glass-item-innervation {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
        url('../images/innervation.png') center / cover no-repeat;
}

.glass-item-blood-vessels {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
        url('../images/blood vessels.png') center / cover no-repeat;
}

.glass-item-problems {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
        url('../images/problems.png') center / cover no-repeat;
}

.ankle-hotspot-ui:hover .liquid-glass-menu,
.ankle-hotspot-ui:focus-within .liquid-glass-menu,
.ankle-hotspot-ui.open .liquid-glass-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.ankle-hotspot-ui:hover .liquid-glass-menu::after,
.ankle-hotspot-ui:focus-within .liquid-glass-menu::after,
.ankle-hotspot-ui.open .liquid-glass-menu::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ankle-hotspot-ui:hover .glass-item-wrap,
.ankle-hotspot-ui:focus-within .glass-item-wrap,
.ankle-hotspot-ui.open .glass-item-wrap {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ankle-hotspot-ui:hover .glass-item-wrap:nth-child(1),
.ankle-hotspot-ui:focus-within .glass-item-wrap:nth-child(1),
.ankle-hotspot-ui.open .glass-item-wrap:nth-child(1) {
    transition-delay: 0.02s;
}

.ankle-hotspot-ui:hover .glass-item-wrap:nth-child(2),
.ankle-hotspot-ui:focus-within .glass-item-wrap:nth-child(2),
.ankle-hotspot-ui.open .glass-item-wrap:nth-child(2) {
    transition-delay: 0.07s;
}

.ankle-hotspot-ui:hover .glass-item-wrap:nth-child(3),
.ankle-hotspot-ui:focus-within .glass-item-wrap:nth-child(3),
.ankle-hotspot-ui.open .glass-item-wrap:nth-child(3) {
    transition-delay: 0.12s;
}

.ankle-hotspot-ui:hover .glass-item-wrap:nth-child(4),
.ankle-hotspot-ui:focus-within .glass-item-wrap:nth-child(4),
.ankle-hotspot-ui.open .glass-item-wrap:nth-child(4) {
    transition-delay: 0.17s;
}

.ankle-hotspot-ui:hover .glass-item-wrap:nth-child(5),
.ankle-hotspot-ui:focus-within .glass-item-wrap:nth-child(5),
.ankle-hotspot-ui.open .glass-item-wrap:nth-child(5) {
    transition-delay: 0.22s;
}

.ankle-hotspot-ui:hover .glass-item-wrap:nth-child(6),
.ankle-hotspot-ui:focus-within .glass-item-wrap:nth-child(6),
.ankle-hotspot-ui.open .glass-item-wrap:nth-child(6) {
    transition-delay: 0.27s;
}

.ankle-hotspot-ui:hover .glass-item-wrap:nth-child(7),
.ankle-hotspot-ui:focus-within .glass-item-wrap:nth-child(7),
.ankle-hotspot-ui.open .glass-item-wrap:nth-child(7) {
    transition-delay: 0.32s;
}

.ankle-hotspot-ui.manual-close .liquid-glass-menu,
.ankle-hotspot-ui.manual-close .liquid-glass-menu::after,
.ankle-hotspot-ui.manual-close .glass-item-wrap {
    opacity: 0 !important;
    pointer-events: none;
}

.ankle-hotspot-ui.manual-close .glass-item-wrap {
    transform: translateY(10px) scale(0.9) !important;
}

.info-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(3, 10, 22, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: modalBackdropIn 0.28s ease-out;
}

.info-modal-backdrop[hidden] {
    display: none;
}

.info-modal-panel {
    width: min(920px, 100%);
    height: min(84vh, 980px);
    max-height: min(92vh, 980px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    padding: 1.5rem 1.5rem 1.35rem;
    color: rgba(247, 253, 255, 0.95);
    background:
        linear-gradient(130deg, rgba(238, 250, 255, 0.28), rgba(171, 224, 255, 0.14)),
        rgba(13, 28, 47, 0.34);
    box-shadow:
        0 24px 52px rgba(4, 13, 27, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    position: relative;
    transform-origin: 50% 38%;
    animation: modalPanelIn 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-modal-panel h3 {
    margin-bottom: 0.7rem;
    font-size: 1.45rem;
    padding-right: 7rem;
}

.info-modal-panel p {
    color: rgba(238, 249, 255, 0.9);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.info-modal-panel ul {
    margin: 0.3rem 0 0;
    padding-left: 1.2rem;
}

.info-modal-panel li {
    color: rgba(238, 249, 255, 0.88);
    margin-bottom: 0.35rem;
}

.info-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-base);
}

.info-modal-close:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.06);
}

.modal-language-toggle {
    position: absolute;
    top: 12px;
    right: 58px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
    font-weight: 700;
}

.modal-language-toggle a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
}

.modal-language-toggle a.is-active,
.modal-language-toggle a[aria-current="page"] {
    color: #ffffff;
}

@keyframes hotspotPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes hotspotRing {
    0% {
        opacity: 0;
        transform: scale(0.72);
    }
    40% {
        opacity: 0.58;
    }
    100% {
        opacity: 0;
        transform: scale(1.26);
    }
}

@keyframes liquidDrift {
    0% {
        transform: translate3d(-3px, -1px, 0) scale(1);
    }
    100% {
        transform: translate3d(5px, 2px, 0) scale(1.06);
    }
}

@keyframes modalBackdropIn {
    0% {
        opacity: 0;
        background: rgba(3, 10, 22, 0);
    }
    100% {
        opacity: 1;
        background: rgba(3, 10, 22, 0.45);
    }
}

@keyframes modalPanelIn {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
        filter: saturate(85%);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: saturate(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .info-modal-backdrop,
    .info-modal-panel {
        animation: none;
    }
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(110deg, rgba(223, 244, 255, 0.26), rgba(192, 240, 255, 0.12));
    backdrop-filter: blur(16px) saturate(165%);
    -webkit-backdrop-filter: blur(16px) saturate(165%);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow:
        0 10px 28px rgba(5, 15, 30, 0.3),
        inset 0 1px 0 var(--glass-highlight);
    transition: var(--transition-base);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    cursor: pointer;
}

#zone-menu-toggle,
.menu-toggle {
    display: none !important;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section with Parallax Image Reveal
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: var(--stable-vh, 100dvh);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
    pointer-events: auto;
    max-width: 860px;
}

.hero-content h1 {
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-subline p {
    margin-bottom: 0;
}

.zone-menu-wrapper {
    position: relative;
}

.zone-menu-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.3), rgba(184, 228, 255, 0.12));
    box-shadow: 0 10px 22px rgba(7, 18, 34, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    cursor: pointer;
    transition: var(--transition-base);
}

.zone-menu-toggle:hover {
    transform: translateY(-2px);
}

.zone-menu-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.95);
}

.zone-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, rgba(243, 251, 255, 0.26), rgba(174, 224, 255, 0.13));
    box-shadow: 0 18px 34px rgba(5, 16, 32, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px) saturate(165%);
    -webkit-backdrop-filter: blur(14px) saturate(165%);
    z-index: 60;
}

.zone-menu-item {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-base);
}

.zone-menu-item:hover,
.zone-menu-item:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    outline: none;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gender-toggle {
    position: fixed;
    top: 84px;
    left: 16px;
    z-index: 1100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(242, 250, 255, 0.25), rgba(170, 225, 255, 0.1));
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    box-shadow:
        0 10px 22px rgba(8, 22, 42, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.56);
    cursor: pointer;
}

.gender-option {
    min-width: 74px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    transition: var(--transition-base);
}

.gender-option.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(16, 28, 53, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--text-light);
    stroke-width: 2;
    fill: none;
}

/* Scroll reveal percentage display */
.scroll-reveal-hud {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 100;
    user-select: none;
    pointer-events: none;
}

.scroll-reveal-percentage {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(14, 28, 52, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.mouse-coordinates {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    opacity: 0.72;
}

/* Content sections that scroll over image */
.scroll-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.scroll-spacer {
    height: 220vh;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   Button Styles
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(209, 243, 255, 0.12)),
        linear-gradient(135deg, rgba(88, 178, 255, 0.52), rgba(105, 226, 198, 0.5));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow:
        0 14px 28px rgba(4, 17, 34, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
    transition: left 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.22), rgba(198, 241, 255, 0.09));
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 8px 20px rgba(10, 18, 34, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
}

.contact-picker {
    display: inline-block;
    position: relative;
}

.contact-picker summary {
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.contact-picker summary::-webkit-details-marker {
    display: none;
}

.contact-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0.7rem;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px) scale(0.96);
    transition: opacity 0.26s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
}

.contact-picker[open] .contact-options {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    transition: opacity 0.26s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.contact-action-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-picker[open] .contact-action-row {
    opacity: 1;
    transform: translateY(0);
}

.contact-picker[open] .contact-action-row:nth-child(1) {
    transition-delay: 0.05s;
}

.contact-picker[open] .contact-action-row:nth-child(2) {
    transition-delay: 0.1s;
}

.contact-action-btn {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(7, 16, 32, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(7, 16, 32, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.contact-action-btn:active {
    transform: translateY(0);
}

.contact-action-call {
    background: linear-gradient(180deg, #49d75b 0%, #34c759 48%, #29b84d 100%);
}

.contact-action-viber {
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 48%, #6d28d9 100%);
}

.contact-action-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.contact-action-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-action-label {
    font-size: 0.86rem;
    color: rgba(240, 251, 255, 0.95);
    pointer-events: none;
    user-select: none;
    text-align: center;
}

.viber-fallback-hint {
    grid-column: 1 / -1;
    margin: 0.15rem 0 0;
    font-size: 0.86rem;
    color: rgba(232, 246, 255, 0.9);
    text-align: center;
}

/* ============================================
   Parallax Sections
   ============================================ */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: visible;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.parallax-section.dark {
    background: linear-gradient(135deg, rgba(20, 33, 54, 0.44), rgba(96, 168, 226, 0.24));
    backdrop-filter: blur(5px) saturate(140%);
}

.parallax-section.light {
    background: rgba(227, 245, 255, 0.2);
    backdrop-filter: blur(6px) saturate(145%);
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.parallax-section.dark .parallax-content {
    color: var(--text-light);
}

.parallax-section.light .parallax-content {
    color: var(--text-dark);
}

/* ============================================
   Card Grid
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--text-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card p {
    color: #666;
    line-height: 1.8;
}

/* ============================================
   Feature Grid
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(212, 240, 255, 0.2));
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow:
        0 12px 26px rgba(7, 18, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(9px) saturate(145%);
    -webkit-backdrop-filter: blur(9px) saturate(145%);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2), transparent);
    transform: scale(0);
    transition: transform 0.5s ease;
    z-index: 0;
}

.feature-item:hover::before {
    transform: scale(1);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(201, 236, 255, 0.24));
    box-shadow:
        0 16px 34px rgba(6, 18, 36, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.feature-item p {
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.service-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 1rem;
    display: block;
    position: relative;
    z-index: 1;
}

.service-price {
    margin: 0.15rem 0 0.85rem;
    font-size: clamp(3rem, 4vw, 3.4rem);
    line-height: 1.2;
    font-weight: 800;
    color: #0d5bae;
    letter-spacing: 0.01em;
}

.language-toggle .gender-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-decoration: none;
    min-width: 54px;
    padding: 5px 8px;
    font-size: 0.76rem;
}

.language-toggle {
    gap: 2px;
    padding: 3px;
}

.language-toggle .gender-option img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.movement-lab-entry {
    position: fixed;
    top: 132px;
    left: 16px;
    z-index: 1099;
    display: flex;
    min-width: 116px;
    padding: 4px 2px;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}

.movement-lab-entry strong {
    color: #8bd3ff;
    font-size: 0.69rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .18em;
}

.movement-lab-entry small {
    margin-top: 3px;
    color: rgba(222, 237, 248, .78);
    font-size: .57rem;
    line-height: 1.2;
}

.movement-lab-entry small span {
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
}

.movement-lab-entry-mobile {
    top: 176px;
}

.imaging-viewer-entry {
    position: fixed;
    top: 178px;
    left: 16px;
    z-index: 1099;
    display: flex;
    min-width: 116px;
    padding: 4px 2px;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition-base);
}

.imaging-viewer-entry strong {
    color: #6de1c2;
    font-size: 0.69rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .18em;
}

.imaging-viewer-entry small {
    margin-top: 3px;
    color: rgba(222, 237, 248, .78);
    font-size: .57rem;
    line-height: 1.2;
}

.imaging-viewer-entry small span {
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
}

.imaging-viewer-entry:hover,
.imaging-viewer-entry:focus-visible {
    transform: translateY(-2px);
    opacity: .82;
    outline: none;
}

.movement-lab-entry .movement-lab-mobile-label {
    margin-bottom: 1px;
    color: #8bd3ff;
    font-weight: 700;
    letter-spacing: .08em;
}

.movement-lab-entry:hover,
.movement-lab-entry:focus-visible {
    transform: translateY(-2px);
    opacity: .82;
    outline: none;
}

@media (max-width: 768px) {
    .movement-lab-entry {
        top: calc(116px + env(safe-area-inset-top, 0px));
        left: 10px;
        min-width: 112px;
        padding: 4px 2px;
    }

    .movement-lab-entry-mobile {
        top: calc(160px + env(safe-area-inset-top, 0px));
    }

    .imaging-viewer-entry {
        top: calc(158px + env(safe-area-inset-top, 0px));
        left: 10px;
    }
}

.services-section {
    background: rgba(230, 246, 255, 0.18);
    backdrop-filter: blur(6px) saturate(150%);
}

.services-section .feature-item {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.56), rgba(219, 243, 255, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 14px 28px rgba(7, 21, 40, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.services-section .feature-item:hover {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.66), rgba(229, 247, 255, 0.3));
    box-shadow:
        0 20px 38px rgba(7, 21, 40, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.services-section .feature-item:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.stat {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: #888;
    margin-top: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: linear-gradient(120deg, rgba(225, 246, 255, 0.22), rgba(183, 229, 255, 0.12));
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow:
        0 -16px 30px rgba(5, 16, 34, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: #d5f1ff;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.24);
    margin: 2rem 0;
}

.footer-credit {
    font-size: 0.9rem;
    color: rgba(235, 246, 255, 0.84);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design (Mobile First)
   ============================================ */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .interactive-bg {
        height: auto;
    }

    .interactive-bg img {
        transform: translate3d(-50%, -4vh, 0);
        will-change: auto;
    }

    .info-modal-backdrop {
        inset: 0 0 auto;
        height: var(--visual-vh, 100dvh);
        box-sizing: border-box;
        padding:
            max(8px, env(safe-area-inset-top, 0px))
            8px
            max(8px, env(safe-area-inset-bottom, 0px));
        overflow: hidden;
    }

    .info-modal-panel {
        width: 100%;
        height: calc(
            var(--visual-vh, 100dvh)
            - max(16px, env(safe-area-inset-top, 0px))
            - max(16px, env(safe-area-inset-bottom, 0px))
        );
        max-height: calc(
            var(--visual-vh, 100dvh)
            - max(16px, env(safe-area-inset-top, 0px))
            - max(16px, env(safe-area-inset-bottom, 0px))
        );
        box-sizing: border-box;
    }

    .ankle-hotspot-ui {
        display: block;
        z-index: 90;
    }

    #lateral-glezen-hotspot {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
    }

    #medial-glezen-hotspot {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
    }

    .ankle-hotspot-ui.open::before {
        content: '';
        position: fixed;
        inset: 0;
        height: auto;
        background: rgba(4, 10, 22, 0.35);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        pointer-events: none;
        z-index: 79;
    }

    .ankle-hotspot-ui .liquid-glass-menu,
    #lateral-glezen-liquid-glass-menu,
    #medial-glezen-liquid-glass-menu {
        position: fixed;
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) scale(0.92) !important;
        transform-origin: center !important;
        margin: 0 !important;
        width: min(94vw, 580px);
        max-width: min(94vw, 580px);
        max-height: min(
            calc(
                var(--visual-vh, 100dvh)
                - max(24px, env(safe-area-inset-top, 0px))
                - max(24px, env(safe-area-inset-bottom, 0px))
            ),
            460px
        );
        overflow-y: auto;
        overflow-x: hidden;
        padding: 12px 10px 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 10px;
        z-index: 80;
    }

    #lateral-glezen-liquid-glass-menu,
    #medial-glezen-liquid-glass-menu {
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform-origin: center !important;
    }

    .ankle-hotspot-ui:hover .liquid-glass-menu,
    .ankle-hotspot-ui:focus-within .liquid-glass-menu,
    .ankle-hotspot-ui.open .liquid-glass-menu {
        transform: translate(-50%, -50%) scale(1) !important;
    }

    /* Mobile should be click-driven only: do not keep menu open via focus/hover. */
    .ankle-hotspot-ui:not(.open) .liquid-glass-menu {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translate(-50%, -50%) scale(0.92) !important;
    }

    .ankle-hotspot-ui.open .liquid-glass-menu {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }

    .ankle-hotspot-ui:not(.open) .liquid-glass-menu::after {
        opacity: 0 !important;
        transform: translateX(-50%) translateY(6px) !important;
    }

    .ankle-hotspot-ui.open .liquid-glass-menu::after {
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
    }

    .ankle-hotspot-ui:not(.open) .glass-item-wrap {
        opacity: 0 !important;
        transform: translateY(10px) scale(0.9) !important;
    }

    .ankle-hotspot-ui.open .glass-item-wrap {
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
    }

    .ankle-hotspot-ui.is-locked-out,
    .ankle-hotspot-ui.is-locked-out .lateral-glezen-hotspot {
        pointer-events: none !important;
    }

    .ankle-hotspot-ui.is-locked-out {
        opacity: 0 !important;
        z-index: 1 !important;
    }

    .ankle-hotspot-ui.is-locked-out .lateral-glezen-hotspot {
        visibility: hidden;
    }

    nav {
        padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 0.9rem 0.7rem;
        flex-wrap: nowrap;
        gap: 0.7rem;
    }

    .menu-toggle {
        display: none !important;
        margin-left: auto;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        font-size: 0.82rem;
        width: auto;
        margin-left: auto;
        padding: 0;
        border-top: none;
    }

    .nav-links.active {
        display: flex;
        background: transparent;
        border: none;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-links a {
        display: inline-block;
        padding: 0.2rem 0.1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-subline {
        flex-direction: row;
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }

    .zone-menu {
        top: auto;
        bottom: calc(100% + 10px);
        right: 0;
        left: auto;
        transform: none;
        max-height: 52vh;
        overflow-y: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .gender-toggle {
        top: calc(68px + env(safe-area-inset-top, 0px));
        left: 10px;
    }

    .scroll-reveal-percentage {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .scroll-reveal-hud {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        gap: 4px;
    }

    .mouse-coordinates {
        font-size: 0.6rem;
        letter-spacing: 0.06em;
        opacity: 0.6;
    }

    .scroll-indicator {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .parallax-section {
        padding: 40px 15px;
        min-height: auto;
    }

    .footer-links {
        gap: 1rem;
    }
}

@media (hover: none), (pointer: coarse) {
    .mouse-coordinates {
        display: none;
    }
}

@media (max-width: 480px) {
    nav {
        padding: calc(0.65rem + env(safe-area-inset-top, 0px)) 0.75rem 0.65rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.4rem;
        font-size: 0.75rem;
    }

    .hero-content {
        padding: 0 14px;
    }

    .hero-content h1 {
        margin-bottom: 0.6rem;
    }

    .hero-content p {
        margin-bottom: 1.2rem;
        line-height: 1.45;
    }

    .hero-subline {
        flex-wrap: wrap;
    }

    h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        gap: 1rem;
    }

    .card {
        padding: 1.5rem;
    }
}

/* ============================================
   Utilities
   ============================================ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Focus States (Keyboard Navigation)
   ============================================ */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}
