/* NovaBooster: iptools page styles. Loaded only where needed. */

.ip-page {
  min-height: 100vh;
}


.ip-page .site-header {
  background: rgba(18, 13, 20, .74);
}


.ip-page main {
  overflow: hidden;
}


.ip-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 30px;
}


.ip-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(800px 520px at 76% 20%, rgba(67, 215, 162, .18), transparent 62%),
    radial-gradient(740px 480px at 12% 90%, rgba(121, 232, 255, .09), transparent 66%),
    radial-gradient(460px 300px at 26% 20%, rgba(139, 108, 255, .08), transparent 68%);
}


.ip-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 8, 6, .18), rgba(0, 8, 6, .42) 56%, rgba(0, 8, 6, .78)),
    radial-gradient(620px 620px at 65% 18%, rgba(67, 215, 162, .1), transparent 70%);
}


.ip-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 28px;
}


.ip-copy {
  display: grid;
  align-content: start;
  justify-items: start;
}


.ip-copy h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(40px, 4.9vw, 66px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}


.ip-copy p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--hint);
  font-size: 18px;
}


.ip-status-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(100%, 560px);
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(211, 235, 226, .12);
  border-radius: 22px;
  background:
    radial-gradient(220px 120px at 4% 0%, rgba(67, 215, 162, .1), transparent 68%),
    rgba(9, 17, 20, .74);
}


.ip-status-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}


.ip-status-card p {
  margin: 6px 0 0;
  color: var(--hint);
  font-size: 14px;
}


.ip-status-dot {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--hint);
  box-shadow: 0 0 0 4px rgba(154, 177, 170, .08);
}


.ip-status-card.is-loading .ip-status-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(121, 232, 255, .12);
  animation: ip-status-pulse 1.2s ease-in-out infinite;
}


.ip-status-card.is-protected {
  border-color: rgba(67, 215, 162, .22);
  background:
    radial-gradient(220px 120px at 4% 0%, rgba(67, 215, 162, .18), transparent 68%),
    rgba(8, 24, 20, .84);
}


.ip-status-card.is-protected .ip-status-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(67, 215, 162, .12);
}


.ip-status-card.is-unprotected {
  border-color: rgba(255, 188, 102, .22);
  background:
    radial-gradient(220px 120px at 4% 0%, rgba(255, 188, 102, .15), transparent 68%),
    rgba(24, 18, 8, .84);
}


.ip-status-card.is-unprotected .ip-status-dot {
  background: #ffbc66;
  box-shadow: 0 0 0 4px rgba(255, 188, 102, .12);
}


.ip-status-card.is-error {
  border-color: rgba(255, 122, 122, .24);
  background:
    radial-gradient(220px 120px at 4% 0%, rgba(255, 122, 122, .12), transparent 68%),
    rgba(25, 12, 12, .84);
}


.ip-status-card.is-error .ip-status-dot {
  background: #ff7a7a;
  box-shadow: 0 0 0 4px rgba(255, 122, 122, .1);
}


.ip-refresh {
  margin-top: 16px;
  min-height: 50px;
  padding-inline: 22px;
}


.ip-panel {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(211, 235, 226, .12);
  border-radius: 28px;
  background:
    radial-gradient(360px 220px at 78% 0%, rgba(67, 215, 162, .12), transparent 70%),
    radial-gradient(320px 180px at 10% 100%, rgba(121, 232, 255, .08), transparent 72%),
    rgba(10, 19, 23, .8);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), 0 0 0 1px rgba(67, 215, 162, .06) inset;
}


.ip-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .06), transparent 22%),
    radial-gradient(260px 150px at 50% 12%, rgba(67, 215, 162, .11), transparent 74%);
  opacity: .85;
}


.ip-panel > * {
  position: relative;
  z-index: 1;
}


.ip-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--hint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}


.ip-panel-head strong {
  color: var(--text);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 16px;
  line-height: 1.2;
  text-align: right;
  word-break: break-word;
}


.ip-map {
  position: relative;
  height: 390px;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(125, 145, 191, .18);
  border-radius: 24px;
  background:
    radial-gradient(640px 340px at 34% 28%, rgba(140, 177, 255, .12), transparent 66%),
    radial-gradient(560px 300px at 72% 72%, rgba(94, 131, 255, .08), transparent 70%),
    linear-gradient(180deg, #fbfdff, #eef4fb);
  box-shadow:
    0 24px 70px rgba(16, 27, 45, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .7);
}


.ip-map-stage,
.ip-map-fallback {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}


.ip-map-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(680px 360px at 28% 24%, rgba(129, 167, 255, .22), transparent 64%),
    radial-gradient(540px 280px at 76% 72%, rgba(114, 182, 255, .12), transparent 68%),
    linear-gradient(180deg, #fbfdff, #edf3fb 68%, #e8eff9);
}


.ip-map-stage .leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 390px;
  background: #061018;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


.ip-map-stage .leaflet-tile {
  filter: saturate(.86) brightness(.86) contrast(1.03);
}


.ip-map-stage .leaflet-marker-icon,
.ip-map-stage .leaflet-marker-shadow {
  filter: none;
}


.ip-map-stage .leaflet-control-zoom {
  border: 0;
  box-shadow: none;
}


.ip-map-stage .leaflet-control-zoom a {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  border: 1px solid rgba(211, 235, 226, .12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(10, 20, 24, .92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}


.ip-map-stage .leaflet-control-zoom a:hover,
.ip-map-stage .leaflet-control-zoom a:focus-visible {
  border-color: rgba(67, 215, 162, .34);
  background: rgba(18, 36, 34, .96);
  outline: none;
}


.ip-map-stage .leaflet-control-attribution {
  border-radius: 12px 0 0 0;
  background: rgba(7, 15, 20, .72);
  color: rgba(247, 251, 248, .68);
}


.ip-map-stage .leaflet-control-attribution a {
  color: #76e3b2;
}


.ip-map-tooltip {
  border: 1px solid rgba(211, 235, 226, .14);
  border-radius: 12px;
  background: rgba(8, 17, 21, .94);
  color: var(--text);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .32);
}


.ip-map-tooltip.leaflet-tooltip-top::before {
  border-top-color: rgba(8, 17, 21, .94);
}


.ip-map-marker {
  position: relative;
  width: 40px !important;
  height: 40px !important;
  margin: -20px 0 0 -20px;
  border: 0;
  background: transparent;
}


.ip-map-marker::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, #9cf1c9, #45c58e);
  box-shadow: 0 0 0 8px rgba(69, 197, 142, .1), 0 16px 24px rgba(0, 0, 0, .38);
}


.ip-map-marker::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #061419;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18);
}


.ip-map-stage svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
}


.ip-map-grid-layer {
  mix-blend-mode: multiply;
}


.ip-map-grid-line {
  stroke: rgba(140, 155, 188, .24);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 4 10;
}


.ip-map-world-layer {
  filter: saturate(1.03);
}


.ip-map-world-country {
  fill: none;
  stroke: rgba(130, 151, 198, .68);
  stroke-width: 1.12;
  vector-effect: non-scaling-stroke;
}


.ip-map-highlight-glow {
  fill: rgba(92, 128, 255, .38);
  filter: url(#nbMapCountryShadow);
  fill-rule: evenodd;
}


.ip-map-highlight-fill {
  fill: url(#nbMapCountryFill);
  stroke: rgba(55, 84, 225, .95);
  stroke-width: 2.1;
  filter: url(#nbMapCountryShadow);
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
  fill-rule: evenodd;
}


.ip-map-pin-group {
  filter: url(#nbMapPinShadow);
}


.ip-map-pin-halo {
  fill: rgba(233, 107, 107, .24);
  stroke: rgba(255, 255, 255, .7);
  stroke-width: 2;
}


.ip-map-pin-shape {
  fill: #ef6464;
  stroke: rgba(255, 255, 255, .94);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}


.ip-map-pin-core {
  fill: #fff;
}


.ip-map-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(118, 227, 178, .38);
  box-shadow: 0 0 0 12px rgba(118, 227, 178, .08);
}


.ip-map-overlay {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 450;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(128, 149, 194, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 42px rgba(26, 42, 73, .11);
  backdrop-filter: blur(12px) saturate(140%);
  pointer-events: none;
}


.ip-map-overlay-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #5d79ff;
  background: rgba(93, 121, 255, .08);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}


.ip-map-overlay-copy strong {
  display: block;
  color: #1d2a45;
  font-size: 14px;
  line-height: 1.15;
}


.ip-map-overlay-copy small {
  display: block;
  margin-top: 4px;
  color: #6d7f9f;
  font-size: 12px;
}


.ip-map::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
  pointer-events: none;
}


.ip-map-loading {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(133, 152, 191, .14);
  border-radius: 14px;
  color: #6c7b95;
  font-size: 13px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(12px) saturate(140%);
  pointer-events: none;
}


.ip-map-loading[hidden] {
  display: none !important;
}


.ip-location-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
}


.ip-location-line span {
  min-width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(67, 215, 162, .2);
  border-radius: 10px;
  color: var(--green);
  background: rgba(67, 215, 162, .08);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}


.ip-details-section {
  padding-top: 20px;
}


.ip-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}


.ip-detail {
  min-height: 110px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
}


.ip-detail span {
  color: var(--hint);
  font-size: 13px;
  font-weight: 750;
}


.ip-detail strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
  word-break: break-word;
}


.ip-subscribe-section {
  padding-top: 20px;
}


.ip-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 240px at 18% 0%, rgba(67, 215, 162, .18), transparent 72%),
    radial-gradient(480px 220px at 100% 0%, rgba(139, 108, 255, .12), transparent 64%),
    var(--surface);
  box-shadow: var(--glow);
}


.ip-subscribe h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}


.ip-subscribe p {
  max-width: 670px;
  margin: 16px 0 0;
  color: var(--hint);
  font-size: 17px;
}


.ip-subscribe .button {
  flex: 0 0 auto;
  min-width: 220px;
  min-height: 54px;
}


.ip-article-section {
  padding-top: 18px;
}


.ip-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}


.ip-article-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(17, 27, 31, .78);
}


.ip-article-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}


.ip-article-card p {
  margin: 0;
  color: var(--hint);
  font-size: 15px;
}


.ip-page .site-footer {
  margin-top: 0;
}


.ip-page .app-transition-card {
  gap: 8px;
}


.tool-panel {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 251, 248, .09);
}


.tool-panel .button {
  width: fit-content;
}


.tool-result {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-left: 3px solid var(--green);
  color: var(--hint);
  background: rgba(67, 215, 162, .06);
  line-height: 1.45;
}


.tool-meter {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(247, 251, 248, .08);
}


.tool-meter i {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #79e8ff);
  transition: width 140ms linear;
}


.tool-value {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(26px, 4vw, 42px);
}


@media (max-width: 640px) {

  .tool-panel .button {
    width: 100%;
  }
}


@media (max-width: 930px) {

  .ip-hero {
    padding: 56px 0 24px;
  }


  .ip-copy {
    justify-items: center;
    text-align: center;
  }


  .ip-copy h1,
  .ip-copy p {
    margin-inline: auto;
  }


  .ip-status-card,
  .ip-refresh {
    margin-inline: auto;
  }


  .ip-panel {
    max-width: 760px;
    margin-inline: auto;
  }


  .ip-details-grid,
  .ip-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .ip-subscribe {
    flex-direction: column;
    align-items: flex-start;
  }


  .ip-subscribe .button {
    width: fit-content;
  }


  .ip-map-overlay {
    left: 12px;
    top: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
  }
}


@media (max-width: 720px) {

  .ip-map-overlay {
    top: auto;
    right: auto;
    bottom: 12px;
    padding: 10px 12px;
  }


  .ip-map-overlay-badge {
    width: 34px;
    height: 34px;
  }


  .ip-map-overlay-copy strong {
    font-size: 13px;
  }


  .ip-map-overlay-copy small {
    font-size: 11px;
  }


  .ip-copy h1 {
    font-size: 30px;
  }


  .ip-copy p {
    font-size: 16px;
  }


  .ip-panel {
    padding: 18px;
  }


  .ip-panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }


  .ip-panel-head strong {
    font-size: 15px;
    text-align: left;
  }


  .ip-map {
    height: 250px;
    min-height: 250px;
  }


  .ip-map-stage,
  .ip-map-stage svg,
  .ip-map-fallback,
  .ip-map-stage .leaflet-container {
    height: 250px;
    min-height: 250px;
  }


  .ip-location-line {
    font-size: 14px;
  }


  .ip-details-grid,
  .ip-article-grid {
    grid-template-columns: 1fr;
  }


  .ip-detail,
  .ip-article-card {
    min-height: auto;
  }


  .ip-subscribe {
    padding: 24px 20px;
  }


  .ip-subscribe .button {
    width: 100%;
  }
}


@media (max-width: 430px) {

  .ip-copy h1 {
    font-size: 28px;
  }


  .ip-map {
    height: 220px;
    min-height: 220px;
  }


  .ip-map-stage,
  .ip-map-stage svg,
  .ip-map-fallback,
  .ip-map-stage .leaflet-container {
    height: 220px;
    min-height: 220px;
  }


  .ip-map-loading {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}


.ip-action-section { padding-top: 20px; }


.ip-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}


.ip-action-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}


.ip-action-card strong { font-size: 19px; }

.ip-action-card p { margin: 0; color: var(--hint); }


.ip-action-card a,
.ip-action-card button {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(67, 215, 162, .28);
  border-radius: 8px;
  color: var(--green);
  background: rgba(67, 215, 162, .08);
  text-decoration: none;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}


.ip-faq-list { display: grid; gap: 12px; }

.ip-faq-list details { padding: 18px 20px; }

.ip-faq-list summary { cursor: pointer; color: var(--text); font-weight: 850; }

.ip-faq-list p { margin: 12px 0 0; color: var(--hint); }


@media (max-width: 760px) {
  .ip-action-grid { grid-template-columns: 1fr; }
}
