/* MD Work — landing page styles */
:root {
  --bg: #070b12;
  --bg-2: #0a1020;
  --surface: #0e1727;
  --surface-2: #111d30;
  --line: rgba(255, 255, 255, .14);
  --line-2: rgba(255, 255, 255, .26);
  --text: #f7f9fc;
  --muted: #b9c5d7;
  --accent: #ffc93c;
  --accent-2: #ffb000;
  --accent-ink: #0a0e15;
  --green: #3ed9a4;
  --red: #ff7185;
  --dots: rgba(255, 255, 255, .10);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --radius: 20px;
  --wrap: 1160px;
}

[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-2: #eceff7;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --line: rgba(11, 18, 32, .14);
  --line-2: rgba(11, 18, 32, .24);
  --text: #0a1120;
  --muted: #414e63;
  --accent: #ffc61a;
  --accent-2: #f0a800;
  --accent-ink: #0b1220;
  --green: #0e9f6e;
  --red: #d6334e;
  --dots: rgba(11, 18, 32, .12);
  --shadow: 0 26px 60px -30px rgba(11, 18, 32, .28);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, b, strong { font-weight: 800; letter-spacing: -.02em; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: 820px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 800; font-size: .98rem; line-height: 1.2; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn--primary {
  background: linear-gradient(180deg, #ffd75e, #ffc12b);
  color: var(--accent-ink);
  box-shadow: 0 14px 34px -14px rgba(255, 193, 43, .75), inset 0 -1px 0 rgba(0, 0, 0, .12);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(255, 193, 43, .85); }
.btn--ghost {
  background: rgba(128, 148, 178, .08);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(128, 148, 178, .16); transform: translateY(-2px); }
.btn--sm { padding: 10px 15px; border-radius: 11px; font-size: .86rem; }
.btn--lg { padding: 16px 26px; font-size: 1.02rem; }
.playico { width: 19px; height: 19px; fill: currentColor; flex: none; }
.btn:active { transform: translateY(0); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .55;
}
.header__inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #ffd75e, #ffbe1f);
  color: #0a0e15; font-weight: 900; font-size: 15px; letter-spacing: -.06em;
  box-shadow: 0 8px 20px -8px rgba(255, 193, 43, .8);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: .98rem; }
.brand__text small { color: var(--muted); font-size: .7rem; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 26px; margin-inline-start: 10px; }
.nav a { color: var(--muted); font-size: .92rem; font-weight: 600; transition: color .16s; }
.nav a:hover { color: var(--text); }

.tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang {
  position: relative; display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: rgba(128, 148, 178, .07);
  padding-inline: 9px;
}
.lang__ico {
  width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 1.6;
  pointer-events: none; flex: none;
}
.lang__select {
  appearance: none; background: transparent; border: 0;
  padding: 8px 4px; font-size: .86rem; font-weight: 600; cursor: pointer;
  max-width: 128px;
}
.lang__select option { background: var(--surface); color: var(--text); }

.iconbtn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 11px;
  background: rgba(128, 148, 178, .07); cursor: pointer;
  transition: background .16s, transform .16s;
}
.iconbtn:hover { background: rgba(128, 148, 178, .16); transform: translateY(-1px); }
.iconbtn svg { width: 17px; height: 17px; fill: none; stroke: var(--text); stroke-width: 1.7; }
.iconbtn .ico-sun { display: none; }
[data-theme="light"] .iconbtn .ico-sun { display: block; }
[data-theme="light"] .iconbtn .ico-moon { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 84px) clamp(52px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset-inline: 0; top: -30%; height: 720px;
  background:
    radial-gradient(ellipse 520px 420px at 78% 34%, rgba(255, 201, 60, .16), transparent 70%),
    radial-gradient(ellipse 620px 520px at 12% 8%, rgba(58, 120, 255, .10), transparent 70%);
  pointer-events: none;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(circle at 1px 1px, var(--dots) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 12%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 12%, #000 20%, transparent 78%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.06fr .94fr;
  align-items: center; gap: clamp(28px, 5vw, 64px);
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 800;
  color: var(--accent);
  background: rgba(255, 201, 60, .10);
  border: 1px solid rgba(255, 201, 60, .28);
  padding: 7px 14px; border-radius: 999px;
}
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 201, 60, .16);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  display: flex; flex-direction: column;
}
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.lead {
  margin-top: 20px; max-width: 34em;
  color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px;
  color: var(--muted); font-size: .88rem; font-weight: 600;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts li::before {
  content: "✓"; color: var(--accent); font-weight: 900; font-size: .82rem;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 201, 60, .14);
}

.hero__art { position: relative; display: grid; place-items: center; }
.shot--hero { margin: 0; width: min(320px, 74vw); }
.shot--hero img {
  display: block; width: 100%; height: auto; border-radius: 26px;
  box-shadow: 0 45px 90px -35px rgba(0, 0, 0, .9), 0 0 70px -25px rgba(255, 201, 60, .3);
}


/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.shead { max-width: 660px; margin-bottom: clamp(32px, 4vw, 50px); }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; font-weight: 800; color: var(--accent); margin-bottom: 12px;
}
.shead h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; }
.shead p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 201, 60, .4); box-shadow: var(--shadow); }
.card__ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255, 201, 60, .12); color: var(--accent); margin-bottom: 18px;
}
.card__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* ---------- Google Play screenshots ---------- */
.shots {
  display: flex; gap: 16px; margin: 0; padding: 4px 4px 18px;
  list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.shots li { flex: 0 0 clamp(200px, 24vw, 262px); scroll-snap-align: start; }
.shots img {
  display: block; width: 100%; height: auto; border-radius: 18px;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden;
}
.step::after {
  content: ""; position: absolute; inset-inline-end: -40px; top: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 60, .14), transparent 70%);
}
.step__num {
  display: inline-block; font-size: .78rem; font-weight: 900; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 14px;
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; font-weight: 700; font-size: 1rem;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 700;
  color: var(--accent); background: rgba(255, 201, 60, .12);
  transition: transform .2s ease;
}
.qa[open] summary::after { content: "−"; }
.qa p { color: var(--muted); font-size: .95rem; line-height: 1.65; padding: 0 4px 22px; max-width: 60em; }

/* ---------- cta ---------- */
.cta {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 6vw, 84px);
  background:
    radial-gradient(ellipse 520px 300px at 50% 0%, rgba(255, 201, 60, .18), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.03em; }
.cta p { margin-top: 12px; color: var(--muted); max-width: 34em; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.cta__note { color: var(--muted); font-size: .84rem; }
.cta__badge { flex: none; }
.brand__mark--xl {
  width: 148px; height: 148px; border-radius: 34px; font-size: 54px;
  box-shadow: 0 30px 70px -24px rgba(255, 193, 43, .65);
  transform: rotate(-6deg);
}

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 52px 26px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer__brand p { color: var(--muted); font-size: .9rem; margin-top: 16px; max-width: 30em; }
.footer__made { margin-top: 8px; font-size: .82rem; }
.footer__col h3 {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--text); margin-bottom: 14px;
}
.footer__col a { display: block; color: var(--muted); font-size: .9rem; padding-block: 6px; transition: color .16s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .82rem;
}
.footer__tag { color: var(--accent); font-weight: 700; font-style: italic; }

/* ---------- sticky mobile bar ---------- */
.stickybar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
  display: none; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.stickybar[hidden] { display: none; }
.stickybar__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.stickybar__txt b { font-size: .9rem; }
.stickybar__txt small { color: var(--muted); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar .btn { margin-inline-start: auto; flex: none; }


/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__badge { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
  .header__inner { min-height: 62px; gap: 10px; }
  .brand__text small { display: none; }
  .tools .btn--sm { padding: 9px 12px; }
  .tools .btn--sm span { display: inline; font-size: .8rem; }
  .lang__select { max-width: 96px; font-size: .82rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .shots li { flex-basis: 74vw; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stickybar:not([hidden]) { display: flex; }
  body { padding-bottom: 0; }
}

@media (max-width: 400px) {
  .lang__ico { display: none; }
  .tools .btn--sm span { display: none; }
  .tools .btn--sm { padding: 9px 11px; }
}

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

/* ---------- data deletion ---------- */
.delnote {
  margin-top: 22px; padding: 18px 20px;
  border-inline-start: 3px solid var(--accent);
  background: var(--surface); border: 1px solid var(--line); border-inline-start-width: 3px;
  border-radius: 12px; color: var(--muted); font-size: .9rem; line-height: 1.65;
}
.delmail {
  display: inline-block; margin-top: 20px;
  color: var(--accent); font-weight: 700; font-size: .95rem;
}
.delmail:hover { text-decoration: underline; }
