﻿@font-face {
  font-family: "IRANYekanX";
  src: url("assets/IRANYekanX-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "IRANYekanX";
  src: url("assets/IRANYekanX-Bold.woff2") format("woff2");
  font-weight: 700;
}

:root {
  color-scheme: light;
  --page: #f5f8fd;
  --page-2: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f1f7fc;
  --text: #1e3554;
  --muted: #64748b;
  --border: #dbe7f4;
  --primary: #256fba;
  --primary-dark: #12355d;
  --primary-rgb: 37, 111, 186;
  --green: #0f766e;
  --green-bright: #10b981;
  --green-soft: #e7f8f3;
  --shadow: 0 1rem 2.35rem rgba(18, 53, 93, 0.1);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IRANYekanX", Tahoma, Arial, sans-serif;
  background: linear-gradient(180deg, var(--page) 0%, #f8fbff 34%, var(--page-2) 100%);
  color: var(--text);
  line-height: 1.9;
  text-align: right;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3,
.hero-content,
.hero-panel,
.section-heading,
.card,
.step,
.image-band,
.checklist,
.notice,
.faq-list,
.footer {
  text-align: right;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1600px, calc(100% - 1.5rem));
  min-height: 4rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem clamp(0.75rem, 1.4vw, 1.25rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 231, 244, 0.9);
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
  font-weight: 900;
  box-shadow: 0 0.6rem 1.4rem rgba(37, 111, 186, 0.22);
}

.brand strong,
.brand small { display: block; white-space: nowrap; }
.brand strong { color: var(--primary-dark); font-weight: 900; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 0.74rem; font-weight: 700; }

.topnav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 900;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.25rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
}
.topnav a:hover {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.16);
}

main {
  width: min(1600px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding-top: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
  min-height: calc(100vh - 6.2rem);
  padding: clamp(1rem, 3vw, 2.5rem) clamp(0.4rem, 1vw, 1rem) 2.5rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: block;
  padding: 0;
  color: var(--text);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.hero h1 {
  max-width: 760px;
  margin: 0.35rem 0 1rem;
  color: var(--primary-dark);
  font-size: clamp(2.35rem, 5.4vw, 5.25rem);
  font-weight: 900;
  line-height: 1.24;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: #52677f;
  font-size: 1.05rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 0.3rem;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.55rem 1.25rem;
  border: 1px solid #cfe0f2;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 0.5rem 1.2rem rgba(15, 23, 42, 0.06);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #2f8ad8 100%);
  border-color: transparent;
  box-shadow: 0 0.75rem 1.65rem rgba(37, 111, 186, 0.24);
}

.hero-panel {
  position: relative;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto 10% -30% auto;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  filter: blur(4px);
}

.hero-panel h2 { margin: 1rem 0 0.75rem; font-size: 1.15rem; color: var(--primary-dark); }

.hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 20px;
  background: #eef6ff;
}

.compact-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.compact-list li {
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: rgba(241, 247, 252, 0.9);
  border: 1px solid #e3edf8;
  color: #334155;
  font-weight: 800;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.6rem;
  max-width: 780px;
}
.hero-metrics div,
.hero-metrics a,
.feature-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0.6rem 1.6rem rgba(18, 53, 93, 0.06);
}
.hero-metrics div,
.hero-metrics a { padding: 0.9rem; }
.hero-metrics a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.hero-metrics a:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 0.75rem 1.8rem rgba(37, 111, 186, 0.12);
  transform: translateY(-1px);
}
.hero-metrics strong { display: block; color: var(--primary-dark); font-weight: 900; }
.hero-metrics span { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 700; }

.section {
  padding: 3.5rem clamp(0.4rem, 1vw, 1rem);
  border-top: 1px solid rgba(219, 231, 244, 0.85);
  scroll-margin-top: 90px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-heading h2 {
  order: 1;
  text-align: right;
}

.section-heading .eyebrow {
  order: 2;
  min-width: max-content;
  text-align: left;
  font-size: 0.98rem;
}

h2, h3 { line-height: 1.55; }
h2 { margin: 0; color: var(--primary-dark); font-size: clamp(1.28rem, 2.15vw, 1.85rem); font-weight: 900; }
h3 { margin: 0 0 0.55rem; color: var(--primary-dark); font-size: 1.08rem; font-weight: 900; }
p { margin: 0; }
p + p, p + ul, ul + p { margin-top: 0.75rem; }
ul { margin: 0.75rem 0 0; padding-right: 1.25rem; }
li::marker { color: var(--green); }

.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.checklist,
.notice,
.state-table-wrap,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0.65rem 1.7rem rgba(18, 53, 93, 0.06);
}

.card { padding: 1.25rem; }
.card p, .step p, .checklist li, td { color: #40566f; }

.card.media-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}
.card.media-card img { width: 92px; height: 92px; object-fit: contain; }

.path {
  color: #52677f;
  font-size: 0.9rem;
  font-weight: 800;
  padding-top: 0.15rem;
}
.path span {
  direction: rtl;
  display: inline;
  color: inherit;
  font-family: inherit;
}

.notice {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
  color: #064e3b;
}

.timeline { display: grid; gap: 0.9rem; }
.step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0.65rem 1.7rem rgba(18, 53, 93, 0.05);
}
.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
  font-weight: 900;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem;
  margin-bottom: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.image-band img {
  width: 100%;
  border-radius: 18px;
  background: #eef6ff;
}
.image-band ul { list-style: none; padding: 0; }
.image-band li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  color: #40566f;
  font-weight: 800;
}
.image-band--supplier img {
  max-height: 280px;
  object-fit: contain;
  padding: 1.4rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
}
.image-band li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--green-bright);
  box-shadow: inset 0 0 0 5px #d1fae5;
}

.state-table-wrap { margin-top: 1rem; overflow-x: auto; padding: 1rem; }
table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: right; }
th, td { padding: 0.8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--primary-dark); background: var(--surface-soft); font-weight: 900; }
tr:last-child td { border-bottom: 0; }

.checklists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.checklist { padding: 1.25rem; }

.faq-list { display: grid; gap: 0.75rem; }
.faq-list details { padding: 0.95rem 1.1rem; }
.faq-list summary { cursor: pointer; font-weight: 900; color: var(--primary-dark); }
.faq-list details p { margin-top: 0.7rem; color: #40566f; }

.footer {
  width: min(1600px, calc(100% - 1.5rem));
  margin: 1rem auto 0;
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(232, 238, 248, 0.8);
  background: linear-gradient(135deg, #10213d 0%, #173866 56%, #0f766e 100%);
  border-radius: 1rem 1rem 0 0;
}
.footer a { color: #ffffff; font-weight: 900; }

@media (max-width: 1060px) {
  .topbar { flex-wrap: wrap; }
  .topnav { flex: 1 1 100%; order: 3; }
  .hero, .image-band { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { order: -1; }
  .hero-metrics, .grid.three { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  main, .topbar, .footer { width: min(100% - 1rem, 1600px); }
  .brand small { display: none; }
  .section-heading, .footer { align-items: stretch; flex-direction: column; }
  .section-heading h2, .section-heading .eyebrow { text-align: right; }
  .grid.two, .checklists { grid-template-columns: 1fr; }
  .hero { padding-top: 0.75rem; }
  .hero h1 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .hero-actions .button { width: 100%; }
  .card.media-card { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
}







