/* ═══════════════════════════════════════════════════════════════
   LUMINA — Global Styles
   Base resets, typography, layout, navigation, footer
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* Colors */
    --bg-primary: #0b0b0f;
    --bg-secondary: #111118;
    --bg-tertiary: #16161f;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);
    --bg-glass: rgba(11, 11, 15, 0.8);

    --text-primary: #e8e8ed;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-tertiary: rgba(255, 255, 255, 0.35);
    --text-muted: rgba(255, 255, 255, 0.2);

    --accent: #a78bfa;
    --accent-bright: #6366f1;
    --accent-dim: rgba(167, 139, 250, 0.15);
    --accent-glow: rgba(167, 139, 250, 0.4);
    --accent-border: rgba(167, 139, 250, 0.2);

    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;

    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --nav-height: 72px;
    --container-max: 1400px;
    --container-padding: 40px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(167, 139, 250, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(167, 139, 250, 0.25);

    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Z-index layers */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-nav: 500;
    --z-modal: 1000;
    --z-overlay: 2000;
    --z-cursor: 9999;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar */
body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

body::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.3);
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 139, 250, 0.5);
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    font-size: inherit;
}

input, textarea, select {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

/* ── Selection ─────────────────────────────────────────────── */
::selection {
    background: rgba(167, 139, 250, 0.3);
    color: var(--text-primary);
}

/* ── Container ─────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: var(--z-nav);
    transition: all 0.4s var(--ease-out);
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border-subtle);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.nav.scrolled::before {
    opacity: 1;
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    text-transform: uppercase;
    position: relative;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 100%;
    height: 100%;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover::after {
    transform: scaleX(1);
}

.nav-logo:hover {
    color: var(--text-primary);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s var(--ease-out);
    color: var(--text-secondary);
}

.nav-cart:hover {
    background: var(--accent-dim);
    border-color: var(--accent-border);
    color: var(--accent);
}

.nav-cart svg {
    width: 18px;
    height: 18px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--accent-bright);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px;
    margin-top: 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #08080c 100%);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.footer-brand-desc {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: all 0.3s var(--ease-out);
}

.footer-social:hover {
    background: var(--accent-dim);
    border-color: var(--accent-border);
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

/* ── Utility Classes ───────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-tertiary); }

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

/* ── Page Transition Overlay ───────────────────────────────── */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    pointer-events: none;
    display: flex;
}

.page-transition-panel {
    flex: 1;
    background: var(--bg-secondary);
    transform: scaleY(0);
    transform-origin: top;
}

/* ── Loading Screen ────────────────────────────────────────── */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Custom Cursor ─────────────────────────────────────────── */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: width 0.3s var(--ease-spring),
                height 0.3s var(--ease-spring),
                border-color 0.3s,
                background 0.3s,
                opacity 0.3s;
    transform: translate(-50%, -50%);
    will-change: transform;
    mix-blend-mode: difference;
    opacity: 0;
}

.custom-cursor.visible {
    opacity: 1;
}

.custom-cursor.hovering {
    width: 50px;
    height: 50px;
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.5);
}

.custom-cursor.clicking {
    width: 16px;
    height: 16px;
    background: var(--accent);
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0;
}

.cursor-dot.visible {
    opacity: 1;
}

/* Hide custom cursor on touch */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
}

/* ── Grain Texture Overlay ─────────────────────────────────── */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}
/* ═══════════════════════════════════════════════════════════════
   LUMINA — Global Styles (REFINED COLOR SYSTEM)
   Premium obsidian + champagne gold + ice blue
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* ── Core Background Palette ── */
    --bg-primary: #09090b;
    --bg-secondary: #0f0f12;
    --bg-tertiary: #141419;
    --bg-card: rgba(255, 255, 255, 0.015);
    --bg-card-hover: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(9, 9, 11, 0.85);
    --bg-elevated: #18181d;

    /* ── Text Palette ── */
    --text-primary: #eaeaed;
    --text-secondary: rgba(234, 234, 237, 0.55);
    --text-tertiary: rgba(234, 234, 237, 0.32);
    --text-muted: rgba(234, 234, 237, 0.18);

    /* ── Accent: Champagne Gold ── */
    --accent: #c8a96e;
    --accent-bright: #d4b87a;
    --accent-dim: rgba(200, 169, 110, 0.1);
    --accent-glow: rgba(200, 169, 110, 0.3);
    --accent-border: rgba(200, 169, 110, 0.18);

    /* ── Secondary Accent: Ice Blue ── */
    --accent2: #7eb8d4;
    --accent2-dim: rgba(126, 184, 212, 0.08);
    --accent2-border: rgba(126, 184, 212, 0.15);

    /* ── Status Colors ── */
    --success: #5cb97a;
    --warning: #d4a843;
    --danger: #c75c5c;

    /* ── Borders ── */
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.09);

    /* ── Typography ── */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ── Spacing ── */
    --nav-height: 72px;
    --container-max: 1400px;
    --container-padding: 40px;

    /* ── Radius ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* ── Shadows ── */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(200, 169, 110, 0.08);
    --shadow-glow-strong: 0 0 60px rgba(200, 169, 110, 0.15);

    /* ── Transitions ── */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* ── Z-index ── */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-nav: 500;
    --z-modal: 1000;
    --z-overlay: 2000;
    --z-cursor: 9999;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar — refined */
body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

body::-webkit-scrollbar-thumb {
    background: rgba(200, 169, 110, 0.2);
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 169, 110, 0.4);
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    font-size: inherit;
}

input, textarea, select {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
}

ul, ol {
    list-style: none;
}

/* ── Selection ─────────────────────────────────────────────── */
::selection {
    background: rgba(200, 169, 110, 0.25);
    color: var(--text-primary);
}

/* ── Container ─────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: var(--z-nav);
    transition: all 0.4s var(--ease-out);
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-bottom: 1px solid var(--border-subtle);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.nav.scrolled::before {
    opacity: 1;
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    text-transform: uppercase;
    position: relative;
}

.nav-logo-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 100%;
    height: 100%;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover::after {
    transform: scaleX(1);
}

.nav-logo:hover {
    color: var(--text-primary);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s var(--ease-out);
    color: var(--text-tertiary);
}

.nav-cart:hover {
    background: var(--accent-dim);
    border-color: var(--accent-border);
    color: var(--accent);
}

.nav-cart svg {
    width: 17px;
    height: 17px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 17px;
    height: 17px;
    background: var(--accent);
    color: #09090b;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-tertiary);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px;
    margin-top: 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #060608 100%);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.footer-social:hover {
    background: var(--accent-dim);
    border-color: var(--accent-border);
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 14px;
    height: 14px;
}

/* ── Utility ───────────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-accent { color: var(--accent); }
.text-accent2 { color: var(--accent2); }
.text-muted { color: var(--text-tertiary); }

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

/* ── Page Transition Overlay ───────────────────────────────── */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    pointer-events: none;
    display: flex;
}

.page-transition-panel {
    flex: 1;
    background: var(--bg-secondary);
    transform: scaleY(0);
    transform-origin: top;
}

/* ── Loading Screen ────────────────────────────────────────── */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Custom Cursor ─────────────────────────────────────────── */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: width 0.3s var(--ease-spring),
                height 0.3s var(--ease-spring),
                border-color 0.3s,
                background 0.3s,
                opacity 0.3s;
    transform: translate(-50%, -50%);
    will-change: transform;
    mix-blend-mode: difference;
    opacity: 0;
}

.custom-cursor.visible {
    opacity: 1;
}

.custom-cursor.hovering {
    width: 48px;
    height: 48px;
    background: rgba(200, 169, 110, 0.06);
    border-color: rgba(200, 169, 110, 0.4);
}

.custom-cursor.clicking {
    width: 16px;
    height: 16px;
    background: var(--accent);
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0;
}

.cursor-dot.visible {
    opacity: 1;
}

@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
}

/* ── Grain Texture ─────────────────────────────────────────── */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}