:root {
  --bg: #07080c;
  --bg2: #0e1118;
  --card: #12161f;
  --border: rgba(255,255,255,0.08);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.15);
  --red: #ef4444;
  --red-dim: rgba(239,68,68,0.15);
  --blue: #38bdf8;
  --gold: #fbbf24;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
button, input, select { font: inherit; }

.screen {
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  padding: 16px 16px 28px;
}

.bg-chart {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34,197,94,0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(56,189,248,0.08), transparent),
    linear-gradient(180deg, #07080c 0%, #0a0e14 100%);
  z-index: -2;
  pointer-events: none;
}
.bg-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(34,197,94,0.15) 28px, rgba(34,197,94,0.15) 29px),
    repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(255,255,255,0.04) 22px, rgba(255,255,255,0.04) 23px);
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.brand__logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff;
  box-shadow: 0 0 20px rgba(34,197,94,0.35);
  overflow: hidden;
  flex-shrink: 0;
}
.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand strong { font-size: 1rem; letter-spacing: 0.01em; line-height: 1.2; }
.brand span { display: block; font-size: 0.68rem; color: var(--green); margin-top: 2px; }
.page-lp .brand strong { font-size: 0.95rem; }

.hero-title {
  font-size: clamp(1.55rem, 6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 12px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.phone-mock {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 12px;
  margin: 0 auto 22px;
  max-width: 300px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}
.phone-mock__bar {
  height: 120px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, transparent 60%, rgba(7,8,12,0.9)),
    repeating-linear-gradient(90deg, #1a2330 0 8px, #15202b 8px 16px);
  position: relative;
  overflow: hidden;
}
.phone-mock__bar::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: 18%;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.phone-mock__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.phone-mock__btns span {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 10px 4px;
  border-radius: 8px;
}
.phone-mock__btns span:first-child { background: var(--green-dim); color: var(--green); }
.phone-mock__btns span:last-child { background: var(--red-dim); color: var(--red); }

.badge-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.badge {
  font-size: 0.68rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--muted);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s, opacity 0.12s;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  box-shadow: 0 8px 28px rgba(34,197,94,0.35);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  margin-top: 10px;
}
.btn--red {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}
.card h2 { font-size: 1.05rem; margin-bottom: 6px; }
.card p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  outline: none;
}
.field input:focus { border-color: rgba(34,197,94,0.5); }

.pix-box {
  text-align: center;
  padding: 16px;
}
.pix-box img {
  max-width: 220px;
  width: 100%;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
.pix-key {
  margin-top: 12px;
  padding: 10px;
  background: rgba(0,0,0,0.35);
  border-radius: 10px;
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--gold);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  z-index: 99;
  max-width: 90%;
}

/* App simulator */
.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #0a0c10;
  padding-bottom: 64px;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
}
.app-header__title { display: flex; align-items: center; gap: 8px; }
.app-header__title strong { font-size: 1rem; }
.app-header__title small { display: block; color: var(--green); font-size: 0.68rem; }
.candles-icon {
  width: 28px; height: 28px;
  display: flex; align-items: flex-end; gap: 2px;
}
.candles-icon i {
  display: block; width: 5px; background: var(--green); border-radius: 1px;
}
.candles-icon i:nth-child(1) { height: 10px; }
.candles-icon i:nth-child(2) { height: 18px; }
.candles-icon i:nth-child(3) { height: 14px; }

.app-controls {
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sel {
  background: #141820;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.78rem;
  width: 100%;
}
.pct-bar {
  margin: 10px 12px 6px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pct-bar button {
  flex: 0 0 auto;
  min-width: 44px;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #141820;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}
.pct-bar button.active {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
}

.status-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 14px 8px;
  font-size: 0.68rem;
  color: var(--muted);
}
.status-row .ativo { color: var(--blue); font-weight: 600; }
.status-row .modo { color: var(--green); }

.asset-tabs {
  display: flex;
  gap: 6px;
  padding: 0 12px 8px;
  overflow-x: auto;
}
.asset-tabs button {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.68rem;
  cursor: pointer;
}
.asset-tabs button.active {
  background: rgba(56,189,248,0.12);
  border-color: rgba(56,189,248,0.4);
  color: var(--blue);
}

.chart-wrap {
  flex: 1;
  min-height: 240px;
  margin: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0c1018;
  position: relative;
  overflow: hidden;
}
.chart-wrap canvas { width: 100%; height: 100%; display: block; }

.chart-tools {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  display: flex;
  gap: 4px;
}
.chart-tools button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(12, 16, 24, 0.85);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.chart-tools button:active { background: rgba(34,197,94,0.2); }
.price-tag {
  position: absolute;
  right: 8px;
  top: 40%;
  background: var(--green);
  color: #04140a;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
  transform: translateY(-50%);
}

.order-overlay {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
  display: none;
}
.order-overlay.is-on {
  display: block !important;
}
.order-overlay[hidden] {
  display: none !important;
}
.order-overlay__card {
  text-align: center;
  padding: 8px 14px 9px;
  border-radius: 12px;
  background: rgba(8, 12, 18, 0.92);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  min-width: 120px;
  white-space: nowrap;
}
.order-overlay__status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 3px;
}
.order-overlay__timer {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1.1;
}
.order-overlay__dir {
  margin-top: 3px;
  font-size: 0.65rem;
  font-weight: 700;
}
.order-overlay--alta .order-overlay__card {
  border-color: rgba(34,197,94,0.65);
  background: rgba(6, 22, 12, 0.94);
}
.order-overlay--alta .order-overlay__timer,
.order-overlay--alta .order-overlay__dir { color: #4ade80; }
.order-overlay--baixa .order-overlay__card {
  border-color: rgba(239,68,68,0.65);
  background: rgba(28, 8, 8, 0.94);
}
.order-overlay--baixa .order-overlay__timer,
.order-overlay--baixa .order-overlay__dir { color: #f87171; }

.entry-tag {
  position: absolute;
  right: 8px;
  z-index: 3;
  pointer-events: none;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  transform: translateY(-50%);
  white-space: nowrap;
}
.entry-tag[hidden] { display: none !important; }
.entry-tag--alta {
  background: #22c55e;
  color: #04140a;
}
.entry-tag--baixa {
  background: #ef4444;
  color: #fff;
}
.entry-line {
  position: absolute;
  left: 4px;
  right: 52px;
  height: 0;
  border-top: 1.5px dashed;
  z-index: 2;
  pointer-events: none;
  transform: translateY(-50%);
}
.entry-line[hidden] { display: none !important; }
.entry-line--alta { border-color: rgba(34,197,94,0.75); }
.entry-line--baixa { border-color: rgba(239,68,68,0.75); }

.manip-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.manip-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}
.manip-btn {
  border: none;
  border-radius: 12px;
  padding: 16px 8px;
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.manip-btn--alta {
  background: linear-gradient(180deg, #22c55e, #15803d);
  box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}
.manip-btn--baixa {
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  box-shadow: 0 6px 20px rgba(239,68,68,0.3);
}

.nav-bottom {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0d1118;
  border-top: 1px solid var(--border);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 20;
}
.nav-bottom a {
  text-align: center;
  font-size: 0.62rem;
  color: var(--muted);
  padding: 4px;
}
.nav-bottom a.active { color: var(--green); }

.broker-dd {
  position: relative;
}
.broker-dd__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #141820;
  color: var(--text);
  font-size: 0.78rem;
  cursor: pointer;
  text-align: left;
}
.broker-dd__btn img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  background: #0b0f14;
  flex-shrink: 0;
}
.broker-dd__btn span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.broker-dd__btn em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.7rem;
}
.broker-dd__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #12161f;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #22c55e #0a0e14;
}
.broker-dd__list::-webkit-scrollbar {
  width: 8px;
}
.broker-dd__list::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #0a0e14, #10151c);
  border-radius: 0 12px 12px 0;
  margin: 4px 0;
}
.broker-dd__list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4ade80, #16a34a);
  border-radius: 999px;
  border: 2px solid #0a0e14;
  box-shadow: 0 0 8px rgba(34,197,94,0.45);
}
.broker-dd__list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #86efac, #22c55e);
}
.broker-dd__list[hidden] { display: none !important; }
.broker-dd__list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.78rem;
  cursor: pointer;
  text-align: left;
}
.broker-dd__list button:hover,
.broker-dd__list button.is-active {
  background: rgba(34,197,94,0.1);
}
.broker-dd__list img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  background: #0b0f14;
  flex-shrink: 0;
}

.pct-custom {
  min-width: 88px !important;
  font-size: 0.62rem !important;
  color: var(--blue) !important;
  border-color: rgba(56,189,248,0.35) !important;
}
.pct-custom.active {
  background: rgba(56,189,248,0.15) !important;
  border-color: rgba(56,189,248,0.55) !important;
  color: var(--blue) !important;
}

.hist-list {
  padding: 8px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hist-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 40px 20px;
}
.hist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
}
.hist-item strong { display: block; font-size: 0.82rem; }
.hist-item small { display: block; font-size: 0.65rem; color: var(--muted); margin-top: 3px; }
.hist-item__time { text-align: right; font-size: 0.68rem; color: var(--muted); }
.hist-item__time strong { color: var(--text); font-size: 0.85rem; margin-top: 2px; }
.hist-item--alta { border-color: rgba(34,197,94,0.35); }
.hist-item--alta strong { color: #4ade80; }
.hist-item--baixa { border-color: rgba(239,68,68,0.35); }
.hist-item--baixa strong { color: #f87171; }

.cfg-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.cfg-color-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}
.cfg-color-row input[type="color"] {
  width: 56px;
  height: 36px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.cfg-preview {
  width: 18px;
  height: 56px;
  border-radius: 4px;
  background: #22c55e;
  box-shadow: 0 -8px 0 -6px currentColor, 0 8px 0 -6px currentColor;
}
.cfg-preview--down { background: #ef4444; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal[hidden] { display: none !important; }
.modal__panel {
  width: 100%;
  max-width: 360px;
  background: #12161f;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px 16px;
}
.modal__panel h2 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  text-align: center;
}
.modal__hint {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 14px;
}
.custom-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.custom-color-btn {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.custom-color-btn.is-on[data-dir="alta"] {
  border-color: rgba(34,197,94,0.55);
  color: #4ade80;
  background: rgba(34,197,94,0.12);
}
.custom-color-btn.is-on[data-dir="baixa"] {
  border-color: rgba(239,68,68,0.55);
  color: #f87171;
  background: rgba(239,68,68,0.12);
}
.custom-stage {
  position: relative;
  height: 340px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.12);
  background: #0c1018;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  touch-action: none;
  user-select: none;
  overflow: hidden;
}
.custom-candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: ns-resize;
  max-height: 300px;
}
.custom-candle__wick {
  width: 2px;
  background: currentColor;
  opacity: 0.85;
  flex-shrink: 0;
}
.custom-candle__wick--top,
.custom-candle__wick--bot { height: 16px; }
.custom-candle__body {
  width: 28px;
  height: 70px;
  max-height: 260px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: 0 0 18px rgba(34,197,94,0.25);
  flex-shrink: 0;
}
.custom-candle.is-red { color: #ef4444; }
.custom-candle.is-red .custom-candle__body { box-shadow: 0 0 18px rgba(239,68,68,0.25); }
.custom-candle.is-green { color: #22c55e; }
.custom-pct {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.plans-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.plan-card {
  --plan-bg: #0f131b;
  position: relative;
  display: block;
  padding: 12px 12px 11px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(22, 28, 40, 0.98), rgba(10, 13, 20, 0.98)) padding-box,
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(34, 197, 94, 0.75) 22%,
      rgba(251, 191, 36, 0.55) 48%,
      rgba(56, 189, 248, 0.65) 72%,
      rgba(255, 255, 255, 0.35) 100%
    ) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: planReflect 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.plan-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 32%);
  pointer-events: none;
  z-index: 0;
}
.plan-card > * { position: relative; z-index: 1; }
.plan-card:active { transform: scale(0.985); }
.plan-card--hot {
  background:
    linear-gradient(165deg, rgba(18, 32, 24, 0.98), rgba(10, 14, 18, 0.98)) padding-box,
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(34, 197, 94, 0.95) 28%,
      rgba(251, 191, 36, 0.8) 55%,
      rgba(34, 197, 94, 0.7) 78%,
      rgba(255, 255, 255, 0.45) 100%
    ) border-box;
}
.plan-card__tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 5px;
}
.plan-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 3px;
}
.plan-card em {
  display: block;
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}
.plan-card span {
  display: block;
  font-size: 0.72rem;
  color: #cbd5e1;
  line-height: 1.35;
  margin-bottom: 6px;
}
.plan-card .plan-card__note {
  display: block;
  font-size: 0.68rem;
  color: #86efac;
  margin-bottom: 10px;
  line-height: 1.3;
}
.plan-card b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #04120a;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  letter-spacing: 0.01em;
}
@keyframes planReflect {
  0%, 100% { background-position: 140% 0; }
  50% { background-position: -40% 0; }
}

.plans-pick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-pick {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.plan-pick.is-on,
.plan-pick:hover {
  border-color: rgba(34,197,94,0.45);
  background: rgba(34,197,94,0.08);
}
.plan-pick strong { display: block; font-size: 0.9rem; }
.plan-pick em { display: block; font-style: normal; color: var(--gold); font-weight: 800; margin: 2px 0; }
.plan-pick span { font-size: 0.7rem; color: var(--muted); }

.pix-key {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: rgba(0,0,0,0.35);
  border-radius: 10px;
  border: 1px dashed rgba(251,191,36,0.35);
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--gold);
  cursor: pointer;
  text-align: center;
}

.sub-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.sub-box p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.sub-box strong { color: var(--text); font-weight: 700; }
.sub-status { font-weight: 700 !important; justify-content: flex-start !important; }
.sub-status--ok { color: #4ade80 !important; }
.sub-status--off { color: #fbbf24 !important; }

.countdown {
  margin-top: 14px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.07);
  text-align: center;
}
.countdown__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 6px;
  font-weight: 700;
}
.countdown__value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 10px;
}
.countdown__value--life { color: #4ade80; margin-bottom: 0; }
.countdown__value--off { color: #fbbf24; margin-bottom: 0; }
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.countdown__grid div {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 4px;
}
.countdown__grid b {
  display: block;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1.1;
}
.countdown__grid span {
  display: block;
  margin-top: 3px;
  font-size: 0.62rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}
.menu-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

/* LP inicial — glitter + luzes verdes */
.page-lp {
  position: relative;
  overflow-x: hidden;
}
.page-lp .bg-chart {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(34,197,94,0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(34,197,94,0.08), transparent),
    linear-gradient(180deg, #05070a 0%, #070b10 50%, #050608 100%);
}
.lp-lights {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.lp-lights::before,
.lp-lights::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 2px;
  left: -20%;
  background: linear-gradient(90deg, transparent, rgba(74,222,128,0.15), rgba(34,197,94,0.85), rgba(74,222,128,0.2), transparent);
  box-shadow: 0 0 28px 4px rgba(34,197,94,0.45), 0 0 60px 8px rgba(34,197,94,0.2);
  animation: lp-light-pass 7s linear infinite;
}
.lp-lights::before { top: 22%; animation-duration: 8.5s; }
.lp-lights::after {
  top: 68%;
  animation-duration: 6.2s;
  animation-delay: -3s;
  opacity: 0.75;
  height: 3px;
}
@keyframes lp-light-pass {
  0% { transform: translateX(-30%) rotate(-8deg); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(30%) rotate(-8deg); opacity: 0; }
}

.lp-glitter {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.lp-glitter span {
  position: absolute;
  top: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #86efac 40%, transparent 70%);
  box-shadow: 0 0 6px rgba(134,239,172,0.8);
  animation-name: lp-glitter-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes lp-glitter-fall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translateY(110vh) translateX(30px) rotate(180deg); opacity: 0.15; }
}

.screen--lp { position: relative; z-index: 1; }
.lp-phones {
  margin: 8px auto 22px;
  max-width: 360px;
  text-align: center;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55)) drop-shadow(0 0 24px rgba(34,197,94,0.15));
}
.lp-phones img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.pay-secure {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,168,104,0.35);
  background: linear-gradient(135deg, rgba(0,168,104,0.14), rgba(0,0,0,0.25));
}
.pay-secure img {
  width: 96px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}
.pay-secure strong {
  display: block;
  font-size: 0.88rem;
  color: #86efac;
  margin-bottom: 2px;
}
.pay-secure span {
  font-size: 0.72rem;
  color: var(--muted);
}
.pay-secure b { color: #4ade80; }

.lp-how {
  margin: 28px 0 18px;
  padding-top: 8px;
}
.lp-how h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.lp-how__lead {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.lp-how__lead strong { color: #e2e8f0; font-weight: 700; }
.lp-how__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.lp-how__steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lp-how__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
.lp-how__dot--up { background: #22c55e; color: #22c55e; }
.lp-how__dot--down { background: #ef4444; color: #ef4444; }
.lp-how__dot--mail { background: #38bdf8; color: #38bdf8; }
.lp-how__steps strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.lp-how__steps span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.lp-how__cta {
  font-size: 1rem;
  font-weight: 800;
  color: #4ade80;
  margin: 6px 0 18px;
  letter-spacing: 0.01em;
}
.lp-faq {
  margin-bottom: 16px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
}
.lp-faq h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.lp-faq p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
.lp-faq b { color: #4ade80; }
.btn--tg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #229ed9, #1d8fc4);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.28);
}
.btn--tg:active { transform: scale(0.98); opacity: 0.95; }

.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 0 14px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.refund-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 8px;
  cursor: pointer;
}
.refund-check input { margin-top: 2px; accent-color: var(--gold); }

.loading-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.spinner {
  width: 48px; height: 48px;
  border: 3px solid rgba(34,197,94,0.2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.load-log {
  margin-top: 24px;
  width: 100%;
  text-align: left;
  font-size: 0.72rem;
  color: var(--muted);
  min-height: 120px;
  font-family: ui-monospace, monospace;
}
.load-log div { margin-bottom: 4px; opacity: 0; animation: fadeIn 0.4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.admin-table th, .admin-table td { padding: 8px 6px; border-bottom: 1px solid var(--border); text-align: left; }
.admin-table th { color: var(--muted); font-weight: 600; }
.st-pending { color: var(--gold); }
.st-approved { color: var(--green); }
.st-rejected { color: var(--red); }
.mini-btn {
  padding: 6px 10px; border-radius: 8px; border: none; font-size: 0.68rem; font-weight: 700; cursor: pointer; margin: 2px;
}
.mini-btn--ok { background: var(--green); color: #fff; }
.mini-btn--no { background: var(--red); color: #fff; }
