.android-mock{
  border-radius:18px;overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 32px rgba(0,0,0,.4);
  background:#fff;color:#1f2937;font-family:Roboto,"Segoe UI",sans-serif;
}
.android-mock-status{
  display:flex;justify-content:space-between;align-items:center;
  padding:8px 14px 4px;font-size:10px;font-weight:600;color:#111;
  background:#fff;
}
.android-mock-status span{display:flex;align-items:center;gap:4px}
.android-mock-bar{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 8px 12px;background:#fff;border-bottom:1px solid #eceff3;
}
.android-mock-bar h5{
  margin:0;font-size:15px;font-weight:700;color:#111;flex:1;text-align:center;
}
.android-mock-back,.android-mock-menu{
  width:28px;height:28px;display:grid;place-items:center;color:#111;font-size:16px;
}
.android-mock-list{background:#fff}
.android-mock-item{
  display:flex;align-items:center;gap:12px;padding:12px 16px;
  border-bottom:1px solid #f1f3f6;
}
.android-mock-item.highlight{background:#faf5ff;border-left:3px solid #9333ea}
.android-mock-icon{
  width:34px;height:34px;border-radius:50%;flex-shrink:0;
  display:grid;place-items:center;font-size:14px;color:#fff;
}
.android-mock-icon.i1{background:#22c55e}
.android-mock-icon.i2{background:#a855f7}
.android-mock-icon.i3{background:#8b5cf6}
.android-mock-icon.i4{background:#14b8a6}
.android-mock-icon.i5{background:#ec4899}
.android-mock-icon.i6{background:#3b82f6}
.android-mock-icon.i7{background:#2563eb}
.android-mock-icon.i8{background:#94a3b8}
.android-mock-copy{flex:1;min-width:0}
.android-mock-copy strong{
  display:block;font-size:14px;font-weight:500;color:#111;line-height:1.35;
}
.android-mock-copy small{display:block;margin-top:3px;font-size:12px;color:#64748b}
.android-mock-dot{
  width:8px;height:8px;border-radius:50%;background:#f97316;flex-shrink:0;
}
.android-mock-nav{
  display:flex;justify-content:space-around;align-items:center;
  padding:10px 0 8px;background:#fff;border-top:1px solid #eceff3;
  color:#64748b;font-size:16px;
}
.android-mock-nav span.active{color:#111}
.guide-caption{
  margin:12px 0 0;font-size:14px;color:#cbd5e1;text-align:center;line-height:1.55;
}
.guide-caption strong{color:#fff;font-weight:800}
.guide-note{
  margin:12px 0 0;padding:12px 14px;border-radius:12px;
  background:rgba(52,211,153,.08);border:1px solid rgba(52,211,153,.25);
  font-size:13px;line-height:1.6;color:#bbf7d0;
}

.mock-demo{margin-top:4px}
.mock-phase-tabs{
  display:flex;gap:8px;margin-bottom:10px;
}
.mock-phase-tab{
  flex:1;padding:8px 4px;border-radius:12px;text-align:center;
  font-size:10px;font-weight:700;color:#94a3b8;cursor:pointer;
  background:rgba(255,255,255,.04);border:1px solid var(--line);
  transition:background .25s,color .25s,border-color .25s;line-height:1.35;
}
.mock-phase-tab.active{
  color:#fff;background:rgba(147,51,234,.35);border-color:rgba(168,85,247,.45);
}
.mock-subdots{
  display:flex;justify-content:center;gap:6px;margin-bottom:10px;
}
.mock-subdot{
  width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.18);
  transition:background .25s,transform .25s;
}
.mock-subdot.active{background:#c084fc;transform:scale(1.15)}
.mock-screen{display:none}
.mock-screen.active{display:block;animation:mockFadeIn .45s ease}
@keyframes mockFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Android 14+ Settings style */
.a14{
  background:#FEF7FF;color:#1D1B20;font-family:Roboto,"Segoe UI",sans-serif;
  border-radius:18px;overflow:hidden;
}
.a14-status{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 20px 4px;font-size:12px;font-weight:500;color:#1D1B20;background:#FEF7FF;
}
.a14-topbar{
  display:flex;align-items:center;gap:12px;padding:8px 16px 12px;background:#FEF7FF;
}
.a14-back{
  width:40px;height:40px;border-radius:999px;display:grid;place-items:center;
  font-size:20px;color:#1D1B20;
}
.a14-topbar-copy{flex:1;min-width:0}
.a14-topbar-copy h5{margin:0;font-size:22px;font-weight:400;line-height:1.2;color:#1D1B20}
.a14-topbar-copy small{display:block;margin-top:2px;font-size:12px;color:#49454F}
.a14-content{padding:0 16px 16px;background:#FEF7FF}
.a14-group{
  background:#FFFBFE;border-radius:28px;overflow:hidden;
  box-shadow:0 1px 2px rgba(0,0,0,.06);margin-bottom:12px;
}
.a14-row{
  display:flex;align-items:center;gap:14px;padding:14px 18px;
  border-bottom:1px solid #E7E0EC;position:relative;
}
.a14-row:last-child{border-bottom:0}
.a14-row-icon{
  width:40px;height:40px;border-radius:12px;flex-shrink:0;
  display:grid;place-items:center;overflow:hidden;background:#F3EDF7;
}
.a14-row-icon img{width:100%;height:100%;object-fit:cover}
.a14-row-icon.purple{background:#EADDFF;color:#6750A4;font-size:18px}
.a14-row-icon.teal{background:#CBFFF0;color:#006B5F;font-size:18px}
.a14-row-icon.gray{background:#ECE6F0;color:#49454F;font-size:18px}
.a14-row-copy{flex:1;min-width:0}
.a14-row-copy strong{display:block;font-size:16px;font-weight:400;line-height:1.35;color:#1D1B20}
.a14-row-copy span{display:block;margin-top:2px;font-size:12px;color:#49454F;line-height:1.35}
.a14-chevron{color:#49454F;font-size:18px;flex-shrink:0}
.a14-switch{
  width:52px;height:32px;border-radius:999px;background:#79747E;position:relative;flex-shrink:0;
  transition:background .35s ease;
}
.a14-switch::after{
  content:"";position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;
  background:#FFFBFE;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .35s ease;
}
.a14-switch.on{background:#6750A4}
.a14-switch.on::after{left:24px}
.a14-hero{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:8px 0 14px;
}
.a14-hero img{width:56px;height:56px;border-radius:16px;margin-bottom:8px}
.a14-hero strong{font-size:18px;font-weight:500;color:#1D1B20}
.a14-hero span{font-size:12px;color:#49454F;margin-top:4px}
.a14-note{
  padding:0 6px;font-size:11px;line-height:1.5;color:#49454F;
}
.a14-nav{
  display:flex;justify-content:center;padding:10px 0 8px;background:#FEF7FF;
}
.a14-nav span{
  width:96px;height:4px;border-radius:999px;background:#1D1B20;
}
.a14-row.tap-target.highlight{
  animation:rowPulseA14 1.8s ease-in-out infinite;
}
@keyframes rowPulseA14{
  0%,100%{background:#FFFBFE;box-shadow:inset 0 0 0 0 rgba(103,80,164,.35)}
  50%{background:#F3EDF7;box-shadow:inset 0 0 0 2px rgba(103,80,164,.55)}
}
.a14-row.tap-target.highlight::after{
  content:"👆 اضغط";position:absolute;left:14px;right:auto;top:50%;transform:translateY(-50%);
  font-size:10px;font-weight:800;color:#6750A4;background:#FFFBFE;
  padding:4px 8px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.12);
  animation:tapBounce 1.8s ease-in-out infinite;
}
.a14-switch.tap-target.highlight{animation:switchPulse 1.8s ease-in-out infinite}
@keyframes switchPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(103,80,164,.45)}
  50%{box-shadow:0 0 0 8px rgba(103,80,164,0)}
}
.a14-row.tap-target.highlight .a14-chevron{visibility:hidden}
.mock-perm-page{
  position:relative;min-height:300px;background:#f3f4f6;
  font-family:Roboto,"Segoe UI",sans-serif;color:#111;
}
.mock-perm-page .android-mock-bar{border-bottom:1px solid #e5e7eb}
.mock-perm-page .android-mock-bar h5{text-align:left;padding-left:4px}
.mock-perm-row{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;background:#fff;border-bottom:1px solid #eceff3;
}
.mock-perm-row span{font-size:13px;font-weight:500}
.mock-toggle{
  width:44px;height:24px;border-radius:999px;background:#d1d5db;position:relative;
}
.mock-toggle::after{
  content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;
  border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);
}
.mock-perm-sub{font-size:10px;color:#64748b;padding:4px 16px 8px}
.mock-perm-overlay{
  position:absolute;inset:0;background:rgba(0,0,0,.28);
}
.mock-perm-dialog{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  background:#fff;border-radius:22px 22px 0 0;padding:18px 16px 14px;
  box-shadow:0 -8px 30px rgba(0,0,0,.18);
}
.mock-perm-dialog h6{
  margin:0 0 8px;font-size:14px;font-weight:700;line-height:1.4;color:#111;
}
.mock-perm-dialog > p{
  margin:0 0 12px;font-size:11px;line-height:1.5;color:#64748b;
}
.mock-perm-item{
  display:flex;gap:10px;padding:8px 0;border-top:1px solid #f1f5f9;
}
.mock-perm-item-icon{
  width:28px;height:28px;border-radius:8px;background:#f1f5f9;
  display:grid;place-items:center;font-size:14px;flex-shrink:0;
}
.mock-perm-item-copy{display:block}
.mock-perm-item strong{display:block;font-size:11px;font-weight:600;color:#111;margin-bottom:2px}
.mock-perm-item span{display:block;font-size:10px;color:#64748b;line-height:1.4}
.mock-perm-actions{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:14px;padding-top:10px;border-top:1px solid #f1f5f9;
}
.mock-perm-actions button{
  border:0;background:none;font-size:13px;font-weight:600;color:#64748b;padding:6px 4px;
}
.mock-allow-btn{
  position:relative;color:#9333ea!important;font-weight:800!important;
  padding:8px 14px!important;border-radius:10px!important;
  background:rgba(147,51,234,.1)!important;
  animation:tapPulse 1.6s ease-in-out infinite;
}
.mock-allow-btn::after{
  content:"👆";position:absolute;top:-22px;right:0;font-size:16px;
  animation:tapBounce 1.6s ease-in-out infinite;
}
@keyframes tapPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(147,51,234,.45)}
  50%{box-shadow:0 0 0 10px rgba(147,51,234,0)}
}
@keyframes tapBounce{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}

.download-toast{
  display:none;position:fixed;left:14px;right:14px;
  bottom:calc(100px + env(safe-area-inset-bottom,0));
  z-index:45;padding:12px 14px;border-radius:14px;
  background:rgba(6,95,70,.95);border:1px solid rgba(52,211,153,.4);
  color:#bbf7d0;font-size:14px;line-height:1.5;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.download-toast.is-visible{display:block}

.tutorial-modal{
  display:none;position:fixed;inset:0;z-index:60;
  align-items:center;justify-content:center;padding:20px 16px;
  background:rgba(7,5,15,.78);backdrop-filter:blur(6px);
}
.tutorial-modal.is-visible{display:flex}
.tutorial-modal-card{
  width:100%;max-width:400px;max-height:min(92vh,780px);overflow-y:auto;
  border-radius:22px;padding:18px 16px;
  background:linear-gradient(160deg,#1a1228,#120a1e);
  border:1px solid rgba(168,85,247,.35);
  box-shadow:0 24px 60px rgba(0,0,0,.5);
  animation:mockFadeIn .35s ease;
}
.tutorial-modal-card h3{
  margin:0 0 8px;font-size:17px;font-weight:800;line-height:1.35;color:#fff;
}
.tutorial-modal-card > p{
  margin:0 0 14px;font-size:13px;line-height:1.55;color:#cbd5e1;
}
.tutorial-modal-quick{margin-bottom:14px}
.tutorial-quick-title{
  margin:0 0 10px;font-size:13px;font-weight:800;color:#e9d5ff;
  letter-spacing:.04em;
}
.modal-mock-demo{margin-top:0}
.modal-mock-demo .mock-subdots{margin-bottom:8px}
.modal-mock-viewport{
  position:relative;height:400px;overflow:hidden;
  border-radius:16px;border:1px solid rgba(255,255,255,.08);
  background:#0a0812;
}
.modal-mock-viewport .mock-screen{
  display:block;position:absolute;inset:0;
  overflow-x:hidden;overflow-y:auto;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .35s ease,visibility .35s ease;
}
.modal-mock-viewport .mock-screen.active{
  opacity:1;visibility:visible;pointer-events:auto;
  animation:none;
}
.modal-mock-viewport .mock-perm-page{min-height:100%}
.modal-mock-viewport .a14{min-height:100%}
.modal-mock-caption{
  margin:8px 0 0;min-height:40px;
  font-size:13px;line-height:1.55;color:#cbd5e1;text-align:center;
}
.tutorial-modal-quick{min-height:460px}
.tutorial-modal-actions{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.tutorial-modal-btn{
  width:100%;padding:14px 16px;border:0;border-radius:14px;
  font-size:15px;font-weight:800;cursor:pointer;
}
.tutorial-modal-btn.primary{
  color:#fff;background:linear-gradient(90deg,#9333ea,#ec4899);
  box-shadow:0 8px 24px rgba(147,51,234,.35);
}
.tutorial-modal-btn.secondary{
  color:#94a3b8;background:rgba(255,255,255,.06);
  border:1px solid var(--line);
}


html[dir="rtl"] body{font-family:"Noto Sans Arabic",Tahoma,Arial,sans-serif}
html[dir="rtl"] .a14-row.tap-target.highlight::after{left:auto;right:14px}
html[dir="rtl"] .site-header{direction:rtl}
html[dir="rtl"] .hero-copy{text-align:right}
html[dir="rtl"] .download-copy{text-align:right}
html[dir="rtl"] .single-download{flex-direction:row-reverse}
html[dir="rtl"] .language-switch{display:none!important}
.tutorial-modal[hidden]{display:none!important}
