/* 
   PiDials - Infinite Design, Finite Execution
   Luxury Stylesheet with Mathematical Precision
   Design Without Repetition
*/

:root {
    /* Core Brand Colors - PiDials Luxury */
    --primary: #050505;
    --secondary: #0a0a0a;
    --accent: #d4af37;
    /* Metallic Gold */
    --accent-dark: #b8860b;
    --accent-light: #f6e3b4;
    --pi-blue: #1e3a8a;
    --pi-blue-light: #3b82f6;
    --text-dark: #ffffff;
    --text-muted: #888888;
    --text-light: #bbbbbb;
    --bg-white: #050505;
    /* Deep Obsidian */
    --bg-silver: #0a0a0a;
    /* Polished Charcoal */
    --bg-dark: #000000;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-heavy: rgba(255, 255, 255, 0.06);

    /* Layout */
    --nav-height: 80px;
    --nav-height-mobile: 65px;
    --max-width: 1440px;

    /* Transitions & Timing */
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows & Effects */
    --shadow-premium: 0 40px 100px rgba(0, 0, 0, 0.15);
    --shadow-soft: 0 10px 40px rgba(255, 255, 255, 0.05);
    --shadow-hover: 0 30px 80px rgba(0, 0, 0, 0.3);
    --text-shadow-premium: 0 4px 15px rgba(0, 0, 0, 0.4);
    --text-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.15);
    --text-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.6);
    --glow-accent: 0 0 30px rgba(212, 175, 55, 0.25);

    --glass-bg: var(--bg-glass);
    --glass-border: rgba(255, 255, 255, 0.08);
    --blur: blur(20px);
    --accent-glow: 0 0 30px rgba(212, 175, 55, 0.15);

    /* Technical Elements */
    --font-mono: 'Courier New', monospace;
    --border-tech: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Base Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Global Navigation (Consistent with Customizer) --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary);
    color: white;
    transition: transform 0.3s ease, background 0.3s ease;
}

nav.nav-hidden {
    transform: translateY(-100%);
}

.navInner {
    max-width: 1400px;
    margin: 0 auto;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* PiDials Logo */
.piDialsLogo {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logoSymbol {
    font-size: 2.2rem;
    color: var(--accent);
    font-style: italic;
}

.logoText {
    letter-spacing: 2px;
    font-weight: 400;
    color: white;
}

.logoLink {
    transition: var(--transition-fast);
}



.logoLink:hover .logoText {
    color: var(--accent-light);
}

.navSide {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.navCenter {
    flex: 0 0 auto;
}

.navRight {
    justify-content: flex-end;
}

/* --- Cart Toggle --- */
.cartToggle {
    position: relative;
    font-size: 1.3rem;
    /* Minimal cart icon size */
    cursor: pointer;
    color: white;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    top: 2px;
    /* Visual adjustment for mobile/desktop alignment */
}

.cartToggle:hover {
    color: var(--accent-light);
    transform: translateY(-2px);
}

.cartCount {
    position: absolute;
    top: -2px;
    right: -6px;
    background: var(--accent-light);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Landing Page Sections --- */

/* Hero Section */
.heroSection {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Better vertical balance on short viewports */
    gap: 0;
    background: #000;
    overflow: hidden;
}

.heroBg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: blurHeroBg 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2.75s forwards;
}

@keyframes blurHeroBg {
    0% {
        filter: blur(0px) brightness(1);
    }

    100% {
        filter: blur(12px) brightness(0.6);
    }
}

.heroBottomBars {
    width: 100%;
    margin-top: auto;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;

}

/* Base states for animation */
.heroContentWrapper {
    animation: revealHeroElem 1.5s cubic-bezier(0.16, 1, 0.3, 1) 3.5s both;
}

.socialProofBar {
    animation: revealHeroElem 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: clamp(10px, 1.5vh, 20px) 0;
    border-top: 3px solid rgba(255, 255, 255, 0.05);
}

.socialProofBar .container>div {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    /* Prevent messy two-row layout */
    gap: clamp(5px, 3vw, 40px);
}

.socialProofBar .proofValue {
    display: block;
    font-size: clamp(0.75rem, 1.2vw, 1.2rem);
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
}

.socialProofBar .proofLabel {
    font-size: clamp(0.45rem, 0.7vw, 0.7rem);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 2px);
    color: var(--accent);
    white-space: nowrap;
}



.confidenceStrip {
    animation: revealHeroElem 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: clamp(12px, 2vh, 25px) 0;
    border-bottom: 3px solid rgba(255, 255, 255, 0.05);
    margin-top: -1px;
    /* Resolve 1px rendering gap */
}

.confidenceStrip .container {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 2.5vw, 30px);
    flex-wrap: nowrap;
    /* Ensure items stay on one row */
    font-size: clamp(0.45rem, 0.75vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.5vw, 1.5px);
    color: var(--text-muted);
    font-weight: 600;
}

.confidenceStrip .container span {
    white-space: nowrap;
}

#mainNav {
    animation: revealHeroFade 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}



@keyframes revealHeroElem {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealHeroFade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.heroContentWrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-grow: 1;
}

.heroText {
    z-index: 2;
    /* Removed flex: 1 to prevent unexpected stretching */
}

.reveal-left.active {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: clamp(20px, 5%, 50px);
    margin: clamp(10px, 2vh, 40px) 0;
    width: 660px;
    max-width: 100%;
    /* Safety cap */
    min-height: min-content;
    /* Grow with content to prevent button overflow */
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
}

.reveal-left.active:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
    transition: var(--transition);
}

@media (max-width: 768px) {
    /* Styles moved to main media query at the bottom for better consolidation */
}

.heroBadge {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 25px;
    font-family: var(--font-mono);
}

.heroTitle {
    font-size: clamp(2rem, 5vw, 5rem);
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.accentText {
    color: var(--accent);
    font-style: italic;
    font-weight: 300;
}

.heroLead {
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 50px;
    line-height: 1.8;
}

.heroActions {
    display: flex;
    gap: 20px;
}

.heroVisual {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.watchStage {
    position: relative;
    width: 100%;
}

.heroWatch {
    width: 100%;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.15));
    animation: watchFloat 8s ease-in-out infinite;
}

@keyframes watchFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(1deg);
    }
}

/* Mathematical Background Decoration */
.piBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.piDigit {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: rgba(197, 160, 89, 0.12);
    font-weight: 300;
    animation: float 15s ease-in-out infinite;
    letter-spacing: 2px;
}

/* Philosophy Section - Revamped Luxury */
.philosophySection {
    position: relative;
    height: 100vh;
    height: 100svh;
    /* Screen-safe height */
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: #050505;
    color: var(--text-light);
    overflow: hidden;
    box-sizing: border-box;
}

.philosophyBgPattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: url('../img/misc/black_gold_marble_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    filter: blur(4px) brightness(0.8);
}

.philosophySection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 5, 5, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.philosophySection .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.philosophySection .sectionLabel {
    border-color: var(--accent);
    color: var(--accent);
    margin-bottom: 8px;
    align-self: baseline;
    /* Override base 15px */
}

.philosophySection .sectionTitle {
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 8px;
    /* Override base 35px - keep elements tight */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* Philosophy Section Layout - 2 Column Approach */
.philosophyGrid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0 50px;
    align-items: center;
}

.philosophyTextColumn {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.philosophyGrid p {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 0;
}

.philosophyGrid strong {
    color: var(--accent-light);
}

.philosophyHighlight {
    font-size: clamp(1.1rem, 1.3vw, 1.3rem) !important;
    font-style: italic;
    color: var(--accent) !important;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
    margin-top: 5px;
}

.philosophyVisualContainer {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.philosophyImageFrame {
    position: relative;
    width: 100%;
    max-width: none;
    /* Let the grid column control the width */
    border-radius: 6px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(212, 175, 55, 0.04) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(212, 175, 55, 0.03);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s ease;
    animation: floatingFrame 6s ease-in-out infinite;
}

.philosophyImageFrame:hover {
    transform: rotateY(-4deg) rotateX(2deg);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), inset 0 0 50px rgba(212, 175, 55, 0.08), 0 0 20px rgba(212, 175, 55, 0.15);
    animation-play-state: paused;
}

@keyframes floatingFrame {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.philosophyImageWrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Square for height control */
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background: #000;
}

.philosophyImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.15) brightness(0.9) grayscale(0.2);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1), filter 2s ease;
}

.philosophyImageFrame:hover .philosophyImage {
    transform: scale(1.08);
    filter: contrast(1.2) brightness(1.1) grayscale(0);
}

.overlayTextAlwaysVisible {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    padding: 60px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    transition: var(--transition);
}

.philosophyImageFrame:hover .overlayTextAlwaysVisible {
    color: var(--accent-light);
    letter-spacing: 3.5px;
    padding-bottom: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
}

.overlayTextAlwaysVisible .dotSeparator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

/* Corner Accents */
.frameCorner {
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--accent);
    border-style: solid;
    z-index: 5;
    transition: all 0.5s ease;
    opacity: 0.4;
}

.frameCorner.tl {
    top: -1px;
    left: -1px;
    border-width: 1.5px 0 0 1.5px;
}

.frameCorner.tr {
    top: -1px;
    right: -1px;
    border-width: 1.5px 1.5px 0 0;
}

.frameCorner.bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 1.5px 1.5px;
}

.frameCorner.br {
    bottom: -1px;
    right: -1px;
    border-width: 0 1.5px 1.5px 0;
}

.philosophyImageFrame:hover .frameCorner {
    width: 25px;
    height: 25px;
    opacity: 1;
    border-color: var(--accent-light);
}

.philosophyButtonContainer {
    margin-top: 8px;
    /* Tight with text above */
}

@media (max-width: 992px) {
    .philosophySection {
        height: auto;
        max-height: none;
        min-height: auto;
        padding: 80px 0;
        overflow: visible;
    }

    .philosophySection .sectionLabel {
        align-self: center;
    }

    .philosophyGrid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .philosophyTextColumn {
        display: contents;
        /* Unwrap so children can be reordered */
    }

    .philosophyPara1 {
        order: 1;
    }

    .philosophyVisualContainer {
        order: 2;
        padding-top: 0;
    }

    .philosophyPara2 {
        order: 3;
    }

    .philosophyHighlight {
        order: 4;
        margin-top: 10px;
    }

    .overlayTextAlwaysVisible {
        flex-direction: column;
        gap: 5px;
        padding-top: 80px;
        text-align: center;
    }

    .overlayTextAlwaysVisible .dotSeparator {
        display: none;
    }

    .philosophyButtonContainer {
        display: flex;
        justify-content: center;
        width: 100%;
        text-align: center;
        order: 5;
    }
}



/* Features Section */
.featuresSection {
    padding: 150px 0;
}

.featuresGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.featureCard {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-silver);
    border-radius: 16px;
    transition: var(--transition);
}

.featureCard:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
}

.featureIcon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 25px;
}

.featureCard h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.featureCard p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* How It Works Section */
.howItWorksSection {
    padding: 150px 0;
}

.stepsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.stepCard {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.stepCard:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.stepNumber {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.7;
}

.stepCard h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.stepCard p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Use Cases Section */
.useCasesSection {
    padding: 120px 0;
}

.useCasesGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.useCaseCard {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.useCaseCard:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.useCaseIcon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 30px;
}

.useCaseCard h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.useCaseCard p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Final CTA Section */
.finalCta {
    padding: 150px 0;
    background: var(--accent);
    color: white;
    position: relative;
    overflow: hidden;
}

.finalCta::before {
    content: 'π';
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-size: 35rem;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
}

.finalCta .container {
    position: relative;
    z-index: 1;
}

/* Story Section */
.storySection {
    padding: 150px 0;
    background: var(--bg-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.storyGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.sectionLabel {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: flex;
    border: 1px solid var(--accent);
    width: fit-content;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 10px;
}

.philosophySection .sectionLabel {
    margin-left: 0;
    margin-right: 0;
}

.sectionTitle {
    font-size: 4rem;
    margin-bottom: 35px;
}

.commisionssection .sectionTitle {
    margin-bottom: 0px !important;
}

.storyContent p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Featured Gallery */
.gallerySection {
    padding: 120px 0;
}

.galleryGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.galleryItem {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #111 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.galleryItem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 2;
}

.galleryItem:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.galleryImgBox {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #000;
}

.galleryImgBox::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(5, 5, 5, 1) 0%, transparent 100%);
    z-index: 1;
}

.galleryImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.9;
}

.galleryItem:hover .galleryImg {
    transform: scale(1.08);
    opacity: 1;
}

.galleryInfo {
    padding: 0 40px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: -20px;
}

.galleryInfo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.galleryInfo p.galleryDesc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.galleryInfo p.galleryMeta {
    font-size: 0.75rem;
    color: var(--accent);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.galleryActions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.galleryBtn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.galleryBtn.primary {
    background: var(--accent);
    color: #000;
    border: 1px solid var(--accent);
}

.galleryBtn.primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.galleryBtn.secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.galleryBtn.secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Button Stylings */
.btn {
    display: inline-block;
    padding: 18px 45px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border-radius: 0;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-mono);
    /* Technical feel for buttons */
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    /* For ripple effect */
}

.btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btnPrimary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.btnPrimary:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

/* Global Alternating Sections (bottom-up: last section = silver, alternating upward) */
main>section:nth-last-child(odd),
.page-container>section:nth-last-child(odd) {
    background: var(--bg-silver);
}

main>section:nth-last-child(even),
.page-container>section:nth-last-child(even) {
    background: var(--bg-white);
}

.bg-white {
    background: var(--bg-white) !important;
}

.bg-silver {
    background: var(--bg-silver) !important;
}

.btnOutline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.btnOutline:hover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
    color: var(--accent-light);
    transform: translateY(-5px);
    box-shadow: var(--glow-accent);
}

/* --- New Sections Styles --- */

.whyPiSection {
    padding: 120px 0;
    background: #050505;
    color: white;
    text-align: center;
}

.confrontationalLead {
    font-size: 2.2rem;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.3;
    font-weight: 300;
}

.confrontationalLead strong {
    color: var(--accent);
    font-weight: 700;
}

/* Comparison Table */
.comparisonSection {
    padding: 120px 0 80px;
}

.comparisonGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 900px) {
    .comparisonGrid {
        grid-template-columns: 1fr;
    }

    .comparisonHeader {
        display: none;
        /* Hide headers on mobile for cleaner stack */
    }

    .comparisonCell::before {
        content: attr(data-label);
        /* Add labels via CSS if needed, or simply let them stack */
        display: block;
        font-weight: 700;
        margin-bottom: 5px;
        font-size: 0.8rem;
        color: var(--text-muted);
        text-transform: uppercase;
    }
}

.comparisonHeader {
    background: #111;
    padding: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.comparisonHeader:hover {
    background: var(--bg-silver);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.comparisonHeader.piHeader {
    background: #050505;
    color: var(--accent);
    border-left: 2px solid var(--accent);
}

.comparisonHeader.piHeader:hover {
    background: #050505;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.comparisonRow {
    display: contents;
}

.comparisonCell {
    background: var(--bg-white);
    padding: 40px;
    text-align: left;
}

.comparisonCell:hover {
    background: var(--bg-silver);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.comparisonCell h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.comparisonCell p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.comparisonCell.piCell {
    background: var(--bg-silver);
    border-left: 4px solid var(--accent);
    position: relative;
}

.comparisonCell.piCell::after {
    content: 'PIDIALS_SPEC';
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--accent);
    opacity: 0.5;
    letter-spacing: 1px;
}


.commissionCard:hover {
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    transform: translateY(-5px);
}


/* Value Props */
.valuePropsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.valuePropCard {
    padding: 40px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.valuePropCard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.valuePropBadge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

/* --- Checkout Page Styles Moved to checkout.css --- */

/* --- Cart Drawer (Ultra Luxury Dark Theme) --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 420px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -8px 0 60px rgba(0, 0, 0, 0.6), -2px 0 20px rgba(212, 175, 55, 0.05);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(212, 175, 55, 0.15);
}

.cart-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 35px 40px 30px;
    background: var(--bg-white);
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.drawer-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.drawer-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.close-drawer-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-drawer-btn:hover {
    color: var(--accent);
    border-color: rgba(212, 175, 55, 0.3);
    transform: rotate(90deg);
    background: rgba(212, 175, 55, 0.05);
}

/* Luxury Scrollbar for Cart Items */
.drawer-items::-webkit-scrollbar {
    width: 4px;
}

.drawer-items::-webkit-scrollbar-track {
    background: transparent;
}

.drawer-items::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 2px;
}

.drawer-items::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.4);
}

.drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 30px 35px;
    background: var(--bg-silver);
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.2) transparent;
}

.drawer-item {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    padding: 22px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 8px;
    position: relative;
}

.drawer-item:last-child {
    border-bottom: none;
}

.drawer-item:hover {
    background: rgba(212, 175, 55, 0.03);
    border-color: rgba(212, 175, 55, 0.08);
    transform: translateX(4px);
}

.drawer-item img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    background: #080808;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.drawer-item:hover img {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(212, 175, 55, 0.05);
}

.drawer-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.drawer-item-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    color: var(--text-dark);
    margin-bottom: 2px;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.drawer-item-price {
    color: var(--accent);
    font-size: 1rem;
    font-family: var(--font-mono);
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.drawer-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}

.drawer-remove-btn,
.drawer-edit-btn {
    font-size: 0.7rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.drawer-remove-btn::after,
.drawer-edit-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    transition: width 0.3s ease;
}

.drawer-remove-btn {
    color: rgba(255, 87, 87, 0.6);
}

.drawer-remove-btn::after {
    background: #ff5757;
}

.drawer-remove-btn:hover {
    color: #ff5757;
}

.drawer-remove-btn:hover::after {
    width: 100%;
}

.drawer-edit-btn {
    color: var(--text-muted);
}

.drawer-edit-btn::after {
    background: var(--accent);
}

.drawer-edit-btn:hover {
    color: var(--accent);
}

.drawer-edit-btn:hover::after {
    width: 100%;
}

.drawer-footer {
    padding: 35px 40px 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    background: var(--bg-white);
    position: relative;
}

.drawer-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.drawer-total {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.drawer-total span {
    color: var(--accent);
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

@keyframes cartBtnShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.drawer-footer .checkoutBtn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    background-size: 200% auto;
    color: var(--primary);
    border: none;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.drawer-footer .checkoutBtn:hover {
    animation: cartBtnShimmer 2s linear infinite;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    letter-spacing: 4px;
}

.shaking {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.notify-error {
    color: #ff5757;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    height: 2.5em;
    margin-top: 15px;
    text-align: center;
    visibility: hidden;
    white-space: pre-line;
    line-height: 1.2;
    width: 100%;
}

.notify-error.active {
    visibility: visible;
}



.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.open {
    display: block;
    opacity: 1;
}

/* --- Scroll Indicator --- */
.scrollIndicator {
    position: absolute;
    bottom: 40px;
    left: 100px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
}

.scrollLine {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* --- Responsive Optimization --- */
@media (max-width: 1100px) {
    .heroTitle {
        font-size: 4rem;
    }

    .storyGrid {
        gap: 60px;
    }
}

@media (max-width: 900px) {
    :root {
        --nav-height: 60px;
        /* Even more compact on mobile */
    }

    .navInner {
        padding: 0 20px;
    }

    .storyGrid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sectionTitle {
        font-size: 3rem;
    }

    .galleryGrid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cart-item img {
        width: 100%;
        max-width: 250px;
    }

    .scrollIndicator {
        display: none;
    }
}

@media (max-width: 600px) {
    .navInner {
        height: var(--nav-height-mobile);
    }

    /* Remove: heroTitle override now handled by clamp() globally */

    .cart-drawer {
        width: 350px;
        max-width: 100%;
    }
}

/* --- PiDials Enhanced Animations & Effects --- */

/* Scroll Reveal Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Particle / Mathematical Visualization */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Utility Classes for Scroll Animations */
.reveal {
    opacity: 0;
}

.reveal.active {
    animation: fadeInUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.reveal-left {
    opacity: 0;
}

.reveal-left.active {
    animation: fadeInLeft 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.reveal-right {
    opacity: 0;
}

.reveal-right.active {
    animation: fadeInRight 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.scale-in {
    opacity: 0;
}

.scale-in.active {
    animation: scaleIn 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-up.active {
    animation: fadeInUpward 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes fadeInUpward {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
}

.reveal-blur.active {
    animation: blurReveal 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes blurReveal {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.reveal-rotate {
    opacity: 0;
    transform: translateY(30px) rotate(-3deg);
}

.reveal-rotate.active {
    animation: rotateReveal 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes rotateReveal {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(-3deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

/* Stagger Delays */
.delay-1 {
    animation-delay: 0.1s !important;
}

.delay-2 {
    animation-delay: 0.2s !important;
}

.delay-3 {
    animation-delay: 0.3s !important;
}

.delay-4 {
    animation-delay: 0.4s !important;
}

.delay-5 {
    animation-delay: 0.5s !important;
}

/* Global Click Shimmer — luxury light-sweep on the clicked element */
.luxury-click-shimmer {
    position: relative;
    overflow: hidden;
}

.luxury-click-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 20%,
            rgba(255, 255, 255, 0.55) 50%,
            transparent 80%);
    pointer-events: none;
    z-index: 9999;
    animation: luxuryShimmerSweep 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    border-radius: inherit;
}

@keyframes luxuryShimmerSweep {
    0% {
        left: -120%;
        opacity: 1;
    }

    100% {
        left: 160%;
        opacity: 0;
    }
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--pi-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Parallax Container */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* Hover Lift Effect */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced Navigation Links (for new pages) */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--accent-light);
}

.nav-link:active {
    transform: scale(0.95);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-fast);
}

.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--primary);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 20px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Overall Mobile Adjustments */
    .container {
        padding: 0 30px;
    }

    .btn {
        max-width: 90%;
        margin: 10px auto !important;
        /* Force centering and spacing */
        display: block;
    }

    .sectionTitle {
        font-size: 2.8rem !important;
    }

    /* Hero Mobile — strictly 100dvh, bars docked to bottom */
    .heroSection {
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        padding-top: var(--nav-height);
        padding-bottom: 0;
        overflow: hidden;
        justify-content: center;
        /* Center content between nav and bottom bars */
        display: flex;
        flex-direction: column;
    }

    .heroContentWrapper {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0 15px;
        gap: clamp(5px, 1.5vh, 20px);
        flex-grow: 1;
        min-height: 0;
        margin-top: 0;
        /* Reset previous nudge */
        display: flex;
        align-items: center;
        /* Center horizontally */
    }

    .reveal-left.active {
        width: 90%;
        /* Side gaps for background visibility */
        max-width: 660px;
        padding: 30px 20px;
        margin: 0 auto;
        border-radius: 1.5rem;
        /* Floating card look */
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center contents */
    }

    .heroWatch {
        max-width: 350px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .heroTitle {
        font-size: clamp(1.4rem, 8vw, 2.8rem);
        margin-bottom: clamp(6px, 1vh, 15px);
        line-height: 1.2;
    }

    .heroBadge {
        font-size: clamp(0.5rem, 1.5vw, 0.65rem);
        margin-bottom: clamp(5px, 1vh, 15px);
        padding: 5px 10px;
    }

    .heroLead {
        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
        margin-left: auto;
        margin-right: auto;
        margin-bottom: clamp(8px, 1.5vh, 20px);
        line-height: 1.5;
    }

    .heroActions {
        justify-content: center;
        align-items: center;
        /* Center buttons horizontally */
        flex-direction: column;
        gap: clamp(5px, 1vh, 10px);
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: clamp(10px, 1.5vh, 14px) 20px;
        font-size: clamp(0.65rem, 2.5vw, 0.8rem);
        margin: 10px auto !important;
    }

    /* Other Sections Mobile */
    .philosophySection,
    .featuresSection,
    .storySection {
        padding: 80px 0;
    }

    .philosophyGrid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        margin-bottom: 50px;
    }

    .philosophyVisual {
        padding: 40px 20px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .piSymbol {
        font-size: 5rem;
    }

    .piValue {
        font-size: 0.8rem;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .heroTitle {
        font-size: 2.4rem;
    }

    .sectionTitle {
        font-size: 2.2rem !important;
    }

    .confidenceStrip .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;
        /* Reduced vertical gap */
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
    }

    .confidenceStrip .container span {
        white-space: normal;
        line-height: 1.2;
        display: flex;
        flex-direction: row;
        /* Inline icon for compactness */
        align-items: center;
        justify-content: center;
        font-size: 0.6rem;
        /* Smaller base for mobile */
    }

    .confidenceStrip .container span i {
        margin-right: 4px !important;
        margin-bottom: 0;
        /* Inline with text */
        font-size: 1em;
        /* Match text size exactly */
    }

    .socialProofBar {
        padding: 8px 0;
        /* Tighter vertical space */
    }

    .confidenceStrip {
        padding: 8px 0;
        /* Tighter vertical space */
    }
}

@media (max-width: 380px) {
    .socialProofBar .container>div {
        flex-wrap: nowrap;
        /* Strictly single line */
        justify-content: space-between;
        gap: 5px;
    }

    .socialProofBar .container>div>div {
        flex: 1;
        min-width: 0;
    }

    .socialProofBar .proofValue {
        font-size: clamp(0.55rem, 3.5vw, 0.85rem);
        /* Ultra aggressive scaling */
    }

    .socialProofBar .proofLabel {
        font-size: clamp(0.35rem, 2vw, 0.5rem);
        /* Ultra aggressive scaling */
        letter-spacing: 0.5px;
    }

    .confidenceStrip .container {
        gap: 6px 8px;
        font-size: 0.55rem;
    }

    .container {
        padding: 0 10px !important;
    }
}

/* Short Viewport Optimizations — ensure all hero elements are visible */
@media (max-height: 700px) {
    .heroSection {
        padding-top: 60px;
    }

    .heroBadge {
        margin-bottom: 5px;
    }

    .heroTitle {
        font-size: clamp(1.5rem, 6vh, 2.5rem);
        margin-bottom: 5px;
    }

    .heroLead {
        font-size: 0.8rem;
        margin-bottom: 15px;
        margin-top: 0;
        line-height: 1.4;
    }

    .heroActions {
        gap: 5px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.7rem;
    }
}

@media (max-height: 550px) {
    .heroBadge {
        display: none;
    }

    .heroLead {
        display: none;
    }

    .heroContentWrapper {
        gap: 5px;
    }

    .heroTitle {
        font-size: 1.8rem;
    }

    .socialProofBar,
    .confidenceStrip {
        padding: 8px 0;
    }
}

/* --- Extended Use Cases Section (Consumer) --- */
.useCaseGridEnhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.useCaseItemEnhanced {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.useCaseItemEnhanced:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.useCaseItemEnhanced h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.useCaseItemEnhanced p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Enterprise Section (B2B) --- */
.enterpriseSection {
    padding: 120px 0;
    background: #080808;
    color: white;
    position: relative;
    border-top: 1px solid #222;
}

.enterpriseGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.enterpriseItem {
    border-left: 1px solid #333;
    padding-left: 30px;
}

.enterpriseItem:hover {
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    transform: translateY(-5px);
}

.enterpriseItem h4 {
    color: var(--accent);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: var(--font-mono);
}

.enterpriseItem h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

footer {
    padding: 100px 0;
    background: var(--bg-white);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

footer a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--accent);
}

.commissionsSection {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0px;
    padding: 80px 0;
}

.ribbon-container {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.ribbon-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.btnEnterprise {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-mono);
}

.btnEnterprise:hover {
    background: var(--accent);
    color: white;
    box-shadow: var(--glow-accent);
}

.enterpriseItem p {
    color: #888;
    line-height: 1.7;
    margin-bottom: 10px;
}

.enterpriseCtaBox {
    margin-top: 80px;
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.btnEnterprise {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    transition: var(--transition);
    margin-top: 20px;
}

.btnEnterprise:hover {
    background: var(--accent);
    color: var(--text-dark);
    box-shadow: var(--glow-accent);
    transform: translateY(-5px);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .enterpriseGrid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Animation & Reveal Classes --- */
.reveal,
.reveal-left,
.reveal-right,
.scale-in {
    opacity: 0;
    transition: var(--transition-slow);
    will-change: transform, opacity;
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.scale-in {
    transform: scale(0.95);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.scale-in.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Luxury Staggering logic (for JS or handled via variable delays) */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* Interactive Transformations */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.glow-on-hover:hover {
    box-shadow: var(--glow-accent);
}

/* Hero Content Animation Tweaks */
.heroText,
.heroVisual {
    /* These use reveal classes in HTML, but let's ensure they feel smooth */
    transition-duration: 1.2s;
}

.heroVisual.active .heroWatch {
    animation: watchFloat 8s ease-in-out infinite;
}

/* Global Interactive Shadows for Main */
h1,
h2,
h3,
h4,
p,
span,
a,
label,
.heroTitle,
.sectionTitle,
.heroLead {
    text-shadow: var(--text-shadow-soft, 0 2px 8px rgba(0, 0, 0, 0.15));
    transition: text-shadow var(--transition-fast, 0.2s);
}



/* Box Shadow Progression: Soft -> Premium */
.btn,
.featureCard,
.stepCard,
.useCaseCard,
.commissionCard,
.galleryItem,
.philosophyVisual {
    box-shadow: var(--shadow-soft, 0 10px 40px rgba(255, 255, 255, 0.05));
    transition: var(--transition) !important;
}

.btn:hover,
.featureCard:hover,
.stepCard:hover,
.useCaseCard:hover,
.commissionCard:hover,
.galleryItem:hover,
.philosophyVisual:hover {
    box-shadow: var(--shadow-premium, 0 40px 100px rgba(0, 0, 0, 0.15)) !important;
}

/* Box Shadow Progression: Premium -> Hover */
.reveal-left {
    box-shadow: var(--shadow-premium, 0 40px 100px rgba(0, 0, 0, 0.15));
    transition: box-shadow var(--transition, 0.5s);
}

.reveal-left:hover {
    box-shadow: var(--shadow-hover, 0 30px 80px rgba(0, 0, 0, 0.3)) !important;
}

/* Navigation Reveal */
#mainNav {
    transform: translateY(0);
    transition: var(--transition);
}

#mainNav.nav-hidden {
    transform: translateY(-100%);
}

/* --- Marquee Ribbon --- */
.ribbon-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0 80px;
    white-space: nowrap;
    display: flex;
}

.ribbon-container::before,
.ribbon-container::after {
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    content: "";
    z-index: 2;
}

.ribbon-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-silver) 0%, transparent 100%);
}

.ribbon-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-silver) 0%, transparent 100%);
}

.ribbon-track {
    display: flex;
    gap: 30px;
    animation: marquee 60s linear infinite;
    padding-right: 30px;
    width: max-content;
}



@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.commissionCard {
    flex: 0 0 auto;
    width: 300px !important;
    white-space: normal;
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* ========================================================================= */
/* GALLERY DYNAMIC CAROUSEL & MODAL (ULTRA LUXURY)                           */
/* ========================================================================= */

/* Index Carousel */
.gallery-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 0;
}

/* Add subtle fade gradients to edges */
.gallery-carousel-wrapper::before,
.gallery-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10vw;
    z-index: 10;
    pointer-events: none;
}

.gallery-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.gallery-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.gallery-carousel {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: luxurious-scroll 45s linear infinite;
    padding: 0 5vw;
}

.gallery-carousel:hover {
    animation-play-state: paused;
}

.gallery-carousel .galleryItem {
    width: 400px;
    flex-shrink: 0;
    transform: translateZ(0);
    /* Hardware acceleration */
}

@keyframes luxurious-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }

    /* Assuming we duplicate items with JS for seamless loop */
}

/* Learn More Tertiary Button */
.galleryBtn.tertiary {
    background: transparent;
    color: var(--text-light);
    border: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 0;
    padding: 10px 0;
    margin-top: 5px;
    font-size: 0.7rem;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.galleryBtn.tertiary:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
    transform: translateY(-2px);
}

/* Luxury Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 2;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.gallery-modal.active .gallery-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease, transform 0.3s ease;
}

.gallery-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.gallery-modal-layout {
    display: flex;
    height: 100%;
}

/* Modal Left: Image Carousel */
.gallery-modal-left {
    width: 45%;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.modal-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.modal-img-placeholder.active {
    opacity: 1;
}

.modal-carousel-nav {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-nav-dot.active {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* Modal Right: Text Content */
.gallery-modal-right {
    width: 55%;
    padding: 60px;
    overflow-y: auto;
    /* Custom luxury scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #111;
}

.gallery-modal-right::-webkit-scrollbar {
    width: 6px;
}

.gallery-modal-right::-webkit-scrollbar-track {
    background: #111;
}

.gallery-modal-right::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-subtitle {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 1px;
}

.modal-seo-para {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Expandable Blog Section */
.modal-expandable {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-bottom: 40px;
}

.modal-expand-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.modal-expand-btn:hover {
    color: var(--accent);
}

.modal-expand-btn .chevron {
    transition: transform 0.4s ease;
    font-size: 0.7rem;
}

.modal-expand-btn.active .chevron {
    transform: rotate(180deg);
}

.modal-blog-post {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.modal-blog-post.expanded {
    max-height: 2000px;
    /* Arbitrary large number to allow content */
    opacity: 1;
    margin-top: 20px;
}

.modal-blog-post h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 25px 0 15px;
    font-family: 'Playfair Display', serif;
}

.modal-blog-post p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Override existing button margins for modal */
.gallery-modal-right .modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.gallery-modal-right .galleryBtn {
    width: auto;
    flex: 1;
}

@media (max-width: 991px) {
    .gallery-modal-layout {
        flex-direction: column;
    }

    .gallery-modal-left {
        width: 100%;
        height: 40%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .gallery-modal-right {
        width: 100%;
        height: 60%;
        padding: 30px;
    }

    .modal-carousel-nav {
        right: auto;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }
}

/* Modal Blog Images Layout */
.modal-blog-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
    margin-top: 15px;
}

.modal-blog-images img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .modal-blog-images {
        grid-template-columns: 1fr;
    }
}/* Vertical Stack Images for Modal */
.gallery-modal-left.vertical-stack-images {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px;
    gap: 15px;
    background: #000;
}

.gallery-modal-left.vertical-stack-images .stacked-img {
    width: 100%;
    height: 30%;
    /* For 3 images */
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-modal-left.vertical-stack-images.four-images .stacked-img {
    height: 23%;
    /* For 4 images */
}

.gallery-modal-back {
    position: absolute;
    top: 25px;
    left: 25px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.gallery-modal-back:hover {
    color: var(--accent);
}