/* ── MOLT Scanner — style.css ───────────────────────────────────────── */
/* Tema: Preto + Roxo Neon (estilo Solana)                              */
/* Edite as variáveis em :root para mudar o tema inteiro                */

:root {
  --bg:          #08080f;
  --bg-card:     #0e0e1a;
  --bg-card-h:   #131320;
  --border:      #1e1e35;
  --purple:      #a855f7;
  --purple-dim:  #7c3aed;
  --purple-glow: rgba(168,85,247,.25);
  --green:       #22c55e;
  --red:         #ef4444;
  --text:        #f1f5f9;
  --muted:       #64748b;
  --font:        'Inter', sans-serif;
  --mono:        'JetBrains Mono', monospace;
  --radius:      12px;
  --radius-lg:   20px;
  --ease:        0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.purple { color: var(--purple); }

/* ── Canvas de Candles ──────────────────────────────────────────────── */
#candles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .18;
}

/* ── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(8,8,15,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 1.2rem; font-weight: 900; letter-spacing: .05em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .9rem; color: var(--muted); transition: color var(--ease); }
.nav-links a:hover { color: var(--text); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), opacity var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 24px var(--purple-glow);
}
.btn-outline { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn-sm { padding: .45rem 1.1rem; font-size: .82rem; }
.w-full { width: 100%; text-align: center; display: block; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  background: radial-gradient(ellipse at 50% 40%, rgba(124,58,237,.12) 0%, transparent 65%);
}
.hero-content { max-width: 820px; }

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(168,85,247,.1);
  border: 1px solid rgba(168,85,247,.3);
  color: var(--purple);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,85,247,.4); }
  50% { box-shadow: 0 0 0 8px rgba(168,85,247,0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Alert Preview */
.alert-preview {
  margin: 3rem auto 0;
  max-width: 600px;
  background: rgba(14,14,26,.9);
  border: 1px solid rgba(168,85,247,.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 0 40px rgba(168,85,247,.1);
}
.alert-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ef4444;
  margin-top: 5px;
  flex-shrink: 0;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.alert-header { font-size: .8rem; font-weight: 700; color: var(--purple); margin-bottom: .4rem; letter-spacing: .05em; }
.alert-body { font-size: .85rem; color: var(--text); margin-bottom: .4rem; }
.alert-footer { font-size: .78rem; color: var(--muted); }
.alert-footer a { color: var(--purple); }

/* ── Stats Bar ──────────────────────────────────────────────────────── */
.stats-bar {
  position: relative; z-index: 1;
  display: flex; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(14,14,26,.8);
}
.stat-card {
  flex: 1; min-width: 130px;
  display: flex; flex-direction: column; align-items: center;
  padding: 1.75rem 1rem; gap: .35rem;
  border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-number { font-size: 2rem; font-weight: 800; }
.stat-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ── Section Shared ─────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  background: rgba(168,85,247,.12);
  color: var(--purple);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .5rem; }
.section-sub { color: var(--muted); font-size: .95rem; }

/* ── Features ───────────────────────────────────────────────────────── */
.features { position: relative; z-index: 1; padding: 6rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.feature-card:hover {
  border-color: var(--purple-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--purple-glow);
}
.feature-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.feature-tag {
  display: inline-block;
  background: rgba(168,85,247,.1);
  color: var(--purple);
  font-size: .72rem; font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
}

/* ── Plans ──────────────────────────────────────────────────────────── */
.plans {
  position: relative; z-index: 1;
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(168,85,247,.04), transparent);
}
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1050px; margin: 0 auto 1.5rem; }
.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color var(--ease);
}
.plan-premium { border-color: var(--purple-dim); box-shadow: 0 0 40px rgba(168,85,247,.12); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--purple); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em;
  padding: .3rem .9rem; border-radius: 50px; white-space: nowrap;
}
.plan-tier { font-size: 1.1rem; font-weight: 800; letter-spacing: .1em; }
.plan-hold { font-size: .9rem; color: var(--muted); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.plan-features li { font-size: .88rem; }
.plan-features .no { color: var(--muted); }
.plans-note { text-align: center; font-size: .85rem; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ── Live Feed ──────────────────────────────────────────────────────── */
.live-feed { position: relative; z-index: 1; padding: 5rem 1.5rem; max-width: 860px; margin: 0 auto; }
.feed-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feed-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  animation: slide-in .4s ease both;
}
.feed-item:last-child { border-bottom: none; }
@keyframes slide-in { from{opacity:0;transform:translateX(-8px)} to{opacity:1;transform:none} }
.feed-time { font-family: var(--mono); font-size: .72rem; color: var(--muted); min-width: 46px; }
.feed-token { font-family: var(--mono); font-size: .82rem; color: var(--purple); font-weight: 700; min-width: 70px; }
.feed-text { font-size: .88rem; flex: 1; }
.feed-badge { font-size: .65rem; font-weight: 800; letter-spacing: .08em; padding: .2rem .6rem; border-radius: 50px; }
.feed-badge.premium { background: rgba(168,85,247,.15); color: var(--purple); border: 1px solid rgba(168,85,247,.3); }

/* ── Roadmap ────────────────────────────────────────────────────────── */
.roadmap { position: relative; z-index: 1; padding: 6rem 1.5rem; max-width: 1000px; margin: 0 auto; }
.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.roadmap-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; opacity: .5;
}
.roadmap-item.done { opacity: 1; border-color: var(--green); }
.roadmap-item.active { opacity: 1; border-color: var(--purple-dim); box-shadow: 0 0 24px rgba(168,85,247,.1); }
.rm-check { font-size: 1.5rem; margin-bottom: .5rem; }
.rm-phase { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-bottom: .4rem; }
.rm-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.rm-desc { font-size: .88rem; color: var(--muted); }

/* ── CTA Final ──────────────────────────────────────────────────────── */
.cta-final {
  position: relative; z-index: 1;
  text-align: center; padding: 6rem 1.5rem;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,58,237,.1) 0%, transparent 70%);
}
.cta-final h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; margin-bottom: .75rem; }
.cta-final p { color: var(--muted); margin-bottom: 2rem; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 3rem 1.5rem; }
.footer-content { max-width: 900px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 1rem; }
.footer-brand { font-size: 1.2rem; font-weight: 800; letter-spacing: .05em; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: .9rem; transition: color var(--ease); }
.footer-links a:hover { color: var(--purple); }
.footer-ca { font-family: var(--mono); font-size: .75rem; color: var(--muted); word-break: break-all; }
.footer-ca code { color: var(--purple); }
.footer-disclaimer { font-size: .78rem; color: var(--muted); }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.25rem; }
  .nav-links a:not(.btn) { display: none; }
  .stats-bar { flex-wrap: wrap; }
  .stat-card { min-width: 45%; border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── Modal ──────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fade-in .2s ease;
}
.modal-overlay.open { display: flex; }
@keyframes fade-in { from{opacity:0} to{opacity:1} }

.modal {
  background: #0e0e1a;
  border: 1px solid rgba(168,85,247,.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 0 60px rgba(168,85,247,.2);
  animation: slide-up .25s ease;
}
@keyframes slide-up { from{transform:translateY(20px);opacity:0} to{transform:none;opacity:1} }

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--muted); font-size: 1.1rem;
  cursor: pointer; transition: color var(--ease);
}
.modal-close:hover { color: var(--text); }

.modal-icon { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; }
.modal-title { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: .4rem; }
.modal-sub { color: var(--muted); font-size: .9rem; text-align: center; margin-bottom: 1.75rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .85rem; font-weight: 600; }
.form-group input {
  background: #0a0a14;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: .95rem;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color var(--ease);
}
.form-group input:focus { border-color: var(--purple); }
.form-group input::placeholder { color: var(--muted); }
.form-hint { font-size: .78rem; color: var(--muted); }
.form-hint a { color: var(--purple); }

.modal-disclaimer { font-size: .75rem; color: var(--muted); text-align: center; margin-top: .75rem; }

/* Loading */
.modal-loading { text-align: center; padding: 2rem 0; }
.spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-loading p { font-weight: 600; margin-bottom: .4rem; }
.modal-loading span { font-size: .85rem; color: var(--muted); }

/* Result */
.modal-result { text-align: center; padding: 1rem 0; }
.result-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal-result h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.modal-result p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.result-info { font-size: .88rem !important; }
.result-alert-preview {
  background: rgba(168,85,247,.08);
  border: 1px solid rgba(168,85,247,.2);
  border-radius: var(--radius);
  padding: 1rem; font-size: .82rem;
  text-align: left; line-height: 1.7;
  margin-bottom: 1.25rem;
}
.modal-result.success h2 { color: var(--green); }
.modal-result.warning h2 { color: #f59e0b; }
.modal-result.error h2 { color: var(--red); }

/* ── Steps do Modal ─────────────────────────────────────────────────── */
.steps-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }

.step-item {
  display: flex; gap: 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--ease);
}
.step-item.active { border-color: var(--purple); background: rgba(168,85,247,.05); }
.step-item.locked { opacity: .4; pointer-events: none; }
.step-item.completed { border-color: var(--green); }

.step-number {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-item.locked .step-number { background: var(--border); }
.step-item.completed .step-number { background: var(--green); }

.step-content { flex: 1; }
.step-title { font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.step-desc { font-size: .83rem; color: var(--muted); }

/* ── Como Funciona ──────────────────────────────────────────────────── */
.how-it-works {
  position: relative; z-index: 1;
  padding: 6rem 1.5rem;
  background: linear-height(180deg, transparent, rgba(168,85,247,.04), transparent);
  max-width: 900px;
  margin: 0 auto;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), transparent);
}
.how-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem 1.5rem 0;
  position: relative;
}
.how-step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}
.how-step-body { padding-top: .5rem; }
.how-step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.how-step-desc { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.how-step-desc strong { color: var(--text); }
.how-step-desc a { color: var(--purple); }

/* ── Instruções no Modal ────────────────────────────────────────────── */
.modal-instructions {
  background: rgba(168,85,247,.07);
  border: 1px solid rgba(168,85,247,.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.modal-instructions-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: .75rem;
  letter-spacing: .03em;
}
.modal-instruction-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--text);
  margin-bottom: .6rem;
  line-height: 1.5;
}
.modal-instruction-item:last-child { margin-bottom: 0; }
.instr-num {
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
