.ict-ec{
  --ec-deep:#07131f;
  --ec-navy:#0e2538;
  --ec-blue:#087fca;
  --ec-blue2:#16a5ef;
  --ec-cyan:#54c8f2;
  --ec-silver:#d7e1e8;
  --ec-ice:#edf7fc;
  --ec-white:#fff;
  --ec-text:#172735;
  --ec-muted:#617687;
  --ec-border:#dbe5eb;
  --ec-green:#1b8a62;
  --ec-amber:#a96a00;
  --ec-red:#b23a3a;

  max-width:1180px;
  margin:36px auto 72px;
  color:var(--ec-text);
  font-family:inherit;
}

.ict-ec *{box-sizing:border-box}

.ict-ec__hero{
  position:relative;
  overflow:hidden;
  padding:clamp(32px,6vw,70px);
  border-radius:26px;
  background:
    radial-gradient(circle at 88% 18%,rgba(84,200,242,.18),transparent 27%),
    linear-gradient(135deg,var(--ec-deep),var(--ec-navy) 58%,#103c58);
  color:#fff;
}

.ict-ec__hero:after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-100px;
  width:310px;
  height:310px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.02);
  pointer-events:none;
}

.ict-ec__eyebrow{
  color:var(--ec-cyan);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.ict-ec h1{
  color:#fff;
  font-size:clamp(34px,5vw,58px);
  line-height:1.05;
  margin:12px 0 16px;
}

.ict-ec__lead{
  max-width:760px;
  margin:0 0 28px;
  color:#dcebf4;
  font-size:18px;
  line-height:1.65;
}

.ict-ec__consent{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px 22px;
}

.ict-ec__consent label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  max-width:560px;
  color:#fff;
}

.ict-ec__confirm{
  margin-top:4px;
  width:18px;
  height:18px;
  accent-color:var(--ec-blue2);
}

.ict-ec__scan{
  min-height:48px;
  padding:12px 22px;
  border:0;
  border-radius:10px;
  background:linear-gradient(135deg,var(--ec-cyan),#a8e8fa);
  color:#0a2436;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.ict-ec__scan:hover:not(:disabled){transform:translateY(-1px)}
.ict-ec__scan:disabled{opacity:.45;cursor:not-allowed}

.ict-ec__website{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

.ict-ec__micro{
  position:relative;
  z-index:2;
  margin:18px 0 0;
  color:#abc4d4;
  font-size:13px;
}

.ict-ec__status{
  margin:18px 0;
  color:var(--ec-muted);
  font-weight:600;
}

.ict-ec__status.is-error{
  color:var(--ec-red);
  padding:14px 16px;
  background:#fff1f1;
  border:1px solid #f1c8c8;
  border-radius:12px;
}

.ict-ec__progress-wrap{
  margin:22px 0 30px;
}

.ict-ec__progress-label{
  margin-bottom:8px;
  color:var(--ec-muted);
  font-size:14px;
}

.ict-ec__progress{
  width:100%;
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:#e7eef3;
}

.ict-ec__progress span{
  display:block;
  width:35%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--ec-blue),var(--ec-cyan));
  animation:ict-ec-progress 1.1s ease-in-out infinite alternate;
}

@keyframes ict-ec-progress{
  from{transform:translateX(-5%)}
  to{transform:translateX(190%)}
}

@media (prefers-reduced-motion:reduce){
  .ict-ec__progress span{animation:none;width:70%}
  .ict-ec__scan{transition:none}
}

.ict-ec__summary{
  margin:0 0 22px;
  padding:22px;
  border:1px solid var(--ec-border);
  border-radius:18px;
  background:linear-gradient(135deg,#fff,var(--ec-ice));
}

.ict-ec__summary strong{
  display:block;
  color:var(--ec-deep);
  font-size:24px;
}

.ict-ec__summary span{
  color:var(--ec-muted);
}

.ict-ec__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.ict-ec__result{
  min-width:0;
  padding:20px;
  border:1px solid var(--ec-border);
  border-radius:16px;
  background:#fff;
}

.ict-ec__result-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.ict-ec__port{
  color:var(--ec-deep);
  font-weight:800;
}

.ict-ec__service{
  color:var(--ec-muted);
  font-size:14px;
}

.ict-ec__badge{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.ict-ec__badge.is-open{
  color:#8b2626;
  background:#ffe9e9;
}

.ict-ec__badge.is-closed{
  color:#19694e;
  background:#e5f7f0;
}

.ict-ec__result p{
  margin:0;
  color:var(--ec-muted);
  line-height:1.55;
}

.ict-ec__result.is-open[data-severity="high"]{
  border-left:5px solid var(--ec-red);
}

.ict-ec__result.is-open[data-severity="medium"]{
  border-left:5px solid var(--ec-amber);
}

.ict-ec__result.is-open[data-severity="info"]{
  border-left:5px solid var(--ec-blue);
}

.ict-ec__note{
  margin-top:22px;
  padding:18px 20px;
  border-radius:14px;
  background:#f6f9fb;
  color:var(--ec-muted);
  border:1px solid var(--ec-border);
  line-height:1.6;
}

.ict-ec__cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-top:28px;
  padding:30px;
  border-radius:20px;
  background:linear-gradient(135deg,var(--ec-deep),#103c58);
  color:#fff;
}

.ict-ec__cta h2{
  color:#fff;
  margin:4px 0 8px;
  font-size:clamp(24px,3vw,36px);
}

.ict-ec__cta p{
  margin:0;
  color:#cfe2ed;
}

.ict-ec__cta-kicker{
  color:var(--ec-cyan);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.ict-ec__cta-button{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  max-width:330px;
  padding:12px 18px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--ec-cyan),#b9edfb);
  color:#0a2436!important;
  font-weight:800;
  text-align:center;
  text-decoration:none!important;
}

.ict-ec__privacy{
  margin-top:20px;
  color:var(--ec-muted);
  font-size:13px;
  line-height:1.55;
}

.ict-ec button:focus-visible,
.ict-ec a:focus-visible,
.ict-ec input:focus-visible{
  outline:3px solid rgba(22,165,239,.35);
  outline-offset:3px;
}

@media(max-width:760px){
  .ict-ec{margin-top:20px}
  .ict-ec__hero{border-radius:18px}
  .ict-ec__grid{grid-template-columns:1fr}
  .ict-ec__cta{
    align-items:flex-start;
    flex-direction:column;
  }
  .ict-ec__cta-button{
    width:100%;
    max-width:none;
  }
}


.ict-ec__ip-card{
  position:relative;
  z-index:2;
  display:inline-flex;
  flex-direction:column;
  gap:3px;
  margin:0 0 24px;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(6px);
}

.ict-ec__ip-label{
  color:#b8d7e8;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.ict-ec__ip-value{
  color:#fff;
  font-size:clamp(22px,3vw,30px);
  line-height:1.15;
  overflow-wrap:anywhere;
}

.ict-ec__ip-note{
  color:#cfe2ed;
  font-size:12px;
}

/* Stronger contrast for the results CTA, including themes that override heading colors. */
.ict-ec .ict-ec__cta h2{
  color:#ffffff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.28);
  font-weight:800;
}

.ict-ec .ict-ec__cta p{
  color:#e4f2f8 !important;
}

.ict-ec .ict-ec__cta-kicker{
  color:#72d7ff !important;
}

@media(max-width:760px){
  .ict-ec .ict-ec__cta h2{
    font-size:clamp(28px,8vw,40px);
    line-height:1.12;
  }

  .ict-ec .ict-ec__cta p{
    font-size:17px;
    line-height:1.65;
  }
}
