:root {
  --green: #176f50;
  --green-dark: #10563e;
  --green-soft: #e9f6ef;
  --mint: #f2faf6;
  --ink: #14261e;
  --muted: #65736c;
  --line: #dce8e1;
  --white: #fff;
  --shadow: 0 24px 70px rgba(15, 72, 51, .12);
  --font: Vazirmatn, Tahoma, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; right: 20px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(220,232,225,.85);
  backdrop-filter: blur(14px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy b { direction: ltr; font-family: Arial, sans-serif; font-size: 18px; letter-spacing: .08em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #52625a; font-size: 14px; }
.nav-links a:hover { color: var(--green); }
.login-btn { border: 1px solid #bad4c7; color: var(--green); border-radius: 13px; padding: 9px 16px; font-weight: 700; background: #fff; }
.login-btn:hover { background: var(--green-soft); }

.hero {
  overflow: hidden;
  padding: 68px 0 56px;
  background:
    radial-gradient(circle at 87% 12%, rgba(188,231,210,.56), transparent 30%),
    radial-gradient(circle at 9% 92%, rgba(229,246,237,.88), transparent 28%),
    linear-gradient(180deg, #fbfefc, #f2f9f5);
}
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 62px; align-items: center; }
.badge, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 14px; font-weight: 700; }
.badge { padding: 7px 13px; background: #e7f5ed; border: 1px solid #d2eade; border-radius: 999px; }
.badge svg { width: 17px; }
h1 { margin: 18px 0 14px; font-size: clamp(40px, 5.2vw, 62px); line-height: 1.32; letter-spacing: -.035em; font-weight: 900; }
h1 span { color: var(--green); }
.lead { max-width: 610px; margin: 0 0 25px; color: var(--muted); font-size: 18px; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 590px; }
.platform-card {
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17,74,53,.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.platform-card:hover { transform: translateY(-3px); border-color: #acd1bf; box-shadow: 0 16px 32px rgba(17,74,53,.1); }
.platform-card:focus-visible, .login-btn:focus-visible, summary:focus-visible, .primary-btn:focus-visible { outline: 3px solid rgba(23,111,80,.25); outline-offset: 3px; }
.platform-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; color: #111; }
.platform-icon svg { width: 45px; height: 45px; }
.platform-copy { display: grid; line-height: 1.45; }
.platform-copy b { font-size: 16px; }
.platform-copy span { direction: ltr; color: #829089; font: 11px/1.4 Arial, sans-serif; letter-spacing: .08em; margin-top: 4px; }
.account-hint { margin-top: 12px; color: #78857e; font-size: 14px; }
.account-hint a { color: var(--green); font-weight: 800; }

.product-window { background: #fff; border: 1px solid #dce8e1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(-.6deg); }
.product-bar { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #e9efeb; background: #fcfdfc; }
.product-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 14px; }
.product-brand img { width: 30px; height: 30px; border-radius: 9px; }
.window-dots { direction: ltr; display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d2ddd7; }
.product-body { display: grid; grid-template-columns: 78px 1fr; min-height: 390px; }
.mini-nav { padding: 18px 11px; background: #f7faf8; border-left: 1px solid #e5ece8; display: grid; align-content: start; gap: 10px; }
.mini-nav span { display: grid; place-items: center; height: 46px; border-radius: 13px; color: #8b9891; }
.mini-nav span.active { color: var(--green); background: #e2f2e9; }
.mini-nav svg { width: 20px; }
.app-content { padding: 22px; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.app-head div { display: grid; }
.app-head b { font-size: 16px; }
.app-head small { color: var(--muted); font-size: 12px; }
.new-btn { color: #fff; background: var(--green); border-radius: 12px; padding: 9px 13px; font-size: 12px; font-weight: 800; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.stat { border: 1px solid #e6ede9; border-radius: 15px; padding: 13px; background: #fbfdfb; }
.stat small { display: block; color: #7a8780; font-size: 11px; }
.stat b { display: block; margin-top: 3px; color: var(--green); font-size: 17px; }
.appt-label { margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.appointments { display: grid; gap: 8px; }
.appointment { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 10px 11px; border: 1px solid #e8eeea; border-radius: 13px; }
.appointment time { direction: ltr; color: var(--green); font-size: 12px; font-weight: 800; }
.appointment div { display: grid; line-height: 1.55; }
.appointment b { font-size: 12px; }
.appointment small { color: #7b8881; font-size: 10px; }
.appointment em { padding: 4px 7px; border-radius: 999px; background: #e4f4eb; color: #167049; font-size: 9px; font-style: normal; }
.appointment em.unpaid { color: #99671d; background: #fff1d7; }

.section { padding: 76px 0; }
.section-heading { max-width: 690px; margin: 0 auto 36px; text-align: center; }
h2 { margin: 8px 0 10px; font-size: clamp(28px, 3.7vw, 42px); line-height: 1.45; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { padding: 22px; border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.feature-icon { width: 46px; height: 46px; margin-bottom: 15px; display: grid; place-items: center; border-radius: 14px; color: var(--green); background: var(--green-soft); }
.feature-icon svg { width: 23px; }
.feature-card h3 { margin: 0 0 6px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.how-section { background: #f7faf8; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { position: relative; padding: 23px; border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--green); color: #fff; font-weight: 900; }
.step h3 { margin: 15px 0 5px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.benefit-box { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; padding: 38px; border-radius: 30px; color: #fff; background: linear-gradient(135deg, #105c41, #197b57); overflow: hidden; }
.benefit-box h2 { margin-top: 4px; }
.benefit-box p { margin: 0; color: rgba(255,255,255,.76); }
.benefit-list { display: grid; gap: 10px; }
.benefit-list div { padding: 13px 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.09); }
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 11px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; padding: 0 18px; background: #fff; }
.faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 25px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: -2px 0 17px; color: var(--muted); font-size: 14px; }
.final-cta { padding: 36px; text-align: center; border: 1px solid #d9ebdf; border-radius: 28px; background: var(--green-soft); }
.final-cta h2 { margin-top: 3px; }
.final-cta .platforms { margin: 22px auto 0; }

.site-footer { margin-top: 74px; padding: 48px 0 24px; color: #fff; background: #0e291f; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 36px; }
.footer-brand .brand-copy small { color: rgba(255,255,255,.55); }
.footer-text { max-width: 360px; color: rgba(255,255,255,.6); font-size: 14px; }
.trust-seal { width: 72px; min-height: 72px; display: grid; place-items: center; margin-top: 15px; padding: 5px; border-radius: 12px; background: #fff; }
.trust-seal img { width: 60px; max-height: 62px; object-fit: contain; }
.footer-col { display: grid; align-content: start; gap: 9px; font-size: 14px; }
.footer-col b { margin-bottom: 3px; }
.footer-col a { color: rgba(255,255,255,.65); }
.footer-col a:hover { color: #fff; }
.copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.5); text-align: center; font-size: 12px; }

/* Install pages */
.install-page { min-height: 100dvh; display: grid; place-items: center; padding: 28px 20px; background: radial-gradient(circle at 15% 12%, rgba(133,205,171,.18), transparent 27%), radial-gradient(circle at 85% 90%, rgba(23,111,80,.13), transparent 30%), linear-gradient(180deg,#fbfdfb,#edf7f2); }
.install-shell { width: min(100%, 560px); }
.install-brand { justify-content: center; margin-bottom: 20px; }
.install-card { padding: 30px 25px; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.install-os-icon { width: 92px; height: 92px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 25px; color: #111; background: #edf7f2; }
.install-os-icon svg { width: 54px; height: 54px; }
.install-card h1 { margin: 0 0 7px; font-size: 29px; letter-spacing: -.02em; }
.install-lead { margin: 0 auto 20px; color: var(--muted); font-size: 15px; }
.primary-btn { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 16px; background: var(--green); color: #fff; cursor: pointer; font-weight: 900; }
.primary-btn:hover { background: var(--green-dark); }
.primary-btn[disabled] { opacity: .65; cursor: wait; }
.install-status { margin: 11px 0 0; color: #78867f; font-size: 13px; }
.instruction-box { margin-top: 18px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: #f8faf8; text-align: right; }
.instruction-box[hidden] { display: none; }
.instruction-box b { display: block; margin-bottom: 9px; font-size: 14px; }
.instruction-list { margin: 0; padding: 0; list-style: none; counter-reset: install-step; display: grid; gap: 10px; }
.instruction-list li { counter-increment: install-step; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.instruction-list li::before { content: counter(install-step); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--green); background: #e3f2ea; font-weight: 900; }
.share-symbol { direction: ltr; display: inline-block; padding: 1px 6px; border: 1px solid #b9cac1; border-radius: 7px; color: #315c48; font-family: Arial, sans-serif; }
.install-back { display: block; margin-top: 17px; text-align: center; color: var(--green); font-size: 14px; font-weight: 800; }
.secondary-action { display: inline-flex; margin-top: 12px; color: var(--green); font-size: 14px; font-weight: 800; }
.browser-alert { margin-bottom: 14px; padding: 11px 13px; border: 1px solid #efd9b1; border-radius: 13px; color: #805d20; background: #fff7e7; font-size: 13px; text-align: right; }
.browser-alert[hidden] { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .badge { margin-inline: auto; }
  .lead, .platforms { margin-inline: auto; }
  .product-window { max-width: 680px; margin-inline: auto; transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .benefit-box { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1160px); }
  .nav { min-height: 70px; }
  .brand img { width: 38px; height: 38px; }
  .hero { padding: 42px 0 36px; }
  h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .platforms { gap: 9px; }
  .platform-card { min-height: 108px; flex-direction: column; justify-content: center; gap: 6px; padding: 11px 7px; }
  .platform-icon { width: 43px; height: 43px; }
  .platform-icon svg { width: 40px; height: 40px; }
  .platform-copy { text-align: center; }
  .platform-copy b { font-size: 14px; }
  .product-body { grid-template-columns: 1fr; min-height: auto; }
  .mini-nav { display: none; }
  .app-content { padding: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .appointment { grid-template-columns: 44px 1fr; }
  .appointment em { display: none; }
  .section { padding: 58px 0; }
  .section-heading { text-align: right; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .benefit-box, .final-cta { padding: 26px 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .install-card { padding: 27px 19px; border-radius: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
