/* ============================================
   NGB SUPREMACY — Liquid Glitter Aesthetic
   ============================================ */

:root {
    --pink: #ff6b9d;
    --purple: #c471ed;
    --gold: #f7c948;
    --deep-purple: #1a0a2e;
    --dark: #0d0515;
    --light: #faf0ff;
    --glass: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.1);
}

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

html { scroll-behavior: smooth; }

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

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Glitter Canvas ---- */
#glitter-canvas {
    position: fixed; inset:0;
    width:100%; height:100%;
    pointer-events: none;
    z-index: 0;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed; top:0; left:0; right:0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px;
    z-index: 100;
    background: rgba(13,5,21,0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: background .3s;
}
.nav-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 900; font-size: 1.25rem;
    background: linear-gradient(135deg, var(--pink), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.7); text-decoration:none; font-size:.9rem; font-weight:500; transition: color .3s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    padding: 8px 20px; border-radius: 50px;
    color: #fff !important; font-weight: 600;
}
.nav-toggle { display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px; }
.nav-toggle span { display:block; width:24px; height:2px; background:#fff; border-radius:2px; transition:.3s; }

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px;
    z-index: 1;
}
.hero-liquid {
    position: absolute; inset:0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 40%, rgba(196,113,237,.25) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 70% 60%, rgba(255,107,157,.2) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(247,201,72,.15) 0%, transparent 60%);
    animation: liquidShift 8s ease-in-out infinite alternate;
}
@keyframes liquidShift {
    0% { transform: scale(1) translate(0,0); }
    50% { transform: scale(1.05) translate(-2%,3%); }
    100% { transform: scale(1) translate(2%,-2%); }
}
.hero-content { position: relative; z-index:2; max-width:700px; }
.hero-eyebrow {
    font-size: .85rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 24px; opacity:.8;
}
.hero-title { font-size: clamp(3.5rem,10vw,7rem); font-weight:900; line-height:1; margin-bottom:28px; }
.shimmer-text {
    display: inline-block;
    background: linear-gradient(90deg, var(--pink), var(--gold), var(--purple), var(--pink));
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}
.shimmer-text.delay { animation-delay: -2s; }
@keyframes shimmer { 0%{background-position:0% 50%} 100%{background-position:300% 50%} }

.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.65); margin-bottom: 40px; line-height:1.8; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: 50px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff; text-decoration:none; font-weight:600; font-size:1rem;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 30px rgba(196,113,237,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(196,113,237,.5); }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

.hero-scroll-hint {
    position: absolute; bottom: 32px; left:50%; transform:translateX(-50%);
    width:24px; height:40px; border:2px solid rgba(255,255,255,.25); border-radius:12px;
    display:flex; justify-content:center; padding-top:6px;
}
.scroll-dot {
    width:4px; height:8px; background:var(--gold); border-radius:4px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(14px);opacity:.3} }

/* ---- Story ---- */
.story { position:relative; z-index:1; padding: 120px 0; }
.story-grid { display:grid; grid-template-columns: 1fr 1fr; gap:80px; align-items:center; }
.story-visual {
    position:relative; height:400px;
}
.story-orb {
    position:absolute; border-radius:50%;
    background: radial-gradient(circle, rgba(196,113,237,.6), transparent 70%);
    width:280px; height:280px; top:10%; left:10%;
    animation: orbFloat 6s ease-in-out infinite;
    filter: blur(40px);
}
.orb-2 {
    background: radial-gradient(circle, rgba(255,107,157,.5), transparent 70%);
    width:220px; height:220px; top:40%; left:40%;
    animation-delay:-2s; animation-duration:7s;
}
.orb-3 {
    background: radial-gradient(circle, rgba(247,201,72,.4), transparent 70%);
    width:180px; height:180px; top:20%; left:55%;
    animation-delay:-4s; animation-duration:5s;
}
@keyframes orbFloat {
    0%,100%{ transform: translate(0,0) scale(1); }
    33%{ transform: translate(20px,-30px) scale(1.1); }
    66%{ transform: translate(-15px,20px) scale(.95); }
}

.section-label {
    font-size:.8rem; letter-spacing:4px; text-transform:uppercase;
    color: var(--gold); margin-bottom:16px;
}
.section-label.center { text-align:center; }
.story-text h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom:24px; }
.gradient-text {
    background: linear-gradient(135deg, var(--pink), var(--gold));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.story-text p { color: rgba(255,255,255,.6); margin-bottom:16px; font-size:1.05rem; }
.story-stats { display:flex; gap:36px; margin-top:36px; }
.stat-num {
    display:block; font-family:'Playfair Display',serif; font-size:1.8rem; font-weight:700;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.stat-label { font-size:.8rem; color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:1px; }

/* ---- Products ---- */
.products { position:relative; z-index:1; padding:100px 0 120px; }
.section-title { text-align:center; font-size:clamp(2rem,4vw,3rem); margin-bottom:40px; }
.products-cta { text-align:center; }

/* ---- Footer ---- */
.footer {
    position:relative; z-index:1;
    border-top:1px solid var(--glass-border);
    padding:60px 0 30px;
    background: rgba(0,0,0,.3);
}
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-brand h3 {
    font-size:1.3rem; margin-bottom:12px;
    background: linear-gradient(135deg, var(--pink), var(--gold));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.footer-brand p { color:rgba(255,255,255,.4); font-size:.9rem; max-width:300px; }
.footer-links h4 { font-size:.85rem; text-transform:uppercase; letter-spacing:2px; margin-bottom:16px; color:rgba(255,255,255,.6); }
.footer-links a { display:block; color:rgba(255,255,255,.4); text-decoration:none; font-size:.9rem; margin-bottom:10px; transition:color .3s; }
.footer-links a:hover { color:var(--gold); }
.footer-bottom { text-align:center; padding-top:24px; border-top:1px solid var(--glass-border); }
.footer-bottom p { font-size:.8rem; color:rgba(255,255,255,.25); }

/* ---- Mobile ---- */
@media (max-width:768px) {
    .nav-links { display:none; }
    .nav-links.open {
        display:flex; flex-direction:column;
        position:absolute; top:100%; left:0; right:0;
        background:rgba(13,5,21,.95); backdrop-filter:blur(20px);
        padding:20px 32px; gap:16px;
        border-bottom:1px solid var(--glass-border);
    }
    .nav-toggle { display:flex; }

    .hero-title { font-size: clamp(2.8rem,12vw,4.5rem); }
    .story-grid { grid-template-columns:1fr; gap:40px; }
    .story-visual { height:250px; }
    .products-grid { grid-template-columns:1fr; max-width:400px; margin-left:auto; margin-right:auto; }
    .filter-bar { gap:8px; }
    .filter-btn { padding:8px 16px; font-size:.8rem; }
    .footer-grid { grid-template-columns:1fr; gap:32px; }
    .story-stats { gap:20px; }
    .stat-num { font-size:1.4rem; }
}

@media (min-width:769px) and (max-width:1024px) {
    .products-grid { grid-template-columns: repeat(2,1fr); }
}

/* ---- Filter Bar ---- */
.filter-bar {
    display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.filter-btn {
    background: var(--glass); border: 1px solid var(--glass-border);
    color: rgba(255,255,255,.7); padding: 10px 24px; border-radius: 50px;
    font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 500;
    cursor: pointer; transition: all .3s;
}
.filter-btn:hover { border-color: rgba(196,113,237,.4); color: #fff; }
.filter-btn.active {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-color: transparent; color: #fff; font-weight: 600;
    box-shadow: 0 4px 20px rgba(196,113,237,.3);
}

.model-filter-bar {
    display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
    min-height: 0; transition: all .3s;
}
.model-btn {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.55); padding: 6px 16px; border-radius: 50px;
    font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 500;
    cursor: pointer; transition: all .3s;
}
.model-btn:hover { border-color: rgba(247,201,72,.4); color: #fff; }
.model-btn.active {
    background: linear-gradient(135deg, var(--gold), #e8a930);
    border-color: transparent; color: var(--dark); font-weight: 600;
}

.product-count {
    text-align: center; font-size: .85rem; color: rgba(255,255,255,.4);
    margin-bottom: 32px; letter-spacing: 1px;
}

/* ---- Product Cards (dynamic) ---- */
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px; margin-bottom: 60px;
}

.product-card {
    position: relative; display: flex; flex-direction: column;
    text-decoration: none; color: var(--light);
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 20px; overflow: hidden;
    transition: transform .4s, box-shadow .4s, border-color .4s, opacity .4s;
    opacity: 1;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(196,113,237,.2);
    border-color: rgba(196,113,237,.3);
}
.product-card.fade-in {
    animation: cardFadeIn .4s ease forwards;
}
@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card .product-img-wrap {
    position: relative; padding: 20px; display: flex; justify-content: center;
    background: rgba(255,255,255,.02);
}
.product-card .product-img-wrap img {
    width: 180px; height: 180px; object-fit: contain;
    transition: transform .4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-card .product-info { padding: 4px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .product-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.product-card .product-info .product-desc {
    font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 12px; line-height: 1.5; flex: 1;
}
.product-card .product-info .product-price {
    font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--pink));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.product-card .product-info .product-cta {
    font-size: .82rem; font-weight: 600; color: var(--gold);
    letter-spacing: .5px; transition: letter-spacing .3s;
}
.product-card:hover .product-cta { letter-spacing: 2px; }

/* ---- Reveal Animation ---- */
.reveal { opacity:0; transform:translateY(40px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity:1; transform:translateY(0); }
