@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@700;800;900&display=swap');

* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --primary: #00d4ff; /* Neon Blue */
  --secondary: #7000ff; /* Deep Purple */
  --primary-glow: rgba(0, 212, 255, 0.2);
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px; /* Modern Rounded Corners */
  --shadow: 0 20px 40px -15px rgba(0,0,0,0.08);
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Outfit', sans-serif; font-weight: 900; letter-spacing: -0.5px; }

/* HEADER - Floating Glassmorphism */
.header { 
    position: fixed; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: calc(100% - 40px); 
    max-width: 1200px; 
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255,255,255,0.5); 
    z-index: 1000; 
    padding: 10px 25px; 
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 22px; font-weight: 900; color: var(--bg-dark); font-family: 'Outfit'; }
.header-nav { display: flex; gap: 25px; }
.header-nav a { 
    color: var(--text); 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 600; 
    padding: 8px 16px;
    border-radius: 10px;
    transition: 0.3s;
}
.header-nav a:hover { background: var(--bg); color: var(--primary); }

.cart-btn { 
    background: var(--bg-dark); 
    color: #fff; 
    border: none; 
    padding: 12px 24px; 
    cursor: pointer; 
    font-size: 13px; 
    font-weight: 700; 
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    gap: 10px; 
    transition: 0.3s;
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2); }
.cart-badge { background: var(--primary); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; }

/* HERO - Modern Gradient Style */
.hero { 
    padding: 200px 20px 100px; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
}
.hero-badge { 
    font-size: 13px; 
    font-weight: 700; 
    color: #fff; 
    background: var(--gradient);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 25px; 
}
.hero-content h1 { font-size: 64px; line-height: 1.1; margin-bottom: 25px; color: var(--bg-dark); }
.hero-highlight { 
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.hero-btns { display: flex; gap: 20px; }

.hero-img2 { position: relative; }
.hero-logo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); transition: 0.5s; }
.hero-img2::after {
    content: ''; position: absolute; inset: -20px; border: 2px solid var(--primary); border-radius: calc(var(--radius) + 20px); z-index: -1; opacity: 0.2;
}

/* FEATURES */
.features { background: var(--bg-dark); color: #fff; display: flex; justify-content: center; padding: 60px 0; border-radius: 40px; margin: 0 20px; }
.feature-item { text-align: center; padding: 0 50px; }
.feature-item span { font-size: 32px; margin-bottom: 15px; display: block; }
.feature-item p { font-size: 14px; font-weight: 500; color: #cbd5e1; }

/* SEO SECTION */
.seo-section { padding: 80px 20px; }
.seo-card { background: #fff; padding: 60px; border-radius: 30px; box-shadow: var(--shadow); max-width: 1200px; margin: 0 auto; }
.seo-card h2 { font-size: 32px; margin-bottom: 30px; line-height: 1.3; }
.seo-content h3 { font-size: 20px; margin: 40px 0 20px; color: var(--bg-dark); }
.seo-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 16px; line-height: 1.8; }

/* CATEGORIES */
.categories-section { max-width: 1200px; margin: 100px auto 40px; padding: 0 20px; }
.categories-grid { display: flex; gap: 15px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.category-card { 
    background: #fff; 
    padding: 20px 40px; border-radius: 15px; border: 1px solid var(--border);
    text-align: center; cursor: pointer; transition: 0.3s; white-space: nowrap;
}
.category-card:hover, .category-card.active { 
    background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); transform: translateY(-5px);
}
.category-card .cat-icon { font-size: 24px; margin-bottom: 8px; }

/* PRODUCTS */
.products-section { max-width: 1200px; margin: 40px auto 100px; padding: 0 20px; }
.section-header-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card { 
    background: #fff; 
    padding: 20px; border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    display: flex; flex-direction: column;
}
.product-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
}
.product-image { 
    height: 240px; 
    background: #f1f5f9; 
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center; 
    padding: 20px; margin-bottom: 20px;
}
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-info { display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 18px; margin-bottom: 12px; color: var(--bg-dark); }
.product-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 25px; }
.product-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-top: auto; border-top: 1px solid var(--border); padding-top: 20px; }
.product-price { font-size: 22px; font-weight: 800; color: var(--bg-dark); font-family: 'Outfit'; }
.add-to-cart { 
    background: var(--bg-dark); color: #fff; 
    border: none; border-radius: 12px;
    padding: 12px 20px; font-size: 13px; font-weight: 700; 
    cursor: pointer; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 10px;
}
.add-to-cart:hover { 
    background: var(--primary); color: var(--bg-dark); 
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* FOOTER */
.footer { background: var(--bg-dark); color: #fff; padding: 100px 20px 40px; border-top-left-radius: 60px; border-top-right-radius: 60px; margin-top: 100px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; }
.footer-col h4 { color: var(--primary); margin-bottom: 30px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: 0.3s; }
.footer-col a:hover { color: var(--primary); }

/* BUTTONS */
.btn { 
    padding: 16px 32px; font-size: 14px; font-weight: 700; 
    border-radius: 14px; border: none; cursor: pointer; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    text-decoration: none;
}
.btn-primary { 
    background: var(--bg-dark); color: #fff; 
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1);
}
.btn-primary:hover { 
    background: var(--primary); 
    color: var(--bg-dark);
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px var(--primary-glow);
}
.btn-outline { 
    background: transparent; color: var(--bg-dark); 
    border: 2px solid var(--bg-dark); 
}
.btn-outline:hover { 
    background: var(--bg-dark); 
    color: #fff;
    transform: translateY(-3px); 
}
.btn-full { width: 100%; }

/* CART QUANTITY & REMOVE BUTTONS */
.qty-control { 
    display: flex; align-items: center; 
    gap: 12px; margin-top: 15px; 
    background: var(--bg);
    padding: 6px; border-radius: 12px;
    width: fit-content;
    border: 1px solid var(--border);
}
.qty-btn { 
    width: 32px; height: 32px; 
    border: none; border-radius: 10px;
    background: #fff; color: var(--bg-dark);
    font-size: 18px; font-weight: 700;
    cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.qty-btn:hover { 
    background: var(--bg-dark); 
    color: #fff; 
    transform: scale(1.05);
}
.qty-control span {
    font-weight: 800; font-size: 15px; min-width: 25px; text-align: center;
}

.remove-item { 
    position: absolute; top: 15px; right: 0; 
    width: 30px; height: 30px;
    background: #fee2e2; color: #ef4444; 
    border: none; border-radius: 50%;
    cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.remove-item:hover { 
    background: #ef4444; color: #fff; 
    transform: rotate(90deg) scale(1.1);
}

/* PAGINATION BUTTONS */
.page-btn {
    width: 45px; height: 45px; border: 1px solid var(--border); 
    background: #fff; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; cursor: pointer; transition: 0.3s;
    color: var(--text-muted);
}
.page-btn:hover, .page-btn.active { 
    background: var(--bg-dark); 
    color: #fff; 
    border-color: var(--bg-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* CART SIDEBAR */
.cart-sidebar { 
    position: fixed; top: 0; right: -100%; width: 450px; height: 100vh;
    background: #fff; z-index: 2001; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 60px rgba(0,0,0,0.1); 
    display: flex; flex-direction: column;
}
.cart-sidebar.open { right: 0; }

.cart-header { 
    padding: 30px; border-bottom: 1px solid var(--border); 
    display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 { font-family: 'Outfit'; font-size: 20px; margin: 0; }
.close-cart { 
    background: var(--bg); color: var(--text-muted); 
    border: none; width: 36px; height: 36px; 
    border-radius: 50%; font-size: 18px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.close-cart:hover { 
    background: var(--bg-dark); color: #fff; 
    transform: rotate(90deg);
}

.cart-items { flex: 1; overflow-y: auto; padding: 20px 30px; }
.cart-item { 
    display: flex; gap: 20px; padding: 20px 0; 
    border-bottom: 1px solid var(--border); 
    position: relative; align-items: center; 
}
.cart-item img { 
    width: 80px; height: 80px; 
    object-fit: contain; 
    background: var(--bg); 
    border-radius: 12px;
    padding: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; color: var(--bg-dark); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { color: var(--secondary); font-weight: 800; font-size: 15px; }

@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content h1 { font-size: 48px; }
    .hero-btns { justify-content: center; }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
    .features { flex-direction: column; gap: 40px; }
}
