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

:root {
    --bg: #08090c;
    --panel: #111217;
    --panel2: #17181f;
    --red: #f12735;
    --red-glow: #f1273555;
    --white: #f6f4f4;
    --muted: #a8a8b2;
    --line: #ffffff17;
    --green: #54d49b;
    --gold: #ffc44d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg);
    color: var(--white);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 15% 0%, #9d10251e, transparent 38%),
                radial-gradient(ellipse at 100% 55%, #d51a2510, transparent 34%);
    z-index: -1;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: auto; }

/* --- Header --- */
.topbar {
    position: sticky; top: 0; z-index: 10;
    background: #08090ce8; backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.brand-mark {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 2px solid var(--red); border-radius: 13px;
    background: linear-gradient(145deg, #2a1016, #101116);
    box-shadow: 0 0 26px #e51d2a24; font-size: 23px; color: #fff;
}
.brand-name { font-size: 20px; line-height: 1.2; }
.brand-name span { color: var(--red); }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1.8px; margin-top: 4px; }
.navlinks { display: flex; align-items: center; gap: 24px; color: #d2d1d6; font-size: 14px; }
.navlinks a:hover { color: var(--red); }

/* --- Buttons --- */
.btn {
    border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; border-radius: 12px; font-weight: 800; transition: .2s;
    padding: 12px 20px; min-height: 48px; font-family: inherit; font-size: 14px;
}
.btn-primary {
    background: linear-gradient(135deg, #ff3442, #b70c20);
    color: white; box-shadow: 0 10px 28px #d7182c25;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px #d7182c3b; }
.btn-secondary {
    background: #ffffff08; color: #eee; border: 1px solid var(--line);
}
.btn-secondary:hover { background: #ffffff12; border-color: var(--red); }
.btn-block { width: 100%; }

/* --- Hero --- */
.hero { padding: 60px 0 40px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.3; margin: 18px 0 14px; font-weight: 900; }
.hero h1 span { color: var(--red); text-shadow: 0 0 35px #f127352b; }
.hero p { color: var(--muted); font-size: 16px; max-width: 600px; margin-bottom: 25px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 12px; border-radius: 100px;
    background: #e51b2a12; border: 1px solid #e51b2a42;
    color: #ff6973; font-size: 12px; font-weight: 800;
}

/* --- Grid & Cards --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
    background: linear-gradient(145deg, #15161d, #101116);
    border: 1px solid var(--line); border-radius: 20px;
    padding: 25px; box-shadow: 0 16px 40px #0002;
}

/* --- Product Card --- */
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-cover {
    width: 100%; height: 220px; object-fit: cover;
    border-radius: 12px; margin-bottom: 15px;
    border: 1px solid var(--line); transition: transform 0.3s;
}
.product-card:hover .product-cover { transform: scale(1.02); }
.product-title { font-size: 20px; margin-bottom: 8px; }
.product-desc { color: var(--muted); font-size: 13px; flex-grow: 1; margin-bottom: 15px; white-space: pre-line; }
.product-price { font-size: 22px; font-weight: 900; color: var(--white); }
.product-price span { font-size: 13px; color: var(--red); font-weight: normal; }

/* --- Forms --- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: #d9d7df; margin-bottom: 8px; font-weight: 700; }
.form-control {
    width: 100%; height: 50px; border: 1px solid #ffffff20; border-radius: 11px;
    background: #090a0e; color: white; padding: 0 15px; outline: none; transition: .2s; font-family: inherit;
}
textarea.form-control { height: 120px; padding: 12px 15px; resize: vertical; }
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px #f127351b; }

/* --- Notices --- */
.alert { padding: 12px 15px; border-radius: 10px; margin-bottom: 20px; font-size: 13px; }
.alert-error { background: #ef26321a; border: 1px solid #ef263244; color: #ff9ca3; }
.alert-success { background: #26b87d18; border: 1px solid #26b87d44; color: #8ce7bd; }

/* --- Tables --- */
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: right; }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: 13px; }
th { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 11px; }

/* --- Badges --- */
.badge {
    display: inline-flex; border-radius: 7px; padding: 3px 8px; font-size: 11px; font-weight: 800;
    background: #e51b2a1c; color: #ff7b84; border: 1px solid #e51b2a38;
}
.badge-success { background: #26b87d18; color: var(--green); border-color: #26b87d44; }
.badge-warning { background: #ffc44d18; color: var(--gold); border-color: #ffc44d44; }

/* --- Footer --- */
footer { border-top: 1px solid var(--line); padding: 25px 0; color: var(--muted); font-size: 12px; text-align: center; margin-top: 60px; }

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 10px; }
.mt-4 { margin-top: 25px; }
.mb-4 { margin-bottom: 25px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 10px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .navlinks a:not(.btn) { display: none; }
    .nav { min-height: 66px; }
    .hero { padding: 30px 0; }
  }
