/* ========================================
   QUANTUM SCIENCE - PRICE SHEET
   Premium Regenerative Medicine Catalog
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Color Palette - Amber Gold & Emerald + Logo Holographic */
    --color-deep-black: #0a0a0a;
    --color-charcoal: #121210;
    --color-warm-gray: #1a1814;
    --color-gold: #D4A574;
    --color-gold-light: #E8C89E;
    --color-gold-bright: #F0D77A;
    --color-amber: #C4956A;
    --color-copper: #B87333;
    --color-emerald: #2D5A3D;
    --color-emerald-light: #3D7A4D;
    --color-cream: #FAF8F5;
    --color-pearl: #F5F3F0;
    --color-smoke: #8a8a8a;
    --color-white: #ffffff;

    /* Logo Holographic Colors */
    --color-holo-blue: #4169E1;
    --color-holo-cyan: #00CED1;
    --color-holo-teal: #40E0D0;
    --color-holo-coral: #FF7F7F;
    --color-holo-pink: #FFB6C1;
    --color-holo-lavender: #E6E6FA;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Gradients - Gold & White */
    --gradient-holo-title: linear-gradient(90deg,
            var(--color-gold) 0%,
            #FFFFFF 50%,
            var(--color-gold) 100%);
    --gradient-holo-reverse: linear-gradient(90deg,
            #FFFFFF 0%,
            var(--color-gold) 50%,
            #FFFFFF 100%);
    --gradient-gold-holo: linear-gradient(90deg,
            var(--color-gold) 0%,
            #FFFFFF 50%,
            var(--color-gold) 100%);

    /* Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Peptide Background Image Opacity - ADJUSTABLE
       Change this value to control how visible peptide images are behind product cards
       0.0 = invisible, 0.1 = very faded, 0.25 = moderately visible, 0.4 = quite visible */
    --peptide-bg-opacity: 0.15;

    /* Card Backdrop Blur - ADJUSTABLE  
       Creates frosted glass effect on the card window. Peptide images stay sharp.
       0 = no blur, 8px = subtle blur, 16px = heavy frosted glass */
    --card-backdrop-blur: 8px;
}

/* ========================================
   HOLOGRAPHIC TITLE STYLES
   ======================================== */
.holo-title {
    background: var(--gradient-holo-title);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holoShift 24s linear infinite;
}

.holo-title-reverse {
    background: var(--gradient-holo-reverse);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holoShift 24s linear infinite reverse;
}

.holo-title-gold {
    background: var(--gradient-gold-holo);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holoShift 24s linear infinite;
}

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

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

/* Iridescent glow effect for cards */
.iridescent-border {
    position: relative;
}

.iridescent-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg,
            var(--color-holo-blue),
            var(--color-holo-cyan),
            var(--color-holo-teal),
            var(--color-gold),
            var(--color-holo-coral),
            var(--color-holo-pink),
            var(--color-holo-blue));
    background-size: 400% 400%;
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    animation: borderShift 6s linear infinite;
}

.iridescent-border:hover::before {
    opacity: 1;
}

@keyframes borderShift {
    0% {
        background-position: 0% 50%;
    }

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

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

/* ========================================
   MITO SHOWCASE - Side-by-Side Epic Layout
   ======================================== */
.mito-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 48px -40px;
    padding: 0 20px;
}

.mito-text-panel {
    position: relative;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(135deg,
            var(--color-gold) 0%,
            var(--color-holo-cyan) 50%,
            var(--color-gold-light) 100%);
    background-size: 200% 200%;
    animation: gradientBorderFlow 4s ease infinite;
}

.mito-text-inner {
    background: rgba(10, 10, 8, 0.95);
    border-radius: 18px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mito-text-inner h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mito-text-inner p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-smoke);
    margin-bottom: 24px;
}

.mito-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mito-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-cream);
    padding: 12px 16px;
    background: rgba(212, 165, 116, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    transition: all 0.3s ease;
}

.mito-benefits li:hover {
    background: rgba(212, 165, 116, 0.15);
    border-color: var(--color-gold);
    transform: translateX(4px);
}

.benefit-icon {
    font-size: 1.1rem;
    filter: grayscale(50%) brightness(1.3);
}

.mito-image-panel {
    position: relative;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(225deg,
            var(--color-holo-cyan) 0%,
            var(--color-gold) 50%,
            var(--color-holo-teal) 100%);
    background-size: 200% 200%;
    animation: gradientBorderFlow 4s ease infinite reverse;
    overflow: hidden;
}

.mito-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

@media (max-width: 900px) {
    .mito-showcase {
        grid-template-columns: 1fr;
        margin: 32px -20px;
    }

    .mito-benefits {
        grid-template-columns: 1fr;
    }
}

@keyframes gradientBorderFlow {
    0% {
        background-position: 0% 50%;
    }

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

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

/* ========================================
   WHY PEPTIDES V2 - Full Background + Glass Cards
   ======================================== */
.why-peptides-v2 {
    position: relative;
    padding: 100px 0;
    min-height: 100vh;
}

.philosophy-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 8, 0.92) 0%,
            rgba(10, 10, 8, 0.88) 30%,
            rgba(10, 10, 8, 0.90) 70%,
            rgba(10, 10, 8, 0.95) 100%);
    z-index: 0;
}

.philosophy-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.glass-card {
    background: rgba(10, 10, 8, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(10, 10, 8, 0.85);
    border-color: rgba(212, 165, 116, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 165, 116, 0.1);
}

.glass-card.featured-card {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, rgba(10, 10, 8, 0.8) 100%);
    border-color: rgba(212, 165, 116, 0.35);
}

/* Last card (The Solution) also spans full width */
.philosophy-cards .glass-card:last-child {
    grid-column: span 2;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-cream);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.glass-card .lead-text {
    font-size: 1.3rem;
    color: var(--color-gold);
    font-style: italic;
    margin-bottom: 16px;
}

.glass-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-smoke);
    margin-bottom: 12px;
}

.gold-text {
    color: var(--color-gold);
}

.mito-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    background-color: rgba(10, 10, 8, 0.7);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-cream);
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    transition: all 0.4s ease;
    min-height: 120px;
}

/* Barely visible backgrounds with gold sheen for ALL stat items */
.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.12) 0%, rgba(10, 10, 8, 0.88) 50%, rgba(10, 10, 8, 0.95) 100%);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.stat-item .stat-icon,
.stat-item span:not(.stat-icon) {
    position: relative;
    z-index: 2;
}

.stat-item:hover {
    background-color: rgba(10, 10, 8, 0.5);
    border-color: var(--color-gold);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.2);
}

.stat-icon {
    font-size: 1.8rem;
    filter: grayscale(100%) brightness(2);
    transition: filter 0.3s ease;
}

.stat-item:hover .stat-icon {
    filter: grayscale(100%) brightness(2.5) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.philosophical-close {
    font-style: italic;
    color: var(--color-gold-light) !important;
    margin-top: 8px;
}

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

    .glass-card.featured-card {
        grid-column: span 1;
    }

    .mito-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Floating particles container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0.3;
    animation: floatUp 15s linear infinite;
}

.particle:nth-child(even) {
    background: var(--color-holo-cyan);
    width: 3px;
    height: 3px;
}

.particle:nth-child(3n) {
    background: var(--color-holo-teal);
    width: 2px;
    height: 2px;
    animation-duration: 20s;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Card holographic shine effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 60%);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.card-shine:hover::after {
    transform: rotate(45deg) translateY(100%);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-deep-black);
    color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.4) 0%,
            rgba(10, 10, 10, 0.5) 40%,
            rgba(10, 10, 10, 0.75) 70%,
            rgba(10, 10, 8, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-md);
    max-width: 800px;
}

.hero-logo {
    margin-bottom: var(--space-md);
}

.logo-img {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212, 165, 116, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(212, 165, 116, 0.3));
    }

    to {
        filter: drop-shadow(0 0 40px rgba(212, 165, 116, 0.6));
    }
}

.hero-tagline {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    background: linear-gradient(90deg,
            var(--color-gold) 0%,
            var(--color-gold-bright) 25%,
            #fff8dc 50%,
            var(--color-gold-bright) 75%,
            var(--color-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite, fadeInUp 1s ease 0.3s forwards;
}

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

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-emerald-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.scroll-indicator span {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes scrollPulse {

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

    50% {
        opacity: 0.5;
        transform: scaleY(1.2);
    }
}

/* Wave Divider */
.wave-divider {
    width: 100%;
    height: 60px;
    background: var(--color-charcoal);
    position: relative;
    overflow: hidden;
}

.wave-divider::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,120 600,0 900,60 C1050,90 1150,60 1200,60 L1200,120 L0,120 Z' fill='%23121210'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation: wave 12s linear infinite;
}

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

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

/* ========================================
   WHY PEPTIDES SECTION - IMMERSIVE LAYOUT
   ======================================== */
.why-peptides {
    position: relative;
    padding: var(--space-2xl) var(--space-md);
    min-height: 100vh;
    background: var(--color-charcoal);
    overflow: hidden;
}

/* Epic DNA Background */
.why-peptides::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/dna-helix-epic.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.35;
    z-index: 0;
}

/* Gradient overlay for readability + seamless bottom fade */
.why-peptides::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, transparent 0%, transparent 70%, rgba(10, 10, 8, 1) 100%),
        linear-gradient(135deg,
            rgba(18, 18, 16, 0.85) 0%,
            rgba(18, 18, 16, 0.6) 40%,
            rgba(18, 18, 16, 0.4) 70%,
            rgba(18, 18, 16, 0.7) 100%);
    z-index: 1;
}

.section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--color-cream);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.philosophy-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Hide the separate image since it's now the background */
.philosophy-image {
    display: none;
}

.philosophy-text {
    color: var(--color-cream);
    backdrop-filter: blur(8px);
    background: rgba(18, 18, 16, 0.5);
    padding: var(--space-lg);
    border-radius: 16px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.philosophy-text p {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

.philosophy-text .lead-text {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
    text-shadow: 0 2px 15px rgba(212, 165, 116, 0.3);
}

.highlight-box {
    background: rgba(212, 165, 116, 0.12);
    border-left: 4px solid var(--color-gold);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.highlight-box h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 10px rgba(212, 165, 116, 0.3);
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.philosophical-close {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-emerald-light) !important;
    margin-top: var(--space-lg);
    text-shadow: 0 2px 15px rgba(163, 209, 166, 0.3);
}

/* ========================================
   CATALOG SECTION
   ======================================== */
.catalog {
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(180deg, var(--color-deep-black) 0%, var(--color-charcoal) 10%, var(--color-deep-black) 100%);
}

.category-section {
    max-width: 1200px;
    margin: 0 auto var(--space-lg);
    position: relative;
    padding: var(--space-md);
    border-radius: 16px;
    overflow: hidden;
}

/* Subtle background image effect */
.category-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    pointer-events: none;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
}

/* Category-specific background images */
.category-section:nth-child(1)::before {
    background-image: url('images/icon_metabolic_1770344054602.jpg');
}

.category-section:nth-child(2)::before {
    background-image: url('images/epic_recovery_regeneration_1770347245954.jpg');
}

.category-section:nth-child(3)::before {
    background-image: url('images/epic_brain_neuro_1770347280894.jpg');
}

.category-section:nth-child(4)::before {
    background-image: url('images/longevity-section-bg.jpg');
}

.category-section:nth-child(5)::before {
    background-image: url('images/epic_hormone_growth_1770347397532.jpg');
}

.category-section:nth-child(6)::before {
    background-image: url('images/immune-section-bg.jpg');
}

.category-section:nth-child(7)::before {
    background-image: url('images/nad-section-bg.jpg');
}

.category-section:nth-child(8)::before {
    background-image: url('images/injectable-blends-bg.jpg');
}

.category-section:nth-child(9)::before {
    background-image: url('images/dna-helix-epic.jpg');
}

.category-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.category-icon {
    display: none;
}

.category-icon img {
    display: none;
}

/* Fallback icons with CSS gradients */
.recovery-icon {
    background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-gold) 100%);
}

.neuro-icon {
    background: linear-gradient(135deg, #1a237e 0%, var(--color-gold) 100%);
}

.longevity-icon {
    background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-emerald) 100%);
}

.support-icon {
    background: linear-gradient(135deg, var(--color-smoke) 0%, var(--color-gold) 100%);
}

.category-info {
    flex: 1;
}

.category-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-smoke);
    margin-bottom: var(--space-xs);
}

.category-name {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-cream);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.5), 0 0 40px rgba(212, 165, 116, 0.3);
    animation: goldGlowPulse 3s ease-in-out infinite;
}

@keyframes goldGlowPulse {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(212, 165, 116, 0.4), 0 0 40px rgba(212, 165, 116, 0.2);
    }

    50% {
        text-shadow: 0 0 30px rgba(212, 165, 116, 0.8), 0 0 60px rgba(212, 165, 116, 0.5), 0 0 80px rgba(212, 165, 116, 0.3);
    }
}

.category-description {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-sm);
    padding: 20px 0;
}

.products-grid.compact {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Product Card - Image on Top, Text Below */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: clip;
    transition: all var(--transition-smooth);
    min-height: 320px;
}

/* Molecular Emergence Effect - Image fills entire card background */
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
    opacity: 0.15;
}

.product-card.no-background-image .product-image {
    display: none;
}

/* Epic glow effect on the image */
.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, transparent 20%, rgba(0, 0, 0, 0.7) 80%);
    pointer-events: none;
    z-index: 1;
}

/* Gradient overlay with gold sheen - fades from bottom-left to top-right */
.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right,
            rgba(10, 10, 8, 0.98) 0%,
            rgba(212, 165, 116, 0.15) 25%,
            rgba(10, 10, 8, 0.85) 45%,
            rgba(212, 165, 116, 0.08) 65%,
            transparent 85%);
    pointer-events: none;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 165, 116, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 165, 116, 0.15);
}

/* Epic zoom effect on image hover */
.product-card:hover .product-image img {
    transform: scale(1.15);
    opacity: 0.25;
}

.product-content {
    position: relative;
    z-index: 3;
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: auto;
}

.product-code {
    display: none;
    /* Hidden - redundant with product name */
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-cream);
    margin-bottom: 4px;
}

.product-strength {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-smoke);
    margin-bottom: var(--space-sm);
}

.product-description {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-sm);
}

.product-price {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.4);
}

/* Featured Product Card */
.product-card.featured {
    border-color: rgba(212, 165, 116, 0.4);
    background: rgba(212, 165, 116, 0.05);
}

.featured-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-amber) 100%);
    color: var(--color-deep-black);
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Signature Product Card */
.product-card.signature {
    border-color: var(--color-emerald);
    background: rgba(45, 90, 61, 0.1);
}

.signature-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-emerald-light) 100%);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Mini Product Card */
.product-card.mini .product-content {
    padding: var(--space-sm) var(--space-md);
}

.product-card.mini .product-name {
    font-size: 1.2rem;
}

.product-card.mini .product-price {
    font-size: 1.25rem;
}

/* ========================================
   CLOSING PHILOSOPHY
   ======================================== */
.closing-philosophy {
    padding: var(--space-2xl) var(--space-md);
    padding-top: 120px;
    background: url('images/future-health-hero.jpg') center top/contain no-repeat;
    background-color: #0a0a08;
    position: relative;
    text-align: center;
    min-height: 100vh;
}

.closing-philosophy-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 8, 0.95) 0%, rgba(10, 10, 8, 0.6) 25%, rgba(10, 10, 8, 0.3) 55%, rgba(10, 10, 8, 0.7) 100%);
    z-index: 0;
}

.closing-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.closing-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.closing-lead {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-cream);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.closing-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.closing-content .quote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-emerald-light);
    margin-top: var(--space-lg);
}

.closing-content .quote span {
    display: block;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--color-smoke);
    margin-top: var(--space-xs);
}

/* ========================================
   DISCLAIMER SECTION
   ======================================== */
.disclaimer-section {
    padding: var(--space-lg) var(--space-md);
    background: var(--color-warm-gray);
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-smoke);
    line-height: 1.8;
}

.disclaimer-text strong {
    color: var(--color-gold);
}

.disclaimer-icon {
    margin-right: var(--space-xs);
}

.disclaimer-text-secondary {
    margin-top: var(--space-sm);
    font-size: 0.78rem;
    opacity: 0.75;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-xl) var(--space-md);
    background: var(--color-deep-black);
    text-align: center;
}

.footer-logo {
    width: 100px;
    border-radius: 50%;
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.footer-copyright {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-smoke);
    letter-spacing: 0.1em;
}

.footer-disclaimer-block {
    max-width: 600px;
    margin: var(--space-sm) auto var(--space-md);
    padding: 18px 22px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 10px;
    background: rgba(212, 165, 116, 0.03);
}

.footer-disclaimer-label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 6px;
}

.footer-disclaimer-text {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    line-height: 1.7;
    color: var(--color-smoke);
    opacity: 0.8;
}

/* Modal disclaimer */
.modal-disclaimer {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.modal-disclaimer p {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-style: italic;
    color: var(--color-smoke);
    opacity: 0.6;
    line-height: 1.6;
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal */
.category-section:nth-child(1) {
    transition-delay: 0s;
}

.category-section:nth-child(2) {
    transition-delay: 0.1s;
}

.category-section:nth-child(3) {
    transition-delay: 0.2s;
}

.category-section:nth-child(4) {
    transition-delay: 0.3s;
}

.category-section:nth-child(5) {
    transition-delay: 0.4s;
}

.category-section:nth-child(6) {
    transition-delay: 0.5s;
}

.category-section:nth-child(7) {
    transition-delay: 0.6s;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 900px) {
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .philosophy-image {
        order: -1;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
    }

    .category-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

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

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-name {
        font-size: 1.5rem;
    }

    .philosophy-cards {
        grid-template-columns: 1fr;
    }

    .glass-card.featured-card,
    .philosophy-cards .glass-card:last-child {
        grid-column: span 1;
    }

    .mito-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-header::after {
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-content {
        padding: var(--space-sm);
    }

    .logo-img {
        width: 160px;
    }

    .product-content {
        padding: var(--space-sm);
    }

    .product-name {
        font-size: 1.25rem;
    }

    .product-price {
        font-size: 1.5rem;
    }
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
            var(--color-gold) 0%,
            var(--color-holo-cyan) 50%,
            var(--color-gold-light) 100%);
    background-size: 200% 100%;
    animation: gradientBorderFlow 3s linear infinite;
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
}

.scroll-percentage {
    position: fixed;
    top: 8px;
    right: 16px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(10, 10, 8, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-percentage.visible {
    opacity: 1;
}

/* ========================================
   QUICK NAV SIDEBAR (Right Side, Collapsible)
   ======================================== */
.quick-nav {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
}

.quick-nav-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(10, 10, 8, 0.9);
    backdrop-filter: blur(12px);
    padding: 12px 10px;
    border-radius: 20px;
    border: 1px solid rgba(212, 165, 116, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* Collapsed state (default) */
.quick-nav-items .nav-label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Expanded on hover */
.quick-nav-items:hover .nav-label {
    max-width: 150px;
    opacity: 1;
    margin-left: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-smoke);
    transition: all 0.3s ease;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.nav-item:hover {
    color: var(--color-gold);
    background: rgba(212, 165, 116, 0.1);
}

.nav-item.active {
    color: var(--color-gold);
}

.nav-item.active .nav-icon {
    transform: scale(1.3);
    filter: drop-shadow(0 0 9px rgba(212, 165, 116, 0.72)) brightness(1.08);
}

.nav-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: saturate(0.82) brightness(0.94) contrast(1.08);
}

.nav-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.nav-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-item:hover {
    color: var(--color-gold);
}

.nav-item.active {
    color: var(--color-gold);
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    transition: all 0.3s ease;
}

.nav-item.active .nav-dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 10px var(--color-gold);
}

.nav-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ========================================
   COLLAPSIBLE CATEGORY SECTIONS
   ======================================== */
.category-header {
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.category-header:hover {
    opacity: 0.9;
}

.category-header::after {
    content: '▾';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--color-gold);
    background: rgba(212, 165, 116, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.category-header:hover::after {
    background: rgba(212, 165, 116, 0.15);
    border-color: rgba(212, 165, 116, 0.3);
}

.category-section.collapsed .category-header::after {
    transform: translateY(-50%) rotate(-90deg);
}

.products-grid {
    overflow: visible;
    max-height: 5000px;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
}

.category-section.collapsed .products-grid {
    max-height: 0;
    opacity: 0;
    padding: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .quick-nav {
        right: 8px;
    }

    .quick-nav-items {
        padding: 8px 6px;
        gap: 4px;
    }

    .quick-nav-items .nav-label {
        display: none !important;
        max-width: 0 !important;
    }

    .nav-item {
        padding: 6px 8px;
    }

    .nav-icon {
        width: 24px;
        height: 24px;
    }

    .scroll-percentage {
        right: 8px;
        font-size: 0.6rem;
    }
}

/* ========================================
   SCROLL ENTRANCE ANIMATIONS
   ======================================== */

/* Initial hidden state for animated elements */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Visible state when element enters viewport */
.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for children */
.scroll-animate.visible .product-card:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animate.visible .product-card:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-animate.visible .product-card:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-animate.visible .product-card:nth-child(4) {
    transition-delay: 0.4s;
}

.scroll-animate.visible .product-card:nth-child(5) {
    transition-delay: 0.5s;
}

.scroll-animate.visible .product-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* Product cards initial state for staggered animation */
.scroll-animate .product-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible .product-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Slide in from left variation */
.scroll-animate-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right variation */
.scroll-animate-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up entrance */
.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   PARALLAX BACKGROUND EFFECTS
   ======================================== */

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Override for sections with parallax */
.category-section.parallax-enabled::before {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ========================================
   LOADING SCREEN
   ======================================== */

.loading-screen {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(212, 165, 116, 0.18), transparent 34%),
        radial-gradient(circle at 28% 68%, rgba(0, 206, 209, 0.12), transparent 34%),
        linear-gradient(180deg, #fffaf1 0%, #f8efe1 44%, #fffdf7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 10000;
    overflow: hidden;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.loading-screen::before,
.loading-screen::after {
    content: '';
    position: absolute;
    width: 42vmax;
    height: 42vmax;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.55;
}

.loading-screen::before {
    top: -18vmax;
    right: -12vmax;
    background: radial-gradient(circle, rgba(45, 90, 61, 0.16), transparent 62%);
    animation: loaderDrift 9s ease-in-out infinite alternate;
}

.loading-screen::after {
    left: -18vmax;
    bottom: -16vmax;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.16), transparent 64%);
    animation: loaderDrift 11s ease-in-out infinite alternate-reverse;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-stage {
    position: relative;
    width: clamp(170px, 26vw, 240px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    z-index: 1;
    isolation: isolate;
}

.loading-logo-shell {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(120, 80, 31, 0.18);
    box-shadow:
        0 20px 58px rgba(61, 42, 23, 0.14),
        inset 0 0 30px rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: loaderLogoPulse 2.4s ease-in-out infinite;
    z-index: 3;
}

.loading-logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(45, 90, 61, 0.22));
}

.loading-orbit {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 1px solid rgba(120, 80, 31, 0.14);
    z-index: 1;
}

.loading-orbit::after {
    content: '';
    position: absolute;
    top: 8%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ced1;
    box-shadow: 0 0 20px rgba(0, 206, 209, 0.5);
}

.loading-orbit-one {
    animation: orbitSpin 4.8s linear infinite;
}

.loading-orbit-two {
    inset: 38px;
    transform: rotate(42deg);
    border-color: rgba(45, 90, 61, 0.16);
    animation: orbitSpin 6.8s linear infinite reverse;
}

.loading-orbit-two::after {
    background: #d4a574;
    box-shadow: 0 0 18px rgba(212, 165, 116, 0.5);
}

.loading-triangle-svg {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    z-index: 2;
}

.loading-triangle-base,
.loading-triangle-core,
.loading-triangle-trace {
    fill: none;
    vector-effect: non-scaling-stroke;
}

.loading-triangle-base {
    stroke: rgba(120, 80, 31, 0.16);
    stroke-width: 2;
}

.loading-triangle-core {
    stroke: rgba(45, 90, 61, 0.13);
    stroke-width: 1.25;
    fill: rgba(255, 255, 255, 0.16);
}

.loading-triangle-trace {
    stroke: url(#loaderTraceGrad);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 520;
    stroke-dashoffset: 520;
    animation: traceTriangle 2s ease-in-out infinite;
}

.loading-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    text-align: center;
    color: #17251f;
}

.loading-copy span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #9a6a31;
}

.loading-copy strong {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.5vw, 1.75rem);
    font-weight: 400;
    letter-spacing: 0.04em;
}

.loading-bar {
    position: relative;
    z-index: 1;
    width: min(280px, 62vw);
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(120, 80, 31, 0.12);
}

.loading-progress {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2d5a3d, #d4a574 54%, #00ced1);
    box-shadow: 0 0 18px rgba(0, 206, 209, 0.26);
    animation: loadProgress 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes traceTriangle {
    0% {
        stroke-dashoffset: 520;
        opacity: 0.4;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -520;
        opacity: 0.4;
    }
}

@keyframes loadProgress {
    0% { width: 0; }
    58% { width: 76%; }
    100% { width: 100%; }
}

@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

@keyframes loaderLogoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes loaderDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(4%, -3%, 0) scale(1.08); }
}

html[data-theme="dark"] .loading-screen,
html:not([data-theme]) .loading-screen {
    background:
        radial-gradient(circle at 50% 35%, rgba(212, 165, 116, 0.12), transparent 34%),
        radial-gradient(circle at 28% 68%, rgba(0, 206, 209, 0.11), transparent 34%),
        linear-gradient(180deg, #050505 0%, #101009 48%, #050505 100%);
}

html[data-theme="dark"] .loading-logo-shell,
html:not([data-theme]) .loading-logo-shell {
    background: rgba(10, 10, 8, 0.64);
    border-color: rgba(212, 165, 116, 0.24);
    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.48),
        0 0 46px rgba(212, 165, 116, 0.16),
        inset 0 0 30px rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .loading-copy,
html:not([data-theme]) .loading-copy {
    color: var(--color-cream);
}

html[data-theme="dark"] .loading-copy span,
html:not([data-theme]) .loading-copy span {
    color: var(--color-gold-light);
}

html[data-theme="dark"] .loading-triangle-base,
html:not([data-theme]) .loading-triangle-base {
    stroke: rgba(212, 165, 116, 0.2);
}

html[data-theme="dark"] .loading-triangle-core,
html:not([data-theme]) .loading-triangle-core {
    stroke: rgba(212, 165, 116, 0.1);
    fill: rgba(212, 165, 116, 0.03);
}

@media (prefers-reduced-motion: reduce) {
    .loading-orbit,
    .loading-triangle-trace,
    .loading-logo-shell,
    .loading-screen::before,
    .loading-screen::after {
        animation: none;
    }

    .loading-progress {
        animation-duration: 0.01ms;
    }
}

/* ========================================
   SEARCH & FILTER
   ======================================== */

.search-container {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    padding: 0 var(--space-md);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 16px 24px 16px 50px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-cream);
    background: rgba(20, 20, 18, 0.9);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
}

.search-input::placeholder {
    color: var(--color-smoke);
}

.search-icon {
    position: absolute;
    left: 20px;
    color: var(--color-gold);
    font-size: 1.2rem;
    pointer-events: none;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: var(--space-sm);
}

.filter-tag {
    padding: 8px 16px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-smoke);
    background: rgba(20, 20, 18, 0.8);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.filter-tag:hover,
.filter-tag.active {
    color: var(--color-gold);
    border-color: var(--color-gold);
    background: rgba(212, 165, 116, 0.1);
}

/* Filtered out state */
.product-card.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.category-section.filtered-out {
    display: none;
    content-visibility: hidden;
}

/* ========================================
   STACK RECOMMENDATIONS
   ======================================== */

.stack-recommendations {
    margin-top: var(--space-xs);
    padding-top: var(--space-xs);
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.stack-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--color-smoke);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.stack-item {
    padding: 4px 10px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--color-holo-cyan);
    background: rgba(0, 206, 209, 0.1);
    border: 1px solid rgba(0, 206, 209, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stack-item:hover {
    background: rgba(0, 206, 209, 0.2);
    border-color: var(--color-holo-cyan);
    transform: translateY(-2px);
}

/* ========================================
   PRODUCT DETAIL MODAL
   ======================================== */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

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

.product-modal {
    background: linear-gradient(145deg, rgba(18, 18, 15, 0.98) 0%, rgba(10, 10, 8, 0.99) 100%);
    border: 1px solid rgba(212, 165, 116, 0.25);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(212, 165, 116, 0.08);
}

.product-modal-overlay.active .product-modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 50%;
    background: rgba(10, 10, 8, 0.8);
    color: var(--color-gold);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(212, 165, 116, 0.15);
    border-color: var(--color-gold);
    transform: rotate(90deg);
}

.modal-image-section {
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    background: rgba(10, 10, 8, 0.5);
}

.modal-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.5s ease;
}

.modal-product-img.is-bottle {
    object-fit: contain;
    padding: 36px;
    box-sizing: border-box;
    opacity: 1;
    filter: drop-shadow(0 14px 36px rgba(212, 165, 116, 0.25));
}

.modal-content-section {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-category {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    opacity: 0.7;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-cream);
    line-height: 1.2;
    margin: 0;
}

.modal-strength {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-smoke);
    margin: 0;
}

.modal-price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
    margin: 4px 0 0;
}

.modal-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(212, 165, 116, 0.3), transparent);
    margin: 12px 0;
}

.modal-detail-block {
    margin-bottom: 8px;
}

.modal-detail-block h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin: 0 0 6px;
    opacity: 0.8;
}

.modal-detail-block p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-smoke);
    line-height: 1.7;
    margin: 0;
}

.modal-stacks {
    margin-top: 8px;
}

.modal-stacks .stack-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    opacity: 0.8;
    margin-bottom: 8px;
}

.modal-stacks .stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-stacks .stack-item {
    padding: 6px 14px;
    font-size: 0.75rem;
}

/* Make product cards clickable */
.product-card {
    cursor: pointer;
}

/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */
@media (max-width: 768px) {
    .product-modal {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }

    .modal-image-section {
        min-height: 200px;
        max-height: 250px;
        border-radius: 24px 24px 0 0;
    }

    .modal-content-section {
        padding: 24px 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    /* Fix background-attachment: fixed on mobile */
    .hero,
    .why-peptides-v2 {
        background-attachment: scroll !important;
    }
}

/* Smooth scrollbar for modal */
.product-modal::-webkit-scrollbar {
    width: 6px;
}

.product-modal::-webkit-scrollbar-track {
    background: transparent;
}

.product-modal::-webkit-scrollbar-thumb {
    background: rgba(212, 165, 116, 0.3);
    border-radius: 3px;
}

.product-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 165, 116, 0.5);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 50%;
    background: rgba(10, 10, 8, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-gold);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(212, 165, 116, 0.15);
    border-color: var(--color-gold);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.2);
}

/* ========================================
   ENHANCED PRODUCT CARD INTERACTION
   ======================================== */
.product-card:hover .product-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.product-card:hover .product-name {
    color: var(--color-gold);
    transition: color 0.3s ease;
}

/* ========================================
   LIQUID BLOB BACKGROUND EFFECT
   ======================================== */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(0, 206, 209, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(184, 115, 51, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: blobMorph 40s infinite alternate linear;
    mix-blend-mode: screen;
}

@keyframes blobMorph {
    0% {
        transform: rotate(0deg) scale(1) translate(0, 0);
    }

    50% {
        transform: rotate(90deg) scale(1.1) translate(5%, 5%);
    }

    100% {
        transform: rotate(180deg) scale(1.2) translate(-5%, -5%);
    }
}

/* ========================================
   PEPTIDE CYCLE TRACKER
   ======================================== */
.cycle-tracker {
    position: relative;
    padding: var(--space-2xl) var(--space-md);
    background: var(--color-charcoal);
    overflow: hidden;
}

.cycle-tracker::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--color-deep-black), transparent);
    pointer-events: none;
    z-index: 1;
}

.cycle-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.cycle-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cycle-disclaimer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--color-gold-light);
    font-style: italic;
    letter-spacing: 0.03em;
    border-color: rgba(212, 165, 116, 0.25);
}

.disclaimer-icon-inline {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cycle-chart {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 40px;
}

.cycle-group-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-gold-light);
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    padding-bottom: 12px;
    letter-spacing: 0.05em;
}

.cycle-row {
    display: flex;
    align-items: center;
    padding: 18px 28px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: rgba(10, 10, 8, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cycle-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.cycle-row:hover::before {
    left: 150%;
    transition: all 0.8s ease;
}

.cycle-row:hover {
    transform: translateX(12px) scale(1.02);
    background: rgba(10, 10, 8, 0.85);
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: -10px 15px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 165, 116, 0.1);
    z-index: 5;
}

.cycle-info {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cycle-name {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-cream);
    letter-spacing: 0.05em;
}

.cycle-time {
    font-size: 0.8rem;
    color: var(--color-smoke);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.cycle-bar-track {
    flex-grow: 1;
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.cycle-bar {
    height: 100%;
    border-radius: 5px;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 0 12px currentColor;
    transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 0;
    /* JS or CSS animation will fill it */
}

/* Colors for bars */
.fill-cyan {
    background: var(--color-holo-cyan);
    color: var(--color-holo-cyan);
}

.fill-gold {
    background: var(--color-gold);
    color: var(--color-gold);
}

.fill-emerald {
    background: var(--color-emerald-light);
    color: var(--color-emerald-light);
}

.fill-teal {
    background: var(--color-holo-teal);
    color: var(--color-holo-teal);
}

.fill-coral {
    background: var(--color-holo-coral);
    color: var(--color-holo-coral);
}

.fill-purple {
    background: var(--color-holo-lavender);
    color: var(--color-holo-lavender);
}

/* Animation on scroll */
.scroll-animate .cycle-bar {
    animation: loadBar 1.5s ease forwards 0.3s;
}

@keyframes loadBar {
    from {
        transform: scaleX(0);
        transform-origin: left;
    }

    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

@media (max-width: 768px) {
    .cycle-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cycle-info {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cycle-bar-track {
        width: 100%;
    }
}

/* ========================================
   MAGNETIC CUSTOM CURSOR
   ======================================== */
@media (pointer: fine) {
    body {
        cursor: none;
    }

    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        background: var(--color-gold-bright);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 99999;
        box-shadow: 0 0 10px var(--color-gold);
    }

    .custom-cursor-follower {
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 36px;
        border: 1px solid rgba(212, 165, 116, 0.4);
        background: rgba(212, 165, 116, 0.05);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 99998;
        transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
            height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
            background 0.3s ease, border 0.3s ease;
    }

    .custom-cursor-follower.active {
        width: 60px;
        height: 60px;
        background: rgba(0, 206, 209, 0.1);
        border: 1px solid rgba(0, 206, 209, 0.6);
        backdrop-filter: blur(2px);
    }

    /* Reveal text styles */
    .reveal-text {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .reveal-text.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   BOTTLE OVERLAY ON PRODUCT CARDS
   ======================================== */
.bottle-overlay {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 110px;
    height: auto;
    pointer-events: none;
    opacity: 0.85;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 4px 20px rgba(212, 165, 116, 0.15))
            drop-shadow(0 0 30px rgba(163, 209, 166, 0.08));
}

.bottle-overlay img {
    width: 100%;
    height: auto;
    display: block;
    animation: bottleBob 4s ease-in-out infinite;
}

.product-card:hover .bottle-overlay {
    opacity: 1;
    transform: translateY(-52%) scale(1.08);
    filter: drop-shadow(0 8px 30px rgba(212, 165, 116, 0.25))
            drop-shadow(0 0 50px rgba(163, 209, 166, 0.12))
            drop-shadow(0 0 10px rgba(255, 255, 255, 0.05));
}

.product-card.has-bottle .product-content {
    padding-right: 100px;
}

@keyframes bottleBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Bottle glow ring beneath */
.bottle-overlay::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 8px;
    background: radial-gradient(ellipse, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover .bottle-overlay::before {
    opacity: 1;
}

/* Responsive — smaller bottles on mobile */
@media (max-width: 768px) {
    .bottle-overlay {
        width: 80px;
        right: -5px;
    }
    .product-card.has-bottle .product-content {
        padding-right: 70px;
    }
}

/* ========================================
   LIGHT MODE - PEARL LAB EDITION
   ======================================== */
html {
    color-scheme: dark;
}

html[data-theme="light"] {
    color-scheme: light;
    --color-deep-black: #fbf7ee;
    --color-charcoal: #f0e8d9;
    --color-warm-gray: #f7efe2;
    --color-gold: #a97938;
    --color-gold-light: #c99a5e;
    --color-gold-bright: #d7a44d;
    --color-amber: #b78246;
    --color-copper: #9a612f;
    --color-emerald: #275743;
    --color-emerald-light: #3d8062;
    --color-cream: #17251f;
    --color-pearl: #29362f;
    --color-smoke: #617169;
    --color-white: #13221c;
    --gradient-holo-title: linear-gradient(90deg, #9c733f 0%, #245a54 48%, #bd8950 100%);
    --gradient-holo-reverse: linear-gradient(90deg, #234b44 0%, #b78246 52%, #214a42 100%);
    --gradient-gold-holo: linear-gradient(90deg, #8a5f2e 0%, #1f6f66 50%, #b78246 100%);
    --peptide-bg-opacity: 0.24;
    --card-backdrop-blur: 12px;
}

html.theme-changing *,
html.theme-changing *::before,
html.theme-changing *::after {
    transition:
        background-color 0.45s ease,
        background 0.45s ease,
        border-color 0.45s ease,
        color 0.45s ease,
        box-shadow 0.45s ease,
        filter 0.45s ease;
}

.theme-toggle {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 10002;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(212, 165, 116, 0.38);
    border-radius: 50%;
    background: rgba(10, 10, 8, 0.78);
    color: var(--color-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 0 24px rgba(212, 165, 116, 0.16);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: var(--color-gold);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), 0 0 34px rgba(212, 165, 116, 0.22);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--color-holo-cyan);
    outline-offset: 4px;
}

.theme-toggle-icon {
    position: absolute;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sun-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff7cb 0 33%, var(--color-gold-bright) 36% 100%);
    box-shadow: 0 0 0 7px rgba(212, 165, 116, 0.16), 0 0 22px rgba(212, 165, 116, 0.55);
}

.sun-icon::before {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 12deg, var(--color-gold) 12deg 22deg, transparent 22deg 45deg);
    opacity: 0.75;
}

.moon-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #20342f;
    box-shadow: inset -5px -3px 0 #f6efe3, 0 0 18px rgba(32, 52, 47, 0.28);
}

html[data-theme="dark"] .moon-icon,
html:not([data-theme]) .moon-icon {
    opacity: 0;
    transform: rotate(-45deg) scale(0.55);
}

html[data-theme="dark"] .sun-icon,
html:not([data-theme]) .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

html[data-theme="light"] .sun-icon {
    opacity: 0;
    transform: rotate(45deg) scale(0.55);
}

html[data-theme="light"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

html[data-theme="light"] .theme-toggle {
    background: rgba(255, 252, 246, 0.82);
    border-color: rgba(169, 121, 56, 0.32);
    box-shadow: 0 16px 38px rgba(102, 73, 40, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 8%, rgba(0, 206, 209, 0.13), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(212, 165, 116, 0.18), transparent 36%),
        linear-gradient(180deg, #fffaf1 0%, #f7efe2 40%, #fdf9f1 100%);
    color: #17251f;
}

html[data-theme="light"] body::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(169, 121, 56, 0.08) 0%, transparent 58%),
        radial-gradient(circle at 80% 18%, rgba(0, 206, 209, 0.08) 0%, transparent 44%),
        radial-gradient(circle at 12% 78%, rgba(45, 90, 61, 0.08) 0%, transparent 48%);
}

html[data-theme="light"] .hero-overlay {
    background:
        linear-gradient(180deg,
            rgba(255, 250, 239, 0.72) 0%,
            rgba(252, 246, 234, 0.72) 40%,
            rgba(248, 241, 229, 0.9) 76%,
            #fbf7ee 100%);
    backdrop-filter: saturate(0.98) brightness(1.16);
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title,
html[data-theme="light"] .category-name,
html[data-theme="light"] .product-name,
html[data-theme="light"] .modal-title,
html[data-theme="light"] .cycle-name,
html[data-theme="light"] .card-title {
    color: #17251f;
    text-shadow: 0 8px 26px rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .scroll-indicator span,
html[data-theme="light"] .category-description,
html[data-theme="light"] .product-description,
html[data-theme="light"] .glass-card p,
html[data-theme="light"] .modal-detail-block p,
html[data-theme="light"] .cycle-time {
    color: #596a62;
}

html[data-theme="light"] .wave-divider,
html[data-theme="light"] .catalog,
html[data-theme="light"] .why-peptides,
html[data-theme="light"] .cycle-tracker,
html[data-theme="light"] footer {
    background: linear-gradient(180deg, #fbf7ee 0%, #f1e6d4 100%);
}

html[data-theme="light"] .wave-divider::before {
    opacity: 0.18;
}

html[data-theme="light"] .philosophy-overlay {
    background:
        linear-gradient(180deg,
            rgba(255, 250, 241, 0.92) 0%,
            rgba(250, 243, 231, 0.88) 42%,
            rgba(248, 239, 224, 0.94) 100%);
    backdrop-filter: saturate(0.98) brightness(1.06);
}

html[data-theme="light"] .glass-card,
html[data-theme="light"] .philosophy-text,
html[data-theme="light"] .cycle-row,
html[data-theme="light"] .quick-nav-items,
html[data-theme="light"] .scroll-percentage {
    background: rgba(255, 252, 246, 0.72);
    border-color: rgba(169, 121, 56, 0.22);
    box-shadow: 0 18px 48px rgba(100, 73, 42, 0.12), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

html[data-theme="light"] .glass-card:hover,
html[data-theme="light"] .cycle-row:hover {
    background: rgba(255, 253, 248, 0.9);
    border-color: rgba(169, 121, 56, 0.42);
    box-shadow: 0 24px 64px rgba(100, 73, 42, 0.18), 0 0 36px rgba(0, 206, 209, 0.08);
}

html[data-theme="light"] .glass-card.featured-card {
    background: linear-gradient(135deg, rgba(255, 252, 246, 0.84) 0%, rgba(229, 212, 181, 0.66) 100%);
}

html[data-theme="light"] .stat-item {
    background-color: rgba(255, 252, 246, 0.72);
    color: #17251f;
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .stat-item::after {
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.78) 0%, rgba(232, 205, 166, 0.6) 55%, rgba(255, 252, 246, 0.9) 100%);
}

html[data-theme="light"] .category-section {
    background: rgba(255, 252, 246, 0.46);
    box-shadow: 0 24px 70px rgba(84, 60, 35, 0.1);
}

html[data-theme="light"] .category-section::before {
    opacity: 0.18;
    filter: saturate(0.72) contrast(0.94) brightness(1.12);
}

html[data-theme="light"] .category-header {
    border-bottom-color: rgba(169, 121, 56, 0.24);
}

html[data-theme="light"] .product-card {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(39, 87, 67, 0.12);
    box-shadow: 0 14px 40px rgba(75, 55, 35, 0.1), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

html[data-theme="light"] .product-card:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(169, 121, 56, 0.36);
    box-shadow: 0 24px 60px rgba(75, 55, 35, 0.18), 0 0 34px rgba(0, 206, 209, 0.08);
}

html[data-theme="light"] .product-card.featured {
    background: rgba(212, 165, 116, 0.14);
}

html[data-theme="light"] .product-card.signature {
    background: rgba(45, 90, 61, 0.1);
}

html[data-theme="light"] .product-image img {
    opacity: 0.2;
    filter: saturate(0.72) brightness(1.08);
}

html[data-theme="light"] .product-image::before {
    background: radial-gradient(ellipse at center top, transparent 18%, rgba(255, 250, 240, 0.7) 78%);
}

html[data-theme="light"] .product-image::after {
    background: linear-gradient(to top right,
            rgba(255, 252, 246, 0.98) 0%,
            rgba(212, 165, 116, 0.2) 25%,
            rgba(255, 252, 246, 0.82) 48%,
            rgba(0, 206, 209, 0.08) 70%,
            transparent 88%);
}

html[data-theme="light"] .product-card:hover .product-image img {
    opacity: 0.28;
}

html[data-theme="light"] .product-price,
html[data-theme="light"] .section-label,
html[data-theme="light"] .category-label,
html[data-theme="light"] .modal-category,
html[data-theme="light"] .modal-detail-block h4,
html[data-theme="light"] .gold-text {
    color: var(--color-gold);
    text-shadow: 0 6px 18px rgba(169, 121, 56, 0.16);
}

html[data-theme="light"] .search-input,
html[data-theme="light"] .filter-tag,
html[data-theme="light"] .stack-item {
    background: rgba(255, 252, 246, 0.84);
    color: #17251f;
    border-color: rgba(169, 121, 56, 0.24);
    box-shadow: 0 12px 32px rgba(75, 55, 35, 0.08);
}

html[data-theme="light"] .search-input::placeholder {
    color: #7c8a82;
}

html[data-theme="light"] .filter-tag:hover,
html[data-theme="light"] .filter-tag.active,
html[data-theme="light"] .stack-item:hover {
    color: #275743;
    background: rgba(233, 218, 190, 0.74);
    border-color: rgba(39, 87, 67, 0.32);
}

html[data-theme="light"] .quick-nav-items .nav-item {
    color: #617169;
    background: rgba(74, 55, 34, 0.18);
    border: 1px solid rgba(74, 55, 34, 0.1);
}

html[data-theme="light"] .quick-nav-items {
    background: rgba(130, 98, 58, 0.36);
    border-color: rgba(74, 55, 34, 0.26);
    box-shadow: 0 18px 48px rgba(78, 55, 33, 0.22), 0 1px 0 rgba(255, 255, 255, 0.54) inset;
}

html[data-theme="light"] .quick-nav-items .nav-icon {
    filter: saturate(0.95) brightness(0.9) contrast(1.1) drop-shadow(0 1px 2px rgba(50, 34, 20, 0.24));
}

html[data-theme="light"] .quick-nav-items .nav-item:hover,
html[data-theme="light"] .quick-nav-items .nav-item.active {
    color: #8a5f2e;
    background: rgba(74, 55, 34, 0.28);
    border-color: rgba(74, 55, 34, 0.18);
}

html[data-theme="light"] .scroll-progress-container {
    background: rgba(255, 252, 246, 0.58);
}

html[data-theme="light"] .product-modal-overlay {
    background: rgba(248, 241, 229, 0.68);
}

html[data-theme="light"] .product-modal {
    background: linear-gradient(145deg, rgba(255, 252, 246, 0.98) 0%, rgba(242, 231, 212, 0.98) 100%);
    border-color: rgba(169, 121, 56, 0.28);
    box-shadow: 0 42px 100px rgba(88, 64, 37, 0.24), 0 0 80px rgba(0, 206, 209, 0.08);
}

html[data-theme="light"] .modal-close {
    background: rgba(255, 252, 246, 0.82);
    border-color: rgba(169, 121, 56, 0.28);
}

html[data-theme="light"] .modal-image-section {
    background: rgba(239, 226, 203, 0.68);
}

html[data-theme="light"] .modal-divider {
    background: linear-gradient(to right, rgba(169, 121, 56, 0.35), transparent);
}

html[data-theme="light"] .cycle-tracker::after {
    background: linear-gradient(to top, #fbf7ee, transparent);
}

html[data-theme="light"] .cycle-bg-glow {
    background: radial-gradient(circle, rgba(0, 206, 209, 0.12) 0%, transparent 70%);
}

html[data-theme="light"] .cycle-bar-track {
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(169, 121, 56, 0.16);
    box-shadow: inset 0 2px 6px rgba(102, 73, 40, 0.08);
}

html[data-theme="light"] .bottle-overlay {
    filter: drop-shadow(0 12px 26px rgba(95, 68, 37, 0.22))
            drop-shadow(0 0 24px rgba(255, 255, 255, 0.6));
}

html[data-theme="light"] .product-card:hover .bottle-overlay {
    filter: drop-shadow(0 18px 34px rgba(95, 68, 37, 0.28))
            drop-shadow(0 0 36px rgba(0, 206, 209, 0.12));
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 16px;
        right: 16px;
        width: 46px;
        height: 46px;
    }
}
