/* ==========================================================================
   GLAZENIQ - Dark Luxury Scrollytelling CSS Design System
   Awwwards-Level Cinematic Styling & Canvas Integration
   ========================================================================== */

/* 1. CSS Custom Properties / Tokens */
:root {
    /* Background & Surface Colors (Matches dark image background exactly) */
    --bg-color: #070709;
    --bg-surface: rgba(18, 18, 22, 0.6);
    --bg-surface-hover: rgba(25, 25, 32, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-active: rgba(255, 255, 255, 0.25);

    /* Typography Colors */
    --text-heading: rgba(255, 255, 255, 0.90);
    --text-body: rgba(255, 255, 255, 0.60);
    --text-muted: rgba(255, 255, 255, 0.40);
    --accent-gold: #D4AF37;
    --accent-glow: rgba(212, 175, 55, 0.15);

    /* Font Families */
    --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout & Spacing */
    --header-height: 80px;
    --container-max: 1400px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions & Easing */
    --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
    --transition-fast: 0.25s var(--ease-out-cubic);
    --transition-medium: 0.5s var(--ease-out-cubic);
    --transition-slow: 0.9s var(--ease-out-cubic);
}

/* 2. Reset & Global Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-body);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: var(--bg-color);
    color: var(--text-body);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body.is-loading {
    overflow: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .brand-title, .logo-text {
    font-family: var(--font-heading);
    color: var(--text-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.1;
}

p {
    color: var(--text-body);
    font-weight: 400;
}

/* 6. Scrollytelling & Fixed Canvas Stage */
.scrolly-main {
    position: relative;
    width: 100%;
}

.scrolly-container {
    position: relative;
    width: 100%;
    height: 500vh; /* Extended full-page scroll timeline */
}

.scrolly-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* 3. Luxury Buttons & UI Controls */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: #ffffff;
    color: #070709;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    background: #e6e6e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary.btn-large {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-sound {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.btn-sound:hover {
    border-color: var(--border-color-active);
    color: var(--text-heading);
}

.sound-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.sound-wave span {
    width: 2px;
    height: 100%;
    background-color: var(--text-body);
    animation: soundWave 1.2s infinite ease-in-out alternate;
}

.sound-wave span:nth-child(2) { animation-delay: 0.2s; }
.sound-wave span:nth-child(3) { animation-delay: 0.4s; }

@keyframes soundWave {
    0% { height: 30%; }
    100% { height: 100%; }
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-heading);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.brand-pill .pill-dot {
    width: 6px;
    height: 6px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 10px #34d399;
}

/* 4. Preloader Overlay */
.preloader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s var(--ease-out-cubic), visibility 0.8s var(--ease-out-cubic);
}

.preloader-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    width: 90%;
    max-width: 420px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.preloader-brand .brand-title {
    font-size: 2.8rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 4px;
}

.preloader-brand .brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.preloader-progress-wrap {
    width: 100%;
}

.progress-bar-bg {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    transition: width 0.1s linear;
}

.progress-text-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.loading-label { color: var(--text-muted); }
.loading-percentage { color: var(--text-heading); font-family: var(--font-heading); font-weight: 700; }

.preloader-status-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* 5. Header Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    padding: 0 40px;
    background: linear-gradient(180deg, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform var(--transition-medium);
}

.header-inner {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: #ffffff;
    color: #070709;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.logo-text {
    font-size: 1.25rem;
    letter-spacing: 0.15em;
}

.logo-badge {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 2px 6px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-muted);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-body);
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-heading);
    transition: width var(--transition-fast);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 6. Scrollytelling & Sticky Canvas Layout */
.scrolly-main {
    position: relative;
    width: 100%;
}

.scrolly-container {
    position: relative;
    width: 100%;
    height: 450vh; /* Extended scroll area */
}

.scrolly-viewport {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Canvas Styling - Seamlessly Blends with Background */
#product-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    z-index: 1;
    background-color: var(--bg-color);
}

.viewport-overlay-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 60%, var(--bg-color) 100%);
}

/* 7. Exploded View Hotspots */
.exploded-hotspots {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.exploded-hotspots.is-visible {
    opacity: 1;
}

.hotspot {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.hotspot-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    position: relative;
    cursor: pointer;
}

.hotspot-dot::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-card {
    background: rgba(18, 18, 22, 0.85);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
}

.hotspot-tag {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hotspot-title {
    font-size: 0.78rem;
    color: var(--text-heading);
    font-weight: 600;
}

/* 8. Sidebar Progress Indicator */
.scroll-progress-sidebar {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-track {
    width: 2px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
    border-radius: 2px;
}

.progress-thumb {
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 30px;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transition: transform 0.1s linear;
}

.progress-details {
    display: flex;
    flex-direction: column;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

.progress-current-step { color: var(--text-muted); }
.progress-percentage-num { color: var(--text-heading); font-family: var(--font-heading); font-weight: 700; }

/* 9. Storytelling Overlays & Text Sections */
.storytelling-overlays {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.story-section {
    position: absolute;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity var(--transition-medium), transform var(--transition-medium);
    pointer-events: none;
}

.story-section.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Section 1: Hero (Centered) */
.section-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-body);
}

.scroll-indicator-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background-color: var(--text-heading);
    border-radius: 2px;
    animation: scrollAnim 1.8s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollAnim {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Feature Cards (Left & Right Aligned) */
.feature-card {
    max-width: 460px;
    background: rgba(18, 18, 22, 0.55);
    border: 1px solid var(--border-color);
    padding: 36px 40px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.section-feature-1 .feature-card { margin-left: 5vw; }
.section-feature-2 .feature-card { margin-left: auto; margin-right: 5vw; }

.section-badge {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-body);
}

.section-stat-row {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    display: block;
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Final CTA Section (Centered) */
.section-cta {
    text-align: center;
    display: flex;
    justify-content: center;
}

.cta-card {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-subtitle {
    font-size: 1.1rem;
    max-width: 580px;
    margin-bottom: 36px;
}

.cta-actions {
    margin-bottom: 20px;
}

.cta-secondary-note {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* 10. Footer Styling */
.site-footer {
    position: relative;
    z-index: 20;
    background-color: #050507;
    border-top: 1px solid var(--border-color);
    padding: 80px 40px 40px;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    color: var(--text-heading);
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-heading);
    display: block;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-body);
}

.footer-links a:hover {
    color: var(--text-heading);
}

.footer-address {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* 11. Modal Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 9, 0.85);
    backdrop-filter: blur(12px);
}

.modal-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 520px;
    background: #0f0f13;
    border: 1px solid var(--border-color-active);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.4s var(--ease-out-cubic);
}

.modal-overlay.is-active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.modal-close:hover { color: var(--text-heading); }

.modal-badge {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 700;
}

.modal-title {
    font-size: 1.8rem;
    margin: 6px 0 8px;
}

.modal-subtitle {
    font-size: 0.85rem;
    margin-bottom: 28px;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.col-half { flex: 1; }

.form-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-body);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: #ffffff;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.form-privacy-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

.reservation-success {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.reservation-success.hidden { display: none; }

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 12. Hamburger Toggle & Mobile Nav Drawer */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out-cubic), opacity 0.3s ease;
}

/* Animated X state */
body.nav-drawer-open .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
body.nav-drawer-open .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
body.nav-drawer-open .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Body lock when drawer open */
body.nav-drawer-open {
    overflow: hidden;
}

/* Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7,7,9,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Drawer Panel */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    height: 100vh;
    background: rgba(10,10,14,0.97);
    border-left: 1px solid var(--border-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-cubic);
    box-shadow: -20px 0 60px rgba(0,0,0,0.8);
}

.mobile-nav-drawer.is-open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-close:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-heading);
}

.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
}

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-body);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-heading);
}

.mobile-nav-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-auth-link {
    display: block;
    text-align: center;
    padding: 12px;
}

.btn-block-mobile {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

/* 13. Responsive Breakpoints & Mobile Optimization */
@media (max-width: 1024px) {
    .site-header { padding: 0 24px; }
    .nav-list { display: none; }
    .nav-toggle { display: flex; }
    .btn-reserve-desktop { display: none; }
    .scroll-progress-sidebar { display: none; }
    .section-feature-1 .feature-card,
    .section-feature-2 .feature-card {
        margin: 0 auto;
        max-width: 90%;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .site-header { padding: 0 20px; }
    .btn-sound .sound-text { display: none; }
    .btn-sound { padding: 8px 12px; }
    .storytelling-overlays { padding: 0 20px; }
    .feature-card { max-width: 100%; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-links a { font-size: 0.78rem; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .feature-card { padding: 24px 20px; }
    .cta-title { font-size: 2rem; }
    .site-footer { padding: 40px 16px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .modal-container { padding: 24px 20px; }
    .form-row { flex-direction: column; gap: 18px; }
    .hero-content { padding: 0 8px; }
    /* Hide sound button entirely on small phones */
    .btn-sound { display: none; }
}

@media (max-width: 480px) {
    :root { --header-height: 64px; }
    .site-header { padding: 0 16px; }
    .logo-text { font-size: 1.05rem; }
    .logo-badge { display: none; }
    .brand-pill { font-size: 0.65rem; padding: 5px 10px; }
    .hero-title { font-size: 1.9rem; }
}

/* 14. Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .story-section { transition: opacity 0.2s ease; transform: none !important; }
    .progress-bar-fill, .progress-thumb { transition: none; }
    .mobile-nav-drawer { transition: none; }
    .mobile-nav-overlay { transition: none; }
}

