* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Vazirmatn, Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
}
.page-width {
  width: min(var(--page), calc(100% - 64px));
  margin-inline: auto;
}
.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: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 250, 247, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 5px 24px rgba(35, 75, 49, 0.05);
}
.header-inner {
  width: min(1320px, calc(100% - 64px));
  height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand img,
.footer-brand img {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav > a:not(.button) {
  font-size: 0.9rem;
  color: #506055;
  transition: color 0.2s;
}
.site-nav > a:not(.button):hover,
.footer-links a:hover {
  color: var(--green);
}
.language-control {
  position: relative;
}
.language-control:after {
  content: "⌄";
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  transform: translateY(-55%);
  color: var(--muted);
  pointer-events: none;
}
.language-control select {
  appearance: none;
  min-width: 104px;
  padding: 9px 30px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--warm);
  color: var(--ink);
  cursor: pointer;
}
.language-control select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 23px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-weight: 650;
  transition: background 0.2s, transform 0.2s;
}
.button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.button-small {
  min-height: 44px;
  padding-inline: 17px;
  font-size: 0.88rem;
}
.arrow {
  display: inline-block;
  font-size: 1.15em;
  line-height: 1;
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f2f8f3 100%);
  padding: 68px 0 34px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
  min-height: 530px;
}
.hero-copy {
  padding-block: 24px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.eyebrow-dot,
.caption-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cb48b;
  box-shadow: 0 0 0 5px rgba(124, 180, 139, 0.14);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  max-width: 590px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1.13;
  letter-spacing: -0.045em;
  font-weight: 680;
}
.hero-description {
  max-width: 510px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.text-link {
  color: var(--green-dark);
  font-weight: 650;
}
.text-link .arrow {
  margin-inline-start: 5px;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 0.83rem;
}
.footnote-mark {
  color: var(--green);
  font-size: 1.4rem;
}
.hero-art {
  position: relative;
  min-width: 0;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
}
.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(35, 75, 49, 0.12));
}
.art-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #d8ecdd 0%,
    rgba(234, 245, 237, 0.45) 55%,
    transparent 74%
  );
}
.art-caption {
  position: absolute;
  z-index: 2;
  inset-inline-start: 2%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid rgba(230, 238, 232, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  color: #526257;
  backdrop-filter: blur(8px);
}
.caption-indicator {
  width: 7px;
  height: 7px;
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #829087;
  font-size: 0.75rem;
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: #b8c9bd;
}
.section-pad {
  padding-block: 112px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 48px;
}
.section-heading h2,
.platform h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3.5vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.section-heading > p {
  max-width: 380px;
  margin-bottom: 4px;
  color: var(--muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  min-width: 0;
  padding: 14px 14px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 5px 24px rgba(35, 75, 49, 0.025);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.service-image {
  height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--mint), #f8fbf8);
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s;
}
.service-card:hover .service-image img {
  transform: scale(1.04);
}
.card-meta {
  display: flex;
  justify-content: space-between;
  margin: 22px 5px 11px;
  color: var(--muted);
  font-size: 0.76rem;
}
.card-meta span:first-child {
  color: var(--green);
  font-weight: 700;
}
.service-card h3 {
  margin: 0 5px 9px;
  font-size: 1.22rem;
  line-height: 1.35;
}
.service-card > p {
  margin: 0 5px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.8;
}
.platform {
  background: #eff6f0;
}
.platform-heading {
  max-width: 590px;
  margin-bottom: 44px;
}
.platform-heading h2 {
  margin-bottom: 16px;
}
.platform-heading > p:last-child {
  max-width: 470px;
  margin: 16px 0 0;
  color: var(--muted);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 22px;
  border: 1px solid #e0eae2;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow);
}
.product-feature {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.product-feature:hover {
  background: var(--green-dark);
}
.product-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 700;
}
.product-feature .product-icon {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}
.product-label {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.76rem;
}
.product-feature .product-label,
.product-feature > span:not(.product-icon):not(.product-arrow) {
  color: rgba(255, 255, 255, 0.76);
}
.product-card strong {
  margin-bottom: 7px;
  font-size: 1.08rem;
}
.product-card
  > span:not(.product-icon):not(.product-label):not(.product-arrow) {
  max-width: 220px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}
.product-feature
  > span:not(.product-icon):not(.product-label):not(.product-arrow) {
  color: rgba(255, 255, 255, 0.78);
}
.product-arrow {
  position: absolute;
  inset-inline-end: 20px;
  top: 22px;
  color: var(--green);
  font-size: 1.2rem;
}
.product-feature .product-arrow {
  color: white;
}
.closing {
  padding-block: 76px;
  background: var(--green-dark);
  color: white;
}
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.closing .eyebrow {
  color: #b9dfc3;
}
.closing h2 {
  margin-bottom: 12px;
}
.closing-inner > div > p:last-child {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}
.button-light {
  flex: none;
  background: #fff;
  color: var(--green-dark);
}
.button-light:hover {
  background: var(--mint);
}
.site-footer {
  background: #fff;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-block: 36px;
}
.footer-brand p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 26px;
}
.footer-links a,
.footer-bottom {
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
[dir="rtl"] body {
  letter-spacing: 0;
}
[dir="rtl"] .hero h1,
[dir="rtl"] h2 {
  letter-spacing: 0;
}

/* Stable hover states: preserve contrast and keep button contents still. */
.button {
  transition: background-color 160ms ease, box-shadow 160ms ease !important;
  transform: none;
}
.button:hover {
  background-color: #326d4c !important;
  box-shadow: 0 5px 14px rgba(35, 75, 49, 0.18) !important;
  transform: none !important;
}
.button-light:hover {
  background-color: #eaf5ed !important;
  color: #285d40 !important;
  box-shadow: 0 5px 14px rgba(15, 43, 27, 0.12) !important;
}
.button:focus-visible,
.menu-toggle:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(57, 121, 86, 0.35);
  outline-offset: 3px;
}
[dir="rtl"] .arrow,
[dir="rtl"] .product-arrow {
  transform: scaleX(-1);
}
