/* Neurova — luxury biotech design system (http3_design.md) */

:root {
    --gold: #C9A962;
    --gold-light: #E8D5A3;
    --gold-dark: #A68B4B;
    --gold-glow: rgba(201, 169, 98, 0.35);
    --black: #0A0A0A;
    --black-soft: #141414;
    --gray-900: #1A1A1A;
    --gray-700: #4A4A4A;
    --gray-500: #737373;
    --gray-300: #D4D4D4;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --success: #2D6A4F;
    --danger: #9B2226;
    --primary: var(--gold);
    --primary-dark: var(--gold-dark);
    --primary-light: #F7F0E3;
    --dark: var(--black);
    --nav-offset: 112px;
    --section-xl: clamp(72px, 10vw, 120px);
    --section-lg: clamp(56px, 8vw, 96px);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* —— Trust bar —— */
.trust-bar {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
}
.trust-bar .usa-badge { color: var(--gold); margin-right: 8px; }

/* —— Navbar —— */
.navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(16px);
    padding: 16px 0;
    border-bottom: 1px solid transparent;
    transition: background 0.4s var(--ease-out), padding 0.3s, box-shadow 0.3s, border-color 0.3s;
    z-index: 1050;
    top: 32px !important;
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom-color: var(--gray-300);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.page-home .navbar:not(.scrolled) {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0) 100%) !important;
    backdrop-filter: blur(8px);
    border-bottom: none;
}
.page-home .navbar:not(.scrolled) .navbar-brand { color: var(--white) !important; }
.page-home .navbar:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.82) !important; }
.page-home .navbar:not(.scrolled) .nav-link:hover,
.page-home .navbar:not(.scrolled) .nav-link.active { color: var(--white) !important; }
.page-home .navbar:not(.scrolled) .btn-outline-gold {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}
.page-home .navbar:not(.scrolled) .btn-outline-gold:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}
.page-home .navbar:not(.scrolled) .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--black) !important;
    text-transform: uppercase;
    transition: color 0.3s;
    line-height: 1;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-brand span { color: var(--gold); }
/* 方案 B：完整竖版 logo（按比例缩放，避免拉伸走样） */
.navbar-brand .navbar-logo {
    display: block;
    height: 72px;
    width: auto;
    max-width: min(120px, 28vw);
    object-fit: contain;
    transition: height 0.3s;
}
.navbar.scrolled .navbar-brand .navbar-logo {
    height: 58px;
}
@media (max-width: 991.98px) {
    .navbar-brand .navbar-logo { height: 56px; }
    .navbar.scrolled .navbar-brand .navbar-logo { height: 48px; }
}
.nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    padding: 8px 16px !important;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.25s;
}
.nav-link:hover, .nav-link.active { color: var(--black) !important; }
.nav-link.active { position: relative; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gold);
}

/* —— Buttons —— */
.btn-gold {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 13px 32px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s var(--ease-out);
}
.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--gold-glow);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-outline-gold {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
    padding: 11px 28px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-gold:hover {
    background: var(--black);
    color: var(--gold);
    border-color: var(--black);
}

.flash-messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

/* —— Sections rhythm —— */
.section-padding { padding: var(--section-xl) 0; }
.section-padding-compact { padding: var(--section-lg) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-cream { background: var(--gray-100); }
.section-label {
    font-size: 0.68rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 14px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.15;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.8;
}
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.55); }

/* —— Side rail (desktop decorative nav) —— */
.side-rail {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1020;
    display: none;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.side-rail::before {
    content: '';
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
}
.side-rail a {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.25s;
}
.hero-carousel {
    margin-top: 32px;
    background: var(--black);
    position: relative;
}
.hero-carousel .carousel-inner { line-height: 0; }
.hero-slide-wrap {
    position: relative;
    width: 100%;
    /* 3:2 Banner 按宽度等比撑高，大图可完整展示 */
    height: clamp(480px, 66.67vw, 1280px);
    overflow: hidden;
}
.hero-carousel .carousel-item:not(.active) {
    pointer-events: none;
}
.hero-banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 10, 10, 0.82) 0%,
        rgba(10, 10, 10, 0.45) 45%,
        rgba(10, 10, 10, 0.15) 100%
    );
    display: flex;
    align-items: center;
    pointer-events: none;
}
.hero-slide-overlay .container { pointer-events: auto; }
.hero-slide-content {
    max-width: 560px;
    padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 8vw, 80px);
}
.hero-slide-index {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 18px;
}
.hero-slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 16px;
}
.hero-slide-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 28px;
}
.hero-slide-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: heroBounce 2.2s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}
.hero-scroll-hint i { display: block; font-size: 1.2rem; margin-top: 6px; }
@keyframes heroBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.hero-carousel .carousel-indicators {
    bottom: 24px;
    margin-bottom: 0;
    z-index: 4;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 18px;
    border-radius: 999px;
    width: auto;
    left: auto;
    right: 32px;
    transform: none;
    gap: 10px;
}
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 32px;
    height: 3px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    opacity: 1;
    margin: 0;
    transition: background 0.3s, width 0.3s;
}
.hero-carousel .carousel-indicators .active {
    background: var(--gold);
    width: 48px;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 6%; z-index: 4; opacity: 0; transition: opacity 0.3s; }
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next { opacity: 0.85; }

/* —— Stats strip (dense info after hero whitespace) —— */
.stats-strip {
    background: var(--black);
    border-top: 1px solid rgba(201, 169, 98, 0.25);
    border-bottom: 1px solid rgba(201, 169, 98, 0.25);
    padding: 28px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item { padding: 8px 12px; }
.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

/* —— Category pills —— */
.category-showcase { padding: var(--section-lg) 0; }
.category-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    border: 1px solid var(--gray-300);
    text-decoration: none;
    color: var(--black);
    transition: all 0.4s var(--ease-out);
    height: 100%;
    background: var(--white);
}
.category-pill:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    color: var(--black);
}
.category-pill-icon {
    width: 52px;
    height: 52px;
    border: 1px solid var(--gold-light);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
    transition: all 0.35s;
}
.category-pill:hover .category-pill-icon {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}
.category-pill-name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* —— Pillars —— */
.pillar-card {
    text-align: left;
    padding: 40px 32px;
    border: 1px solid var(--gray-300);
    height: 100%;
    transition: all 0.4s var(--ease-out);
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out);
}
.pillar-card:hover {
    border-color: var(--gold-light);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.07);
    transform: translateY(-4px);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-icon {
    width: 48px;
    height: 48px;
    border: none;
    color: var(--gold-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
}

/* —— Product cards + hover easter egg —— */
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}
.product-card-media {
    position: relative;
    overflow: hidden;
}
.product-card-img {
    aspect-ratio: 4/5;
    object-fit: cover;
    width: 100%;
    background: var(--gray-100);
    transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-card-img { transform: scale(1.06); }
.product-card-egg {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
    padding: 20px;
}
.product-card:hover .product-card-egg { opacity: 1; }
.product-card-egg span {
    color: var(--gold);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}
.product-card-egg .btn-gold { padding: 10px 24px; font-size: 0.72rem; }
.product-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-category-badge {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.product-card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--black);
    margin-bottom: 8px;
}
.product-card-desc {
    font-size: 0.84rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-100);
    padding-top: 14px;
    margin-top: auto;
}
.product-price {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--black);
}
.made-in-usa-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-dark);
    border: 1px solid var(--gold-light);
    padding: 3px 8px;
}
.product-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.product-status.in-stock { color: var(--success); }
.product-status.out-of-stock { color: var(--danger); }

/* —— Brand story panel (wrapped split) —— */
.story-band {
    background: linear-gradient(120deg, #dce6f4 0%, #c8d4ea 42%, #d4dce8 100%);
    padding: clamp(56px, 8vw, 96px) 0;
    position: relative;
    overflow: hidden;
}
.story-band::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.18) 0%, transparent 68%);
    top: -120px;
    right: -80px;
    pointer-events: none;
}
.story-band::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, transparent 70%);
    bottom: -100px;
    left: -60px;
    pointer-events: none;
}
.story-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 28px 72px rgba(30, 45, 70, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(201, 169, 98, 0.22);
}
.story-panel-media {
    position: relative;
    min-height: 380px;
    background: var(--gray-100);
    overflow: hidden;
}
.story-panel-media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.kit-story-carousel,
.kit-story-carousel .carousel-inner,
.kit-story-carousel .carousel-item {
    height: 100%;
    min-height: 380px;
}
.kit-story-slide {
    display: block;
    position: relative;
    height: 100%;
    min-height: 380px;
    text-decoration: none;
    color: inherit;
}
.kit-story-slide img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center;
}
.kit-story-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 24px 22px;
    background: linear-gradient(transparent, rgba(8, 8, 8, 0.78));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.kit-story-name {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}
.kit-story-price {
    color: var(--gold);
    font-weight: 800;
    font-size: 1.1rem;
    white-space: nowrap;
}
.kit-story-carousel .carousel-indicators {
    margin-bottom: 12px;
    z-index: 3;
}
.kit-story-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    opacity: 1;
}
.kit-story-carousel .carousel-indicators .active {
    background-color: var(--gold);
}
.kit-story-carousel .carousel-control-prev,
.kit-story-carousel .carousel-control-next {
    width: 12%;
    opacity: 0.7;
}
.kit-story-carousel .carousel-control-prev:hover,
.kit-story-carousel .carousel-control-next:hover {
    opacity: 1;
}
.story-panel-body {
    padding: clamp(40px, 5vw, 60px) clamp(36px, 4.5vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #fafaf8 0%, #f4f4f1 100%);
}
.story-panel-tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 7px 18px;
    border: 1px solid rgba(201, 169, 98, 0.55);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
}
.story-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 20px;
    border: none;
    padding: 0;
}
.story-quote em { color: var(--gold-dark); font-style: normal; font-weight: 700; }
.story-panel-text {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 28px;
}
.story-panel-body .btn-outline-gold {
    align-self: flex-start;
    min-width: 180px;
    text-align: center;
}

/* —— Education preview —— */
.education-preview {
    border-left: 3px solid var(--gold);
    padding: 24px 24px 24px 28px;
    margin-bottom: 16px;
    background: var(--white);
    transition: all 0.3s;
}
.education-preview:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transform: translateX(6px);
}
.education-preview h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 8px;
}
.education-preview a { color: var(--black); text-decoration: none; }
.education-preview a:hover { color: var(--gold-dark); }

/* —— CTA band —— */
.cta-dark {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: var(--section-xl) 0;
    position: relative;
    overflow: hidden;
}
.cta-dark::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-dark h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
    position: relative;
}
.cta-dark .cta-lead {
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.75;
    position: relative;
}
.hero-usa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 18px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* —— Page hero (inner pages) —— */
.page-hero {
    background: var(--black);
    padding: calc(var(--nav-offset) + 40px) 0 70px;
    position: relative;
    overflow: hidden;
}
.page-hero.page-hero--shop {
    background-color: #0a0a0a;
    background-image:
        linear-gradient(105deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.55) 45%, rgba(8,8,8,.72) 100%),
        url('../productsBackground/bg_luxury_1.jpg');
    background-size: cover;
    background-position: center 30%;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}
.page-hero.page-hero--shop .container { position: relative; z-index: 1; width: 100%; }
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    z-index: 2;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-top: 12px; }

/* Shop listing atmospheric strip */
.shop-luxury-band {
    position: relative;
    min-height: 160px;
    background-image:
        linear-gradient(90deg, rgba(10,10,10,.82), rgba(10,10,10,.45)),
        url('../productsBackground/bg_luxury_2.jpg');
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(201,169,98,.25);
    border-bottom: 1px solid rgba(201,169,98,.25);
}
.shop-luxury-band .band-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px;
    text-align: center;
    color: rgba(255,255,255,.85);
}
.shop-luxury-band .band-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.shop-luxury-band p {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    margin: 0;
    color: #fff;
}
.breadcrumb-light a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; }
.breadcrumb-light a:hover { color: var(--gold); }
.breadcrumb-light span { color: rgba(255,255,255,0.25); }

/* —— Footer —— */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 32px;
}
.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-brand span { color: var(--gold); }
.footer h5 {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
}
.footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    margin-top: 56px;
}

.disclaimer-bar {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 14px 0;
    font-size: 0.76rem;
    text-align: center;
    border-top: 1px solid var(--gray-300);
    letter-spacing: 0.3px;
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1040;
    background: #25D366;
    color: var(--white);
    padding: 14px 22px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45);
}

.filter-sidebar { border: 1px solid var(--gray-300); }
.filter-title {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-300);
    color: var(--black);
}
.filter-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.88rem;
    transition: all 0.2s;
}
.filter-item:hover { background: var(--primary-light); color: var(--black); padding-left: 24px; }
.filter-item.active { background: var(--black); color: var(--gold); }

/* —— Scroll reveal —— */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— Hero fallback (no banners) —— */
.hero-fallback {
    min-height: clamp(480px, 78vh, 860px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 55%, #2a2418 100%);
    margin-top: 32px;
}
.hero-fallback .hero-content { padding: 140px 0 100px; }
.hero-label {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 20px;
    max-width: 640px;
}
.hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 32px;
}

@media (min-width: 1200px) {
    .side-rail { display: flex; }
    body { padding-left: 0; }
}

@media (max-width: 991px) {
    .navbar { top: 36px !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .story-panel { grid-template-columns: 1fr; }
    .story-panel-media,
    .story-panel-media img { min-height: 260px; }
    .hero-carousel .carousel-indicators { right: 50%; transform: translateX(50%); bottom: 16px; }
    .hero-slide-content { padding-top: 100px; }
}

@media (max-width: 576px) {
    .trust-bar { font-size: 0.58rem; letter-spacing: 1.2px; }
    .section-padding { padding: 56px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .whatsapp-float { padding: 12px 16px; font-size: 0.72rem; bottom: 16px; right: 16px; }
    .hero-slide-actions { flex-direction: column; align-items: flex-start; }
}

/* —— Particle network background (home / shop) —— */
html:has(body.has-particles),
body.has-particles {
    background: #0B0D12 !important;
    overscroll-behavior: none;
    overflow-x: clip;
}
#particles-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: none;
}
body.has-particles #particles-bg { display: block; }

/* chrome above canvas */
body.has-particles .flash-messages,
body.has-particles .trust-bar,
body.has-particles .navbar,
body.has-particles .side-rail,
body.has-particles .whatsapp-float,
body.has-particles footer,
body.has-particles .disclaimer-bar {
    z-index: 20;
}
body.has-particles .flash-messages { position: relative; }

/* Banner keeps its own imagery; everything else is transparent over particles */
body.has-particles .hero-carousel,
body.has-particles .hero-fallback {
    position: relative;
    z-index: 2;
    isolation: isolate;
}
body.has-particles .page-hero,
body.has-particles .stats-strip,
body.has-particles .category-showcase,
body.has-particles .section-padding,
body.has-particles .section-padding-compact,
body.has-particles .section-cream,
body.has-particles .shop-luxury-band,
body.has-particles .cta-dark,
body.has-particles .story-band,
body.has-particles .story-panel {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

/* Shop hero: dark gradient overlay like uptimepeptides (particles show through) */
body.has-particles .page-hero {
    background: linear-gradient(120deg, rgba(10, 15, 30, 0.55) 0%, rgba(10, 15, 30, 0.35) 45%, rgba(10, 15, 30, 0.15) 100%) !important;
}
body.has-particles .shop-luxury-band {
    background: transparent !important;
    border-color: rgba(201, 169, 98, 0.25);
}
body.has-particles .stats-strip {
    border-color: rgba(201, 169, 98, 0.28);
    background: rgba(10, 12, 18, 0.35) !important;
    backdrop-filter: blur(2px);
}

/* Light typography on dark particle field */
body.has-particles .section-title,
body.has-particles .section-subtitle,
body.has-particles .story-panel-text,
body.has-particles .story-quote,
body.has-particles h2,
body.has-particles h4,
body.has-particles h5 {
    color: #F3EDE0;
}
body.has-particles .section-subtitle,
body.has-particles .text-muted,
body.has-particles .pillar-card .text-muted,
body.has-particles .education-preview .text-muted {
    color: rgba(243, 237, 224, 0.65) !important;
}
body.has-particles .section-label,
body.has-particles .band-label,
body.has-particles .story-panel-tag {
    color: var(--gold-light);
}
body.has-particles .shop-luxury-band p {
    color: rgba(243, 237, 224, 0.7);
}
body.has-particles .btn-outline-gold {
    color: var(--gold-light);
    border-color: var(--gold);
}
body.has-particles .btn-outline-gold:hover {
    background: var(--gold);
    color: #0A0A0A;
}

/* Glass cards — content readable, particles still visible around */
body.has-particles .pillar-card,
body.has-particles .category-pill,
body.has-particles .education-preview,
body.has-particles .story-panel-body,
body.has-particles .filter-sidebar {
    background: rgba(18, 18, 22, 0.72) !important;
    border: 1px solid rgba(201, 169, 98, 0.28);
    backdrop-filter: blur(8px);
    color: #F3EDE0;
}
body.has-particles .category-pill-name,
body.has-particles .pillar-card h5,
body.has-particles .filter-title,
body.has-particles .filter-item {
    color: #F3EDE0 !important;
}
body.has-particles .filter-item:hover,
body.has-particles .filter-item.active {
    background: rgba(201, 169, 98, 0.15);
    color: var(--gold-light) !important;
}
body.has-particles .product-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(201, 169, 98, 0.2);
}
body.has-particles .product-card .product-card-title,
body.has-particles .product-card .product-card-desc,
body.has-particles .product-card .product-price {
    color: inherit;
}
body.has-particles .story-panel {
    border: 1px solid rgba(201, 169, 98, 0.25);
    background: rgba(12, 12, 16, 0.45) !important;
    backdrop-filter: blur(6px);
}
body.has-particles .cta-dark {
    background: transparent !important;
}
body.has-particles .education-preview h5 a {
    color: #F3EDE0;
    text-decoration: none;
}
body.has-particles .education-preview h5 a:hover {
    color: var(--gold-light);
}
/* Scrolled nav stays dark on particle pages so it doesn't flash white */
body.has-particles .navbar.scrolled {
    background: rgba(11, 13, 18, 0.94) !important;
    border-bottom-color: rgba(201, 169, 98, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
body.has-particles .navbar.scrolled .navbar-brand,
body.has-particles .navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
}
body.has-particles .navbar.scrolled .nav-link:hover,
body.has-particles .navbar.scrolled .nav-link.active {
    color: var(--gold-light) !important;
}
body.has-particles .navbar.scrolled .btn-outline-gold {
    color: var(--gold-light);
    border-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
    body.has-particles #particles-bg { display: none; }
}
