/* ژایلو طب — marketing site
   Self-contained: no external fonts or scripts, so it works on any host and offline. */

:root {
  --violet: #6957e8;
  --violet-dark: #5343cf;
  --violet-soft: #f2effe;
  --ink: #1d2939;
  --body: #4b5565;
  --muted: #98a2b3;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-alt: #f7f8fc;
  --radius: 16px;
  --shadow: 0 10px 34px #10182812;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: Vazirmatn, Vazir, Tahoma, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.5; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
code { font-family: Consolas, monospace; direction: ltr; display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .82em; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 40px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px; border-radius: 13px;
  font-size: 14.5px; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-sm { height: 42px; padding: 0 18px; font-size: 13px; border-radius: 11px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 20px #6957e83d; }
.btn-primary:hover { background: var(--violet-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--violet); border: 1px solid #d9d2fb; }
.btn-ghost:hover { background: var(--violet-soft); transform: translateY(-1px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #806ff5, #5b48dc); color: #fff;
  font-size: 21px; font-weight: 900; box-shadow: 0 8px 20px #6957e83d;
}
.brand-mark.sm { width: 38px; height: 38px; font-size: 18px; border-radius: 12px; }
.brand-text b { display: block; font-size: 17px; color: var(--ink); }
.brand-text small { display: block; font-size: 10.5px; color: var(--muted); margin-top: -2px; }
.site-nav { margin-inline-start: auto; display: flex; gap: 26px; font-size: 14px; }
.site-nav a { color: var(--body); }
.site-nav a:hover { color: var(--violet); }

/* ---------- hero ---------- */
.hero {
  padding: 76px 0 84px;
  background:
    radial-gradient(900px 420px at 88% -10%, #efeaff 0%, transparent 62%),
    radial-gradient(700px 380px at 6% 8%, #e9f6f1 0%, transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 54px; align-items: center; }
.pill {
  display: inline-block; padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1px solid #ddd6fb; color: var(--violet);
  font-size: 12px; font-weight: 700; box-shadow: 0 4px 14px #6957e814;
}
.hero h1 { margin: 20px 0 16px; font-size: clamp(30px, 4.6vw, 47px); letter-spacing: -.4px; }
.lead { font-size: 16.5px; color: var(--body); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 13.5px; color: var(--body); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "✓"; width: 21px; height: 21px; border-radius: 50%;
  background: #e6f7ee; color: #199a5a; display: grid; place-items: center; font-size: 11px; font-weight: 900;
}

/* hero mock */
.hero-visual { display: grid; place-items: center; }
.mock {
  width: 100%; max-width: 470px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 28px 60px #10182818; overflow: hidden;
}
.mock-bar { height: 38px; background: #fbfcfe; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e6ee; }
.mock-body { display: grid; grid-template-columns: 62px minmax(0,1fr); min-height: 288px; }
.mock-side { border-inline-end: 1px solid var(--line); padding: 14px 0; display: grid; gap: 10px; justify-items: center; align-content: start; background: #fcfcfe; }
.mock-side span { width: 26px; height: 9px; border-radius: 5px; background: #eceef4; }
.mock-side span.on { background: #d8d0fb; }
.mock-main { padding: 16px; display: grid; gap: 14px; align-content: start; }
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.mock-stat { padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fdfdff; text-align: center; }
.mock-stat b { display: block; font-size: 20px; color: var(--ink); }
.mock-stat em { display: block; font-style: normal; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.mock-rows { display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #eef1f6; border-radius: 11px; }
.av { width: 26px; height: 26px; border-radius: 8px; background: #efedff; flex: 0 0 auto; }
.ln { height: 9px; border-radius: 5px; background: #eceef4; }
.ln.w45 { width: 45%; } .ln.w55 { width: 55%; } .ln.w70 { width: 70%; } .ln.w80 { width: 80%; }
.tag { margin-inline-start: auto; width: 40px; height: 18px; border-radius: 999px; background: #eef1f5; flex: 0 0 auto; }
.tag.ok { background: #e0f5ea; } .tag.warn { background: #fdf0d9; }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(4,1fr); text-align: center; }
.strip-inner div { padding: 26px 10px; }
.strip-inner div + div { border-inline-start: 1px solid var(--line); }
.strip-inner b { display: block; font-size: 27px; color: var(--violet); }
.strip-inner span { font-size: 12.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 33px); }
.section-head p { margin-top: 12px; color: var(--body); font-size: 15px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(298px,1fr)); gap: 18px; }
.card {
  padding: 26px 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px #1018281c; }
.ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 15px; }
.ic.lav { background: #efeaff; } .ic.mint { background: #e6f7ee; } .ic.rose { background: #ffeef1; }
.ic.sand { background: #fdf3e0; } .ic.sky { background: #e8f0ff; }
.card h3 { font-size: 17px; margin-bottom: 9px; }
.card p { font-size: 13.8px; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px,1fr)); gap: 22px; align-items: start; }
.plan {
  position: relative; padding: 32px 28px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  display: grid; gap: 20px; align-content: start;
}
.plan-featured { border-color: #c9bffa; box-shadow: 0 22px 54px #6957e824; }
.ribbon {
  position: absolute; top: -14px; inset-inline-start: 28px;
  padding: 6px 15px; border-radius: 999px; background: var(--violet); color: #fff;
  font-size: 11.5px; font-weight: 800; box-shadow: 0 8px 18px #6957e840;
}
.plan-tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--violet); }
.plan h3 { font-size: 21px; margin: 8px 0 8px; }
.plan-sub { font-size: 13.5px; color: var(--body); }
.price { padding: 18px 0; border-block: 1px dashed var(--line); }
.price b { font-size: 33px; color: var(--ink); letter-spacing: -.5px; }
.price span { font-size: 13px; color: var(--muted); margin-inline-start: 8px; }
.plan-list { display: grid; gap: 11px; font-size: 14px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list li::before {
  content: "✓"; flex: 0 0 auto; width: 21px; height: 21px; margin-top: 3px;
  border-radius: 50%; background: #e6f7ee; color: #199a5a;
  display: grid; place-items: center; font-size: 11px; font-weight: 900;
}
.plan-featured .plan-list li::before { background: var(--violet-soft); color: var(--violet); }
.plan-note { font-size: 12.5px; color: var(--muted); }
.plans-foot { margin-top: 30px; text-align: center; font-size: 13.5px; color: var(--body); }

/* ---------- compare table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 16px 20px; text-align: right; border-bottom: 1px solid #eef1f6; font-size: 14px; }
.compare thead th { background: #fbfcfe; color: var(--ink); font-size: 14.5px; }
.compare thead th:not(:first-child) { text-align: center; }
.compare td:not(:first-child) { text-align: center; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: #fcfcff; }
.yes { color: #199a5a; font-weight: 700; }
.no { color: var(--muted); }

/* ---------- faq ---------- */
details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; margin-bottom: 12px; box-shadow: 0 4px 14px #1018280a;
}
details[open] { border-color: #d9d2fb; }
summary {
  cursor: pointer; padding: 17px 0; font-weight: 700; color: var(--ink); font-size: 15px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--violet); font-size: 21px; font-weight: 700; flex: 0 0 auto; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 18px; font-size: 14px; }

/* ---------- cta ---------- */
.cta { padding: 66px 0; background: linear-gradient(135deg, #6a58e9, #8b6ff0); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.cta p { margin-top: 10px; color: #eae6ff; font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-primary { background: #fff; color: var(--violet); box-shadow: 0 10px 24px #2c1b7a33; }
.cta .btn-primary:hover { background: #f6f4ff; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #ffffff66; }
.cta .btn-ghost:hover { background: #ffffff1f; }

/* ---------- footer ---------- */
.site-footer { padding: 34px 0; background: #101828; color: #cbd2dd; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand b { display: block; color: #fff; font-size: 15px; }
.footer-brand small { display: block; font-size: 11px; color: #98a2b3; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.copy { font-size: 11.5px; color: #7d8797; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .strip-inner { grid-template-columns: repeat(2,1fr); }
  .strip-inner div:nth-child(3) { border-inline-start: 0; }
  .strip-inner div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-nav { display: none; }
}
@media (max-width: 620px) {
  .hero { padding: 48px 0 56px; }
  .section { padding: 58px 0; }
  .header-inner { height: 68px; gap: 12px; }
  .brand-text small { display: none; }
  .btn { height: 46px; padding: 0 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
