/* Home publica | camada base | componente network. */

.pt-home-ecosystem {
  --pt-home-blend-from: var(--pt-background);
}

.pt-home-network {
  --pt-home-blend-from: #0a203f;
}

.pt-home-section-heading h2,
.pt-home-ecosystem-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

/*
 * O título do Ecossistema é composto em duas linhas fixas: a primeira termina
 * na vírgula e a segunda carrega a promessa da seção. O <span> da marcação faz
 * a quebra, e o tamanho é limitado à largura real da coluna do cabeçalho
 * (cerca de 730px) para que a segunda linha nunca se parta em duas.
 */
.pt-home-ecosystem-heading h2 {
  font-size: clamp(2.35rem, 3.2vw, 3.75rem);
  text-wrap: initial;
}

.pt-home-ecosystem-heading h2 > span {
  display: block;
}

.pt-home-section-heading > p,
.pt-home-heading-action p,
.pt-home-ecosystem-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--pt-text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.pt-home-module-rail {
  display: contents;
}

/* Módulos do ecossistema. */
.pt-home-ecosystem {
  --pt-ecosystem-line: rgba(107, 155, 255, 0.28);
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 50% 38%, rgba(30, 86, 255, 0.2), transparent 31%),
    radial-gradient(circle at 92% 8%, rgba(0, 191, 255, 0.17), transparent 24%),
    radial-gradient(
      circle at 3% 92%,
      rgba(141, 75, 255, 0.13),
      transparent 26%
    ),
    linear-gradient(145deg, #050d19 0%, #08172b 48%, #0b2347 100%);
}

.pt-home-ecosystem::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(121, 162, 228, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 162, 228, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
}

.pt-home-ecosystem > .container {
  position: relative;
  z-index: 1;
}

.pt-home-ecosystem-heading {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.pt-home-ecosystem-heading > div:first-child {
  max-width: 800px;
}

.pt-home-ecosystem-heading .pt-eyebrow {
  color: #7da5ff;
}

.pt-home-ecosystem-intro {
  max-width: 500px;
  justify-self: end;
}

.pt-home-ecosystem-intro > p {
  margin: 0;
  color: #b3c0d1;
  font-size: 0.96rem;
  line-height: 1.7;
}

.pt-home-ecosystem-stage {
  position: relative;
  display: grid;
  gap: 0.9rem 3.25rem;
  padding: 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(30, 86, 255, 0.14), transparent 34%),
    rgba(2, 10, 22, 0.36);
  border: 1px solid rgba(126, 158, 211, 0.16);
  border-radius: 30px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 32px 80px rgba(0, 5, 14, 0.26);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 310px) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(142px, auto));
  isolation: isolate;
}

.pt-home-ecosystem-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.6;
  background:
    linear-gradient(
      90deg,
      transparent 49.9%,
      rgba(104, 153, 255, 0.08) 50%,
      transparent 50.1%
    ),
    radial-gradient(circle at center, rgba(75, 127, 255, 0.16), transparent 26%);
}

.pt-home-ecosystem-core {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.35rem;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(23, 58, 112, 0.96), rgba(6, 21, 43, 0.98)),
    #0a1c37;
  border: 1px solid rgba(110, 158, 255, 0.39);
  border-radius: 25px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 60px rgba(0, 8, 24, 0.34),
    0 0 52px rgba(30, 86, 255, 0.14);
  flex-direction: column;
  grid-column: 2;
  grid-row: 1 / 4;
  text-align: center;
}

.pt-home-ecosystem-core::before,
.pt-home-ecosystem-core::after {
  position: absolute;
  pointer-events: none;
  content: "";
  border-radius: 50%;
}

.pt-home-ecosystem-core::before {
  top: 8%;
  left: 50%;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(102, 151, 255, 0.13);
  box-shadow:
    0 0 0 24px rgba(102, 151, 255, 0.025),
    0 0 0 54px rgba(102, 151, 255, 0.018);
  transform: translateX(-50%);
}

.pt-home-ecosystem-core::after {
  right: -78px;
  bottom: -82px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.15), transparent 68%);
}

.pt-home-ecosystem-core > * {
  position: relative;
  z-index: 1;
}

.pt-home-core-mark {
  display: grid;
  width: 86px;
  height: 86px;
  margin-bottom: 1rem;
  background: radial-gradient(
    circle at 34% 28%,
    rgba(255, 255, 255, 0.16),
    rgba(13, 45, 91, 0.72)
  );
  border: 1px solid rgba(117, 162, 255, 0.34);
  border-radius: 25px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 18px 38px rgba(0, 8, 23, 0.28),
    0 0 32px rgba(30, 86, 255, 0.18);
  place-items: center;
}

.pt-home-core-mark img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.24));
}

.pt-home-ecosystem-core > small {
  color: #76a0ff;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pt-home-ecosystem-core h3 {
  max-width: 240px;
  margin: 0.42rem 0 0.65rem;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
  text-wrap: balance;
}

.pt-home-ecosystem-core > p {
  max-width: 245px;
  margin: 0;
  color: #aab9cd;
  font-size: 0.73rem;
  line-height: 1.6;
}

.pt-home-ecosystem-core > ul {
  display: grid;
  width: 100%;
  gap: 0.38rem;
  justify-items: center;
  margin: 1rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  list-style: none;
}

.pt-home-ecosystem-core li {
  display: grid;
  width: min(100%, 190px);
  gap: 0.45rem;
  align-items: center;
  grid-template-columns: 14px minmax(0, 1fr);
  color: #c2ccda;
  font-size: 0.63rem;
  font-weight: 700;
  text-align: left;
}

.pt-home-ecosystem-core li i {
  color: #43d6a0;
  font-size: 0.55rem;
  justify-self: center;
}

.pt-home-module-slot {
  --pt-module-accent: #5f8bff;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.pt-home-module-slot.is-cyan,
.pt-home-module-card.is-cyan {
  --pt-module-accent: #24c8f2;
}

.pt-home-module-slot.is-violet,
.pt-home-module-card.is-violet {
  --pt-module-accent: #a078ff;
}

.pt-home-module-slot.is-green,
.pt-home-module-card.is-green {
  --pt-module-accent: #31d69b;
}

.pt-home-module-slot.is-orange,
.pt-home-module-card.is-orange {
  --pt-module-accent: #ffad42;
}

.pt-home-module-slot.is-navy,
.pt-home-module-card.is-navy {
  --pt-module-accent: #91b1e1;
}

.pt-home-module-slot.is-position-1 {
  grid-column: 1;
  grid-row: 1;
}

.pt-home-module-slot.is-position-2 {
  grid-column: 3;
  grid-row: 1;
}

.pt-home-module-slot.is-position-3 {
  grid-column: 1;
  grid-row: 2;
}

.pt-home-module-slot.is-position-4 {
  grid-column: 3;
  grid-row: 2;
}

.pt-home-module-slot.is-position-5 {
  grid-column: 1;
  grid-row: 3;
}

.pt-home-module-slot.is-position-6 {
  grid-column: 3;
  grid-row: 3;
}

.pt-home-module-connector {
  position: absolute;
  z-index: -1;
  top: 50%;
  width: 3.25rem;
  height: 1px;
  pointer-events: none;
  opacity: 0.9;
  background: linear-gradient(
    90deg,
    var(--pt-module-accent),
    var(--pt-ecosystem-line)
  );
  box-shadow: 0 0 12px
    color-mix(in srgb, var(--pt-module-accent), transparent 60%);
}

.pt-home-module-connector::after {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--pt-module-accent);
  border: 2px solid #112a50;
  border-radius: 50%;
  box-shadow: 0 0 0 4px
    color-mix(in srgb, var(--pt-module-accent), transparent 82%);
  transform: translateY(-50%);
}

.pt-home-module-slot.is-position-1 .pt-home-module-connector,
.pt-home-module-slot.is-position-3 .pt-home-module-connector,
.pt-home-module-slot.is-position-5 .pt-home-module-connector {
  left: 100%;
  transform-origin: left center;
}

.pt-home-module-slot.is-position-1 .pt-home-module-connector::after,
.pt-home-module-slot.is-position-3 .pt-home-module-connector::after,
.pt-home-module-slot.is-position-5 .pt-home-module-connector::after {
  right: -3px;
}

.pt-home-module-slot.is-position-2 .pt-home-module-connector,
.pt-home-module-slot.is-position-4 .pt-home-module-connector,
.pt-home-module-slot.is-position-6 .pt-home-module-connector {
  right: 100%;
  background: linear-gradient(
    90deg,
    var(--pt-ecosystem-line),
    var(--pt-module-accent)
  );
  transform-origin: right center;
}

.pt-home-module-slot.is-position-2 .pt-home-module-connector::after,
.pt-home-module-slot.is-position-4 .pt-home-module-connector::after,
.pt-home-module-slot.is-position-6 .pt-home-module-connector::after {
  left: -3px;
}

.pt-home-module-card {
  --pt-module-accent: #5f8bff;
  position: relative;
  display: grid;
  width: 100%;
  min-height: 142px;
  height: 100%;
  gap: 0.75rem;
  padding: 1.05rem 1.15rem;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.035)
    ),
    rgba(8, 22, 43, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 14px 32px rgba(0, 5, 15, 0.14);
  grid-template-rows: auto 1fr;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.pt-home-module-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 18%;
  left: 18%;
  height: 2px;
  content: "";
  opacity: 0.9;
  background: linear-gradient(
    90deg,
    transparent,
    var(--pt-module-accent),
    transparent
  );
}

.pt-home-module-card.pt-cursor-reactive::after {
  background: radial-gradient(
    circle 190px at var(--pt-pointer-x, 50%) var(--pt-pointer-y, 50%),
    color-mix(in srgb, var(--pt-module-accent), transparent 82%),
    transparent 72%
  );
}

.pt-home-module-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.pt-home-module-icon {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--pt-module-accent);
  background: color-mix(in srgb, var(--pt-module-accent), transparent 87%);
  border: 1px solid color-mix(in srgb, var(--pt-module-accent), transparent 69%);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  place-items: center;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.pt-home-module-icon svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(
    0 4px 7px color-mix(in srgb, var(--pt-module-accent), transparent 65%)
  );
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.pt-home-module-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  color: #8496ad;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  place-items: center;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.pt-home-module-arrow i {
  font-size: 0.65rem;
}

.pt-home-module-copy {
  display: grid;
  min-width: 0;
  align-content: end;
}

.pt-home-module-copy > small {
  margin-bottom: 0.22rem;
  color: var(--pt-module-accent);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.pt-home-module-card h3 {
  margin: 0 0 0.38rem;
  font-size: 1.04rem;
  font-weight: 780;
  letter-spacing: -0.018em;
  line-height: 1.2;
  text-wrap: balance;
}

.pt-home-module-card p {
  max-width: 40ch;
  margin: 0;
  color: #afbdcf;
  font-size: 0.78rem;
  line-height: 1.52;
}

.pt-home-module-card:hover,
.pt-home-module-card:focus-visible {
  color: #fff;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--pt-module-accent), transparent 86%),
      rgba(255, 255, 255, 0.045)
    ),
    rgba(8, 22, 43, 0.88);
  border-color: color-mix(in srgb, var(--pt-module-accent), transparent 43%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 20px 42px rgba(0, 5, 15, 0.24),
    0 0 26px color-mix(in srgb, var(--pt-module-accent), transparent 89%);
  transform: translateY(-4px);
}

.pt-home-module-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--pt-module-accent), #fff 18%);
  outline-offset: 3px;
}

.pt-home-module-card:hover .pt-home-module-icon,
.pt-home-module-card:focus-visible .pt-home-module-icon {
  background: color-mix(in srgb, var(--pt-module-accent), transparent 81%);
  box-shadow: 0 10px 24px
    color-mix(in srgb, var(--pt-module-accent), transparent 83%);
  transform: translateY(-2px) scale(1.025);
}

.pt-home-module-card:hover .pt-home-module-icon svg,
.pt-home-module-card:focus-visible .pt-home-module-icon svg {
  filter: drop-shadow(
    0 5px 9px color-mix(in srgb, var(--pt-module-accent), transparent 48%)
  );
  transform: scale(1.07);
}

.pt-home-module-card:hover .pt-home-module-arrow,
.pt-home-module-card:focus-visible .pt-home-module-arrow {
  color: #071222;
  background: var(--pt-module-accent);
  border-color: var(--pt-module-accent);
  transform: translateX(3px);
}

.pt-home-integrations {
  display: grid;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.15rem 1.3rem;
  background: rgba(7, 20, 39, 0.72);
  border: 1px solid rgba(132, 162, 210, 0.16);
  border-radius: 20px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.35fr) auto;
}

.pt-home-integrations-copy {
  display: grid;
  min-width: 0;
  gap: 0.72rem;
  align-items: center;
  grid-template-columns: 42px minmax(0, 1fr);
}

.pt-home-integrations-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #79a5ff;
  background: rgba(30, 86, 255, 0.14);
  border: 1px solid rgba(118, 158, 255, 0.28);
  border-radius: 13px;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pt-home-integrations-mark i {
  font-size: 0.9rem;
}

.pt-home-integrations small {
  color: #7da5ff;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pt-home-integrations p {
  margin: 0.28rem 0 0;
  color: #aab8ca;
  font-size: 0.72rem;
  line-height: 1.5;
}

.pt-home-integrations ul {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  list-style: none;
}

.pt-home-integrations li {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0.38rem 0.68rem;
  color: #c3cede;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 750;
}

.pt-home-integrations > a {
  display: inline-flex;
  min-height: 42px;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.pt-home-integrations > a i {
  color: #78a1ff;
  transition: transform 0.2s ease;
}

.pt-home-integrations > a:hover {
  color: #8eb0ff;
}

.pt-home-integrations > a:hover i {
  transform: translateX(4px);
}

.pt-home-pro-callout {
  position: relative;
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.35rem 1.45rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 9% 30%,
      rgba(163, 113, 255, 0.2),
      transparent 25%
    ),
    linear-gradient(
      110deg,
      rgba(103, 47, 194, 0.3),
      rgba(30, 86, 255, 0.18) 55%,
      rgba(5, 19, 40, 0.74)
    );
  border: 1px solid rgba(164, 116, 255, 0.38);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 48px rgba(1, 6, 17, 0.18);
  grid-template-columns: 68px minmax(0, 1fr) auto;
}

.pt-home-pro-callout::before {
  position: absolute;
  top: -140%;
  left: 62%;
  width: 1px;
  height: 380%;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.72),
    transparent
  );
  box-shadow: 0 0 44px 18px rgba(132, 98, 255, 0.1);
  transform: rotate(28deg);
}

.pt-home-pro-callout > * {
  position: relative;
  z-index: 1;
}

.pt-home-pro-icon {
  display: grid;
  width: 64px;
  height: 64px;
  color: #c1a7ff;
  background: linear-gradient(
    145deg,
    rgba(175, 126, 255, 0.2),
    rgba(99, 72, 203, 0.12)
  );
  border: 1px solid rgba(190, 154, 255, 0.32);
  border-radius: 19px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 28px rgba(29, 9, 67, 0.2);
  place-items: center;
}

.pt-home-pro-icon svg {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 5px 9px rgba(160, 120, 255, 0.34));
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.pt-home-pro-callout:hover .pt-home-pro-icon svg {
  filter: drop-shadow(0 7px 12px rgba(160, 120, 255, 0.48));
  transform: translateY(-1px) scale(1.06);
}

.pt-home-pro-content > small {
  color: #c1a7ff;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pt-home-pro-content h3 {
  margin: 0.28rem 0 0.35rem;
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-wrap: balance;
}

.pt-home-pro-content > p {
  max-width: 620px;
  margin: 0;
  color: #b4c0d0;
  font-size: 0.75rem;
  line-height: 1.55;
}

.pt-home-pro-content > ul {
  display: flex;
  gap: 0.55rem 1rem;
  align-items: center;
  margin: 0.72rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  list-style: none;
}

.pt-home-pro-content li {
  color: #d3dae6;
  font-size: 0.63rem;
  font-weight: 700;
}

.pt-home-pro-content li i {
  margin-right: 0.28rem;
  color: #b99bff;
  font-size: 0.56rem;
}

.pt-home-pro-callout .btn {
  min-width: 176px;
  box-shadow: 0 14px 30px rgba(30, 86, 255, 0.24);
}

.pt-home-pro-callout .btn i {
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

.pt-home-pro-callout .btn:hover i {
  transform: translateX(4px);
}

.pt-reveal-ready .pt-home-module-slot[data-reveal] .pt-home-module-connector {
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1)
    calc(var(--pt-reveal-delay, 0ms) + 180ms);
}

.pt-reveal-ready
  .pt-home-module-slot[data-reveal].is-revealed
  .pt-home-module-connector {
  transform: scaleX(1);
}

/* Rede operacional. */
.pt-home-network {
  background:
    radial-gradient(
      circle at 10% 18%,
      color-mix(in srgb, var(--pt-primary-soft), transparent 32%),
      transparent 28%
    ),
    var(--pt-background);
}

.pt-home-network-heading-meta {
  display: grid;
  width: min(100%, 440px);
  gap: 1rem;
}

.pt-home-network-heading-meta > p {
  margin: 0;
  color: var(--pt-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.pt-home-network-metrics {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pt-home-network-metrics > span {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
  padding: 0.68rem 0.75rem;
  background: color-mix(in srgb, var(--pt-surface), transparent 10%);
  border: 1px solid color-mix(in srgb, var(--pt-primary), transparent 84%);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.pt-home-network-metrics strong {
  color: var(--pt-primary);
  font-family: var(--pt-font-display);
  font-size: 0.92rem;
  line-height: 1.15;
}

.pt-home-network-metrics small {
  color: var(--pt-text-muted);
  font-size: 0.55rem;
  font-weight: 700;
}

.pt-home-network-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pt-home-network-panel {
  --pt-network-accent: var(--pt-primary);
  position: relative;
  display: flex;
  min-width: 0;
  padding: 1.1rem;
  overflow: hidden;
  flex-direction: column;
  background:
    radial-gradient(
      circle at 100% 0%,
      color-mix(in srgb, var(--pt-network-accent), transparent 91%),
      transparent 28%
    ),
    var(--pt-surface);
  border: 1px solid
    color-mix(in srgb, var(--pt-network-accent), var(--pt-border) 78%);
  border-radius: 22px;
  box-shadow: var(--pt-shadow);
}

.pt-home-network-panel.is-drivers {
  --pt-network-accent: var(--pt-warning);
}

.pt-home-network-panel::before {
  position: absolute;
  top: 0;
  right: 20%;
  left: 20%;
  height: 2px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    var(--pt-network-accent),
    transparent
  );
  box-shadow: 0 0 16px
    color-mix(in srgb, var(--pt-network-accent), transparent 58%);
}

.pt-home-network-panel > header {
  display: grid;
  gap: 0.8rem;
  align-items: center;
  padding: 0.25rem 0.2rem 1rem;
  border-bottom: 1px solid var(--pt-border);
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.pt-home-network-panel > header > span {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--pt-network-accent);
  background: color-mix(in srgb, var(--pt-network-accent), transparent 88%);
  border: 1px solid
    color-mix(in srgb, var(--pt-network-accent), transparent 76%);
  border-radius: 14px;
  place-items: center;
}

.pt-home-network-panel > header svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(
    0 4px 7px color-mix(in srgb, var(--pt-network-accent), transparent 66%)
  );
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.pt-home-network-panel:hover > header svg {
  filter: drop-shadow(
    0 6px 10px color-mix(in srgb, var(--pt-network-accent), transparent 50%)
  );
  transform: translateY(-1px) scale(1.06);
}

.pt-home-network-panel > header small {
  color: var(--pt-network-accent);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pt-home-network-panel > header h3 {
  margin: 0.16rem 0 0;
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.pt-home-network-directory-link {
  display: inline-flex;
  min-height: 36px;
  gap: 0.38rem;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.62rem;
  color: var(--pt-primary);
  background: var(--pt-primary-soft);
  border: 1px solid color-mix(in srgb, var(--pt-primary), transparent 78%);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
}

.pt-home-network-directory-link i {
  font-size: 0.54rem;
  transition: transform 0.2s ease;
}

.pt-home-network-directory-link:hover i {
  transform: translateX(2px);
}

.pt-home-network-list {
  display: grid;
  gap: 0.52rem;
  padding-top: 0.82rem;
}

.pt-home-network-list > a {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  gap: 0.72rem;
  align-items: center;
  padding: 0.62rem;
  color: var(--pt-text);
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--pt-network-accent), transparent 94%),
      transparent 34%
    ),
    color-mix(in srgb, var(--pt-surface-secondary), var(--pt-surface) 48%);
  border: 1px solid color-mix(in srgb, var(--pt-border), transparent 14%);
  border-radius: 15px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.pt-home-network-list > a:hover {
  color: var(--pt-text);
  background: color-mix(
    in srgb,
    var(--pt-network-accent),
    var(--pt-surface) 92%
  );
  border-color: color-mix(in srgb, var(--pt-network-accent), transparent 64%);
  box-shadow: 0 10px 24px
    color-mix(in srgb, var(--pt-network-accent), transparent 91%);
  transform: translateY(-2px);
}

.pt-home-network-photo {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  margin: 0;
}

.pt-home-network-photo::before {
  position: absolute;
  inset: 7px;
  content: "";
  opacity: 0.22;
  background: var(--pt-network-accent);
  border-radius: 12px;
  filter: blur(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.pt-home-network-photo > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid
    color-mix(in srgb, var(--pt-network-accent), transparent 72%);
  border-radius: 15px;
  clip-path: inset(0 round 15px);
  box-shadow: 0 7px 18px rgba(13, 43, 87, 0.13);
  transition:
    border-color 0.25s ease,
    filter 0.25s ease,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pt-home-network-list > a:hover .pt-home-network-photo::before {
  opacity: 0.38;
  transform: scale(1.08);
}

.pt-home-network-list > a:hover .pt-home-network-photo > img {
  border-color: color-mix(in srgb, var(--pt-network-accent), transparent 48%);
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

.pt-home-network-presence {
  position: absolute;
  z-index: 2;
  right: -3px;
  bottom: -3px;
  display: grid;
  width: 19px;
  height: 19px;
  color: #fff;
  background: var(--pt-primary);
  border: 3px solid var(--pt-surface);
  border-radius: 50%;
  font-size: 0.42rem;
  place-items: center;
  box-shadow: 0 4px 10px rgba(13, 43, 87, 0.2);
}

.pt-home-network-photo.is-online .pt-home-network-presence {
  width: 14px;
  height: 14px;
  right: -1px;
  bottom: -1px;
  background: var(--pt-success);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--pt-success), transparent 80%),
    0 4px 10px rgba(13, 43, 87, 0.18);
}

.pt-home-network-photo.is-online .pt-home-network-presence::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid color-mix(in srgb, var(--pt-success), transparent 28%);
  border-radius: inherit;
  animation: pt-home-network-online 2.2s ease-out infinite;
}

.pt-home-network-profile-copy {
  display: grid;
  min-width: 0;
  gap: 0.22rem;
}

.pt-home-network-identity {
  display: flex;
  min-width: 0;
  gap: 0.35rem;
  align-items: center;
}

.pt-home-network-identity strong {
  overflow: hidden;
  font-family: var(--pt-font-display);
  font-size: 0.75rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.pt-home-network-list > a:hover .pt-home-network-identity strong {
  color: color-mix(in srgb, var(--pt-network-accent), var(--pt-text) 28%);
}

.pt-home-network-identity > i {
  flex: none;
  color: var(--pt-primary);
  font-size: 0.62rem;
}

.pt-home-network-profile-copy > small {
  display: flex;
  min-width: 0;
  gap: 0.28rem;
  align-items: center;
  overflow: hidden;
  color: var(--pt-text-muted);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pt-home-network-profile-copy > small i {
  flex: none;
  color: var(--pt-network-accent);
  font-size: 0.52rem;
}

.pt-home-network-specialty {
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  padding: 0.18rem 0.4rem;
  color: color-mix(in srgb, var(--pt-network-accent), var(--pt-text) 38%);
  background: color-mix(in srgb, var(--pt-network-accent), transparent 91%);
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 750;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pt-home-network-rating {
  display: inline-flex;
  min-height: 30px;
  gap: 0.25rem;
  align-items: center;
  padding: 0.28rem 0.42rem;
  color: #b66a00;
  background: color-mix(in srgb, var(--pt-warning), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--pt-warning), transparent 76%);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
}

html[data-theme="dark"] .pt-home-network-rating {
  color: #ffbd63;
}

@keyframes pt-home-network-online {
  0% {
    opacity: 0.75;
    transform: scale(0.72);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.pt-home-network-panel > footer {
  margin-top: auto;
  padding-top: 0.82rem;
}

.pt-home-network-panel > footer .btn {
  display: flex;
  min-height: 44px;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.pt-home-network-panel > footer .btn i:first-child {
  margin-right: auto;
}

.pt-home-network-panel > footer .btn i:last-child {
  margin-left: auto;
}

.pt-home-network-panel > footer .btn-primary,
.pt-home-network-panel > footer .btn-primary:hover {
  color: #fff;
}

.pt-home-network-panel > footer .btn-warning,
.pt-home-network-panel > footer .btn-warning:hover {
  color: #152037;
}
