:root {
  --bg: #0a0a0f;
  --bg-elev: #12121a;
  --card: #16161f;
  --card-2: #1c1c28;
  --border: rgba(255,255,255,0.08);
  --text: #f2f2f7;
  --text-dim: #9a9aab;
  --text-faint: #63636f;
  --accent: #7c5cff;
  --accent-2: #ff5cad;
  --accent-3: #5ce1ff;
  --success: #3ddc97;
  --danger: #ff5c7c;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  font-synthesis: none;
}

* { box-sizing: border-box; }

/* ===== SCROLLBARS ===== */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255,255,255,0.06);
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 999px; }
::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  background-image: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  border: 2px solid var(--bg-elev);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(180deg, var(--accent-2), var(--accent));
  background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bg-glow {
  position: fixed;
  inset: -5%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(124,92,255,0.25), transparent 60%),
    radial-gradient(600px circle at 85% 20%, rgba(255,92,173,0.18), transparent 60%),
    radial-gradient(800px circle at 50% 100%, rgba(92,225,255,0.12), transparent 60%);
  animation: glowDrift 20s ease-in-out infinite;
}

@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1.5%, 2%); }
}

.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== TOPBAR ===== */
.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeSlideDown 0.6s ease both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  font-size: 1.1rem;
  color: var(--accent);
  display: inline-flex;
}

.brand-icon svg { width: 1em; height: 1em; }
.tm { font-size: 0.6em; vertical-align: super; color: var(--text-dim); }

.topbar-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

.topbar-badge i,
.topbar-badge svg { color: var(--accent-2); font-size: 0.75rem; width: 0.75em; height: 0.75em; }

/* ===== STAGE ===== */
.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 60px;
  min-height: calc(100vh - 160px);
  justify-content: center;
  animation: fadeSlideUp 0.6s ease 0.1s both;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--text-faint);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.back-link:hover { color: var(--text-dim); }

.back-link i,
.back-link svg {
  font-size: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CALCULATOR ===== */
.calculator {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calc-title {
  font-weight: 700;
  font-size: 1rem;
}

.calc-plan-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
}

.display {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 18px 16px;
  margin-bottom: 18px;
  text-align: right;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.display-history {
  font-size: 0.85rem;
  color: var(--text-faint);
  min-height: 1.1em;
}

.display-main {
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.display-main.pulse {
  animation: digitPulse 0.15s ease;
  transform-origin: right center;
}

@keyframes digitPulse {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.keypad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.key {
  border: none;
  border-radius: 14px;
  padding: 16px 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  background: var(--card-2);
  border: 1px solid var(--border);
  transition: transform 0.08s ease, filter 0.15s ease, background 0.15s ease;
}

.key:hover { filter: brightness(1.15); transform: translateY(-2px); }
.key:active { transform: scale(0.94); }

.key-num {
  background: rgba(255,255,255,0.04);
}

.key-fn {
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
}

.key-op {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  position: relative;
}

.key-equals {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--success), var(--accent-3));
  animation: equalsGlow 2.6s ease-in-out infinite;
}

.key-equals:hover {
  animation-play-state: paused;
}

@keyframes equalsGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); }
  50% { box-shadow: 0 0 16px 3px rgba(61,220,151,0.45); }
}

.calc-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5,5,10,0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--card-2), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px 28px;
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(.2,.9,.3,1.2);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { color: var(--text); filter: brightness(1.2); }

.modal-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 28px;
}

.modal-lock {
  font-size: 2rem;
  margin-bottom: 6px;
  color: var(--accent-2);
}

.modal-lock svg,
.modal-lock i {
  width: 1em;
  height: 1em;
}

.modal-overlay.open .modal-lock svg,
.modal-overlay.open .modal-lock i {
  animation: crownPop 0.5s cubic-bezier(.34,1.56,.64,1) 0.15s both;
}

@keyframes crownPop {
  0% { opacity: 0; transform: scale(0.4) rotate(-15deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.modal-head h2 {
  font-size: 1.6rem;
  margin: 6px 0 10px;
  letter-spacing: -0.02em;
}

.modal-head p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.section-title.plans-heading {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.plans-heading i { color: #ffd76a; font-size: 1em; }

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

.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-faint);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 6px 0 22px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.plan-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,0.32); border-color: rgba(255,255,255,0.16); }
.plan-card.featured:hover,
.plan-card.ultra-card:hover { border-color: rgba(255,255,255,0.24); }

.modal-overlay.open .plan-card {
  animation: planIn 0.45s cubic-bezier(.2,.8,.3,1) both;
}

.modal-overlay.open .plan-card:nth-child(1) { animation-delay: 0.08s; }
.modal-overlay.open .plan-card:nth-child(2) { animation-delay: 0.18s; }
.modal-overlay.open .plan-card:nth-child(3) { animation-delay: 0.28s; }

@keyframes planIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes planInFeatured {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(-8px); }
}

.plan-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(124,92,255,0.25);
}

.modal-overlay.open .plan-card.featured {
  animation-name: planInFeatured;
}

.plan-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  animation: ribbonGlow 2.4s ease-in-out infinite;
}

@keyframes ribbonGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,92,173,0.5); }
  50% { box-shadow: 0 0 12px 3px rgba(255,92,173,0.5); }
}

.plan-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.plan-price .currency {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}

.plan-price .cents {
  font-size: 1.1rem;
  font-weight: 600;
}

.plan-price .period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-faint);
}

.plan-tagline {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 18px;
  min-height: 2.4em;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.plan-features i,
.plan-features svg {
  margin-top: 2px;
  font-size: 0.8rem;
  width: 0.8em;
  height: 0.8em;
  flex-shrink: 0;
}

.plan-features li.yes i,
.plan-features li.yes svg { color: var(--success); }
.plan-features li.no {
  color: var(--text-faint);
}
.plan-features li.no i,
.plan-features li.no svg { color: var(--danger); opacity: 0.7; }

.plan-btn {
  margin-top: auto;
  border: none;
  border-radius: 12px;
  padding: 12px 0;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  transition: filter 0.15s ease, transform 0.08s ease;
}

.plan-card.featured .plan-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.plan-btn:hover { filter: brightness(1.15); }
.plan-btn:active { transform: scale(0.97); }

.modal-fineprint {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-faint);
  margin: 22px auto 0;
  max-width: 560px;
  line-height: 1.5;
}

.modal-later {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}
.modal-later:hover { color: var(--text-dim); }

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 18px;
  color: var(--text-faint);
  font-size: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; order: -1; }
  .modal-overlay.open .plan-card.featured { animation-name: planIn; }
  .modal { padding: 28px 18px 22px; }
}

@media (max-width: 420px) {
  .topbar { padding: 16px; }
  .topbar-badge { display: none; }
  .display-main { font-size: 2.1rem; }
  .key { padding: 14px 0; font-size: 1rem; }
}

/* shake animation for locked keys */
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.shake { animation: shake 0.4s; }

/* ===== PLAN TAG ===== */
.calc-plan-tag.plan-tag-free { color: var(--text-faint); border-color: var(--border); }
.calc-plan-tag.plan-tag-pro { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; }
.calc-plan-tag.plan-tag-ultra { color: #1a1206; background: linear-gradient(135deg, #ffd76a, #ff9d4d); border-color: transparent; font-weight: 800; }

/* ===== AD TICKER ===== */
.ad-ticker {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  color: var(--text-faint);
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  margin: -8px 0 14px;
  line-height: 1.4;
}
.ad-ticker i { color: var(--accent-2); flex-shrink: 0; }

/* ===== CALC ACTIONS ===== */
.calc-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.extra-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.extra-btn:hover { filter: brightness(1.2); transform: translateY(-1px); }
.extra-btn:active { transform: translateY(0) scale(0.96); }
.extra-btn[hidden] { display: none; }

.tagline-strip {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
  max-width: 340px;
}

/* ===== MODAL BODY GENERIC ===== */
#modalBody { display: flex; flex-direction: column; }

.alert-banner {
  background: rgba(255,92,124,0.12);
  border: 1px solid rgba(255,92,124,0.4);
  color: #ff9fb2;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 18px;
}

/* ===== PROCESSING SCREEN ===== */
.processing-screen {
  text-align: center;
  padding: 30px 10px 10px;
}
.processing-icon { font-size: 2.2rem; margin-bottom: 10px; color: var(--accent); }
.processing-icon .fa-credit-card { animation: cardPulse 1.4s ease-in-out infinite; }
@keyframes cardPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.processing-expr {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.progress-bar {
  width: 100%;
  max-width: 340px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  margin: 0 auto 14px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width 0.35s ease;
}
.checkout-fill {
  width: 100%;
  animation: checkoutSweep 1.4s ease-in-out infinite;
}
@keyframes checkoutSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.processing-status {
  font-size: 0.88rem;
  color: var(--text-dim);
  min-height: 1.3em;
}

/* ===== SECTION TITLES (ícone + rótulo, reutilizado nos cards da paywall) ===== */
.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.section-title i {
  color: var(--accent-2);
  font-size: 0.95em;
  width: 1.1em;
  text-align: center;
  flex-shrink: 0;
}
.section-title.centered { justify-content: center; }

.inline-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.inline-note i { color: var(--accent-2); font-size: 0.85em; }
.inline-note.centered { justify-content: center; text-align: center; }
.inline-note.muted { color: var(--text-faint); max-width: 420px; margin: 0 auto 22px; line-height: 1.5; }
.inline-note.muted i { color: var(--text-faint); }

/* ===== CENSORED RESULT ===== */
.censored-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 auto 8px;
  max-width: 420px;
}
.censored-expr { color: var(--text-dim); font-weight: 500; }
.censored-result-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5ch;
  padding: 2px 16px;
}
.censored-value {
  color: var(--text);
  filter: blur(7px);
  user-select: none;
  transition: filter 0.3s ease;
}
.censored-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  font-size: 0.95rem;
  background: rgba(10,10,15,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  backdrop-filter: blur(2px);
  animation: lockBreathe 2.4s ease-in-out infinite;
}
@keyframes lockBreathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* ===== URGENCY BANNER ===== */
.urgency-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(255,92,124,0.15), rgba(255,157,77,0.1));
  border: 1px solid rgba(255,92,124,0.35);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  animation: urgencyPulse 3s ease-in-out infinite;
}
@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,92,124,0); }
  50% { box-shadow: 0 0 24px 2px rgba(255,92,124,0.18); }
}
.urgency-banner .section-title { color: var(--accent-2); }
.urgency-banner .section-title i { color: var(--accent-2); }
.urgency-banner p { margin: 4px 0; font-size: 0.82rem; color: var(--text-dim); }
.urgency-timer {
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 4px 0;
}
.urgency-sub { font-size: 0.72rem !important; color: var(--text-faint) !important; }

/* ===== SMART ROUND CARD ===== */
.smart-round-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.smart-round-note { color: var(--text-faint); font-size: 0.75rem; margin: 6px 0 0; }

/* ===== USER COUNTER ===== */
.user-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  padding: 8px 14px;
  margin: 0 auto 20px;
  width: fit-content;
}
.user-counter i { color: var(--success); }
.user-counter::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(61,220,151,0.6);
  animation: liveDot 1.8s ease-in-out infinite;
}
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(61,220,151,0.55); }
  70% { box-shadow: 0 0 0 6px rgba(61,220,151,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); }
}

/* entrada escalonada dos blocos da paywall */
.urgency-banner { animation: fadeInUp 0.5s ease 0.05s both, urgencyPulse 3s ease-in-out 0.55s infinite; }
.smart-round-card { animation: fadeInUp 0.5s ease 0.12s both; }
.user-counter { animation: fadeInUp 0.5s ease 0.18s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PLAN EXTRAS ===== */
.plan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-faint);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
}
.mini-badge i { font-size: 0.85em; }
.plan-btn-disabled, .plan-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.plan-card.is-current { border-color: var(--success); }
.plan-price-old {
  color: var(--text-faint);
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.plan-save {
  font-size: 0.74rem;
  color: var(--success);
  font-weight: 700;
  margin-bottom: 14px;
}
.offer-ribbon { background: linear-gradient(135deg, #ff9d4d, var(--accent-2)); }
.ultra-card { border-color: rgba(255,157,77,0.4); }

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 18px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  font-size: 0.78rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.testimonial .stars { color: #ffb84d; font-size: 0.8rem; letter-spacing: 2px; }
.testimonial p {
  color: var(--text-dim);
  font-style: italic;
  margin: 8px 0;
  line-height: 1.4;
}
.testimonial span { color: var(--text-faint); font-style: normal; font-size: 0.72rem; }

/* ===== TERMS DETAILS ===== */
.terms-details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.terms-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.terms-details summary i { color: var(--accent-2); }
.terms-details summary::marker { color: var(--text-faint); }
.terms-details p { margin: 8px 0; line-height: 1.5; }
.terms-details ul { margin: 10px 0; padding-left: 18px; line-height: 1.6; }
.terms-details li { margin-bottom: 6px; }
.terms-details code {
  background: rgba(255,255,255,0.08);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--accent-3);
}
.terms-version {
  font-size: 0.7rem !important;
  color: var(--text-faint) !important;
  font-style: italic;
  margin-top: 14px !important;
}
.terms-details .modal-later { margin: 8px 0 0; }

.extra-copy {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-faint);
  margin: 2px 0;
}

/* ===== SUCCESS SCREEN ===== */
.success-screen { text-align: center; padding: 10px 6px; }
.success-icon {
  font-size: 2.8rem;
  margin-bottom: 6px;
  color: var(--success);
  animation: successPop 0.5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes successPop {
  0% { opacity: 0; transform: scale(0.4) rotate(-10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.success-screen h2 {
  font-size: 1.8rem;
  margin: 0 0 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.success-sub { color: var(--text-dim); margin: 0; }
.success-plan-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 4px 0 20px;
  color: var(--accent-3);
}
.success-result-label { color: var(--text-faint); font-size: 0.8rem; margin-bottom: 4px; }
.success-result { font-size: 2.4rem; font-weight: 800; margin-bottom: 20px; }
.success-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.lvl-green { color: var(--success); }
.lvl-red { color: var(--danger); }
.level-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.dot-green { background: var(--success); box-shadow: 0 0 0 3px rgba(61,220,151,0.2); }
.dot-red { background: var(--danger); box-shadow: 0 0 0 3px rgba(255,92,124,0.2); }
.success-spent {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.success-spent code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 6px;
}
.success-thanks {
  font-size: 0.78rem;
  color: var(--text-faint);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* ===== MINI MODAL (retenção / corporativo / histórico) ===== */
.mini-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5,5,10,0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mini-overlay.open { opacity: 1; pointer-events: auto; }
.mini-modal {
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, var(--card-2), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(.2,.9,.3,1.2);
}
.mini-overlay.open .mini-modal { transform: translateY(0) scale(1); }
.mini-modal h3 { margin: 0 0 10px; font-size: 1.15rem; }
.mini-modal p { color: var(--text-dim); font-size: 0.86rem; line-height: 1.5; margin: 6px 0; }
.mini-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.featured-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 0;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.featured-btn:hover { filter: brightness(1.15); }

.history-list { list-style: none; padding: 0; margin: 4px 0; text-align: left; max-height: 240px; overflow-y: auto; }
.history-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.history-list li:last-child { border-bottom: none; }
.history-empty { color: var(--text-faint); font-size: 0.85rem; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast i { color: var(--accent-3); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE (novos componentes) ===== */
@media (max-width: 720px) {
  .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .censored-box { font-size: 1.25rem; }
  .success-result { font-size: 1.8rem; }
  .urgency-timer { font-size: 1.6rem; }
}
