:root {
    --primary: #4facfe; /* Classy Tech Blue */
    --bg: #050507;      /* True Deep Black */
    --card-bg: rgba(255, 255, 255, 0.02);
    --text-dim: #9ca3af;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg); 
    color: #fff;
    overflow-x: hidden;
}

/* Premium Grid Background */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

#cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* The "Trio." Logo Styling */
.navbar { 
    background: rgba(5, 5, 7, 0.8); 
    backdrop-filter: blur(20px); 
    padding: 25px 8%; 
    display: flex; justify-content: space-between; align-items: center; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    position: sticky; top: 0; z-index: 100; 
}

.logo { 
    font-family: 'Outfit', sans-serif;
    font-size: 32px; 
    font-weight: 800; 
    letter-spacing: -1.5px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}
.logo span { -webkit-text-fill-color: var(--primary); }

.nav-links a { 
    text-decoration: none; color: var(--text-dim); 
    font-weight: 500; margin-left: 35px; transition: 0.4s; 
    font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
}
.nav-links a:hover { color: var(--primary); transform: translateY(-2px); }

/* Card Layout */
.container { 
    max-width: 1250px; margin: 80px auto; 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 35px; padding: 0 20px; 
}

/* Premium Card Design */
.card { 
    background: var(--card-bg); 
    padding: 40px 30px; border-radius: 32px; 
    border: 1px solid rgba(255,255,255,0.07); 
    display: flex; flex-direction: column; 
    position: relative; overflow: hidden; 
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(15px);
}

.card:hover { 
    transform: translateY(-15px); 
    border-color: rgba(79, 172, 254, 0.3); 
    box-shadow: 0 40px 80px rgba(0,0,0,0.8); 
}

.glow-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(79, 172, 254, 0.1) 0%, transparent 75%);
    opacity: 0; transition: 0.6s; z-index: 0;
}
.card:hover .glow-bg { opacity: 1; }

.product-info { position: relative; z-index: 1; flex-grow: 1;}

/* BG REMOVAL EFFECT */
.card img { 
    width: 100%; height: 210px; object-fit: contain; margin-bottom: 30px; 
    /* This makes the image background transparent if it is dark/black */
    mix-blend-mode: screen; 
    /* Adds a subtle glow behind the product */
    filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.2)); 
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover img { transform: scale(1.1) translateY(-10px); }

.card h3 { 
    font-family: 'Outfit', sans-serif;
    font-size: 24px; font-weight: 600; 
    margin-bottom: 20px; color: #fff;
}

/* Detail Table */
.specs-table { 
    width: 100%; margin-bottom: 30px; font-size: 13px; 
    color: var(--text-dim); border-collapse: collapse;
}
.specs-table td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.specs-table td:last-child { text-align: right; color: #fff; font-weight: 600; }

/* Premium Button */
.glossy-btn {
    background: #fff; color: #000; border: none; padding: 18px; 
    border-radius: 20px; font-weight: 700; cursor: pointer; 
    transition: 0.4s ease; font-size: 12px;
    text-transform: uppercase; letter-spacing: 1.5px;
}
.glossy-btn:hover { 
    background: var(--primary); color: #fff;
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.4);
}

/* Badge Aesthetic */
.badge { 
    position: absolute; top: 25px; right: 25px; 
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; padding: 6px 16px; border-radius: 100px; 
    font-size: 10px; font-weight: 600; z-index: 2; 
    backdrop-filter: blur(10px); text-transform: uppercase;
}
