/* ======================================================
   DIVIEM AI — GLOBAL CATALOG
   Space Hub Design System (Enhanced)
   ====================================================== */

:root {
    --gold: #d4af37;
    --gold-bright: #f1c40f;
    --midnight: #05080f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(212, 175, 55, 0.15);
    /* Categories */
    --c-biz: #00cec9;
    --c-rel: #ff7675;
    --c-self: #a29bfe;
    --c-life: #55efc4;
    
    --radius: 24px;
    --transition: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--midnight);
    color: #e8edf5;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Glows */
body::before {
    content: '';
    position: fixed;
    top: -500px;
    right: -500px;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -500px;
    left: -500px;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(162, 155, 254, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== LOGO & HEADER ===== */
/* .old-site-header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(5, 8, 15, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.old-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.old-dv-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    transition: transform 0.3s var(--transition);
}
.old-dv-logo:hover {
    transform: scale(1.02);
}
.old-dv-logo-icon {
    width: 40px;
    height: 40px;
    background: url('https://diviem.lv/favicon-32x32.png') center/contain no-repeat;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.old-dv-logo-dot { color: var(--gold); }

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 100px 0 80px;
    position: relative;
}
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.02);
    padding: 8px;
    border-radius: 100px;
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.05);
}
.filter-btn {
    padding: 12px 28px;
    border-radius: 100px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s var(--transition);
}
.filter-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.filter-btn.active {
    background: var(--gold);
    color: #000;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ===== GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 120px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: all 0.5s var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(212, 175, 55, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(212, 175, 55, 0.05);
}
.product-card:hover::before {
    opacity: 1;
}

.card-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.card-cat::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.product-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.2;
}
.product-card p {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 30px;
    flex-grow: 1;
    font-weight: 400;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold);
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.price-old {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    text-decoration: line-through;
    font-family: 'Inter', sans-serif;
}
.btn-small {
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s var(--transition);
}
.product-card:hover .btn-small {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateX(5px);
}

/* Category Colors */
.cat-biz { color: var(--c-biz); }
.cat-rel { color: var(--c-rel); }
.cat-self { color: var(--c-self); }
.cat-life { color: var(--c-life); }

@media (max-width: 768px) {
    .hero { padding: 60px 0 40px; }
    .hero h1 { font-size: 2.8rem; }
    .product-grid { grid-template-columns: 1fr; gap: 20px; }
    .filter-tabs { border-radius: 20px; padding: 15px; }
    .filter-btn { padding: 8px 16px; }
}
