/* Telivo - telivo.ir. Plain CSS, no build step; Persian RTL first. */
:root {
  --bg: #050a24;
  --bg2: #0a1236;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef1ff;
  --sub: #a9b1d6;
  --blue: #3d7bff;
  --cyan: #38d6ff;
  --violet: #9b6bff;
  --green: #34c759;
  --radius: 22px;
  --font: "Vazirmatn", "IRANSansX", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 700px at 80% -10%, #1b2a8f55, transparent 60%),
              radial-gradient(900px 600px at 0% 20%, #6b2bd133, transparent 60%), var(--bg);
  color: var(--text);
  line-height: 1.9;
  direction: rtl;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

/* header */
header.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 10, 36, 0.72);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand:hover { text-decoration: none; }
nav.menu { display: flex; gap: 20px; margin-inline-start: auto; flex-wrap: wrap; }
nav.menu a { color: var(--sub); font-size: 15px; }
nav.menu a.on, nav.menu a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff;
  box-shadow: 0 10px 30px -10px #3d7bffaa; border: 0; cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--text); }
.btn.green { background: var(--green); box-shadow: 0 10px 30px -12px #34c759aa; }

/* hero */
.hero { padding: 70px 0 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.35; margin: 0 0 16px; }
.hero h1 b { background: linear-gradient(90deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--sub); font-size: 18px; margin: 0 0 26px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero img { border-radius: 32px; box-shadow: 0 30px 80px -30px #3d7bff99; }
.note { font-size: 13px; color: var(--sub); margin-top: 14px; }

/* sections */
section { padding: 46px 0; }
section h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 10px; }
section .lead { color: var(--sub); margin: 0 0 28px; max-width: 760px; }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 6px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--sub); font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, #3d7bff33, #9b6bff33); border: 1px solid var(--line); }
.steps { counter-reset: s; }
.step { position: relative; padding-inline-start: 58px; }
.step::before {
  counter-increment: s; content: counter(s, persian);
  position: absolute; inset-inline-start: 0; top: 18px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}
.step.card { padding-inline-start: 74px; }
.step.card::before { inset-inline-start: 20px; top: 22px; }

/* pricing */
.plans { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.trial { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.trial h3 { margin: 6px 0 4px; }
.trial p { color: var(--sub); margin: 0; }
.trial .btn { flex-shrink: 0; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan .price { font-size: 30px; font-weight: 800; }
.plan .price small { font-size: 14px; color: var(--sub); font-weight: 400; }
.plan ul { margin: 6px 0 14px; padding-inline-start: 20px; color: var(--sub); flex: 1; }
.plan.best { border-color: #3d7bff99; box-shadow: 0 0 0 1px #3d7bff55, 0 20px 60px -30px #3d7bff; }
.tag { align-self: flex-start; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #34c75922; color: #7ee39a; border: 1px solid #34c75955; }

/* text pages */
.doc { max-width: 820px; }
.doc h1 { font-size: 32px; margin: 40px 0 6px; }
.doc h2 { font-size: 21px; margin: 30px 0 6px; }
.doc p, .doc li { color: #d9ddf4; }
.doc .upd { color: var(--sub); font-size: 14px; }
.fill { background: #ffcc0022; color: #ffd75e; border: 1px dashed #ffcc0088; border-radius: 6px; padding: 0 6px; }

table.info { border-collapse: collapse; width: 100%; }
table.info td { border-bottom: 1px solid var(--line); padding: 12px 6px; vertical-align: top; }
table.info td:first-child { color: var(--sub); width: 34%; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--sub); margin: 10px 0 0; }

/* footer */
footer.bottom { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 40px; color: var(--sub); font-size: 14px; }
footer.bottom .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
footer.bottom h4 { color: var(--text); margin: 0 0 8px; font-size: 15px; }
footer.bottom a { color: var(--sub); display: block; }
.trust { display: flex; gap: 10px; margin-top: 10px; }
.trust .slot { width: 110px; height: 110px; border-radius: 14px; border: 1px dashed var(--line); display: grid; place-items: center; text-align: center; font-size: 12px; padding: 8px; }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero img { max-width: 420px; margin-inline: auto; }
  .g3, .plans { grid-template-columns: 1fr; }
  .trial { flex-direction: column; align-items: stretch; }
  .g2 { grid-template-columns: 1fr; }
  footer.bottom .wrap { grid-template-columns: 1fr; }
  nav.menu { gap: 12px; }
  header.top .wrap { height: auto; padding: 10px 0; flex-wrap: wrap; }
}
