/* ریست سبک */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Vazirmatn",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #ecfdf3 0, #eff6ff 35%, #f3f4f6 100%);
  color: #111827;
  direction: rtl;
}

/* پالت رنگ و اندازه‌ها */
:root {
  --bg: #f3f4f6;
  --bg-soft: #eef2ff;
  --bg-elevated: #ffffff;
  --border-subtle: #e5e7eb;
  --accent: #16a34a;
  --accent-soft: rgba(22, 163, 74, 0.1);
  --accent-strong: #15803d;
  --text-main: #111827;
  --text-muted: #6b7280;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 20px 55px rgba(15, 23, 42, 0.14);
  --header-height: 72px;
}

/* کانتینر عمومی */
.container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

/* هدر */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96),
    rgba(248, 250, 252, 0.94)
  );
  border-bottom: 1px solid rgba(209, 213, 219, 0.8);
}

.site-header.scrolled {
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
  min-height: var(--header-height);
}

/* لوگو و برندسازی */

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: radial-gradient(circle at 20% 20%, #bbf7d0, #16a34a);
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.4),
    0 14px 26px rgba(22, 163, 74, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #052e16;
  font-size: 18px;
}

.brand-logo__text {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

/* ناوبری */

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 999px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.12s ease;
}

.site-nav a:hover {
  color: var(--text-main);
  background: rgba(209, 213, 219, 0.5);
  transform: translateY(-1px);
}

/* منوی موبایل */

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  cursor: pointer;
  padding: 9px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  margin-block: 3px;
  transition:
    transform 0.16s ease,
    opacity 0.16s ease;
}

/* حالت باز منو روی موبایل */
.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* سکشن‌ها */

.section {
  padding-block: 40px;
}

/* HERO */

.hero-section {
  padding-block: 40px 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

/* hero badge */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.5);
  background:
    radial-gradient(circle at top left, rgba(187, 247, 208, 0.7), #ffffff);
  color: #166534;
  font-size: 11px;
  margin-bottom: 14px;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.45);
}

/* hero text */

.hero-content h1 {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* hero usp */

.hero-usp-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.hero-usp {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background:
    linear-gradient(to bottom right, #ffffff, #eff6ff);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.15);
}

.hero-usp h3 {
  font-size: 12px;
  margin: 0 0 4px;
  color: #111827;
}

.hero-usp p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* hero actions */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

/* hero meta */

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 12px;
  color: var(--text-muted);
}

.meta-label {
  color: #111827;
  font-weight: 500;
}

/* hero media */

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media-card {
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background:
    linear-gradient(to bottom, #ffffff, #ecfdf3);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-media-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-media-caption {
  padding: 14px 16px 16px;
}

.hero-media-caption h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #111827;
}

.hero-media-caption p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-media-link {
  font-size: 12px;
  color: #16a34a;
  text-decoration: none;
}

.hero-media-link:hover {
  text-decoration: underline;
}

/* دکمه‌ها */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ecfdf3;
  box-shadow: 0 14px 35px rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(22, 163, 74, 0.55);
}

.btn-outline {
  border-color: #d1d5db;
  color: var(--text-main);
  background: #ffffff;
}

.btn-outline:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.btn-sm {
  padding-block: 6px;
  padding-inline: 14px;
  font-size: 12px;
}

/* سکشن جنرال */

.section-header {
  max-width: 680px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-header.small {
  max-width: 580px;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #0f172a;
}

.section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* brand story */

.brand-story {
  padding-top: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.story-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 16px 18px 16px;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.12);
}

.story-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #111827;
}

.story-card p,
.story-card li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.story-card ul {
  margin: 0;
  padding-right: 18px;
}

/* segments */

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.segment-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 14px 16px 14px;
  box-shadow: 0 14px 35px rgba(148, 163, 184, 0.12);
}

.segment-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #111827;
}

.segment-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* categories */

.categories-section {
  padding-top: 28px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.1);
}

.category-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #111827;
}

.category-card p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.category-card a {
  font-size: 12px;
  color: #15803d;
  text-decoration: none;
}

.category-card a:hover {
  text-decoration: underline;
}

/* products */

.products-section {
  padding-top: 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.18);
}

.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 12px 14px 10px;
}

.product-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #111827;
}

.product-body p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.product-highlights {
  margin: 0;
  padding-right: 16px;
  padding-bottom: 6px;
}

.product-highlights li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.product-footer {
  padding: 8px 14px 12px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-start;
}

/* why asan */

.why-asan-section {
  padding-top: 28px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.14);
}

.why-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #111827;
}

.why-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* b2b */

.b2b-section {
  padding-top: 32px;
}

.b2b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}

.b2b-content {
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 16px 18px;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.16);
}

.b2b-content h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #111827;
}

.b2b-content p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.b2b-list {
  margin: 0 0 10px;
  padding-right: 16px;
}

.b2b-list li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.b2b-side {
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  background: #f9fafb;
  padding: 14px 16px;
}

.b2b-note h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #111827;
}

.b2b-note ol {
  margin: 0;
  padding-right: 18px;
}

.b2b-note li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FAQ */

.faq-section {
  padding-top: 32px;
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.12);
}

.faq-question {
  width: 100%;
  text-align: right;
  border: none;
  background: transparent;
  color: #111827;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::after {
  content: "▾";
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.16s ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-inline: 14px;
  padding-bottom: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  transition: max-height 0.2s ease, padding-bottom 0.2s ease;
}

.faq-item.is-open .faq-answer {
  padding-bottom: 10px;
}

/* contact */

.contact-section {
  padding-top: 32px;
  padding-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
}

.contact-card {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 16px 18px;
  box-shadow: 0 14px 35px rgba(148, 163, 184, 0.14);
}

.contact-card h2,
.contact-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #111827;
}

.contact-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.contact-list li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-label {
  display: inline-block;
  min-width: 105px;
  color: #111827;
}

.contact-list a {
  color: #15803d;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-mini-note {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  background: #f9fafb;
}

/* footer */

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding-block: 14px;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-main p {
  margin: 0 0 4px;
}

.footer-meta {
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: #111827;
}

/* ریسپانسیو */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  }

  .hero-usp-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .b2b-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-block: 10px;
  }

  .site-nav {
    position: fixed;
    inset-inline: 0;
    top: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #e5e7eb;
    display: none;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 16px 10px;
    gap: 4px;
  }

  .site-nav a {
    width: 100%;
    padding: 8px 10px;
  }

  .site-header.menu-open .site-nav {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .hero-section {
    padding-top: 20px;
  }

  .hero-usp-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .segments-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .categories-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .section {
    padding-block: 28px;
  }
}
/* سایه‌ی قوی‌تر برای همه‌ی باکس‌ها */
.hero-media-card,
.story-card,
.segment-card,
.category-card,
.product-card,
.why-card,
.b2b-content,
.b2b-side,
.contact-card,
.faq-item {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
/* رنگ پسته‌ای عمومی برای باکس‌ها */
:root {
  --card-bg: #f5ffff; /* اگر خواستی روشن‌تر/تیره‌تر بشه فقط همین رو عوض کن */
}

/* باکس‌های اصلی: به جای سفید → پسته‌ای */
.hero-media-card,
.story-card,
.segment-card,
.category-card,
.product-card,
.why-card,
.b2b-content,
.b2b-side,
.contact-card,
.faq-item {
  background: var(--card-bg) !important;
}
/* تایپوگرافی جدی‌تر و قابل اعتمادتر */

/* بدنه: خواناتر و کمی تیره‌تر */
body {
    font-weight: 400;
    color: #0b1120;
    /* تیره‌تر از قبل، حرفه‌ای‌تر */
}

/* لوگو و برند */
.brand-logo__text {
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* هدینگ‌ها */
h1,
h2,
h3,
.section-header h2,
.story-card h3,
.segment-card h3,
.category-card h3,
.product-card h3,
.why-card h3,
.b2b-content h2,
.b2b-note h3,
.contact-card h2,
.contact-card h3 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #020617;
}

/* منوی بالا جدی‌تر بشه */
.site-nav a {
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #4b5563;
}

.site-nav a:hover {
    color: #111827;
}

/* متن‌های توضیحی و فرعی */
.story-card p,
.story-card li,
.segment-card p,
.category-card p,
.product-body p,
.product-highlights li,
.why-card p,
.b2b-content p,
.b2b-list li,
.b2b-note li,
.faq-answer p,
.contact-card p,
.contact-list li {
    font-weight: 400;
    color: #4b5563;
}

/* دکمه‌ها محکم‌تر و شرکتی‌تر */
.btn {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* FAQ سوال‌ها کمی بولدتر */
.faq-question {
    font-weight: 600;
    color: #111827;
}