/* Shop Styles — PromptForgeHQ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6366f1; --primary-light: #818cf8; --accent: #06b6d4;
    --bg: #0a0a1a; --text: #e2e8f0; --text-muted: #94a3b8; --text-bright: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.06); --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); --blur: 20px;
    --radius: 16px; --radius-sm: 10px; --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif; background: var(--bg);
    color: var(--text); line-height: 1.6; overflow-x: hidden;
}

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

.glass {
    background: var(--glass-bg); backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-border);
    border-radius: var(--radius); box-shadow: var(--glass-shadow);
}

/* Background */
.bg-gradient {
    position: fixed; inset: 0; z-index: -2;
    background: radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; animation: float 20s infinite ease-in-out; }
.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--accent); bottom: -50px; right: -50px; animation-delay: -10s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0;
    background: rgba(10, 10, 26, 0.7); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: inherit; }
.logo-icon { color: var(--primary-light); font-size: 1.3rem; }
.logo-text { color: var(--text-bright); }
.logo-accent { color: var(--primary-light); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; transition: color var(--transition); }
.nav-links a:hover { color: var(--text-bright); }

/* Shop Hero */
.shop-hero { padding: 120px 0 40px; }
.shop-hero-card { padding: 48px; text-align: center; }
.shop-badge { display: inline-block; padding: 8px 20px; background: rgba(99, 102, 241, 0.15); border: 1px solid rgba(99, 102, 241, 0.3); border-radius: 100px; font-size: 0.85rem; color: var(--primary-light); margin-bottom: 20px; }
.shop-hero-card h1 { font-size: 2.8rem; font-weight: 800; color: var(--text-bright); margin-bottom: 16px; }
.gradient-text { background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.shop-hero-card p { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Products */
.products-section { padding: 40px 0 100px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }

.product-card {
    padding: 0; overflow: hidden; transition: all var(--transition); cursor: pointer;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(99, 102, 241, 0.3); }

.product-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 1px solid var(--glass-border); }
.product-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1.2rem; font-weight: 600; color: var(--text-bright); margin-bottom: 8px; }
.product-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.5rem; font-weight: 700; color: var(--text-bright); }

.btn-buy {
    padding: 10px 24px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
    cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); }
.btn-buy:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Loading */
.loading-card { padding: 60px; text-align: center; grid-column: 1 / -1; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--glass-border); border-top-color: var(--primary-light); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Empty */
.empty-card { padding: 60px; text-align: center; grid-column: 1 / -1; }
.empty-card p { color: var(--text-muted); font-size: 1.1rem; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--glass-border); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .shop-hero-card h1 { font-size: 2rem; }
    .products-grid { grid-template-columns: 1fr; }
}
