﻿@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-white: #f5f5f2;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(230, 0, 0, 0.3);
    --text-main: #0a0a0c;
    --text-muted: #666660;
    --accent-red: #e60000;
    --accent-red-glow: rgba(230, 0, 0, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.light-mode-body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* RICH MULTI-LAYERED TEXTURES & NOISE OVERLAYS */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.055'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999;
}

.grid-texture-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: linear-gradient(to right, rgba(0,0,0,0.025) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size: 48px 48px; pointer-events: none; z-index: 9998;
}

.vignette-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.06) 100%);
    pointer-events: none; z-index: 9997;
}

/* HORIZONTAL ORIENTATION FOR ALL GLASSES */
.horizontal-normal {
    transform: rotate(0deg) !important;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
}

@keyframes floatAnimSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0deg); }
}

@keyframes marqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes textRevealUp {
    0% { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0px); filter: blur(0px); }
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

.floating-anim { animation: floatAnim 6s ease-in-out infinite; }
.floating-anim-slow { animation: floatAnimSlow 8s ease-in-out infinite; }

.reveal-text { animation: textRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-text-delay-1 { animation: textRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; opacity: 0; }
.reveal-text-delay-2 { animation: textRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; opacity: 0; }
.reveal-text-delay-3 { animation: textRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards; opacity: 0; }

/* TOP HEADER */
.top-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 3.5rem; background: rgba(245, 245, 242, 0.85);
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color);
}

.brand-logo { font-weight: 700; font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; color: #000; transition: color 0.3s; }
.brand-logo:hover { color: var(--accent-red); }
.header-center { display: flex; gap: 1.5rem; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }
.header-center a, .header-right a { color: var(--text-muted); text-decoration: none; cursor: pointer; transition: color 0.3s; }
.header-center a.active, .header-center a:hover { color: #000; font-weight: 700; }
.header-right { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: #000; }

.page-view { display: none; padding-top: 80px; }
.page-view.active-page { display: block; }

/* HERO SECTION WITH CRIMSON GRADIENT MESH */
.hero-section { min-height: calc(100vh - 80px); display: grid; grid-template-columns: 1.1fr 0.9fr; border-bottom: 1px solid var(--border-color); }
.hero-left-pane { display: flex; flex-direction: column; justify-content: center; padding: 6rem 4rem; background: var(--card-bg); }
.red-textured-mesh { 
    background: radial-gradient(circle at 70% 40%, rgba(255,230,230,0.8) 0%, rgba(255,240,240,0.4) 50%, #f0f0ed 100%);
    position: relative; overflow: hidden;
}
.ambient-glow-orb {
    position: absolute; width: 380px; height: 380px; background: radial-gradient(circle, rgba(230,0,0,0.18) 0%, rgba(230,0,0,0) 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
    animation: pulseGlow 5s ease-in-out infinite;
}
.ambient-glow-orb-small {
    position: absolute; width: 220px; height: 220px; background: radial-gradient(circle, rgba(230,0,0,0.15) 0%, rgba(230,0,0,0) 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
}

.hero-tag { font-size: 0.7rem; letter-spacing: 3px; color: var(--accent-red); font-weight: 700; text-transform: uppercase; margin-bottom: 1.5rem; display: block; }
.hero-title { font-size: 3.6rem; font-weight: 700; line-height: 1.08; color: #000; letter-spacing: -1px; }
.hero-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; text-transform: uppercase; margin: 1.5rem 0 2.5rem 0; max-width: 480px; }
.kinetic-btn { 
    padding: 1.1rem 2.4rem; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; 
    background: #000; color: #fff; border: none; cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.kinetic-btn:hover { background: var(--accent-red); color: #fff; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(230,0,0,0.3); }

/* GENTLE MONSTER 4-GRID */
.gm-grid-section { width: 100%; padding: 4rem; display: flex; flex-direction: column; border-bottom: 1px solid var(--border-color); background: var(--card-bg); }
.gm-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; margin-bottom: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.gm-row.bottom-row { margin-bottom: 0; }

.gm-cell {
    position: relative; padding: 4rem; min-height: 480px;
    display: flex; flex-direction: column; justify-content: flex-end; background: var(--card-bg);
    transition: all 0.4s ease;
}
.gm-cell:hover { background: #fafaf8; }

.cell-left { border-right: 1px solid var(--border-color); }
.cell-right { align-items: center; justify-content: center; background: radial-gradient(circle at center, rgba(255,235,235,0.4) 0%, transparent 80%); }
.cell-bottom-left { border-right: 1px solid var(--border-color); }
.cell-bottom-right { justify-content: space-between; align-items: flex-start; }

.cell-sub { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.5rem; }
.cell-title { font-size: 2.4rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; color: #000; }
.text-link-btn { background: none; border: none; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-red); cursor: pointer; font-weight: 700; text-align: left; transition: color 0.3s; }
.text-link-btn:hover { color: #000; }
.scroll-indicator { position: absolute; bottom: 4rem; right: 4rem; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }

/* ASSETS */
.pure-png-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 2; }
.isolated-glasses-png { width: 440px; height: auto; object-fit: contain; filter: drop-shadow(0 25px 45px rgba(0,0,0,0.15)); }

.pure-png-container-straight {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; display: flex; align-items: center; justify-content: center; z-index: 3;
}
.isolated-glasses-png-straight { width: 400px; height: auto; object-fit: contain; filter: drop-shadow(0 25px 45px rgba(0,0,0,0.15)); }

.pure-png-container-circ { width: 100%; display: flex; align-items: center; justify-content: center; margin-top: 2rem; z-index: 3; }
.isolated-glasses-png-circ { width: 380px; height: auto; object-fit: contain; filter: drop-shadow(0 25px 45px rgba(0,0,0,0.15)); }

/* PARALLAX SECTION */
.creative-parallax-section {
    position: relative; padding: 10rem 4rem;
    background: var(--card-bg); color: var(--text-main); overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.parallax-bg-text {
    position: absolute; top: 50%; left: 0; transform: translateY(-50%);
    font-size: 15rem; font-weight: 700; white-space: nowrap;
    color: transparent; color: rgba(0,0,0,0.08); -webkit-text-stroke: 1.5px rgba(0,0,0,0.18);
    pointer-events: none; letter-spacing: 4px; will-change: transform;
}
.parallax-content-box { position: relative; z-index: 2; max-width: 650px; }
.section-tag { font-size: 0.7rem; letter-spacing: 3px; color: var(--accent-red); font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.parallax-content-box h2 { font-size: 3rem; font-weight: 700; line-height: 1.15; margin: 1.5rem 0; color: #000; }
.parallax-content-box p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; text-transform: uppercase; margin-bottom: 2rem; }

.floating-mini-preview {
    width: 240px; height: 130px;
    background: #fafaf8; border: 1px solid rgba(0,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.float-asset { width: 180px; height: auto; filter: contrast(1.1); }

/* BLUEPRINT ANATOMY AURA (RED & WHITE GRADIENT LUXURY) */
.blueprint-section-aura {
    position: relative; padding: 10rem 4rem;
    background: linear-gradient(180deg, var(--bg-white) 0%, #fff3f3 100%);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.blueprint-header-aura {
    position: relative; z-index: 2; margin-bottom: 5rem; text-align: center; max-width: 800px; margin-left: auto; margin-right: auto;
}
.blueprint-header-aura h2 {
    font-size: 3rem; font-weight: 700; margin-top: 0.5rem; text-transform: uppercase; color: #000; letter-spacing: 1px;
}
.blueprint-header-aura p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; text-transform: uppercase; letter-spacing: 1px; }

.blueprint-grid-aura {
    position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; max-width: 1400px; margin: 0 auto;
}
.blueprint-card-aura {
    position: relative; background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 20px; padding: 3.5rem 2.5rem;
    overflow: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}
.card-glow-bg {
    position: absolute; top: 0; left: 0; right: 0; height: 120px;
    background: linear-gradient(180deg, rgba(230,0,0,0.06) 0%, transparent 100%);
    pointer-events: none; opacity: 0; transition: opacity 0.4s;
}
.blueprint-card-aura:hover {
    transform: translateY(-8px); border-color: var(--accent-red);
    box-shadow: 0 30px 60px rgba(230,0,0,0.08);
}
.blueprint-card-aura:hover .card-glow-bg { opacity: 1; }

.bp-num-aura { font-size: 0.75rem; color: var(--accent-red); font-weight: 700; letter-spacing: 3px; display: block; margin-bottom: 1.2rem; }
.blueprint-card-aura h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; color: #000; letter-spacing: 1px; }
.blueprint-card-aura p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; text-transform: uppercase; margin-bottom: 2.5rem; }
.bp-img-wrap-aura { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; position: relative; }
.bp-img-horizontal { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.blueprint-card-aura:hover .bp-img-horizontal { transform: scale(1.06) translateY(-4px); }
.card-footer-metric {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(0,0,0,0.06); padding-top: 1.5rem; margin-top: 1rem;
    font-size: 0.68rem; letter-spacing: 2px; color: #666; text-transform: uppercase; font-weight: 700;
}
.card-footer-metric span:last-child { color: var(--accent-red); }

/* SPEC LAB */
.spec-lab-section {
    display: grid; grid-template-columns: 1fr 1.2fr;
    background: var(--card-bg); padding: 8rem 4rem; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.spec-lab-left h2 { font-size: 2.8rem; font-weight: 700; margin: 1.5rem 0; line-height: 1.15; color: #000; }
.spec-lab-left p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; text-transform: uppercase; margin-bottom: 3rem; }
.spec-pills { display: flex; gap: 1rem; flex-wrap: wrap; }
.spec-pill {
    background: #fff; border: 1px solid rgba(0,0,0,0.15);
    color: #000; padding: 0.9rem 1.6rem; font-size: 0.75rem; letter-spacing: 2px;
    cursor: pointer; font-weight: 700; transition: all 0.3s; border-radius: 6px;
}
.spec-pill.active, .spec-pill:hover { background: #000; color: #fff; border-color: #000; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.spec-lab-right { display: flex; justify-content: center; }
.spec-display-pod {
    background: radial-gradient(circle at center, #ffffff 0%, #faf8f8 100%); 
    border: 1px solid rgba(0,0,0,0.08);
    width: 100%; max-width: 560px; height: 400px;
    display: flex; align-items: center; justify-content: center;
    position: relative; border-radius: 16px; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.04);
}
.pod-glow-accent {
    position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(230,0,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.spec-interactive-img { width: 380px; height: auto; object-fit: contain; z-index: 2; }
.spec-hud {
    position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 3;
    display: flex; justify-content: space-between; font-size: 0.65rem; letter-spacing: 2px; color: #666;
    border-top: 1px solid rgba(0,0,0,0.08); padding-top: 1rem; text-transform: uppercase;
}
.spec-hud span { color: #000; font-weight: 700; }

/* BRAND MARQUEE */
.brand-marquee-section {
    background: #000; color: #fff; padding: 2.2rem 0;
    overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(0,0,0,0.1);
}
.marquee-track {
    display: inline-block; animation: marqueeScroll 25s linear infinite;
    font-size: 0.85rem; letter-spacing: 4px; font-weight: 700; text-transform: uppercase;
}
.marquee-track .dot { color: var(--accent-red); margin: 0 2rem; }

/* VAULT TABLE */
.vault-section { padding: 8rem 4rem; color: var(--text-main); background: var(--card-bg); border-bottom: 1px solid rgba(0,0,0,0.08); }
.vault-header { margin-bottom: 4rem; text-align: center; }
.vault-header h2 { font-size: 2.8rem; font-weight: 700; margin: 1rem 0; text-transform: uppercase; color: #000; }
.vault-header p { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

.vault-table-wrapper { max-width: 1000px; margin: 0 auto; background: #fafaf8; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.03); }
.vault-table { width: 100%; border-collapse: collapse; text-align: left; }
.vault-table th { background: #f0f0ed; padding: 1.5rem 2rem; font-size: 0.75rem; letter-spacing: 2px; color: #444; text-transform: uppercase; border-bottom: 1px solid rgba(0,0,0,0.08); font-weight: 700; }
.vault-table td { padding: 1.5rem 2rem; font-size: 0.85rem; letter-spacing: 1px; color: #000; border-bottom: 1px solid rgba(0,0,0,0.05); text-transform: uppercase; font-weight: 500; }
.vault-table tr:last-child td { border-bottom: none; }
.vault-table tr:hover td { background: #f4f4f0; }

/* ARCHIVE & MODALS */
.page-header-banner { padding: 6rem 4rem 3rem 4rem; border-bottom: 1px solid var(--border-color); background: var(--card-bg); }
.archive-grid-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding: 4rem; background: var(--card-bg); }
.archive-item { background: #fafaf8; padding: 2rem; border-radius: 14px; border: 1px solid var(--border-color); transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.archive-item:hover { transform: translateY(-6px); border-color: var(--accent-red); box-shadow: 0 20px 40px rgba(230,0,0,0.06); }
.transparent-cutout-box { width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; }
.cutout-img { width: 100%; height: 100%; object-fit: contain; }
.item-details h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: #000; }
.item-details span { font-size: 0.7rem; color: var(--text-muted); display: block; margin-bottom: 1.5rem; }
.add-bag-btn { width: 100%; background: #000; color: #fff; border: none; padding: 0.9rem; font-size: 0.7rem; font-weight: 700; cursor: pointer; transition: all 0.3s; border-radius: 6px; }
.add-bag-btn:hover { background: var(--accent-red); color: #fff; box-shadow: 0 8px 20px rgba(230,0,0,0.25); }

/* TOAST NOTIFICATION */
.bag-toast {
    position: fixed; bottom: 2.5rem; right: 2.5rem; background: #000; color: #fff;
    padding: 1rem 2rem; font-size: 0.75rem; letter-spacing: 2px; font-weight: 700;
    border-radius: 8px; z-index: 3000; border-left: 4px solid var(--accent-red);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); animation: textRevealUp 0.3s ease forwards;
}

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 2000; backdrop-filter: blur(8px); }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: #fff; width: 500px; padding: 3rem; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.2); border: 1px solid rgba(0,0,0,0.15); color: #000; }
.modal-content h2 { font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 700; }
.modal-content ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; max-height: 250px; overflow-y: auto; }
.modal-content li { background: #f5f5f2; padding: 1rem; border: 1px solid rgba(0,0,0,0.08); font-size: 0.8rem; border-radius: 8px; color: #333; font-weight: 500; }

