


        :root {
            --primary: #2563eb;
            --accent: #7c3aed;
            --dark: #0f172a;
            --light: #f8fafc;
            --glass: rgba(255, 255, 255, 0.85);
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        
        body { background-color: var(--light); color: var(--dark); line-height: 1.6; overflow-x: hidden; }

        header { 
            background: var(--glass);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 1rem 8%; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            box-shadow: 0 4px 30px rgba(0,0,0,0.03); 
            position: sticky; 
            top: 0; 
            z-index: 1000; 
            border-bottom: 1px solid rgba(255,255,255,0.3);
        }

        .logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; color: var(--dark); text-decoration: none; cursor: pointer; }
        .logo span { color: var(--primary); }

        nav { display: flex; gap: 2rem; }
        nav a { 
            cursor: pointer; 
            font-weight: 600; 
            color: var(--dark); 
            text-decoration: none; 
            transition: var(--transition); 
            font-size: 0.95rem;
            opacity: 0.7;
        }
        nav a:hover, nav a.active-link { opacity: 1; color: var(--primary); }

        .page-content { display: none; opacity: 0; transform: translateY(20px); transition: var(--transition); }
        .page-content.active { display: block; opacity: 1; transform: translateY(0); }

        .hero-home { 
            height: 85vh; 
            background: #1e293b;
            background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.7)), url('images/hero-bg.jpg') no-repeat center center/cover; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            color: white; 
            text-align: center;
            padding: 0 5%;
            transition: background 0.8s ease-in-out;
        }

        .hero-content h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -2px; }
        .hero-content p { font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 2.5rem; opacity: 0.9; max-width: 700px; margin-inline: auto; }

        .cta-button { 
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white; border: none; padding: 1.2rem 3rem; font-size: 1rem; 
            font-weight: 700; border-radius: 14px; cursor: pointer; transition: var(--transition); 
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3); text-transform: uppercase; letter-spacing: 1px;
            display: inline-block; text-decoration: none;
        }
        .cta-button:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4); }

        .section-header { padding: 100px 8% 40px; text-align: center; }
        .section-header h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -1px; }

        .controls { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
        .search-input { width: 400px; max-width: 90%; padding: 1rem 1.5rem; border-radius: 16px; border: 2px solid #e2e8f0; outline: none; transition: var(--transition); font-size: 1rem; }
        .search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1); }
        .sort-select { padding: 1rem; border-radius: 16px; border: 2px solid #e2e8f0; cursor: pointer; font-weight: 600; outline: none; }

        .grid-container { 
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
            gap: 2.5rem; padding: 0 8% 100px; 
        }

        .card { 
            background: white; border-radius: 28px; overflow: hidden; transition: var(--transition); 
            border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 4px 20px rgba(0,0,0,0.03);
            display: flex; flex-direction: column; cursor: pointer;
        }
        .card:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 30px 60px rgba(0,0,0,0.1); }

        .card-img { width: 100%; height: 260px; object-fit: cover; }
        .card-body { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
        .card-body h3 { font-size: 1.6rem; margin-bottom: 0.75rem; color: var(--dark); }
        .price-tag { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin: 1rem 0; }
        
        .meta { display: flex; gap: 1rem; font-size: 0.85rem; font-weight: 600; color: #64748b; margin-bottom: 1rem; text-transform: uppercase; }

        #backToTop {
            position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
            background: var(--primary); color: white; border-radius: 50%; display: flex;
            align-items: center; justify-content: center; cursor: pointer;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1); opacity: 0; visibility: hidden;
            transition: var(--transition); z-index: 2000; font-size: 1.5rem; border: none;
        }
        #backToTop.visible { opacity: 1; visibility: visible; }

        footer { background: var(--dark); color: white; padding: 60px 8%; text-align: center; }
        footer p { opacity: 0.5; font-size: 0.9rem; margin-top: 10px; }

        @media (max-width: 768px) { nav { display: none; } }