:root {
  --bg: #f4f8f7;
  --bg-deep: #0f2a24;
  --card: #ffffff;
  --text: #14241f;
  --muted: #5c7268;
  --primary: #2f9e8f;
  --primary-deep: #1a6b61;
  --primary-soft: #e6f5f2;
  --border: #d5e6e1;
  --danger: #c0392b;
  --shadow: 0 12px 40px rgba(15, 42, 36, 0.08);
  --radius: 18px;
  --max: 1040px;
  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 248, 247, 0.86);
  border-bottom: 1px solid rgba(213, 230, 225, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(47, 158, 143, 0.28);
}

.btn-ghost {
  background: var(--card);
  border-color: var(--border);
  color: var(--text) !important;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero .lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: linear-gradient(160deg, #1a6b61, #2f9e8f 55%, #5ec4b5);
  color: #fff;
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.hero-card p {
  margin: 0;
  opacity: 0.92;
}

.fake-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.fake-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.fake-item .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  flex-shrink: 0;
}

.fake-item.done {
  opacity: 0.75;
  text-decoration: line-through;
}

.fake-item.done .dot {
  background: #fff;
  box-shadow: inset 0 0 0 4px #1a6b61;
}

/* Sections */
section { padding: 2.5rem 0; }

.section-title {
  margin: 0 0 0.4rem;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 38rem;
}

.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Page content */
.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.page-hero .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.prose h2 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.2rem;
}

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li { color: var(--text); }

.prose ul { padding-left: 1.2rem; }

.prose li { margin: 0.35rem 0; }

.prose .muted { color: var(--muted); }

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

details.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 4px 16px rgba(15, 42, 36, 0.04);
}

details.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 700;
}

details.faq[open] summary::after { content: "−"; }

details.faq p {
  margin: 0.75rem 0 0.15rem;
  color: var(--muted);
}

/* Support cards */
.support-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 720px) {
  .support-grid { grid-template-columns: 1fr 1fr; }
}

.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.support-card h3 { margin: 0 0 0.45rem; }
.support-card p { margin: 0 0 0.75rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,0.88);
  padding: 2.5rem 0 2rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.site-footer a { color: #9fe0d6; }
.site-footer h4 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

.footer-copy strong { color: rgba(255,255,255,0.85); font-weight: 600; }
