:root {
  --bg: #0f172a;
  --card: #0b1324;
  --muted: #94a3b8;
  --text: #e2e8f0;
  --accent: #0ea5e9;
  --accent-2: #22d3ee;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Vazirmatn", "Vazir", "Manrope", sans-serif;
  background: radial-gradient(circle at 10% 20%, rgba(34, 211, 238, 0.08), transparent 25%),
              radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.12), transparent 30%),
              var(--bg);
  color: var(--text);
  line-height: 1.7;
  padding: 0 1rem 4rem;
}

a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin: 0.5rem auto 1.5rem;
  max-width: 1200px;
  backdrop-filter: blur(10px);
  background: rgba(12, 18, 36, 0.8);
  border: 1px solid var(--border);
  border-radius: 14px;
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 800;
  color: #0b1324;
}
.brand-title { font-weight: 800; }
.brand-sub { color: var(--muted); font-size: 0.9rem; }

.nav-links {
  display: flex;
  gap: 0.65rem;
  color: var(--muted);
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  transition: 0.2s ease;
  border: 1px solid transparent;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: var(--border);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041024;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.desktop-only { display: inline-flex; }

.hero {
  max-width: 1200px;
  margin: 1rem auto 2rem;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-text h1 { margin: 0.4rem 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.hero-text .lede { color: var(--muted); max-width: 640px; }
.eyebrow { letter-spacing: 0.02em; color: var(--accent-2); font-weight: 700; font-size: 0.95rem; }
.lede { color: var(--muted); }

.hero-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.hero-pills span {
  padding: 0.45rem 0.75rem;
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #cbd5e1;
}

.hero-actions { display: flex; gap: 0.75rem; align-items: center; margin: 1rem 0 1.3rem; }
.primary, .secondary, .ghost {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.35rem; padding: 0.7rem 1.1rem;
  border-radius: 12px; font-weight: 700;
  border: none; cursor: pointer;
}
.primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #041024; box-shadow: 0 10px 30px rgba(14,165,233,0.3); }
.secondary { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--border); }
.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.block { width: 100%; justify-content: center; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; }
.trust-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.trust-number { font-weight: 800; font-size: 1.2rem; }
.trust-label { color: var(--muted); font-size: 0.95rem; }
.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041024;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(14,165,233,0.25);
}

.hero-card {
  background: linear-gradient(160deg, rgba(14,165,233,0.08), rgba(14,165,233,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin-top: 0; }
.hero-card ul { margin: 0.5rem 0 1rem; padding-right: 1.2rem; color: var(--muted); }
.hero-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 10px;
  background: rgba(34,211,238,0.12);
  color: #7ee3f7;
  border: 1px solid rgba(34,211,238,0.3);
}
.hero-note { color: #e0f2fe; font-weight: 700; }
.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(34,211,238,0.1), transparent 45%), #0b1324;
  min-height: 260px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.hero-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(4,10,22,0) 0%, rgba(4,10,22,0.75) 65%);
}
.hero-visual-overlay p { margin: 0.4rem 0 0; color: #dbeafe; }
.hero-visual-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.section {
  max-width: 1200px;
  margin: 3rem auto;
}
.section-header h2 { margin: 0.25rem 0; font-size: clamp(1.3rem, 2.4vw, 2rem); }
.section-lede { color: var(--muted); max-width: 820px; }

.pill-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.pill-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 14px;
  color: #dfe8f5;
}
.pill-card h4 { margin: 0 0 0.4rem; }
.pill-card p { margin: 0; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: rgba(10, 17, 32, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.product-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(14,165,233,0.08), rgba(14,165,233,0.02));
  min-height: 190px;
}
.product-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.product-placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
}
.product-media .tag {
  position: absolute;
  top: 12px;
  right: 12px;
}
.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}
.product-card h4 { margin: 0; }
.product-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(14,165,233,0.12);
  color: #7dd3fc;
  font-size: 0.85rem;
}
.price { font-weight: 800; color: #a5f3fc; white-space: nowrap; }
.placeholder { color: var(--muted); }
.add-cart {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(14,165,233,0.1);
  color: #7dd3fc;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.add-cart:hover {
  transform: translateY(-1px);
  border-color: rgba(34,211,238,0.5);
  box-shadow: 0 10px 30px rgba(14,165,233,0.2);
}

label { display: block; color: var(--text); font-weight: 700; margin-top: 0.5rem; }
input, textarea, select {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: inherit;
}

.admin-panel {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: rgba(255,255,255,0.03);
}
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.status-badge {
  padding: 0.35rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}
.status-badge.active { background: rgba(34,211,238,0.14); color: #7dd3fc; border-color: rgba(34,211,238,0.3); }
.status-badge.muted { color: var(--muted); }

.admin-forms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.order-section .order-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}
.order-info ul { margin: 0.5rem 0 1rem; padding-right: 1.1rem; color: var(--muted); }
.mini-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mini-badges span {
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #cbd5e1;
  font-size: 0.9rem;
}

.form-note { color: var(--muted); min-height: 1.3rem; }
.hidden { display: none; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}
.contact-details { display: grid; gap: 0.6rem; margin: 1rem 0; }
.label { color: var(--muted); font-size: 0.9rem; }
.value { font-weight: 700; }

.contact-note {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.footer {
  max-width: 1200px;
  margin: 3rem auto 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 0.8rem; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.4rem;
}
.icon-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041024;
  font-weight: 800;
}
.icon-title { font-weight: 800; }
.icon-desc { color: var(--muted); font-size: 0.9rem; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.process-card {
  display: flex;
  gap: 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding: 0.95rem 1.05rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.process-card .step {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041024;
  font-weight: 800;
}
.process-card h4 { margin: 0; }
.process-card p { margin: 0.2rem 0 0; color: var(--muted); }

section.reveal .card,
section.reveal .pill-card,
section.reveal .hero-card {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
section.reveal.visible .card,
section.reveal.visible .pill-card,
section.reveal.visible .hero-card {
  transform: translateY(0);
}

.catalog-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
  align-items: start;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.cart-panel {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(34,211,238,0.18);
  color: #7dd3fc;
  border: 1px solid rgba(34,211,238,0.35);
  font-weight: 800;
}
.cart-items {
  display: grid;
  gap: 0.65rem;
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: rgba(255,255,255,0.03);
}
.cart-item-name { font-weight: 800; }
.cart-item-meta { color: var(--muted); font-size: 0.95rem; }
.cart-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.icon-btn.danger { color: #fca5a5; border-color: rgba(248,113,113,0.35); }
.cart-qty { min-width: 28px; text-align: center; font-weight: 800; }
.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}
.cart-footer { display: grid; gap: 0.45rem; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}
.checkout-note ul { margin: 0.5rem 0 1rem; padding-right: 1.1rem; color: var(--muted); }
.checkout-section .mini-badges { margin-top: 0.5rem; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .catalog-hero { grid-template-columns: 1fr; }
  .catalog-layout,
  .checkout-grid,
  .order-section .order-grid,
  .contact-section { grid-template-columns: 1fr; }
  .cart-panel { position: relative; top: 0; }
  .topbar { position: sticky; }
}

.mobile-nav { display: none; }
.mobile-menu-toggle { display: none; }

@media (max-width: 720px) {
  body { padding: 0 0.75rem 3rem; }
  .hero-actions { flex-wrap: wrap; }
  .nav-links { display: none; }
  .desktop-only { display: none; }
  .topbar {
    padding: 0.75rem 0.9rem;
    margin: 0.75rem auto;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.06);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
  }
  .mobile-menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 5px;
  }
  .mobile-nav {
    display: block;
    position: fixed;
    top: 0; right: 0; left: 0;
    background: rgba(9, 14, 28, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    z-index: 20;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(8px);
  }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .mobile-close {
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 42px; height: 42px;
    font-size: 1.2rem;
    cursor: pointer;
  }
  .mobile-nav-links {
    display: grid;
    gap: 0.6rem;
    margin: 1rem 0;
  }
  .mobile-nav-links a {
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
  }
  .hero,
  .catalog-hero { margin-top: 4rem; }
  .cart-item { flex-direction: column; align-items: flex-start; }
  .cart-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
}
