.p-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.p-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.p-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.p-logo .brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; }

.p-hero { padding: 72px 0 48px; text-align: center; position: relative; overflow: hidden; }
.p-hero::before {
  content: ""; position: absolute; inset: -40% 10% auto; height: 600px; z-index: -1;
  background: radial-gradient(closest-side, var(--primary-soft), transparent);
}
.p-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 760px; margin: 0 auto 18px; }
.p-hero h1 em { font-style: normal; color: var(--primary); }
.p-hero p { font-size: 1.1rem; color: #4b5563; max-width: 580px; margin: 0 auto 28px; }
.p-hero .row { justify-content: center; }
.url-demo {
  display: inline-flex; align-items: center; gap: 2px; margin-top: 28px; padding: 10px 20px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  direction: ltr; font-weight: 600; color: var(--muted);
}
.url-demo b { color: var(--primary); }

.p-section { padding: 56px 0; }
.p-section h2 { text-align: center; font-size: 1.8rem; margin-bottom: 8px; }
.p-section > .container > .muted { text-align: center; margin-bottom: 36px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 26px; border-radius: 18px; background: var(--surface); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--primary); margin-bottom: 14px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .92rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 26px; border-radius: 18px; border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step, persian); width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.cta { text-align: center; padding: 56px 24px; border-radius: 28px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: var(--primary); }
.p-footer { padding: 28px 0; text-align: center; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); margin-top: 56px; }

.auth { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 40px 16px; background: var(--surface); }
.auth-box { width: min(520px, 100%); background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.auth-box h1 { font-size: 1.5rem; }
.sub-input { display: flex; direction: ltr; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.sub-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field .sub-input input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.sub-input span { display: grid; place-items: center; padding: 0 14px; background: var(--surface); color: var(--muted); font-weight: 600; white-space: nowrap; }
.store-choice { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.store-choice:hover { border-color: var(--primary); background: var(--primary-soft); }

@media (max-width: 860px) { .features, .steps { grid-template-columns: 1fr; } }
