/* ============================================================
   /locked — «اپل آیدی قفل شد؟», the Instagram landing page.
   Nearly every visitor arrives from a reel, on a phone, so it is
   built phone-first: one column, big tap targets, and a sticky
   button once the hero is gone. The hero is the same midnight +
   indigo glow as the story poster, so the reel and the page feel
   like one thing. Everything else uses the site's own tokens and
   follows light/dark with them.
   ============================================================ */

/* ------------------------------------------------ hero */
.lk-hero {
  position: relative; overflow: hidden; color: #eef0ff;
  background:
    radial-gradient(680px 460px at 85% -10%, rgb(109 92 255 / .55), transparent 65%),
    radial-gradient(560px 420px at 0% 60%, rgb(34 211 238 / .2), transparent 65%),
    radial-gradient(700px 500px at 50% 120%, rgb(61 47 214 / .45), transparent 70%),
    #07081a;
}
.lk-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(90% 80% at 50% 20%, #000 30%, transparent 85%);
}
.lk-hero-grid {
  position: relative; display: grid; gap: 2.5rem; align-items: center;
  padding-block: clamp(2.25rem, 1.2rem + 5vw, 5rem) clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
}
@media (min-width: 900px) { .lk-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }

.lk-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 700;
  padding: .4rem .9rem; border-radius: 999px; color: #dfe3ff;
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14);
}
.lk-dot { width: 8px; height: 8px; border-radius: 50%; background: #fb7185; box-shadow: 0 0 0 5px rgb(251 113 133 / .2); }
.lk-hero h1 {
  margin: 1rem 0 0; color: #fff; font-weight: 900; letter-spacing: -.5px;
  font-size: clamp(2.2rem, 1.3rem + 4.2vw, 3.9rem); line-height: 1.3;
}
.lk-grad {
  background: linear-gradient(100deg, #ff8fa3 0%, #c98bff 45%, #6fd6ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lk-lead { margin: 1.1rem 0 0; font-size: 1.06rem; line-height: 2.05; color: rgb(226 230 255 / .86); max-width: 56ch; }
.lk-lead b { color: #fff; }

.lk-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.lk-actions .btn { flex: 1 1 15rem; justify-content: center; }
.lk-btn-main {
  background: linear-gradient(95deg, #7c6bff, #3d2fd6); color: #fff; border: 0;
  box-shadow: 0 10px 28px rgb(61 47 214 / .45);
}
.lk-btn-main:hover { color: #fff; filter: brightness(1.08); }
.lk-btn-main svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lk-btn-ghost { background: rgb(255 255 255 / .08); color: #fff; border: 1px solid rgb(255 255 255 / .22); }
.lk-btn-ghost:hover { background: rgb(255 255 255 / .14); color: #fff; }

.lk-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 1.3rem 0 0; font-size: .9rem; color: rgb(226 230 255 / .78); }
.lk-trust li { display: flex; align-items: center; gap: .45rem; }
.lk-trust svg { width: 18px; height: 18px; stroke: #6fd6ff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the locked phone */
.lk-phone { position: relative; justify-self: center; width: min(78vw, 290px); }
.lk-phone-body {
  position: relative; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #3a3f5c, #15172b); box-shadow: 0 30px 70px rgb(0 0 0 / .55), inset 0 0 0 1.5px rgb(255 255 255 / .12);
  transform: rotate(-4deg);
}
.lk-island { position: absolute; top: 20px; left: 50%; width: 82px; height: 24px; margin-left: -41px; border-radius: 14px; background: #05060f; z-index: 2; }
.lk-screen {
  height: 100%; border-radius: 34px; overflow: hidden; text-align: center;
  padding: 68px 20px 20px; font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #f6f6fa, #e9eaf2); color: #111;
}
.lk-lock { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #ffe2e6; }
.lk-lock svg { width: 28px; height: 28px; stroke: #e11d48; fill: none; stroke-width: 2; stroke-linecap: round; }
.lk-s-title { font-weight: 700; font-size: 17px; letter-spacing: -.2px; }
.lk-s-text { margin-top: 8px; font-size: 11.5px; line-height: 1.45; color: #555b6e; }
.lk-s-field { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid #dcdde6; text-align: left; font-size: 12.5px; color: #9aa0b2; }
.lk-s-field:first-of-type { margin-top: 18px; }
.lk-s-link { margin-top: 14px; font-size: 12px; color: #2563eb; }

.lk-float {
  position: absolute; display: flex; align-items: center; gap: .5rem; white-space: nowrap;
  background: #fff; color: #1b1746; font-weight: 800; font-size: .92rem;
  padding: .65rem 1rem; border-radius: 14px; box-shadow: 0 14px 36px rgb(0 0 0 / .4);
}
.lk-float svg { width: 20px; height: 20px; stroke: #3d2fd6; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.lk-float-1 { inset-inline-start: -14%; bottom: 14%; }
@media (max-width: 420px) { .lk-float-1 { inset-inline-start: -4%; } }

/* ------------------------------------------------ shared section heads */
.lk-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.lk-head h2 { margin: .55rem 0 .4rem; font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2rem); }
.lk-head p { margin: 0; }
.lk-step-tag {
  display: inline-block; font-size: .8rem; font-weight: 800; padding: .3rem .8rem; border-radius: 999px;
  color: rgb(var(--brand)); background: rgb(var(--brand-soft));
}
.lk-narrow { max-width: 820px; }

/* ------------------------------------------------ which message */
.lk-msgs { display: grid; gap: 1rem; }
@media (min-width: 860px) { .lk-msgs { grid-template-columns: repeat(3, 1fr); } }
.lk-msg {
  display: flex; flex-direction: column; padding: 1.25rem; border-radius: var(--r-lg);
  background: rgb(var(--card)); border: 1px solid rgb(var(--line)); box-shadow: var(--shadow-card);
}
.lk-msg h3 { margin: .9rem 0 .35rem; font-size: 1.12rem; }
.lk-msg p { margin: 0 0 .5rem; color: rgb(var(--muted)); line-height: 1.95; font-size: .95rem; }
.lk-msg .lk-fix { margin-top: auto; padding-top: .75rem; border-top: 1px dashed rgb(var(--line)); color: rgb(var(--ink)); }
.lk-quote {
  display: block; margin-top: .8rem; padding: .7rem .85rem; border-radius: 12px; text-align: left;
  font-family: ui-monospace, Consolas, monospace; font-size: .85rem; line-height: 1.55;
  background: rgb(var(--soft)); color: rgb(var(--ink)); border-inline-end: 3px solid rgb(var(--line));
}
.lk-tag { display: inline-block; font-size: .78rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; }
.lk-tag-ok   { color: rgb(var(--ok));   background: rgb(var(--ok-soft)); }
.lk-tag-bad  { color: rgb(var(--bad));  background: rgb(var(--bad-soft)); }
.lk-tag-warn { color: rgb(var(--warn)); background: rgb(var(--warn-soft)); }

/* ------------------------------------------------ versus */
.lk-vs { display: grid; gap: 1rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .lk-vs { grid-template-columns: 1fr 1fr; } }
.lk-vs-card { padding: 1.35rem; border-radius: var(--r-lg); background: rgb(var(--card)); border: 1px solid rgb(var(--line)); }
.lk-vs-bad { border-top: 4px solid rgb(var(--bad)); }
.lk-vs-ok  { border-top: 4px solid rgb(var(--ok)); box-shadow: var(--shadow-pop); }
.lk-vs-h { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.1rem; }
.lk-vs-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.lk-vs-ic svg { width: 19px; height: 19px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lk-vs-bad .lk-vs-ic { background: rgb(var(--bad-soft)); } .lk-vs-bad .lk-vs-ic svg { stroke: rgb(var(--bad)); }
.lk-vs-ok  .lk-vs-ic { background: rgb(var(--ok-soft)); }  .lk-vs-ok  .lk-vs-ic svg { stroke: rgb(var(--ok)); }
.lk-vs-card ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.lk-vs-card li { position: relative; padding-inline-start: 1.2rem; line-height: 1.9; color: rgb(var(--ink)); }
.lk-vs-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 7px; height: 7px; border-radius: 50%; }
.lk-vs-bad li::before { background: rgb(var(--bad) / .55); }
.lk-vs-ok  li::before { background: rgb(var(--ok)); }

/* ------------------------------------------------ right now */
.lk-now { list-style: none; padding: 0; margin: 0; counter-reset: lk; display: grid; gap: .85rem; }
.lk-now li {
  counter-increment: lk; position: relative; padding: 1.1rem 1.2rem; padding-inline-start: 3.9rem;
  border-radius: var(--r-md); background: rgb(var(--card)); border: 1px solid rgb(var(--line));
}
.lk-now li::before {
  content: counter(lk, persian); position: absolute; inset-inline-start: 1.1rem; top: 1.05rem;
  width: 2rem; height: 2rem; border-radius: 10px; display: grid; place-items: center; font-weight: 900;
  color: rgb(var(--brand)); background: rgb(var(--brand-soft));
}
.lk-now b { display: block; font-size: 1.02rem; }
.lk-now span { display: block; margin-top: .25rem; color: rgb(var(--muted)); line-height: 1.95; }
.lk-now span span { display: inline; margin: 0; }
.lk-honest {
  display: flex; gap: .85rem; align-items: flex-start; margin-top: 1.25rem; padding: 1rem 1.15rem;
  border-radius: var(--r-md); background: rgb(var(--warn-soft)); color: rgb(var(--ink));
}
.lk-honest svg { width: 24px; height: 24px; flex: none; margin-top: .2rem; stroke: rgb(var(--warn)); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lk-honest p { margin: 0; line-height: 1.95; }

/* ------------------------------------------------ the offer */
.lk-offer {
  color: #fff;
  background:
    radial-gradient(600px 380px at 100% 0%, rgb(var(--accent) / .35), transparent 65%),
    linear-gradient(140deg, rgb(var(--brand-700)), rgb(var(--brand)) 60%, rgb(var(--brand-2)));
}
.lk-offer-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .lk-offer-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.lk-step-light { color: #fff; background: rgb(255 255 255 / .16); }
.lk-offer h2 { color: #fff; margin: .7rem 0 .5rem; font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.15rem); }
.lk-offer-lead { color: rgb(255 255 255 / .88); line-height: 2; margin: 0; }
.lk-checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.lk-checks li { position: relative; padding-inline-start: 1.9rem; line-height: 1.85; }
.lk-checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: rgb(255 255 255 / .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.lk-kinds {
  display: grid; gap: .65rem; padding: 1.1rem; border-radius: var(--r-xl);
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(6px);
}
.lk-kind {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; align-items: center;
  padding: .9rem 1rem; border-radius: var(--r-md); text-decoration: none;
  background: #fff; color: #14152b; border: 2px solid transparent; transition: transform .2s ease, border-color .2s ease;
}
.lk-kind:hover { transform: translateY(-2px); color: #14152b; }
.lk-kind-best { border-color: #7c6bff; }
.lk-kind-badge {
  position: absolute; top: -.6rem; inset-inline-end: .8rem; font-size: .72rem; font-weight: 800;
  padding: .15rem .6rem; border-radius: 999px; color: #fff; background: linear-gradient(90deg, #7c6bff, #3d2fd6);
}
.lk-kind-name { font-weight: 800; }
.lk-kind-note { grid-row: 2; font-size: .82rem; color: #5c6380; }
.lk-kind-price { grid-row: 1 / span 2; grid-column: 2; font-weight: 900; font-size: 1.05rem; white-space: nowrap; }
.lk-kinds .btn { margin-top: .3rem; justify-content: center; }
.lk-kinds-foot { margin: .2rem 0 0; text-align: center; font-size: .82rem; color: rgb(255 255 255 / .78); }

/* ------------------------------------------------ after delivery */
.lk-after { display: grid; gap: .85rem; }
.lk-after-item {
  display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md);
  background: rgb(var(--card)); border: 1px solid rgb(var(--line));
}
.lk-n {
  flex: none; width: 2.3rem; height: 2.3rem; border-radius: 12px; display: grid; place-items: center;
  font-weight: 900; color: #fff; background: linear-gradient(140deg, rgb(var(--brand-2)), rgb(var(--brand)));
}
.lk-after-item b { font-size: 1.02rem; }
.lk-after-item p { margin: .25rem 0 .4rem; color: rgb(var(--muted)); line-height: 1.9; }
.lk-after-item a { font-size: .9rem; font-weight: 700; color: rgb(var(--brand)); text-decoration: none; }
.lk-after-item a:hover { text-decoration: underline; }

/* ------------------------------------------------ faq */
.lk-faq { display: grid; gap: .65rem; }
.lk-faq details { border-radius: var(--r-md); background: rgb(var(--card)); border: 1px solid rgb(var(--line)); }
.lk-faq summary {
  list-style: none; cursor: pointer; padding: 1rem 1.15rem; font-weight: 800; line-height: 1.8;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.lk-faq summary::-webkit-details-marker { display: none; }
.lk-faq summary::after {
  content: "+"; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 8px; display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 700; line-height: 1; color: rgb(var(--brand)); background: rgb(var(--brand-soft));
}
.lk-faq details[open] summary::after { content: "−"; }
.lk-faq details p { margin: 0; padding: 0 1.15rem 1.1rem; color: rgb(var(--muted)); line-height: 2; }

/* ------------------------------------------------ final band */
.lk-final {
  text-align: center; color: #eef0ff; padding-block: clamp(2.75rem, 1.5rem + 4vw, 4.5rem);
  background:
    radial-gradient(600px 300px at 50% 0%, rgb(109 92 255 / .5), transparent 70%),
    #07081a;
}
.lk-final h2 { color: #fff; margin: 0 auto; max-width: 22ch; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem); line-height: 1.6; }
.lk-final p { margin: .6rem 0 1.4rem; color: rgb(226 230 255 / .8); }
.lk-final-alt { display: block; margin-top: 1rem; color: rgb(226 230 255 / .8); font-size: .92rem; }
.lk-final-alt:hover { color: #fff; }

/* ------------------------------------------------ sticky button (phones) */
.lk-sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgb(var(--bg) / .92); backdrop-filter: blur(10px); border-top: 1px solid rgb(var(--line));
  transform: translateY(110%); transition: transform .25s ease-out;
}
.lk-sticky.on { transform: none; }
.lk-sticky .btn { width: 100%; justify-content: center; }
@media (min-width: 900px) { .lk-sticky { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .lk-sticky, .lk-kind { transition: none; }
}

/* the warranty promise inside the offer (and a link to /warranty) */
.lk-warranty {
  display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.3rem; padding: .95rem 1.05rem;
  border-radius: var(--r-md); color: #fff; text-decoration: none; line-height: 1.95;
  background: rgb(74 222 128 / .16); border: 1px solid rgb(110 231 168 / .45);
}
.lk-warranty:hover { color: #fff; background: rgb(74 222 128 / .24); }
.lk-warranty svg { width: 24px; height: 24px; flex: none; margin-top: .2rem; stroke: #6ee7a8; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
