@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    /* Theme: Deep Space & Neon */
    --bg-deep: #020617;
    --bg-card: #0f172a;
    --bg-glass: rgba(15, 23, 42, 0.6);
    
    --primary: #8b5cf6; /* Violet */
    --primary-glow: #a78bfa;
    --accent: #06b6d4; /* Cyan */
    --pop: #ec4899; /* Pink */
    
    --text: #f8fafc;
    --text-muted: #94a3b8;
    
    --border: rgba(255, 255, 255, 0.08);
    --radius: 24px;
    
    --font-main: 'Vazirmatn', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; cursor: pointer; transition: 0.3s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.container-fluid { width: 95%; max-width: 1600px; margin: 0 auto; padding: 0 1rem; }
.full { width: 100%; }
.hidden { display: none !important; }

/* Background Animation */
.bg-animation { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.star-field {
    width: 100%; height: 100%;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px; opacity: 0.1;
}
.nebula {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(120px); opacity: 0.15;
}
.n1 { top: -10%; right: -10%; background: var(--primary); }
.n2 { bottom: -10%; left: -10%; background: var(--accent); }

/* Header */
.glass-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(2, 6, 23, 0.8); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 80px;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo {
    display: flex; align-items: center; gap: 0.8rem;
    font-size: 1.5rem; font-weight: 900; color: var(--text);
    letter-spacing: 1px; cursor: pointer;
}
.logo-icon {
    width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    font-weight: 600; color: var(--text-muted); font-size: 0.95rem;
    position: relative; transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); text-shadow: 0 0 10px rgba(6, 182, 212, 0.4); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -28px; left: 0; width: 100%; height: 3px;
    background: var(--accent); box-shadow: 0 0 10px var(--accent); border-radius: 10px 10px 0 0;
}

.header-actions { display: flex; align-items: center; gap: 1rem; }
.btn-login {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.5rem; border: 1px solid var(--border);
    border-radius: 50px; color: var(--text); font-weight: 600;
    background: rgba(255,255,255,0.05); transition: 0.3s;
}
.btn-login:hover { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); }

.btn-cart {
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(255,255,255,0.05); color: var(--text);
    display: flex; align-items: center; justify-content: center;
    position: relative; transition: 0.3s;
}
.btn-cart:hover { background: rgba(255,255,255,0.1); color: var(--pop); }
#cart-badge {
    position: absolute; top: -2px; right: -2px; background: var(--pop);
    width: 20px; height: 20px; border-radius: 50%; font-size: 0.75rem;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.mobile-toggle { display: none; color: white; font-size: 1.5rem; }

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0; background: var(--bg-deep); z-index: 200;
    transform: translateX(100%); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; padding: 2rem;
}
.mobile-menu.active { transform: translateX(0); }
.mm-header { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.mm-links { display: flex; flex-direction: column; gap: 1.5rem; }
.mm-links a { font-size: 1.2rem; font-weight: 600; border-bottom: 1px solid var(--border); padding-bottom: 0.8rem; }

/* Hero Section */
.hero-section {
    padding: 6rem 0; min-height: 700px; display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; }

.hero-text { z-index: 2; }
.hero-tag {
    display: inline-block; background: rgba(6, 182, 212, 0.15); color: var(--accent);
    padding: 0.5rem 1.2rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
    margin-bottom: 1.5rem; border: 1px solid rgba(6, 182, 212, 0.3);
}
.hero-text h1 {
    font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem;
}
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--pop));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 550px; }

.hero-buttons { display: flex; gap: 1rem; margin-bottom: 3rem; }
.btn-primary-lg {
    background: linear-gradient(135deg, var(--primary), var(--pop));
    color: white; padding: 1rem 2.5rem; border-radius: 16px;
    font-weight: 700; font-size: 1.1rem; transition: 0.3s;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    display: flex; align-items: center; gap: 0.8rem;
}
.btn-primary-lg:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5); }

.btn-outline-lg {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    color: white; padding: 1rem 2.5rem; border-radius: 16px;
    font-weight: 700; font-size: 1.1rem; transition: 0.3s;
    display: flex; align-items: center; gap: 0.8rem;
}
.btn-outline-lg:hover { background: rgba(255,255,255,0.1); border-color: white; }

.hero-stats { display: flex; gap: 3rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.stat-item strong { display: block; font-size: 1.8rem; color: white; margin-bottom: 0.2rem; }
.stat-item span { color: var(--text-muted); font-size: 0.9rem; }

/* Hero Visual (Floating Cards) */
.hero-visual { position: relative; height: 500px; display: flex; justify-content: center; align-items: center; }
.glass-card {
    position: absolute; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 1rem 1.5rem; border-radius: 20px;
    display: flex; align-items: center; gap: 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); animation: float 6s infinite ease-in-out;
}
.glass-card strong { display: block; font-size: 1.1rem; color: white; }
.glass-card small { color: var(--accent); }
.icon-box {
    width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.i-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.i-spotify { background: #1db954; color: white; }
.i-tele { background: #229ED9; color: white; }

.card-1 { top: 10%; right: 10%; animation-delay: 0s; z-index: 2; }
.card-2 { bottom: 20%; left: 5%; animation-delay: 2s; z-index: 1; }
.card-3 { top: 40%; right: -5%; animation-delay: 4s; z-index: 3; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Services Strip */
.services-strip { border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.strip-inner { display: flex; justify-content: space-around; padding: 2rem 0; flex-wrap: wrap; gap: 2rem; }
.strip-item {
    display: flex; align-items: center; gap: 0.8rem; color: var(--text-muted);
    font-weight: 700; cursor: pointer; transition: 0.3s;
}
.strip-item i { color: var(--primary); }
.strip-item:hover { color: white; transform: scale(1.05); }

/* Products Grid */
.section { padding: 5rem 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: white; }
.view-all { color: var(--accent); font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.product-card {
    background: var(--bg-card); border-radius: 24px; padding: 1.5rem;
    border: 1px solid var(--border); transition: 0.3s;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.product-card:hover {
    border-color: var(--primary); transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}
.pc-img {
    height: 180px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03); border-radius: 16px; margin-bottom: 1.5rem;
}
.pc-img img { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 0 15px rgba(255,255,255,0.2)); }
.pc-info { flex: 1; display: flex; flex-direction: column; }
.pc-cat { font-size: 0.8rem; color: var(--accent); margin-bottom: 0.5rem; font-weight: 700; }
.pc-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: white; }
.pc-price { font-size: 1.2rem; font-weight: 800; color: var(--pop); margin-bottom: 1.5rem; }
.btn-add {
    width: 100%; padding: 0.8rem; border-radius: 12px; font-weight: 700;
    background: rgba(255,255,255,0.05); color: white; border: 1px solid var(--border);
    transition: 0.3s; margin-top: auto;
}
.btn-add:hover { background: var(--primary); border-color: var(--primary); }

/* Offer Banner */
.offer-banner {
    background: linear-gradient(135deg, #312e81, #4c1d95);
    border-radius: 30px; padding: 4rem; display: flex; align-items: center;
    justify-content: space-between; gap: 4rem; position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.ob-content { flex: 1; z-index: 2; }
.ob-content h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }
.ob-content p { font-size: 1.1rem; color: #e0e7ff; margin-bottom: 2rem; max-width: 500px; }
.btn-white {
    background: white; color: #4c1d95; padding: 0.9rem 2rem; border-radius: 12px;
    font-weight: 800; transition: 0.3s;
}
.btn-white:hover { background: #f3e8ff; }
.ob-img img { width: 250px; transform: rotate(15deg); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }

/* Blog */
.section-head.center { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.section-head p { color: var(--text-muted); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card {
    background: var(--bg-card); border-radius: 20px; overflow: hidden;
    border: 1px solid var(--border); cursor: pointer; transition: 0.3s;
}
.blog-card:hover { transform: scale(1.02); border-color: var(--accent); }
.bc-img { height: 220px; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; }
.bc-content { padding: 1.5rem; }
.bc-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.8rem; color: white; }
.bc-content p { font-size: 0.9rem; color: var(--text-muted); }

/* Single Blog */
.single-blog-container { max-width: 800px; }
.back-btn { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); margin-bottom: 2rem; font-weight: 600; }
.article-box { background: var(--bg-card); padding: 3rem; border-radius: 24px; border: 1px solid var(--border); }
.article-box img { width: 100%; height: 400px; object-fit: cover; border-radius: 16px; margin-bottom: 2rem; }
.article-box h1 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--primary-glow); }
#sb-content { font-size: 1.1rem; line-height: 1.8; color: #e2e8f0; }

/* Auth */
.auth-wrapper { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card {
    background: var(--bg-card); padding: 3rem; border-radius: 30px;
    width: 100%; max-width: 420px; text-align: center; border: 1px solid var(--border);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.1);
}
.auth-icon { font-size: 3.5rem; color: var(--accent); margin-bottom: 1rem; }
.auth-card h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.auth-card p { color: var(--text-muted); margin-bottom: 2rem; }
.inp-group {
    background: rgba(0,0,0,0.3); border-radius: 12px; padding: 0.9rem;
    display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem;
    border: 1px solid var(--border);
}
.inp-group i { color: var(--text-muted); }
.inp-group input { background: transparent; border: none; color: white; width: 100%; font-size: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--pop); }
.ci-list { margin-top: 2rem; }
.ci-list li { display: flex; gap: 1rem; margin-bottom: 2rem; }
.ci-list i { color: var(--accent); width: 24px; height: 24px; margin-top: 5px; }
.contact-form { background: var(--bg-card); padding: 2.5rem; border-radius: 24px; border: 1px solid var(--border); }
.contact-form input, .contact-form textarea {
    width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border);
    padding: 1rem; margin-bottom: 1rem; border-radius: 12px; color: white;
}

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.chk-main, .chk-side { background: var(--bg-card); padding: 2rem;margin:1rem; border-radius: 24px; border: 1px solid var(--border); }
.chk-main h3 { margin-bottom: 1.5rem; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.chk-main input, .chk-main textarea {
    width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border);
    padding: 1rem; margin-bottom: 1rem; border-radius: 12px; color: white;
}
.info-box { background: rgba(6, 182, 212, 0.1); color: var(--accent); padding: 1rem; border-radius: 12px; display: flex; gap: 0.8rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.chk-total {
    margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; font-weight: 700; font-size: 1.2rem; color: var(--pop);
}

/* Footer */
.footer { background: #000; padding: 5rem 0 2rem; margin-top: auto; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.brand h3 { color: var(--primary); font-size: 1.8rem; margin-bottom: 1rem; }
.socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; transition: 0.3s; }
.socials a:hover { background: var(--primary); }
.f-col h4 { margin-bottom: 1.5rem; color: white; font-size: 1.1rem; }
.f-col a { display: block; margin-bottom: 0.8rem; color: var(--text-muted); transition: 0.3s; }
.f-col a:hover { color: var(--accent); padding-right: 5px; }
.enamad { border: 1px solid var(--border); padding: 1rem; border-radius: 16px; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-copy { text-align: center; color: var(--text-muted); padding-top: 2rem; border-top: 1px solid var(--border); }

/* Cart Drawer */
.cart-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: 400px;
    background: var(--bg-card); z-index: 200; transform: translateX(-100%);
    transition: 0.3s; display: flex; flex-direction: column; border-right: 1px solid var(--border);
}
.cart-drawer.open { transform: translateX(0); }
.cd-header { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cd-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cd-footer { padding: 1.5rem; background: rgba(0,0,0,0.2); }
.cd-total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 1rem; color: var(--pop); font-size: 1.2rem; }
.cart-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.cart-item img { width: 60px; height: 60px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,0.05); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 150; display: none; backdrop-filter: blur(5px); }
.overlay.open { display: block; }

/* Shop Page Header */
.shop-header-bg {
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.1), transparent);
    padding: 4rem 0 2rem; text-align: center; border-bottom: 1px solid var(--border);
}
.shop-header-bg h1 { font-size: 3rem; margin-bottom: 2rem; }
.filters { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.filter-btn {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-muted);
    padding: 0.7rem 1.8rem; border-radius: 50px; transition: 0.3s; font-weight: 600;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }

/* Responsive */
@media(max-width: 900px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-btns, .hero-stats { justify-content: center; }
    .hero-visual { display: none; } /* Hide complex visual on mobile */
    .offer-banner { flex-direction: column; text-align: center; padding: 2rem; }
    .ob-img { display: none; }
    .contact-grid, .checkout-layout, .footer-inner { grid-template-columns: 1fr; }
    .cart-drawer { width: 100%; }
}

/* Toast */
.toast {
    position: fixed; bottom: 2rem; left: 2rem;
    background: var(--accent); color: var(--bg-deep);
    padding: 1rem 1.5rem; border-radius: 50px;
    z-index: 1000; display: flex; align-items: center; gap: 0.5rem; font-weight: 700;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); animation: slideUp 0.3s;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.view { display: none; animation: fadeIn 0.5s; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
</style>
