/* Install App chooser — APK / Android Play Store / iOS App Store */

/* Shared Install button look (used in mobile strip) */
.install-btn,
.rci-install-strip .nav-install{
  position:relative;display:inline-flex;align-items:center;gap:9px;
  background:linear-gradient(135deg,#16a34a 0%,#22c55e 45%,#0ea5e9 100%);
  background-size:200% 200%;color:#fff!important;text-decoration:none;
  padding:11px 18px 11px 14px;border-radius:999px;font-weight:800;
  box-shadow:0 10px 24px -8px rgba(22,163,74,.55),inset 0 0 0 1px rgba(255,255,255,.25);
  transition:filter .25s,box-shadow .25s;overflow:hidden;
  animation:installPulse 2.8s ease-in-out infinite;white-space:nowrap;
  border:none;cursor:pointer;font-family:inherit;box-sizing:border-box;
}
.install-btn-ic,
.rci-install-strip .nav-install-ic{
  width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.22);
  display:inline-flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;
}
.install-btn-txt,
.rci-install-strip .nav-install-txt{display:flex;flex-direction:column;line-height:1.1;align-items:flex-start;}
.install-btn-txt b,
.rci-install-strip .nav-install-txt b{font-size:14px;font-weight:800;}
.install-btn-txt small,
.rci-install-strip .nav-install-txt small{font-size:9px;font-weight:700;opacity:.92;letter-spacing:.04em;text-transform:uppercase;}
@keyframes installPulse{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

.rci-install-overlay{
  display:none;position:fixed;inset:0;z-index:10050;
  background:rgba(11,30,63,.72);backdrop-filter:blur(5px);
  align-items:center;justify-content:center;padding:18px;
}
.rci-install-overlay.open{display:flex;}
.rci-install-modal{
  width:100%;max-width:400px;background:#fff;border-radius:20px;
  box-shadow:0 28px 60px rgba(0,0,0,.35);overflow:hidden;
  animation:rciInstallIn .28s ease;
}
@keyframes rciInstallIn{
  from{opacity:0;transform:translateY(14px) scale(.97);}
  to{opacity:1;transform:none;}
}
.rci-install-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 18px 12px;border-bottom:1px solid #eef2f7;
}
.rci-install-head h3{
  margin:0;font-size:1.05rem;font-weight:800;color:#0b1e3f;
  display:flex;align-items:center;gap:9px;font-family:inherit;
}
.rci-install-head h3 i{color:#16a34a;}
.rci-install-x{
  width:34px;height:34px;border-radius:50%;border:1px solid #e2e8f0;
  background:#f8fafc;cursor:pointer;font-size:1.15rem;color:#64748b;line-height:1;
}
.rci-install-body{padding:14px 16px 18px;}
.rci-install-hint{
  margin:0 0 12px;font-size:.82rem;color:#64748b;text-align:center;line-height:1.4;
}
.rci-install-opts{display:flex;flex-direction:column;gap:10px;}
.rci-install-opt{
  display:flex;align-items:center;gap:14px;width:100%;text-align:left;
  padding:13px 14px;border-radius:14px;border:1.5px solid #e2e8f0;
  background:#f8fafc;cursor:pointer;text-decoration:none;color:inherit;
  font-family:inherit;transition:border-color .2s,background .2s,transform .15s;
}
.rci-install-opt:hover{
  border-color:#16a34a;background:#f0fdf4;transform:translateY(-1px);
}
.rci-install-opt .ic{
  width:44px;height:44px;border-radius:12px;display:flex;align-items:center;
  justify-content:center;font-size:1.25rem;color:#fff;flex-shrink:0;
}
.rci-install-opt.apk .ic{background:linear-gradient(135deg,#16a34a,#22c55e);}
.rci-install-opt.android .ic{background:linear-gradient(135deg,#0ea5e9,#0284c7);}
.rci-install-opt.ios .ic{background:linear-gradient(135deg,#334155,#0f172a);}
.rci-install-opt .txt{display:flex;flex-direction:column;gap:2px;min-width:0;}
.rci-install-opt .txt b{font-size:.95rem;font-weight:800;color:#0b1e3f;}
.rci-install-opt .txt span{font-size:.75rem;color:#64748b;line-height:1.3;}
.rci-install-opt .chev{margin-left:auto;color:#94a3b8;font-size:.85rem;}

/* Mobile-only Install strip — tight under header, little margin only */
.rci-install-strip{
  display:none;
  width:100%;
  max-width:56rem;
  margin:0 auto;
  padding:0 16px 10px;
  background:transparent!important;
  border:none!important;
  box-sizing:border-box;
  position:relative;
  z-index:12;
}
.rci-install-strip .install-btn,
.rci-install-strip .nav-install{
  display:flex;
  width:100%;
  max-width:none;
  margin:0;
  justify-content:center;
  text-decoration:none;
  padding:12px 16px 12px 12px;
  border-radius:16px;
  box-shadow:0 8px 18px -6px rgba(22,163,74,.45),inset 0 0 0 1px rgba(255,255,255,.25);
}
@media (max-width:1023px){
  .rci-install-strip{display:block;}

  /* Kill large hero top padding / blank gap */
  header.tech-world,
  header.tech-world.rci-hero,
  header.tech-world.py-24,
  header.rci-hero{
    padding-top:8px!important;
    margin-top:0!important;
  }
  header.tech-world > .rci-install-strip{
    margin-top:0!important;
    padding-top:0!important;
    padding-bottom:8px!important;
  }
  header.tech-world > .max-w-7xl{
    margin-top:0!important;
    padding-top:0!important;
  }
  section.hero{
    padding-top:10px!important;
  }
  section.hero > .rci-install-strip{
    padding-bottom:8px!important;
  }

  #rciMainNav .install-btn,
  #nav .nav-install{display:none!important;}
}
@media (min-width:1024px){
  .rci-install-strip{display:none!important;}
  #rciMainNav .install-btn,
  #nav .nav-install{display:none!important;}
  /* Do not hide Shop/Service on desktop */
}
