@font-face {
  font-family: "IRANSansX";
  src: url("assets/fonts/IRANSansX-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("assets/fonts/IRANSansX-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("assets/fonts/IRANSansX-DemiBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("assets/fonts/IRANSansX-Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #07090b;
  --ink-soft: #111820;
  --paper: #f4f7f8;
  --muted: #9aa8b3;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(7, 9, 11, 0.12);
  --teal: #11b8a5;
  --teal-dark: #087b72;
  --red: #e33931;
  --yellow: #f0bd16;
  --blue: #3d82db;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --icon-size: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "IRANSansX", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  direction: rtl;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  background: rgba(7, 9, 11, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 38px;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: grid;
  align-content: center;
  gap: 1px;
}

.brand-text strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle svg,
.site-nav svg,
.button svg,
.contact-list svg,
.stat-icon svg,
.hero-point-icon svg {
  width: var(--icon-size);
  height: var(--icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav svg {
  flex: 0 0 auto;
  opacity: 0.86;
}

.hero {
  position: relative;
  min-height: 88svh;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 128px 5vw 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 9, 11, 0.22), rgba(7, 9, 11, 0.94) 56%, #07090b),
    linear-gradient(180deg, rgba(7, 9, 11, 0.04), rgba(7, 9, 11, 0.98));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  z-index: -1;
  background: linear-gradient(0deg, var(--ink), rgba(7, 9, 11, 0));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 11, 0.34), rgba(7, 9, 11, 0.84) 50%, rgba(7, 9, 11, 0.98)),
    linear-gradient(180deg, rgba(7, 9, 11, 0.2), rgba(7, 9, 11, 0.92));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 50%;
  filter: brightness(0.74) saturate(1.02) contrast(1.08);
}

.hero-content {
  width: min(100%, 820px);
  margin-inline: auto;
  display: grid;
  grid-template-areas: "features main";
  grid-template-columns: minmax(260px, 1fr) minmax(340px, 520px);
  gap: 16px;
  align-items: end;
  direction: ltr;
}

.hero-main {
  grid-area: main;
  direction: rtl;
  width: 100%;
}

.hero-copy {
  width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 4.3rem;
  line-height: 1;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.35rem;
  line-height: 1.35;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 800;
}

.hero-lead {
  max-width: none;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.14rem;
}

.hero-actions {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.hero-points {
  grid-area: features;
  direction: rtl;
  display: grid;
  gap: 10px;
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    color 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--teal);
}

.button-primary:hover {
  background: #32d6c3;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.13);
}

.button-product {
  direction: ltr;
}

.button-product span {
  direction: rtl;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-point-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 184, 165, 0.32);
  border-radius: 8px;
  color: var(--teal);
  background: rgba(17, 184, 165, 0.08);
}

.hero-point strong,
.hero-point small {
  display: block;
}

.hero-point strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-point small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.65;
}

.products-section,
.trust-section,
.contact-section {
  padding: 94px 5vw;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.section-title-block h2 {
  margin-bottom: 0;
  font-size: 3.25rem;
  line-height: 1.18;
}

.section-copy {
  max-width: 600px;
}

.section-copy h3 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.16rem;
}

.section-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

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

.product-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  direction: ltr;
}

.product-view-button {
  appearance: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.product-view-button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.product-view-button.is-active {
  color: var(--ink);
  background: var(--teal);
}

.product-view-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.product-view-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.product-card {
  position: relative;
  height: 460px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1115;
  box-shadow: var(--shadow);
}

.product-card-wide {
  grid-column: 1 / -1;
  height: 620px;
  min-height: 0;
}

.product-card-wide img {
  object-position: center 52%;
}

.product-card-wide .product-copy {
  max-width: 720px;
}

.product-card-wide .product-copy h3 {
  font-size: 1.65rem;
}

.product-card-wide .product-copy p {
  max-width: 680px;
  font-size: 1.02rem;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 500ms ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 11, 0.92), rgba(7, 9, 11, 0.1) 58%);
}

.product-copy {
  position: absolute;
  inset-inline: 24px;
  bottom: 22px;
  z-index: 1;
}

.product-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--teal);
  background: rgba(7, 9, 11, 0.46);
  font-size: 0.78rem;
  font-weight: 800;
}

.products-section.is-list-view .product-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.products-section.is-list-view .product-card,
.products-section.is-list-view .product-card-wide {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  height: auto;
  min-height: 184px;
  grid-column: auto;
}

.products-section.is-list-view .product-card::after {
  display: none;
}

.products-section.is-list-view .product-card img,
.products-section.is-list-view .product-card-wide img {
  width: 100%;
  height: 100%;
  min-height: 184px;
  object-fit: cover;
  transform: none;
}

.products-section.is-list-view .product-card:hover img {
  transform: scale(1.03);
}

.products-section.is-list-view .product-copy {
  position: static;
  inset: auto;
  bottom: auto;
  z-index: 1;
  display: grid;
  align-content: center;
  max-width: none;
  min-width: 0;
  padding: 26px 28px;
}

.products-section.is-list-view .product-card-wide .product-copy h3 {
  font-size: 1.28rem;
}

.products-section.is-list-view .product-card-wide .product-copy p {
  max-width: none;
  font-size: 0.95rem;
}

.trust-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(340px, 1.12fr);
  gap: 42px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, #10161c, #07090b),
    var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-reference {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
  filter: blur(8px) saturate(0.4);
  transform: scale(1.03);
  pointer-events: none;
}

.trust-copy,
.stats-grid {
  position: relative;
  z-index: 1;
}

.trust-copy p {
  color: rgba(255, 255, 255, 0.66);
}

blockquote {
  margin: 28px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-right: 4px solid var(--teal);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

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

.stat-card {
  min-height: 186px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.stat-icon {
  color: var(--teal);
}

.stat-card strong {
  color: var(--white);
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 800;
}

.stat-card span:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
  gap: 42px;
  align-items: start;
  background:
    linear-gradient(180deg, #07090b, #10161c),
    var(--ink);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.contact-list svg {
  color: var(--teal);
  flex: 0 0 auto;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 9, 11, 0.58);
  outline: none;
  padding: 12px 14px;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 128px;
}

.contact-form select {
  appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--teal);
  background: rgba(7, 9, 11, 0.82);
}

.contact-form .button {
  width: 100%;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 28px;
  margin-bottom: 0;
  color: #8be8dc;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 5vw;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.62);
  background: #07090b;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-content {
    width: min(100%, 520px);
    grid-template-areas:
      "main"
      "features";
    grid-template-columns: 1fr;
    direction: rtl;
    margin-inline: auto;
    gap: 14px;
  }

  .section-heading,
  .trust-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-title-block h2 {
    font-size: 2.6rem;
  }

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

  .product-card-wide {
    grid-column: 1 / -1;
    height: 540px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 14px 18px;
  }

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

  .site-nav {
    position: fixed;
    top: 71px;
    inset-inline: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 9, 11, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: 86svh;
    padding: 118px 18px 54px;
    background:
      linear-gradient(180deg, rgba(7, 9, 11, 0.24), rgba(7, 9, 11, 0.92) 55%, #07090b),
      var(--ink);
  }

  .hero-media img {
    object-position: 42% 50%;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .hero-content,
  .hero-copy {
    width: 100%;
    margin-inline-start: 0;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .section-title-block h2 {
    font-size: 2.05rem;
  }

  .products-section,
  .trust-section,
  .contact-section {
    padding: 64px 18px;
  }

  .product-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card-wide {
    grid-column: auto;
  }

  .product-card,
  .product-card img {
    height: 390px;
  }

  .product-card-wide,
  .product-card-wide img {
    height: 430px;
  }

  .product-card-wide .product-copy h3 {
    font-size: 1.28rem;
  }

  .product-copy {
    inset-inline: 18px;
    bottom: 18px;
  }

  .products-section.is-list-view .product-card,
  .products-section.is-list-view .product-card-wide {
    grid-template-columns: minmax(118px, 34vw) minmax(0, 1fr);
    min-height: 172px;
  }

  .products-section.is-list-view .product-card img,
  .products-section.is-list-view .product-card-wide img {
    height: 100%;
    min-height: 172px;
  }

  .products-section.is-list-view .product-copy {
    padding: 18px;
  }

  .products-section.is-list-view .product-copy p {
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .products-section.is-list-view .product-tag {
    margin-bottom: 8px;
  }

  .stat-card {
    min-height: 158px;
  }

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

@media (max-width: 420px) {
  .products-section .section-heading {
    grid-template-columns: 1fr;
  }

  .product-view-toggle {
    justify-self: start;
  }

  .products-section.is-list-view .product-card,
  .products-section.is-list-view .product-card-wide {
    grid-template-columns: minmax(92px, 32vw) minmax(0, 1fr);
    min-height: 156px;
  }

  .products-section.is-list-view .product-card img,
  .products-section.is-list-view .product-card-wide img {
    min-height: 156px;
  }

  .products-section.is-list-view .product-copy {
    padding: 14px;
  }

  .brand-logo {
    width: auto;
    height: 34px;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .hero-point {
    width: 100%;
  }
}
