/* ZTRAZ public site — light corporate theme, navy + gold */
@font-face {
  font-family: "Vazir";
  src: url("/assets/Vazir.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #203451;
  --navy-dark: #141f33;
  --navy-soft: #2c4a73;
  --gold: #c9a227;
  --gold-bright: #ffdb57;
  --ink: #1c2735;
  --muted: #5b6b82;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e3e9f2;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(20, 38, 66, 0.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Vazir", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
}
a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--gold); }
img, svg { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: grid; place-items: center;
  color: var(--gold-bright); font-weight: 900; font-size: 24px;
  box-shadow: inset 0 0 0 2px rgba(255, 219, 87, 0.35);
}
.brand b { font-size: 21px; letter-spacing: 2px; display: block; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 11.5px; display: block; }
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  color: var(--ink); padding: 8px 13px; border-radius: 10px; font-size: 15px;
}
.main-nav a:hover, .main-nav a.active { background: #eef2f9; color: var(--navy); }
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; padding: 11px 26px;
  border-radius: 12px; font-family: inherit; font-size: 15px; font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--navy-soft); color: #fff; transform: translateY(-2px); }
.btn.gold { background: linear-gradient(135deg, #e5bc3f, var(--gold)); color: var(--navy-dark); }
.btn.gold:hover { color: var(--navy-dark); }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(700px 340px at 85% -10%, rgba(255, 219, 87, 0.22), transparent 60%),
    radial-gradient(600px 400px at 0% 110%, rgba(60, 105, 170, 0.35), transparent 55%),
    linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, #274a75 100%);
  color: #eef2fa; overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; padding: 72px 0 64px; }
.eyebrow {
  display: inline-block; color: var(--gold-bright); border: 1px solid rgba(255, 219, 87, 0.45);
  padding: 3px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 18px; letter-spacing: 0.4px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.45; margin: 0 0 16px; font-weight: 900; }
.hero h1 .hl { color: var(--gold-bright); }
.hero p { color: #c3cfe0; font-size: 17px; margin: 0 0 28px; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 27px; color: #fff; line-height: 1.3; }
.hero-stats div span { color: #9fb0c9; font-size: 13px; }

/* dashboard mock (pure CSS/SVG art) */
.mock {
  background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(5, 12, 24, 0.35);
  padding: 18px; color: var(--ink); transform: rotate(-1.2deg);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-head b { font-size: 14px; color: var(--navy); }
.mock-dots i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-start: 5px; background: #dbe3ee; }
.mock-dots i:first-child { background: #ff8f7a; } .mock-dots i:nth-child(2) { background: var(--gold-bright); } .mock-dots i:last-child { background: #7ed491; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-cards div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mock-cards span { display: block; font-size: 11px; color: var(--muted); }
.mock-cards b { font-size: 17px; color: var(--navy); }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mock-bars i { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--navy-soft), var(--navy)); }
.mock-bars i.g { background: linear-gradient(180deg, #e5bc3f, var(--gold)); }
.mock-rows { margin-top: 12px; display: grid; gap: 8px; }
.mock-rows i { display: block; height: 11px; border-radius: 6px; background: #e8edf5; }
.mock-rows i:nth-child(2) { width: 82%; } .mock-rows i:nth-child(3) { width: 64%; }
.float-chip {
  position: absolute; background: #fff; color: var(--navy); border-radius: 14px;
  box-shadow: var(--shadow); padding: 10px 16px; font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.hero-visual { position: relative; padding: 14px 6px 26px; }
.chip-a { top: -8px; inset-inline-start: -6px; }
.chip-b { bottom: 2px; inset-inline-end: -4px; }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; background: #35b558; box-shadow: 0 0 0 5px rgba(53, 181, 88, 0.18); }

/* ---------- sections ---------- */
section.block { padding: 76px 0; }
section.block.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head .kicker { color: var(--gold); font-weight: 800; font-size: 13.5px; letter-spacing: 0.5px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 8px 0 10px; color: var(--navy); line-height: 1.5; }
.sec-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 4px 18px rgba(20, 38, 66, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef2f9, #dde7f4); color: var(--navy); margin-bottom: 16px;
}
.card .icon.gold { background: linear-gradient(135deg, #fdf3d0, #f6df8e); color: #8a6d14; }
.card h3 { margin: 0 0 8px; font-size: 18.5px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; }
.tag {
  display: inline-block; background: #eef2f9; color: var(--navy); border-radius: 999px;
  padding: 2px 12px; font-size: 12.5px; margin: 0 0 10px 6px;
}
.tag.gold { background: #fdf3d0; color: #8a6d14; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(140deg, var(--navy-dark), var(--navy) 60%, #274a75); color: #e8eef8; padding: 56px 0 48px; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.5; }
.page-hero p { color: #c3cfe0; margin: 0; max-width: 46em; }
.crumbs { font-size: 13px; color: #9fb0c9; margin-bottom: 14px; }
.crumbs a { color: #c3cfe0; }

/* article / prose */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { color: var(--navy); margin-top: 36px; font-size: 22px; }
.prose p, .prose li { color: #37455c; }
.prose ul { padding-inline-start: 22px; }
.meta { color: var(--muted); font-size: 13.5px; display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0 6px; }
.article-cover {
  border-radius: 20px; padding: 38px; color: #fff; margin: 26px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 70%, #3d6396 100%);
  position: relative; overflow: hidden;
}
.article-cover::after {
  content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255, 219, 87, 0.18);
}
.article-cover b { font-size: 24px; line-height: 1.6; position: relative; z-index: 1; display: block; max-width: 22em; }
.article-card .cover-mini {
  height: 120px; border-radius: 12px; margin: -6px -6px 16px; padding: 16px; color: #fff;
  display: flex; align-items: flex-end; font-weight: 800; font-size: 16.5px; line-height: 1.6;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
}
.article-card .cover-mini.c2 { background: linear-gradient(135deg, #274a75, #3d6396); }
.article-card .cover-mini.c3 { background: linear-gradient(135deg, #3d6396, #6d93c2); }

/* news list */
.news-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.news-item:last-child { border-bottom: 0; }
.news-date {
  flex: 0 0 auto; background: #eef2f9; color: var(--navy); border-radius: 10px;
  padding: 3px 12px; font-size: 13px; font-weight: 700;
}
.news-item h3 { margin: 0 0 4px; font-size: 16.5px; }
.news-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* faq */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: start; background: none; border: 0; cursor: pointer; font-family: inherit;
  padding: 18px 22px; font-size: 16px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 10px; }
.faq-q::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 22px 18px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 15px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--navy-soft); box-shadow: 0 0 0 4px rgba(44, 74, 115, 0.12); }
.field.full { grid-column: 1 / -1; }
.form-note { font-size: 13px; color: var(--muted); }

/* cta band */
.cta-band {
  border-radius: 24px; padding: 44px; color: #fff; text-align: center;
  background:
    radial-gradient(500px 220px at 90% 0%, rgba(255, 219, 87, 0.25), transparent 60%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 65%, #274a75);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { color: #c3cfe0; margin: 0 0 24px; }

/* footer */
footer { background: var(--navy-dark); color: #aebbd2; margin-top: 0; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 56px 0 34px; }
footer h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer a { color: #aebbd2; font-size: 14.5px; }
footer a:hover { color: var(--gold-bright); }
footer p { font-size: 14.5px; margin: 0; }
.footer-brand b { color: #fff; font-size: 22px; letter-spacing: 2px; }
.copy { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band .num { font-size: 36px; font-weight: 900; color: var(--navy); line-height: 1.3; }
.stats-band .lbl { color: var(--muted); font-size: 14px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { padding-inline-start: 30px; position: relative; color: #37455c; }
.check-list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: #e7f5ea; color: #2c8a44;
  display: grid; place-items: center; font-size: 12px; font-weight: 900;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.lead { font-size: 17.5px; color: #37455c; }

@media (max-width: 940px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .g3, .g4, .g2, .form-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .hero-in { padding: 48px 0; }
  section.block { padding: 52px 0; }
  .cta-band { padding: 32px 22px; }
  .float-chip { display: none; }
}
