/* ===== فونت ایران‌یکان (محلی) ===== */
@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekan-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekan-regular.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekan";
  src: url("fonts/iranyekan-bold.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}

/* ===== Design tokens ===== */
:root {
  --emerald: #0f6e56;
  --emerald-700: #0c5a47;
  --teal: #1d9e75;
  --mint: #5dcaa5;
  --accent: #16a34a;
  --ink: #0f1c18;
  --body: #44524d;
  --muted: #7c8a85;
  --line: #e7ece9;
  --bg: #ffffff;
  --bg-soft: #f4f8f6;
  --bg-mint: #eef6f2;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 110, 86, 0.06);
  --shadow: 0 18px 50px -22px rgba(15, 110, 86, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(15, 110, 86, 0.4);
  --grad: linear-gradient(135deg, #0f6e56 0%, #1d9e75 55%, #2bbf86 100%);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "IRANYekan", "Vazirmatn", system-ui, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; font-weight: 800; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { box-shadow: var(--shadow-lg); }
.btn--soft { background: var(--bg-mint); color: var(--emerald); border-color: transparent; }
.btn--soft:hover { background: #e0efe8; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--emerald); box-shadow: var(--shadow); }

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(0,0,0,.18); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 19px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 20px;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-weight: 600; color: var(--body); font-size: 15px; transition: color 0.2s; }
.nav__links a:hover { color: var(--emerald); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; background: none; border: none; font-size: 26px; color: var(--ink); cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 720px; z-index: -1;
  background:
    radial-gradient(420px 320px at 80% 20%, rgba(45, 191, 134, 0.20), transparent 60%),
    radial-gradient(520px 380px at 15% 10%, rgba(15, 110, 86, 0.16), transparent 60%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-mint); color: var(--emerald);
  font-weight: 700; font-size: 13.5px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid #d7e9e1;
}
.hero__title { font-size: clamp(33px, 5vw, 56px); line-height: 1.25; margin: 20px 0 18px; }
.hero__sub { font-size: 18px; color: var(--body); max-width: 540px; }
.hero__actions { display: flex; gap: 14px; margin: 30px 0 22px; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }
.hero__trust li { display: flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.hero__trust i { color: var(--teal); }

/* Hero browser mockup */
.hero__art { position: relative; }
.window {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: float 6s ease-in-out infinite;
}
.window__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #f6f9f7; border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #f7716a; } .dot--y { background: #f5c451; } .dot--g { background: #5dcaa5; }
.window__url { margin-inline-start: auto; font-size: 12.5px; color: var(--muted); background: #fff; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); }
.window__body { padding: 18px; }
.mock-hero { display: flex; gap: 14px; background: linear-gradient(120deg, #103f33, #1d9e75); border-radius: 14px; padding: 18px; color: #fff; }
.mock-hero__txt { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.mock-badge { align-self: flex-start; background: #ffd66e; color: #6b4d00; font-weight: 800; font-size: 11px; padding: 3px 10px; border-radius: 999px; }
.mock-hero__img { width: 90px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 34px; color: rgba(255,255,255,.7); }
.line { height: 9px; border-radius: 6px; background: rgba(255,255,255,.55); }
.line--lg { width: 80%; height: 12px; } .line--md { width: 55%; }
.mock-btn { align-self: flex-start; margin-top: auto; background: #fff; color: var(--emerald); font-weight: 800; font-size: 12px; padding: 7px 18px; border-radius: 999px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.mock-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mock-card .ph { display: block; height: 56px; border-radius: 8px; background: var(--bg-soft); margin-bottom: 9px; }
.mock-card .line--sm { width: 90%; height: 7px; background: #e2e8e5; }
.mock-card .price { margin-top: 8px; font-weight: 800; font-size: 13px; color: var(--ink); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 15px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
}
.float-card i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-mint); color: var(--emerald); font-size: 19px; }
.float-card strong { display: block; font-size: 13.5px; color: var(--ink); }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card--1 { bottom: -22px; inset-inline-start: -26px; animation-delay: .6s; }
.float-card--2 { top: 30px; inset-inline-end: -22px; animation-delay: 1.4s; }
.float-card--2 i { background: #fdf2da; color: #b07d0a; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Stats ===== */
.stats { padding: 8px 0 16px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--ink); border-radius: var(--radius-lg); padding: 32px;
  background-image: radial-gradient(600px 200px at 80% 0%, rgba(45,191,134,.25), transparent);
}
.stat { text-align: center; color: #fff; }
.stat__num { font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: #fff; }
.stat__label { color: #b9c9c3; font-size: 14px; margin-top: 2px; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; color: var(--teal); font-weight: 800; font-size: 14px; letter-spacing: .3px; margin-bottom: 12px; }
.section__head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section__head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { font-size: 15px; color: var(--body); line-height: 1.8; }
.feature b { color: var(--emerald); }
.i-emerald { background: #e6f3ee; color: #0f6e56; }
.i-teal { background: #e1f5ee; color: #1d9e75; }
.i-amber { background: #fdf2da; color: #b07d0a; }
.i-blue { background: #e8f1fc; color: #1f72c4; }
.i-pink { background: #fcebf1; color: #c43e6c; }
.i-purple { background: #eeedfe; color: #5b51c0; }

/* ===== Steps ===== */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; text-align: center; padding: 0 18px; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 18px; font-size: 22px; font-weight: 900; color: #fff; background: var(--grad);
  box-shadow: var(--shadow);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step__line { flex: 0 0 56px; height: 2px; background: linear-gradient(90deg, var(--mint), transparent); margin-top: 28px; }

/* ===== Showcase ===== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.showcase:last-child { margin-bottom: 0; }
.showcase--rev .showcase__text { order: 2; }
.showcase__text h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 12px 0 14px; }
.showcase__text > p { font-size: 17px; color: var(--body); margin-bottom: 22px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.ticks li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.ticks i { color: var(--teal); font-size: 21px; }

/* Panel mockup */
.panel-mock { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 270px; }
.panel-mock__side { width: 150px; background: var(--bg-soft); padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; border-inline-end: 1px solid var(--line); }
.pm-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.pm-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 8px 10px; border-radius: 9px; font-weight: 600; }
.pm-item--on { background: #fff; color: var(--emerald); box-shadow: var(--shadow-sm); }
.panel-mock__main { flex: 1; padding: 18px; }
.pm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.pm-kpi { background: var(--bg-mint); border-radius: 12px; padding: 11px; }
.pm-kpi small { color: var(--muted); font-size: 11.5px; display: block; }
.pm-kpi strong { font-size: 18px; color: var(--ink); }
.pm-chart { display: flex; align-items: flex-end; gap: 9px; height: 110px; padding-top: 8px; border-top: 1px solid var(--line); }
.pm-chart span { flex: 1; background: var(--grad); border-radius: 6px 6px 0 0; opacity: .85; }

/* Phone mockup */
.phone-mock {
  width: 250px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 30px; box-shadow: var(--shadow-lg); padding: 16px; animation: float 6s ease-in-out infinite;
}
.phone-mock__top { width: 90px; height: 6px; border-radius: 999px; background: var(--line); margin: 2px auto 14px; }
.pm2-img { position: relative; height: 150px; border-radius: 16px; background: var(--bg-mint); display: grid; place-items: center; font-size: 44px; color: var(--mint); }
.pm2-off { position: absolute; top: 10px; inset-inline-start: 10px; background: #f7716a; color: #fff; font-weight: 800; font-size: 12px; padding: 3px 11px; border-radius: 999px; }
.pm2-title { height: 13px; width: 75%; border-radius: 6px; background: #e2e8e5; margin: 16px 0 10px; }
.pm2-stars { color: #f5b301; font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.pm2-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.pm2-price b { font-size: 20px; color: var(--ink); font-weight: 900; }
.pm2-price s { color: var(--muted); font-size: 14px; }
.pm2-btn { background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; text-align: center; padding: 12px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ===== Pricing ===== */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center; transition: transform 0.25s, box-shadow 0.25s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 700; }
.plan__price { font-size: 27px; font-weight: 900; color: var(--ink); margin: 14px 0 4px; }
.plan__price small { font-size: 13px; color: var(--muted); font-weight: 600; margin-inline-start: 5px; }
.plan__per { font-size: 13px; color: var(--teal); font-weight: 700; margin-bottom: 22px; }
.plan__tag { position: absolute; top: 16px; inset-inline-end: 16px; background: var(--bg-mint); color: var(--emerald); font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan--feat { background: var(--ink); border-color: var(--ink); background-image: radial-gradient(400px 160px at 70% 0%, rgba(45,191,134,.3), transparent); transform: translateY(-8px); }
.plan--feat h3, .plan--feat .plan__price { color: #fff; }
.plan--feat .plan__price small { color: #b9c9c3; }
.plan--feat .plan__per { color: var(--mint); }
.plan__tag--feat { background: rgba(255,255,255,.15); color: #fff; }
.plan__badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 16px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }
.plans__note { text-align: center; margin-top: 28px; color: var(--muted); font-size: 14.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.plans__note i { color: var(--teal); font-size: 18px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink);
  font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { color: var(--teal); transition: transform 0.25s; font-size: 20px; }
.faq__item[open] summary i { transform: rotate(180deg); }
.faq__item p { padding: 0 22px 20px; color: var(--body); font-size: 15px; }

/* ===== CTA ===== */
.cta { padding: 30px 0 90px; }
.cta__inner { background-color: var(--emerald); background-image: radial-gradient(500px 200px at 50% 0%, rgba(255,255,255,.2), transparent), var(--grad); border-radius: var(--radius-lg); padding: 60px 30px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta__inner h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); }
.cta__inner p { font-size: 18px; margin: 12px 0 28px; opacity: .95; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #c3d1cc; padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand .brand { color: #fff; margin-bottom: 14px; }
.footer__brand p { font-size: 14.5px; max-width: 320px; color: #9fb1ab; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.footer__col a { display: block; color: #9fb1ab; font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--mint); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 19px; color: #fff; }
.footer__social a:hover { background: var(--teal); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: 13.5px; color: #8aa099; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; inset-inline: 0;
    background: #fff; padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .hero__inner, .showcase, .showcase--rev .showcase__text { grid-template-columns: 1fr; }
  .showcase--rev .showcase__text { order: 0; }
  .hero__art { order: -1; max-width: 460px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--feat { transform: none; }
  .step__line { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1; }
  .section { padding: 64px 0; }
}
