:root {
  --bg: #020303;
  --panel: rgba(29, 29, 29, 0.84);
  --panel-strong: rgba(34, 34, 34, 0.96);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #b8bac3;
  --soft: #868995;
  --green: #22d974;
  --whatsapp: #09ca87;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 26rem),
    linear-gradient(180deg, #070707 0%, var(--bg) 42%, #050606 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.home {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 34px 24px 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 190, 38, 0.2), transparent 18rem),
    radial-gradient(circle at 72% 8%, rgba(255, 255, 255, 0.13), transparent 17rem),
    radial-gradient(circle at 54% 58%, rgba(164, 70, 255, 0.15), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18rem);
}

.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 24%, black, transparent 74%);
}

.home::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.94)),
    radial-gradient(circle at 50% 0%, transparent 0 18rem, rgba(0, 0, 0, 0.55) 42rem),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.62) 100%);
}

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0 auto 34px;
  max-width: 1050px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  z-index: -1;
  width: min(760px, 88vw);
  height: 170px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 42%, rgba(255, 198, 42, 0.18), transparent 16rem),
    radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 42%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(8px);
}

.brand-logo {
  width: min(520px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto -6px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(255, 190, 40, 0.12));
}

.hero h1 {
  position: relative;
  margin: 0;
  padding: 0 18px;
  font-size: clamp(1.7rem, 3.7vw, 2.75rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 950;
  color: #f8f8f8;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 18px rgba(255, 194, 46, 0.12);
}

.hero h1::before,
.hero h1::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(120px, 14vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 44, 0.68));
}

.hero h1::before {
  right: 100%;
}

.hero h1::after {
  left: 100%;
  transform: rotate(180deg);
}

.hero p {
  margin: 9px 0 0;
  color: #aeb6c6;
  font-size: 0.88rem;
  letter-spacing: 0.34rem;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}

.server-list {
  display: grid;
  gap: 24px;
  max-width: 1026px;
  margin: 0 auto;
}

.server-card {
  --accent: #f5b31c;
  --accent2: var(--accent);
  position: relative;
  min-height: 162px;
  display: grid;
  grid-template-columns: 128px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 2, 3, 0.96) 0%, rgba(2, 2, 3, 0.86) 38%, rgba(2, 2, 3, 0.22) 100%),
    radial-gradient(circle at 76% 44%, color-mix(in srgb, var(--accent) 36%, transparent), transparent 18rem),
    radial-gradient(circle at 52% 72%, color-mix(in srgb, var(--accent2) 22%, transparent), transparent 16rem),
    linear-gradient(135deg, color-mix(in srgb, var(--accent2) 18%, transparent), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.72;
  background:
    radial-gradient(circle at 78% 12%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 10rem),
    radial-gradient(circle at 36% 88%, color-mix(in srgb, var(--accent2) 24%, transparent), transparent 12rem),
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.035) 18px 19px, transparent 19px 34px);
  mask-image: linear-gradient(90deg, transparent 0%, black 45%, black 100%);
}

.server-card::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 50%;
  z-index: 0;
  width: 220px;
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--accent) 32%, transparent);
  border-radius: 36px;
  transform: translateY(-50%) rotate(18deg);
  opacity: 0.25;
}

.server-card > * {
  position: relative;
  z-index: 1;
}

.logo-tile {
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.03);
  color: var(--accent);
  font-size: 2.25rem;
  font-weight: 950;
  line-height: 1;
}

.logo-tile img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.logo-tile.small {
  width: 80px;
  border-radius: 15px;
  font-size: 2.05rem;
}

.server-copy h2 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  line-height: 1;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: 0.72rem;
  font-weight: 900;
}

.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 999px;
  background: var(--accent);
}

.server-copy p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 650;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  min-width: 143px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 62%, white 10%);
  color: var(--accent);
  background: transparent;
  font-weight: 900;
  font-size: 0.83rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn.primary {
  color: #0b0c0d;
  background: var(--accent);
  border-color: var(--accent);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.disabled-link {
  opacity: 0.72;
  cursor: not-allowed;
}

.wa-launcher {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  width: 66px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 16px rgba(9, 202, 135, 0.12), 0 12px 35px rgba(9, 202, 135, 0.28);
}

.wa-launcher svg {
  width: 35px;
  height: 35px;
}

.toast {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 30;
  display: flex;
  gap: 12px;
  align-items: center;
  width: min(360px, calc(100vw - 32px));
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(28, 28, 30, 0.92);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
  transform: none;
  animation: toastIn 700ms ease both, toastOut 700ms ease 5.2s both;
}

.toast strong,
.toast span {
  display: block;
}

.toast strong {
  font-size: 0.91rem;
}

.toast span {
  margin-top: 2px;
  color: #f4f4f4;
  font-size: 0.9rem;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-18px);
  }
}

.chat-panel {
  position: fixed;
  right: 28px;
  bottom: 112px;
  z-index: 21;
  width: min(372px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(28, 29, 31, 0.96);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

.chat-panel[hidden] {
  display: none;
}

.chat-panel h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.chat-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label,
.payment-label {
  color: #c9c9c9;
  font-size: 0.8rem;
  font-weight: 900;
}

.input-row,
.field input,
.field select {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.06);
  outline: 0;
}

.field input,
.field select {
  padding: 0 16px;
}

.field input:focus,
.field select:focus,
.input-row:focus-within {
  border-color: rgba(255, 255, 255, 0.55);
}

.input-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  overflow: hidden;
}

.country,
.country-code {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 0;
  font-weight: 900;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.input-row input {
  min-height: 54px;
  border: 0;
  background: transparent;
}

.chat-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 16px;
}

.mode {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 850;
  cursor: pointer;
}

.mode.active {
  border-color: var(--whatsapp);
  background: rgba(9, 202, 135, 0.15);
  color: #7affc4;
}

.submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: #f5f5f5;
  font-weight: 950;
  cursor: pointer;
}

.submit:disabled {
  cursor: not-allowed;
  background: #999;
}

.flow {
  width: 100vw;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 16% 48%, rgba(255, 255, 255, 0.09), transparent 16rem),
    #111;
}

.recharge-flow {
  background:
    radial-gradient(circle at 68% 28%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 20rem),
    radial-gradient(circle at 18% 72%, color-mix(in srgb, var(--accent2) 16%, transparent), transparent 18rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.62)),
    #0b0b0d;
}

.flow-card {
  width: min(980px, calc(100vw - 48px));
  min-height: min(560px, calc(100vh - 36px));
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: clamp(30px, 5vh, 52px) clamp(34px, 5vw, 56px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(115deg, rgba(27, 27, 27, 0.96), rgba(26, 26, 26, 0.88)),
    radial-gradient(circle at 48% 100%, rgba(255, 255, 255, 0.08), transparent 22rem);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
}

.recharge-flow .flow-card {
  position: relative;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, 0.12));
  background:
    linear-gradient(115deg, rgba(28, 28, 28, 0.98), rgba(20, 20, 22, 0.92)),
    radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 18rem),
    radial-gradient(circle at 32% 90%, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 18rem);
}

.recharge-flow .flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.028) 18px 19px, transparent 19px 36px),
    radial-gradient(circle at 12% 38%, rgba(255, 255, 255, 0.07), transparent 9rem);
  opacity: 0.75;
}

.recharge-flow .flow-card > * {
  position: relative;
  z-index: 1;
}

.recharge-flow .logo-tile.small {
  width: 96px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent), 0 16px 42px rgba(0, 0, 0, 0.34);
}

.recharge-flow .logo-tile.small img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.recharge-flow .flow-form {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 13rem),
    rgba(255, 255, 255, 0.025);
}

.flow-intro h1 {
  margin: 26px 0 12px;
  font-size: clamp(2.25rem, 5vw, 3.05rem);
  line-height: 1.03;
}

.flow-intro p {
  margin: 0;
  max-width: 410px;
  color: #c7c7c7;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 720;
}

.flow-side h2 {
  margin: 0 0 18px;
  color: #b8b8b8;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.device,
.plan,
.pay-option {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  color: #d8d8d8;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.device {
  min-height: 110px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 14px;
  text-align: center;
  font-weight: 850;
}

.icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #f2f2f2;
}

.icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.back-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.back {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.selected-pill {
  padding: 6px 13px;
  border-radius: 999px;
  color: #a9d1ff;
  border: 1px solid rgba(75, 137, 255, 0.5);
  background: rgba(75, 137, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
}

.selected-pill.green {
  color: #8ef3b7;
  border-color: rgba(34, 217, 116, 0.52);
  background: rgba(34, 217, 116, 0.16);
}

.plans {
  display: grid;
  gap: 12px;
}

.plan {
  position: relative;
  min-height: 90px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  text-align: left;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 12%, transparent), transparent);
  transition: opacity 160ms ease;
}

.plan:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 58%, rgba(255, 255, 255, 0.22));
  background: color-mix(in srgb, var(--accent) 9%, rgba(255, 255, 255, 0.05));
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 18%, transparent);
}

.plan:hover::after {
  opacity: 1;
}

.plan.featured {
  border-color: color-mix(in srgb, var(--accent) 45%, rgba(255, 255, 255, 0.2));
}

.plan.featured::before {
  content: "MELHOR VALOR";
  position: absolute;
  top: 8px;
  right: 12px;
  color: color-mix(in srgb, var(--accent) 86%, white);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08rem;
}

.plan-icon {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: color-mix(in srgb, var(--accent) 86%, white);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, rgba(255, 255, 255, 0.16));
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22), transparent 34%),
    color-mix(in srgb, var(--accent) 14%, transparent);
  font-size: 0.82rem;
  font-weight: 950;
}

.plan strong,
.plan span {
  display: block;
}

.plan strong {
  font-size: 1rem;
  padding-right: 86px;
}

.plan span {
  margin-top: 4px;
  color: #c5c5c5;
  font-size: 0.88rem;
}

.price {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  color: color-mix(in srgb, var(--accent) 72%, white);
  font-weight: 950;
  white-space: nowrap;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 42%, transparent);
}

.price b {
  font-size: 2.05rem;
  line-height: 1;
}

.flow-form {
  display: grid;
  gap: 14px;
}

.payments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 10px;
}

.pay-option {
  min-height: 90px;
  display: grid;
  place-items: center;
  gap: 6px;
  font-weight: 900;
}

.pay-option.active {
  border-color: color-mix(in srgb, var(--accent) 76%, white);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--accent) 10%, transparent), 0 14px 34px color-mix(in srgb, var(--accent) 15%, transparent);
}

.pay-brand {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.pix-brand svg {
  width: 36px;
  height: 36px;
  stroke: color-mix(in srgb, var(--accent) 78%, white);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: color-mix(in srgb, var(--accent) 12%, transparent);
}

.card-flags {
  display: flex;
  gap: 6px;
  align-items: center;
}

.flag {
  width: 44px;
  height: 28px;
}

.flag rect {
  fill: rgba(255, 255, 255, 0.94);
}

.flag text {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.visa text {
  fill: #1746a2;
}

.master circle:first-of-type {
  fill: #eb001b;
}

.master circle:nth-of-type(2) {
  fill: #f79e1b;
  opacity: 0.9;
}

.master text {
  fill: #111;
  font-size: 9px;
}

.trust {
  display: grid;
  place-items: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.trust small {
  color: #898989;
  font-size: 0.7rem;
}

@media (max-width: 860px) {
  .home {
    padding: 34px 16px 82px;
  }

  .hero {
    margin-bottom: 34px;
  }

  .hero p {
    letter-spacing: 0.2rem;
  }

  .server-card {
    grid-template-columns: 84px 1fr;
    gap: 16px;
    padding: 18px;
  }

  .logo-tile {
    width: 78px;
    border-radius: 12px;
    font-size: 1.7rem;
  }

  .actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    min-width: 0;
  }

  .flow-card {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    border-radius: 26px;
    gap: 30px;
  }

  .recharge-flow {
    overflow: auto;
  }

  .recharge-flow .flow-card {
    min-height: auto;
  }

  .device-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .server-card {
    grid-template-columns: 1fr;
  }

  .server-copy h2 {
    flex-wrap: wrap;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .chat-panel,
  .wa-launcher {
    right: 16px;
  }

  .device-grid,
  .payments {
    grid-template-columns: 1fr;
  }

  .plan {
    grid-template-columns: 42px 1fr;
  }

  .plan strong {
    padding-right: 0;
  }

  .price {
    grid-column: 2;
    padding: 0;
    border-left: 0;
  }
}
