/* =========================================================
   BOT TRADE — Site institucional (estático)
   Paleta: fundo preto/azul-marinho, azul neon, vermelho,
   verde (positivo), branco/cinza.
   ========================================================= */

:root {
  --bg: #04070f;
  --bg-2: #071022;
  --navy: #081528;
  --panel: #0a1930;
  --panel-2: #0d2036;
  --line: #16324e;

  --neon: #22d3ee;         /* azul neon */
  --neon-2: #38bdf8;       /* azul claro */
  --neon-soft: #9be7ff;
  --red: #f43f5e;          /* vermelho */
  --green: #34d399;        /* verde positivo */
  --amber: #f59e0b;

  --text: #e8f1f7;
  --muted: #93a9bd;
  --muted-2: #6f8698;

  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1180px;

  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --glow-neon: 0 0 22px rgba(34, 211, 238, .35);
  --glow-green: 0 0 18px rgba(52, 211, 153, .3);
  --glow-red: 0 0 18px rgba(244, 63, 94, .3);

  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Backgrounds (moving grid + glow) ---------- */
.bg-grid {
  position: fixed;
  inset: -20% -20% -20% -20%;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  animation: grid-pan 26s linear infinite;
}
@keyframes grid-pan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 46px 92px, 46px 92px; }
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% -5%, rgba(34, 211, 238, .18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(56, 189, 248, .1), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(129, 40, 90, .12), transparent 70%);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 92px 0; position: relative; }

/* ---------- Typography helpers ---------- */
.mono { font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.neon { color: var(--neon); text-shadow: 0 0 18px rgba(34, 211, 238, .5); }

.kicker {
  display: inline-block;
  font: 700 .72rem/1 ui-monospace, monospace;
  letter-spacing: .18em;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.section-head .lead { color: var(--muted); margin: 0; font-size: 1.02rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 7, 15, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(4, 7, 15, .9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }

/* Logo oficial (PNG). Proporcao preservada com height + width:auto. */
.brand-logo {
  display: block;
  height: 52px;          /* header: ~46-56px */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(244, 63, 94, .28));
}
.brand-logo--footer { height: 72px; }   /* footer: ~60-80px */

.main-nav { display: flex; gap: 26px; margin-left: 8px; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .93rem;
  padding: 6px 2px;
  position: relative;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--neon);
  box-shadow: var(--glow-neon);
  transition: right .25s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: .9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 26px; font-size: .98rem; }

.btn-primary {
  background: linear-gradient(180deg, #22d3ee, #0ea5c9);
  color: #02121a;
  box-shadow: 0 8px 24px rgba(34, 211, 238, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(34, 211, 238, .45), var(--glow-neon); }

.btn-ghost {
  background: rgba(255, 255, 255, .02);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon-soft); box-shadow: var(--glow-neon); transform: translateY(-2px); }

.btn-header { margin-left: auto; padding: 11px 18px; font-size: .8rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: clamp(70px, 11vw, 130px) 0 80px; position: relative; }
.hero-inner { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 .72rem/1 ui-monospace, monospace;
  letter-spacing: .16em;
  color: var(--neon-soft);
  background: rgba(34, 211, 238, .07);
  border: 1px solid rgba(34, 211, 238, .28);
  padding: 9px 15px;
  border-radius: 99px;
  margin-bottom: 26px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: var(--glow-green);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.78); } }

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 6.4vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 900;
}
.hero-sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); max-width: 640px; margin: 0 auto 34px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  list-style: none;
  margin: 62px auto 0;
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(13, 32, 54, .6), rgba(8, 21, 40, .4));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 760px;
}
.hero-stats li { flex: 1 1 180px; display: flex; flex-direction: column; align-items: center; padding: 6px 10px; }
.stat-num { font: 900 1.9rem/1 ui-monospace, monospace; color: var(--neon); text-shadow: 0 0 20px rgba(34,211,238,.4); }
.stat-label { color: var(--muted); font-size: .82rem; margin-top: 8px; text-align: center; }

/* =========================================================
   TRADING ROOM
   ========================================================= */
.trading-room { border-top: 1px solid var(--line); }
.tr-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: stretch; }

.tr-panel {
  background: linear-gradient(160deg, var(--panel-2), var(--navy));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 0 60px rgba(10, 60, 92, .25);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.tr-panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}
.tr-dot { width: 11px; height: 11px; border-radius: 50%; }
.tr-dot.red { background: var(--red); } .tr-dot.amber { background: var(--amber); } .tr-dot.green { background: var(--green); }
.tr-panel-title { margin-left: 8px; font: 700 .7rem/1 ui-monospace, monospace; letter-spacing: .16em; color: var(--neon-soft); }

.tr-metrics { list-style: none; margin: 0; padding: 8px 16px; }
.tr-metrics li {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 4px; border-bottom: 1px dashed rgba(22, 50, 78, .8);
}
.tr-metrics li:last-child { border-bottom: 0; }
.m-label { color: var(--muted); font-size: .88rem; }
.m-value { font-family: ui-monospace, monospace; font-weight: 800; font-size: .95rem; }
.m-value.pos { color: var(--green); text-shadow: var(--glow-green); }
.m-value.neg { color: var(--red); text-shadow: var(--glow-red); }
.m-value.warn { color: var(--amber); }

.tr-panel-foot {
  margin-top: auto; padding: 14px 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: rgba(0, 0, 0, .2);
}
.pulse-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 .72rem/1 ui-monospace, monospace; letter-spacing: .12em;
  color: var(--green); background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .35);
  padding: 7px 12px; border-radius: 99px;
}
.pulse-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: var(--glow-green); animation: pulse 1.6s ease-in-out infinite; }

.tr-copy h3 { margin: 4px 0 18px; font-size: 1.35rem; }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 900; color: #02121a;
  background: linear-gradient(180deg, var(--neon), #0ea5c9);
  box-shadow: var(--glow-neon);
}
.launch-note { margin: 12px 0 0; }
.launch-note .mono { color: var(--neon-soft); }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.how { border-top: 1px solid var(--line); }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: linear-gradient(170deg, rgba(12, 30, 52, .8), rgba(7, 16, 34, .6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .22s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .45); box-shadow: var(--shadow), var(--glow-neon); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 1.6rem; margin-bottom: 12px; filter: drop-shadow(0 0 8px rgba(34,211,238,.35)); }
.card h3 { margin: 0 0 9px; font-size: 1.06rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* =========================================================
   SOBRE
   ========================================================= */
.about { border-top: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.about-copy h2 { margin: 0 0 16px; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.15; }
.about-copy p { color: var(--muted); margin: 0 0 14px; }
.about-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.about-tags span {
  font: 700 .74rem/1 ui-monospace, monospace; letter-spacing: .06em;
  color: var(--neon-soft); background: rgba(34, 211, 238, .07);
  border: 1px solid rgba(34, 211, 238, .28);
  padding: 9px 13px; border-radius: 99px;
}

.about-card {
  background: linear-gradient(160deg, var(--panel-2), var(--navy));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow), inset 0 0 50px rgba(10, 60, 92, .22);
}
.ac-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed rgba(22, 50, 78, .8); }
.ac-row span { color: var(--muted); font-size: .9rem; }
.ac-row b { color: var(--neon); font-size: .96rem; }
.ac-bar { height: 7px; border-radius: 99px; background: rgba(22, 50, 78, .9); margin: 16px 0; overflow: hidden; }
.ac-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--neon), #0ea5c9); box-shadow: var(--glow-neon); border-radius: 99px; }
.ac-row.small { border-bottom: 0; }

/* =========================================================
   CONTEÚDO / REDES SOCIAIS
   ========================================================= */
.content-social { border-top: 1px solid var(--line); }
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; }
.social-card {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(170deg, rgba(12, 30, 52, .8), rgba(7, 16, 34, .6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none; color: var(--text);
  transition: transform .22s ease, border-color .25s ease, box-shadow .25s ease;
}
.social-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); }
.social-card.instagram .social-icon { color: #f472b6; box-shadow: inset 0 0 22px rgba(244, 114, 182, .18); }
.social-card.youtube .social-icon { color: #f43f5e; box-shadow: inset 0 0 22px rgba(244, 63, 94, .18); }
.social-text { display: flex; flex-direction: column; }
.social-text b { font-size: 1.05rem; }
.social-text small { color: var(--muted); }
.social-arrow { margin-left: auto; color: var(--muted); font-size: 1.3rem; transition: transform .2s ease, color .2s ease; }
.social-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .45); box-shadow: var(--shadow), var(--glow-neon); }
.social-card:hover .social-arrow { transform: translateX(5px); color: var(--neon); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final { border-top: 1px solid var(--line); }
.cta-inner {
  text-align: center;
  background: linear-gradient(160deg, rgba(13, 32, 54, .85), rgba(6, 14, 28, .7));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(36px, 6vw, 66px) 26px;
  box-shadow: var(--shadow), inset 0 0 70px rgba(34, 211, 238, .08);
}
.cta-inner h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
.cta-inner p { color: var(--muted); margin: 0 0 26px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); background: rgba(3, 6, 13, .7); padding: 54px 0 28px; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-brand p { margin: 14px 0 0; max-width: 320px; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-social a { color: var(--muted); text-decoration: none; font-size: .92rem; transition: color .2s ease; width: fit-content; }
.footer-nav a:hover, .footer-social a:hover { color: var(--neon); }

.risk-block {
  margin-top: 40px;
  padding: 18px 20px;
  border: 1px solid rgba(244, 63, 94, .28);
  border-left: 3px solid var(--red);
  background: rgba(244, 63, 94, .05);
  border-radius: var(--radius-sm);
}
.risk-block p { margin: 0; color: #d9c6cb; font-size: .85rem; line-height: 1.7; }

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* =========================================================
   ANIMAÇÕES
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 980px) {
  .tr-layout { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 12, 24, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px 22px 18px;
    transform: translateY(-130%);
    transition: transform .3s ease;
    margin-left: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(22, 50, 78, .6); }
  .main-nav a::after { display: none; }

  .brand-logo { height: 46px; }
  .brand-logo--footer { height: 64px; }

  .nav-toggle { display: flex; }
  .btn-header { display: none; }

  .section { padding: 66px 0; }
  .hero { padding: 56px 0 60px; }
  .hero-stats { gap: 8px; padding: 16px; }
  .hero-stats li { flex: 1 1 100%; }
  .stat-num { font-size: 1.6rem; }

  .social-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-actions .btn { width: 100%; }
  .brand-logo { height: 42px; }
  .brand-logo--footer { height: 58px; }
}
