/* Aparelho CSS — substitui iPhone-*.webp com UI da marca */

.apx-device {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.apx-device-bezel {
  position: relative;
  background: #111;
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 24px 60px color-mix(in srgb, var(--brand-primary, #00BF63) 28%, transparent),
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.apx-device-island {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 92px;
  height: 22px;
  transform: translateX(-50%);
  background: #0a0a0a;
  border-radius: 12px;
}

.apx-device-screen {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  background: #f4f5f7;
  border-radius: 28px;
  color: #231f20;
}

.apx-device-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #231f20;
}

.apx-device-status-icons {
  display: flex;
  gap: 5px;
  font-size: 9px;
}

.apx-device-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 6px;
}

.apx-device-brand {
  display: block;
  width: auto;
  max-width: 132px;
  height: 22px;
  object-fit: contain;
}

.apx-dash,
.apx-feed,
.apx-check {
  flex: 1;
  padding: 8px 16px 12px;
}

.apx-dash-kicker,
.apx-check-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #6b6667;
}

.apx-dash-title {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
}

.apx-dash-hint {
  margin: 4px 0 10px;
  font-size: 11px;
  text-align: center;
  color: #7a7576;
}

.apx-dash-chart {
  display: block;
  width: 100%;
  height: 88px;
}

.apx-dash-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  font-size: 9px;
  color: #9a9596;
}

.apx-dash-pills {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 12px;
}

.apx-dash-pills span,
.apx-check-methods span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8e8ea;
  font-size: 11px;
  font-weight: 700;
}

.apx-dash-pills span.is-on,
.apx-check-methods span.is-on {
  background: var(--brand-primary, #00BF63);
  color: #fff;
}

.apx-dash-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.apx-dash-foot strong {
  font-size: 13px;
}

.apx-dash-foot span {
  font-size: 18px;
  font-weight: 800;
}

.apx-device-dock {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0 16px 14px;
  padding: 10px 8px;
  border-radius: 16px;
  background: var(--brand-primary, #00BF63);
  color: #fff;
  font-size: 13px;
}

.apx-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apx-feed-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #2f2f2f;
  border-radius: 12px;
  color: #fff;
}

.apx-feed-mark {
  flex-shrink: 0;
  width: 72px;
  height: 24px;
  padding: 3px 5px;
  background: #fff;
  border-radius: 6px;
  box-sizing: border-box;
}

.apx-feed-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.apx-feed-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.apx-feed-copy strong {
  font-size: 11px;
  font-weight: 700;
}

.apx-feed-copy span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.apx-feed-row em {
  font-size: 9px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}

.apx-check {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.apx-check-order {
  margin: 6px 0 0;
  font-size: 12px;
  color: #7a7576;
}

.apx-check-value {
  margin: 10px 0 14px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.apx-check-value span {
  margin-right: 4px;
  font-size: 16px;
  color: #7a7576;
}

.apx-check-value small {
  font-size: 18px;
}

.apx-check-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.apx-check-cta {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--brand-primary, #00BF63);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.apx-check-ok {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary, #00BF63);
}

.apx-device--hero {
  animation: phoneFloat 3s ease-in-out infinite;
}

.apx-device--experience {
  max-width: 260px;
  transform: rotate(-6deg);
}

.apx-device--fees {
  max-width: 250px;
  transform: rotate(3deg);
}

.apx-device-pair {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.apx-device-pair .apx-device {
  position: absolute;
  max-width: 220px;
}

.apx-device-pair .apx-device--back {
  top: 36px;
  right: 0;
  transform: rotate(10deg);
  z-index: 1;
}

.apx-device-pair .apx-device--front {
  top: 0;
  left: 0;
  transform: rotate(-8deg);
  z-index: 2;
}

.apx-device-pair .apx-device-screen {
  min-height: 430px;
}

@media (max-width: 768px) {
  .apx-device {
    max-width: 230px;
  }

  .apx-device-screen {
    min-height: 440px;
  }

  .apx-device-pair {
    min-height: 360px;
  }

  .apx-device-pair .apx-device {
    max-width: 180px;
  }

  .apx-device-pair .apx-device-screen {
    min-height: 360px;
  }
}
