:root {
  --bg: #0a0a0a;
  --card: rgba(0, 0, 0, 0.50);
  --card-hover: rgba(0, 0, 0, 0.60);
  --border: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #e4e4e4;
  --accent: rgba(0, 0, 0, 0.38);
  --accent-light: #e8e8e8;
  --accent-soft: rgba(0, 0, 0, 0.30);
  --ok: #3dd68c;
  --warn: #f39c12;
  --warn-soft: rgba(243, 156, 18, 0.15);
  --fundo: url("img/fundo-utopia.png");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--bg);
  background-image: var(--fundo);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0.16) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.wrap-wide {
  max-width: 920px;
}

header {
  text-align: center;
  border: 1px solid var(--border);
  padding: 24px 20px;
  margin-bottom: 28px;
  background: var(--card);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.logo {
  display: block;
  width: min(340px, 82vw);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

header h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

header p {
  color: var(--text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.intro {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}

.intro strong { color: #fff; }

section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

h3 {
  font-size: 1rem;
  margin: 18px 0 10px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

p, li {
  color: var(--text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
p + p { margin-top: 10px; }

ul, ol {
  margin: 8px 0 0 20px;
}

li + li { margin-top: 7px; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: var(--accent-soft);
  color: var(--accent-light);
  border: 1px solid var(--border);
}

.badge-ok {
  background: rgba(61, 214, 140, 0.15);
  color: var(--ok);
  border-color: rgba(61, 214, 140, 0.25);
}

.badge-accent {
  background: var(--accent-soft);
  color: var(--accent-light);
}

.badge-warn {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: rgba(243, 156, 18, 0.25);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

th { color: #fff; font-weight: 600; }
td { color: var(--text); }

.preco-destaque {
  margin: 14px 0 20px;
  padding: 2px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(183, 28, 28, 0.28) 0%, rgba(0, 0, 0, 0.38) 100%);
  border: 1px solid rgba(196, 30, 30, 0.5);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

.tabela-preco {
  margin-top: 0;
  font-size: 1rem;
}

.tabela-preco th {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.28);
  padding: 12px 16px;
}

.tabela-preco td {
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
}

.tabela-preco .preco-valor {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-align: right;
  white-space: nowrap;
}

.tabela-preco tbody tr:last-child td {
  border-bottom: none;
}

.note {
  background: rgba(0, 0, 0, 0.16);
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.note strong { color: #fff; }

.btn-wrap {
  margin-top: 24px;
  text-align: center;
}

.btn {
  display: inline-block;
  background: var(--accent);
  border: 1px solid var(--border);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.btn:hover {
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--card-hover);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(255, 255, 255, 0.22);
}

.header-actions {
  margin-top: 16px;
  margin-bottom: 0;
}

.btn-wrap.buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-discord {
  background: #5865F2;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752c4;
}

.btn-home {
  background: var(--card-hover);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-home:hover {
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-hotmart {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-hotmart:hover {
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(255, 255, 255, 0.25);
}

.cupom-wrap {
  margin: 8px 0 22px;
}

.video-wrap {
  margin: 4px 0 20px;
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-legenda {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.cupom-card {
  display: flex;
  align-items: stretch;
  width: min(820px, 100%);
  margin: 0 auto;
  min-height: 96px;
  border: 2px solid rgba(180, 30, 30, 0.75);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(20, 0, 0, 0.58) 100%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
}

.cupom-card-main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  min-width: 0;
}

.cupom-logo {
  flex-shrink: 0;
  width: 120px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.cupom-info {
  text-align: left;
  min-width: 0;
}

.cupom-titulo {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  margin-bottom: 8px;
  line-height: 1.3;
}

.cupom-desconto {
  display: inline-block;
  background: linear-gradient(180deg, #b91c1c 0%, #7f1d1d 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 120, 120, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.cupom-divider {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  border-left: 2px dashed rgba(255, 255, 255, 0.25);
  border-right: 2px dashed rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.22);
}

.cupom-card-code {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-width: 150px;
}

.cupom-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.cupom-codigo {
  display: inline-block;
  padding: 6px 16px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
  border: 2px solid rgba(180, 30, 30, 0.65);
  border-radius: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cupom-card {
    flex-direction: column;
    min-height: 0;
  }

  .cupom-card-main {
    flex-direction: column;
    text-align: center;
    padding: 16px 16px 12px;
    gap: 10px;
  }

  .cupom-info {
    text-align: center;
  }

  .cupom-divider {
    width: 100%;
    height: 28px;
    border-left: none;
    border-right: none;
    border-top: 2px dashed rgba(255, 255, 255, 0.25);
    border-bottom: 2px dashed rgba(255, 255, 255, 0.25);
  }

  .cupom-card-code {
    width: 100%;
    padding: 12px 16px 16px;
  }
}

.link-ferramenta {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, transform 0.15s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.link-ferramenta:hover {
  background: rgba(0, 0, 0, 0.48);
  transform: translateY(-1px);
  color: #fff;
}

.ferramenta-com-logo {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 4px;
}

.logo-echo {
  flex-shrink: 0;
  width: 120px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.ferramenta-com-logo-texto {
  flex: 1;
  min-width: 0;
}

.ferramenta-com-logo-texto p:first-child {
  margin-top: 0;
}

@media (max-width: 600px) {
  .ferramenta-com-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-echo {
    width: 100px;
  }
}

footer {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

a {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

a:hover { color: #fff; }

strong { color: #fff; }

@media (max-width: 600px) {
  .logo {
    width: min(280px, 88vw);
  }

  header h1 {
    font-size: 1.45rem;
  }

  section {
    padding: 18px 16px;
  }
}
