:root {
  color-scheme: light;
  --purple: #34205F;
  --ink: #202830;
  --muted: #69747d;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f8f9fa;
  font-family: 'Cairo', sans-serif;
  color: var(--ink);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
.app {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.header {
  position: relative;
  min-height: 80px;
  padding: 13px 52px 11px;
  background: #fff;
  text-align: center;
}
.header h1 { font-size: 22px; font-weight: 700; line-height: 1.5; }
.header p { font-size: 14px; line-height: 1.6; color: #82828a; }
.header-back, .header-help {
  position: absolute;
  top: 20px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
}
.header-help { right: 15px; color: var(--purple); background: #f1ebff; border-radius: 50%; }
.header-help svg { width: 22px; height: 22px; }
.hero img { width: 100%; }
.landing-content {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 13px 15px 14px;
}
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit { text-align: center; padding: 0 5px; }
.benefit + .benefit { border-right: 1px solid #f1f0f5; }
.icon-badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #f0ecf9;
  color: var(--purple);
}
.icon-badge svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit .icon-badge { margin: 0 auto 5px; border-radius: 50%; }
.benefit h2 { font-size: 11px; font-weight: 700; line-height: 1.8; }
.benefit p { font-size: 11px; color: var(--muted); line-height: 1.7; }
.banner { display: block; border-radius: 15px; overflow: hidden; margin-top: 16px; }
.banner img { width: 100%; }
.banner:hover { filter: brightness(1.035); }
.how-content { padding: 22px 15px calc(32px + env(safe-area-inset-bottom)); background: #fbfaff; border-top: 1px solid #f0ecf9; scroll-margin-top: 12px; }
.section-title { font-size: 17px; line-height: 1.55; font-weight: 700; margin: 0 4px 12px; color: var(--purple); }
.steps { display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  min-height: 74px;
  background: #fff;
  border: 1px solid #eeebf4;
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(64, 34, 118, .035);
}
.step-art { width: 50px; height: 50px; }
.step h3 { font-size: 14px; font-weight: 700; line-height: 1.6; }
.step p { color: var(--muted); font-size: 11.5px; line-height: 1.7; margin-top: 1px; }
.step-number { display: grid; place-items: center; height: 34px; width: 34px; background: #f0e9fc; border-radius: 50%; color: var(--purple); font: 700 21px/1 Arial, sans-serif; }
.features { margin-top: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.feature {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 56px;
  padding: 6px 7px;
  border: 1px solid #ecebf0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px #00000003;
}
.feature .icon-badge { width: 38px; height: 38px; border-radius: 50%; }
.feature .icon-badge svg { width: 23px; height: 23px; }
.feature div { flex: 1; min-width: 0; text-align: center; }
.feature h3 { font-size: 11px; line-height: 1.7; font-weight: 700; }
.feature p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.brands { border-radius: 13px; background: #f6f5fc; margin-top: 10px; padding: 8px; }
.brands h2 { font-size: 12.5px; text-align: center; margin-bottom: 8px; font-weight: 700; }
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; direction: ltr; }
.brand { background: #fff; min-width: 0; min-height: 80px; border-radius: 10px; padding: 8px 3px 5px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.brand .apple-mark { width: 42px; height: 42px; fill: #050505; }
.brand .samsung-mark { display: flex; align-items: center; height: 42px; direction: ltr; color: #142b8d; font: 900 19px/1 Arial, sans-serif; letter-spacing: .7px; transform: scaleX(.88); }
.brand p { font-size: 13px; font-weight: 700; direction: rtl; }
.shop-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 18px auto 0; padding: 10px 24px; border-radius: 12px; background: var(--purple); color: #fff; font-size: 14px; font-weight: 700; }
.shop-cta:hover { background: #5130c9; }
.shop-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 560px) {
  body { padding: 24px 16px; }
  .app { min-height: calc(100vh - 48px); border-radius: 28px; box-shadow: 0 12px 42px #38267d32; }
}
@media (max-width: 359px) {
  .header { padding-inline: 45px; }
  .header p { font-size: 12px; }
  .landing-content { padding-inline: 10px; }
  .benefit { padding-inline: 2px; }
  .benefit h2, .benefit p { font-size: 10px; }
  .how-content { padding-inline: 11px; }
  .step { grid-template-columns: 54px minmax(0, 1fr) 31px; gap: 5px; padding-inline: 7px; }
  .step-art { width: 44px; height: 44px; }
  .step h3 { font-size: 13px; }
  .step p { font-size: 11px; }
  .step-number { height: 30px; width: 30px; font-size: 19px; }
  .feature { gap: 4px; padding-inline: 5px; }
  .feature .icon-badge { width: 33px; height: 33px; }
  .feature h3 { font-size: 10px; }
  .feature p { font-size: 9.5px; }
  .brand-grid { gap: 5px; }
}
