/* =========================================================
   PLATFORM SHOWCASE — EMPERIAL BLOXX
   ========================================================= */

.platform-showcase {
  --platform-brand: #facc15;
  --platform-brand-light: #fde047;
  --platform-brand-dark: #ca8a04;
  --platform-brand-rgb: 250, 204, 21;

  --platform-text: #ffffff;
  --platform-muted: rgba(255, 255, 255, 0.62);
  --platform-panel: #0a0a0b;
  --platform-panel-light: #111113;
  --platform-stroke: rgba(255, 255, 255, 0.08);

  position: relative;
  overflow: hidden;

  padding: 70px 16px;
}

.platform-showcase::before {
  content: "";

  position: absolute;
  top: -140px;
  left: 50%;

  width: 620px;
  height: 280px;

  transform: translateX(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(var(--platform-brand-rgb), 0.14),
      transparent 68%
    );

  pointer-events: none;
}

.platform-showcase__container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
}

/* =========================================================
   CABEÇALHO
   ========================================================= */

.platform-showcase__header {
  max-width: 760px;

  margin: 0 auto 34px;

  text-align: center;
}

.platform-showcase__badge {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 32px;
  padding: 0 13px;

  margin-bottom: 18px;

  border:
    1px solid rgba(
      var(--platform-brand-rgb),
      0.3
    );

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(
        var(--platform-brand-rgb),
        0.11
      ),
      rgba(
        var(--platform-brand-rgb),
        0.04
      )
    );

  color: var(--platform-brand-light);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.platform-showcase__badge::after {
  content: "";

  position: absolute;
  top: 0;
  left: -80px;

  width: 55px;
  height: 100%;

  transform: skewX(-20deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.22),
      transparent
    );

  animation:
    platformBadgeShine
    4s ease-in-out infinite;
}

@keyframes platformBadgeShine {
  0%,
  72% {
    left: -80px;
  }

  100% {
    left: calc(100% + 80px);
  }
}

.platform-showcase__badge-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--platform-brand);

  box-shadow:
    0 0 12px
    rgba(
      var(--platform-brand-rgb),
      0.8
    );
}

.platform-showcase__title {
  margin: 0;

  color: var(--platform-text);

  font-size:
    clamp(
      2rem,
      4vw,
      3.45rem
    );

  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.platform-showcase__title span {
  display: block;

  margin-top: 5px;

  color: var(--platform-brand);
}

.platform-showcase__description {
  max-width: 680px;

  margin: 18px auto 0;

  color: var(--platform-muted);

  font-size: 1rem;
  line-height: 1.65;
}

/* =========================================================
   GRID
   ========================================================= */

.platform-showcase__grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

/* =========================================================
   CARDS
   ========================================================= */

.platform-card {
  position: relative;
  overflow: hidden;

  min-height: 330px;

  display: flex;
  flex-direction: column;

  padding: 24px;

  border:
    1px solid var(--platform-stroke);

  border-radius: 20px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(
        var(--platform-brand-rgb),
        0.055
      ),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      var(--platform-panel-light),
      var(--platform-panel)
    );

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.025),
    0 20px 50px -32px
    rgba(0, 0, 0, 0.9);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.platform-card::before {
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(
        var(--platform-brand-rgb),
        0.09
      ),
      transparent 45%
    );

  transition: opacity 0.22s ease;

  pointer-events: none;
}

.platform-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(
      var(--platform-brand-rgb),
      0.28
    );

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.035),
    0 28px 60px -34px
    rgba(
      var(--platform-brand-rgb),
      0.34
    );
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-card--featured {
  border-color:
    rgba(
      var(--platform-brand-rgb),
      0.28
    );

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(
        var(--platform-brand-rgb),
        0.13
      ),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      #131109,
      #0b0a07
    );

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.035),
    0 24px 58px -36px
    rgba(
      var(--platform-brand-rgb),
      0.42
    );
}

.platform-card__top {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 22px;
}

.platform-card__tag,
.platform-card__status {
  min-height: 27px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 9px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.platform-card__tag {
  border:
    1px solid rgba(
      var(--platform-brand-rgb),
      0.34
    );

  background:
    rgba(
      var(--platform-brand-rgb),
      0.09
    );

  color: var(--platform-brand-light);
}

.platform-card__status {
  border:
    1px solid rgba(
      59,
      130,
      246,
      0.25
    );

  background:
    rgba(
      59,
      130,
      246,
      0.08
    );

  color: #93c5fd;
}

.platform-card__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(
      var(--platform-brand-rgb),
      0.24
    );

  border-radius: 15px;

  background:
    linear-gradient(
      180deg,
      rgba(
        var(--platform-brand-rgb),
        0.13
      ),
      rgba(
        var(--platform-brand-rgb),
        0.045
      )
    );

  color: var(--platform-brand);

  box-shadow:
    inset 0 0 20px
    rgba(
      var(--platform-brand-rgb),
      0.035
    );

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.platform-card:hover
.platform-card__icon {
  transform:
    translateY(-2px)
    scale(1.04);

  box-shadow:
    inset 0 0 20px
    rgba(
      var(--platform-brand-rgb),
      0.05
    ),
    0 0 22px
    rgba(
      var(--platform-brand-rgb),
      0.11
    );
}

.platform-card__icon svg {
  width: 25px;
  height: 25px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-card__content {
  position: relative;
  z-index: 1;

  flex: 1;
}

.platform-card__eyebrow {
  display: block;

  margin-bottom: 8px;

  color: var(--platform-brand);

  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.11em;
}

.platform-card__content h3 {
  max-width: 430px;

  margin: 0 0 12px;

  color: var(--platform-text);

  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.platform-card__content p {
  max-width: 500px;

  margin: 0;

  color: var(--platform-muted);

  font-size: 0.9rem;
  line-height: 1.62;
}

/* =========================================================
   BOTÕES
   ========================================================= */

.platform-card__button {
  position: relative;
  z-index: 1;

  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  align-self: flex-start;

  margin-top: 22px;
  padding: 0 17px;

  border:
    1px solid var(--platform-brand-dark);

  border-radius: 12px;

  background:
    linear-gradient(
      180deg,
      var(--platform-brand-light),
      var(--platform-brand-dark)
    );

  color: #15110a;

  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;

  cursor: pointer;

  box-shadow:
    0 12px 28px -16px
    rgba(
      var(--platform-brand-rgb),
      0.7
    );

  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.platform-card__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.platform-card__button span {
  font-size: 16px;
  line-height: 1;

  transition:
    transform 0.2s ease;
}

.platform-card__button:hover span {
  transform: translateX(3px);
}

.platform-card__button--secondary {
  border:
    1px solid rgba(
      var(--platform-brand-rgb),
      0.25
    );

  background:
    linear-gradient(
      180deg,
      rgba(
        var(--platform-brand-rgb),
        0.11
      ),
      rgba(
        var(--platform-brand-rgb),
        0.04
      )
    );

  color: var(--platform-brand-light);

  box-shadow: none;
}

/* =========================================================
   RODAPÉ DA SEÇÃO
   ========================================================= */

.platform-showcase__footer {
  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr);

  align-items: center;
  gap: 17px;

  margin-top: 18px;
  padding: 22px 24px;

  border:
    1px solid rgba(
      var(--platform-brand-rgb),
      0.2
    );

  border-radius: 18px;

  background:
    linear-gradient(
      90deg,
      rgba(
        var(--platform-brand-rgb),
        0.095
      ),
      rgba(
        var(--platform-brand-rgb),
        0.025
      )
    );

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.025);
}

.platform-showcase__footer-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(
      var(--platform-brand-rgb),
      0.24
    );

  border-radius: 14px;

  background:
    rgba(
      var(--platform-brand-rgb),
      0.08
    );

  color: var(--platform-brand);

  font-size: 20px;
}

.platform-showcase__footer strong {
  display: block;

  margin-bottom: 4px;

  color: var(--platform-text);

  font-size: 0.98rem;
  font-weight: 900;
}

.platform-showcase__footer p {
  margin: 0;

  color: var(--platform-muted);

  font-size: 0.84rem;
  line-height: 1.5;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 900px) {
  .platform-showcase {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .platform-showcase__grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .platform-showcase {
    padding:
      46px 12px;
  }

  .platform-showcase__header {
    margin-bottom: 26px;
  }

  .platform-showcase__title {
    font-size: 2rem;
  }

  .platform-showcase__description {
    font-size: 0.9rem;
  }

  .platform-card {
    min-height: 0;
    padding: 20px;
  }

  .platform-card__content h3 {
    font-size: 1.18rem;
  }

  .platform-card__button {
    width: 100%;
  }

  .platform-showcase__footer {
    grid-template-columns: 1fr;

    padding: 20px;

    text-align: center;
  }

  .platform-showcase__footer-icon {
    margin: 0 auto;
  }

.platform-showcase__footer-button {
  width: 100%;
}
}

@media (max-width: 420px) {
  .platform-showcase__badge {
    font-size: 9px;
  }

  .platform-card__top {
    margin-bottom: 18px;
  }

  .platform-card__icon {
    width: 47px;
    height: 47px;
    flex-basis: 47px;
  }
}

/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .platform-showcase__badge::after {
    animation: none;
  }

  .platform-card,
  .platform-card__icon,
  .platform-card__button,
  .platform-card__button span,
  .platform-showcase__footer-button {
    transition: none;
  }
}

/* =========================================================
   AVISO FLUTUANTE
   ========================================================= */

.platform-showcase-notice {
  position: fixed;

  left: 50%;
  bottom: 24px;

  transform:
    translateX(-50%)
    translateY(20px);

  width: calc(100% - 32px);
  max-width: 620px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 15px 52px 15px 16px;

  background:
    linear-gradient(
      180deg,
      #14110a,
      #0b0b0c
    );

  border: 1px solid rgba(250,204,21,.35);
  border-radius: 14px;

  color: #fff;

  box-shadow:
    0 20px 60px rgba(0,0,0,.55);

  z-index: 999999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .25s ease,
    transform .25s ease,
    visibility .25s ease;
}

.platform-showcase-notice.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;

  transform:
    translateX(-50%)
    translateY(0);
}

.platform-showcase-notice__icon{
  width:36px;
  height:36px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:10px;

  background:rgba(250,204,21,.12);

  font-size:18px;

  flex-shrink:0;
}

.platform-showcase-notice p{
  margin:0;

  flex:1;

  color:rgba(255,255,255,.9);

  font-size:14px;
  line-height:1.45;
}

.platform-showcase-notice__close{
  position:absolute;

  right:14px;
  top:50%;

  transform:translateY(-50%);

  width:28px;
  height:28px;

  border:0;
  border-radius:8px;

  background:transparent;

  color:#fff;

  cursor:pointer;
}

@media (max-width:640px){

  .platform-showcase-notice{
    left:16px;
    right:16px;
    bottom:16px;

    width:auto;
    max-width:none;

    transform:translateY(20px);
  }

  .platform-showcase-notice.is-visible{
    transform:translateY(0);
  }

}