/* ابروَند — Shared theme for static marketing pages */

@font-face {
  font-family: IRANYekan;
  font-style: normal;
  font-weight: normal;
  src: url("fonts/iranYekan/woff2/IRANYekanX-Regular.woff2") format("woff2"),
       url("fonts/iranYekan/woff/IRANYekanX-Regular.woff") format("woff");
}
@font-face {
  font-family: IRANYekan;
  font-style: normal;
  font-weight: 500;
  src: url("fonts/iranYekan/woff2/IRANYekanX-Medium.woff2") format("woff2"),
       url("fonts/iranYekan/woff/IRANYekanX-Medium.woff") format("woff");
}
@font-face {
  font-family: IRANYekan;
  font-style: normal;
  font-weight: 600;
  src: url("fonts/iranYekan/woff2/IRANYekanX-DemiBold.woff2") format("woff2"),
       url("fonts/iranYekan/woff/IRANYekanX-DemiBold.woff") format("woff");
}
@font-face {
  font-family: IRANYekan;
  font-style: normal;
  font-weight: bold;
  src: url("fonts/iranYekan/woff2/IRANYekanX-Bold.woff2") format("woff2"),
       url("fonts/iranYekan/woff/IRANYekanX-Bold.woff") format("woff");
}
@font-face {
  font-family: IRANYekanFaNumber;
  font-style: normal;
  font-weight: normal;
  src: url("fonts/iranYekanFaNum/woff2/IRANYekanXFaNum-Regular.woff2") format("woff2"),
       url("fonts/iranYekanFaNum/woff/IRANYekanXFaNum-Regular.woff") format("woff");
}
@font-face {
  font-family: IRANYekanFaNumber;
  font-style: normal;
  font-weight: 600;
  src: url("fonts/iranYekanFaNum/woff2/IRANYekanXFaNum-DemiBold.woff2") format("woff2"),
       url("fonts/iranYekanFaNum/woff/IRANYekanXFaNum-DemiBold.woff") format("woff");
}
@font-face {
  font-family: IRANYekanFaNumber;
  font-style: normal;
  font-weight: bold;
  src: url("fonts/iranYekanFaNum/woff2/IRANYekanXFaNum-Bold.woff2") format("woff2"),
       url("fonts/iranYekanFaNum/woff/IRANYekanXFaNum-Bold.woff") format("woff");
}

:root {
  --p-25:#EDF8FA; --p-50:#CAE9EF; --p-100:#A7DBE4; --p-200:#84CDDA;
  --p-300:#60BECF; --p-400:#3DB0C4; --p-500:#089AB4; --p-600:#0C7F94;
  --p-700:#066C7E; --p-800:#045563; --p-900:#033E48;
  --ink:#101828; --muted:#667085; --line:#EAECF0; --bg:#F9FAFB; --white:#fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IRANYekanFaNumber', 'IRANYekan', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
}
a { color: var(--p-600); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px 64px; }

/* topbar */
.topbar {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(8px);
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-weight: bold; color: var(--p-800); font-size: 1.15rem; }
.top-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14.5px; }
.top-nav a { color: #475569; font-weight: 500; }
.top-nav a:hover { color: var(--p-600); }
.nav-auth { display: flex; align-items: center; gap: 16px; }
.btn-link { color: var(--p-600); font-weight: 600; font-size: 14.5px; }
.btn-link:hover { color: var(--p-700); }

.btn {
  display: inline-block;
  background: var(--p-500); color: #fff !important;
  padding: 11px 22px; border-radius: 10px; font-weight: 600;
  border: none; cursor: pointer; font-size: 15px;
}
.btn:hover { background: var(--p-600); }
.btn-outline {
  background: transparent; color: var(--p-600) !important;
  border: 1px solid var(--p-500);
}
.btn-outline:hover { background: var(--p-25); }

/* hero */
.hero {
  background: radial-gradient(1200px 500px at 15% -10%, rgba(255,255,255,.10), transparent 60%),
              linear-gradient(135deg, var(--p-900) 0%, var(--p-800) 45%, var(--p-600) 100%);
  color: #fff;
  border-radius: 0 0 28px 28px;
  padding: 52px 20px 60px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: -70px; bottom: -70px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74,210,234,.25), transparent 70%);
}
.hero-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 14px; font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: bold; line-height: 1.5; max-width: 20em;
}
.hero p { margin: 0 0 24px; color: rgba(255,255,255,.92); max-width: 42em; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn-outline { border-color: rgba(255,255,255,.5); color: #fff !important; }

section.block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  margin-bottom: 20px;
  box-shadow: 0 10px 15px -3px rgba(16,24,40,.05), 0 4px 6px -4px rgba(16,24,40,.05);
}
section.block h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: var(--p-900);
  font-weight: bold;
}
.lead { color: var(--muted); margin: 0 0 20px; }
h3 { margin: 20px 0 10px; color: var(--p-700); font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--p-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; margin-bottom: 12px; font-size: 15px;
}
.card h4 { margin: 0 0 6px; color: var(--p-900); font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

/* product cards on homepage */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(16,24,40,.08), 0 4px 6px -4px rgba(16,24,40,.08);
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 20px 24px -4px rgba(16,24,40,.12); transform: translateY(-2px); }
.product-card .banner {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--p-700), var(--p-500));
  position: relative;
  overflow: hidden;
}
.product-card .banner img { width: 100%; height: 100%; object-fit: cover; }
.product-card .banner svg { width: 52px; height: 52px; color: #fff; opacity: .92; position: relative; z-index: 1; }
.product-card .banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(160px 160px at 85% 15%, rgba(255,255,255,.18), transparent 70%);
}
.product-card .body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { margin: 0 0 8px; color: var(--p-900); font-size: 1.08rem; }
.product-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; flex: 1; }
.product-card .more { font-weight: 600; color: var(--p-600); font-size: 14px; }
.badge-new {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #fff; color: var(--p-700);
  font-size: 11.5px; font-weight: bold;
  padding: 3px 10px; border-radius: 999px;
}

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 14px 16px;
  padding-right: 56px;
  margin-bottom: 10px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(s);
  position: absolute; right: 14px; top: 14px;
  width: 28px; height: 28px;
  background: var(--p-500); color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 13px;
}
.steps li strong { display: block; color: var(--p-900); margin-bottom: 2px; }
.steps li span { color: var(--muted); font-size: 14px; }

.tier {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 14px 0;
  background: linear-gradient(180deg,#fff, var(--bg));
  border-right: 5px solid var(--p-500);
}
.tier h3 { margin: 0 0 6px; color: var(--p-900); }
.tier .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pill {
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px;
  font-size: 12.5px; color: var(--p-800); font-weight: 500;
}
.tier ul { margin: 8px 0 0; padding-right: 20px; }
.tier li { margin-bottom: 5px; color: #334155; font-size: 14.5px; }

.cta {
  background: linear-gradient(135deg, var(--p-800), var(--p-500));
  color: #fff;
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
  margin: 26px 0 8px;
}
.cta h2 { color: #fff; margin: 0 0 10px; }
.cta p { color: rgba(255,255,255,.92); margin: 0 0 18px; }
.cta .btn { background: #fff; color: var(--p-800) !important; }
.cta .btn:hover { background: var(--p-25); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 12px;
  margin-top: 12px;
}
.contact-item {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--line);
}
.contact-item .k { font-size: 12px; color: var(--muted); }
.contact-item .v { font-weight: bold; color: var(--p-900); }

.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn-whatsapp { background: #25D366; color: #fff !important; }
.btn-whatsapp:hover { background: #1DA851; }
.btn-telegram { background: #229ED9; color: #fff !important; }
.btn-telegram:hover { background: #1B84B5; }

footer.site {
  background: var(--p-900);
  color: rgba(255,255,255,.75);
  padding: 34px 20px 26px;
}
footer.site .foot-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
footer.site .foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
footer.site .foot-links a { color: rgba(255,255,255,.8); }
footer.site .foot-links a:hover { color: #fff; }
footer.site .copy { text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 20px; }

@media print {
  body { background: #fff; }
  .topbar { position: static; }
  .hero { border-radius: 0; }
  section.block { box-shadow: none; break-inside: avoid; }
}
