/* Marketing — home, conta, baixar (não altera o painel /app/) */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --m-ink: #061018;
  --m-navy: #0a1c2e;
  --m-panel: rgba(12, 36, 58, 0.72);
  --m-cyan: #2ec4ff;
  --m-cyan-deep: #0a9fd4;
  --m-mint: #3ecf8e;
  --m-text: #f2f7fb;
  --m-muted: #9eb6cb;
  --m-line: rgba(255, 255, 255, 0.12);
  --m-warn: #ff8a8a;
  --m-radius: 18px;
  --m-font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --m-display: "Sora", "Segoe UI", sans-serif;
}

body.mkt {
  margin: 0;
  min-height: 100vh;
  font-family: var(--m-font);
  color: var(--m-text);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(46, 196, 255, 0.28), transparent 55%),
    radial-gradient(700px 480px at -5% 40%, rgba(62, 207, 142, 0.12), transparent 50%),
    linear-gradient(165deg, #050d16 0%, #0c2438 42%, #081824 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.mkt a { color: var(--m-cyan); }
body.mkt a:hover { color: #7adbff; }

.mkt-ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.mkt-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.mkt-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 0 4px;
}

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

.mkt-brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mkt-brand:hover img {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 34px rgba(46, 196, 255, 0.25);
}

.mkt-brand-name {
  font-family: var(--m-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mkt-brand-name small {
  display: block;
  font-family: var(--m-font);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--m-muted);
  letter-spacing: 0;
}

.mkt-nav-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mkt-nav-links a {
  text-decoration: none;
  color: var(--m-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.mkt-nav-links a:hover {
  color: var(--m-text);
  background: rgba(255, 255, 255, 0.06);
}

/* —— Home hero —— */
.mkt-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px 32px;
  align-items: center;
  padding: 12px 0 20px;
  min-height: 0;
}

.mkt-hero-copy {
  animation: mktRise 0.7s ease both;
}

.mkt-kicker {
  margin: 0 0 14px;
  color: var(--m-cyan);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mkt-hero h1 {
  margin: 0 0 16px;
  font-family: var(--m-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.mkt-hero .mkt-lead {
  margin: 0;
  max-width: 34rem;
  color: #d5e5f3;
  font-size: 1.08rem;
}

.mkt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--m-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--m-text);
  text-decoration: none;
  font-family: var(--m-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mkt-btn:hover {
  transform: translateY(-2px);
  color: var(--m-text);
}

.mkt-btn-download {
  background: linear-gradient(135deg, #3ad0ff 0%, #1aa8e0 55%, #0f8fc4 100%);
  color: #041018 !important;
  border-color: transparent;
  box-shadow:
    0 12px 30px rgba(46, 196, 255, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  animation: mktPulse 2.8s ease-in-out infinite;
  font-size: 1.08rem;
  padding: 16px 26px;
}

.mkt-btn-download:hover {
  box-shadow:
    0 16px 36px rgba(46, 196, 255, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  color: #041018 !important;
}

.mkt-btn-download .mkt-btn-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.mkt-btn-ghost {
  background: transparent;
}

.mkt-btn-soft {
  background: var(--m-panel);
  backdrop-filter: blur(8px);
}

.mkt-hero-visual {
  position: relative;
  min-height: 260px;
  animation: mktFade 1s ease 0.15s both;
}

.mkt-hero-stage {
  position: absolute;
  inset: 8% 4% 6% 8%;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(18, 52, 82, 0.9), rgba(8, 24, 40, 0.95)),
    radial-gradient(circle at 70% 20%, rgba(46, 196, 255, 0.35), transparent 45%);
  border: 1px solid var(--m-line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.mkt-hero-stage::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(from 210deg, transparent, rgba(46, 196, 255, 0.18), transparent 40%);
  animation: mktSpin 18s linear infinite;
}

.mkt-hero-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  z-index: 1;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.mkt-hero-mark:hover,
.mkt-hero-mark:focus-visible {
  color: var(--m-text);
  outline: none;
}

.mkt-hero-mark:hover img,
.mkt-hero-mark:focus-visible img {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 56px rgba(46, 196, 255, 0.35);
}

.mkt-hero-mark img {
  width: min(180px, 48%);
  height: auto;
  border-radius: 28px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  animation: mktFloat 5s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mkt-hero-mark strong {
  display: block;
  margin-top: 18px;
  font-family: var(--m-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.mkt-hero-mark span {
  display: block;
  margin-top: 6px;
  color: var(--m-muted);
  font-size: 0.92rem;
}

.mkt-below {
  padding: 4px 0 40px;
}

.mkt-section {
  margin: 18px 0;
  padding: 22px 24px;
  border-radius: var(--m-radius);
  border: 1px solid var(--m-line);
  background: var(--m-panel);
  backdrop-filter: blur(10px);
  animation: mktRise 0.6s ease both;
}

.mkt-section h2 {
  margin: 0 0 10px;
  font-family: var(--m-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.mkt-section p { margin: 0; color: #d5e5f3; }

.mkt-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.mkt-plan {
  padding: 16px;
  border-radius: 14px;
  background: rgba(6, 18, 30, 0.55);
  border: 1px solid var(--m-line);
}

.mkt-plan h3 {
  margin: 0;
  font-family: var(--m-display);
  font-size: 1rem;
}

.mkt-plan .mkt-price {
  margin: 8px 0;
  font-family: var(--m-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--m-cyan);
  letter-spacing: -0.03em;
}

.mkt-plan p { margin: 0; color: var(--m-muted); font-size: 0.92rem; }

.mkt-steps {
  margin: 10px 0 0;
  padding-left: 1.2rem;
  color: #d5e5f3;
}

.mkt-steps li { margin: 6px 0; }

.mkt-footer {
  text-align: center;
  padding: 18px 0 36px;
  color: var(--m-muted);
  font-size: 0.9rem;
}

/* —— Auth / Download shells —— */
.mkt-page {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 18px 0 40px;
  position: relative;
  z-index: 1;
}

.mkt-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
  color: var(--m-muted);
  font-weight: 600;
}

.mkt-back img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.mkt-auth-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.mkt-auth-aside {
  border-radius: var(--m-radius);
  border: 1px solid var(--m-line);
  background:
    radial-gradient(500px 280px at 20% 0%, rgba(46, 196, 255, 0.22), transparent 60%),
    rgba(10, 28, 46, 0.85);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: mktRise 0.55s ease both;
}

.mkt-auth-aside h1 {
  margin: 0 0 12px;
  font-family: var(--m-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mkt-auth-aside p {
  margin: 0;
  color: var(--m-muted);
}

.mkt-auth-aside .mkt-btn-download {
  margin-top: 22px;
  align-self: flex-start;
  animation: none;
}

.mkt-panel {
  border-radius: var(--m-radius);
  border: 1px solid var(--m-line);
  background: rgba(12, 36, 58, 0.82);
  backdrop-filter: blur(12px);
  padding: 24px 22px;
  animation: mktRise 0.65s ease 0.08s both;
}

.mkt-panel h1,
.mkt-panel h2,
.mkt-panel h3 {
  font-family: var(--m-display);
  letter-spacing: -0.02em;
}

.mkt-panel h1 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.mkt-muted { color: var(--m-muted); }

body.mkt .tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 8px;
}

body.mkt .tabs button {
  flex: 1;
  margin: 0;
  background: rgba(6, 18, 30, 0.55);
  color: var(--m-muted);
  border: 1px solid var(--m-line);
  border-radius: 12px;
  padding: 11px 12px;
  font-family: var(--m-display);
  font-weight: 700;
}

/* Aba ativa = destaque leve (não compete com o submit Entrar) */
body.mkt .tabs button.on {
  color: var(--m-cyan);
  background: rgba(46, 196, 255, 0.12);
  border-color: rgba(46, 196, 255, 0.55);
  box-shadow: inset 0 -2px 0 var(--m-cyan);
}

body.mkt label {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  color: var(--m-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

body.mkt input {
  border: 1px solid var(--m-line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(6, 18, 30, 0.75);
  color: var(--m-text);
  font: inherit;
}

body.mkt input:focus {
  outline: none;
  border-color: rgba(46, 196, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(46, 196, 255, 0.18);
}

body.mkt #btnSubmit,
body.mkt #btnWaSend,
body.mkt #btnWaVerify {
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--m-display);
  font-weight: 700;
  cursor: pointer;
}

body.mkt #btnSubmit {
  background: linear-gradient(135deg, #3ad0ff, #1aa8e0);
  color: var(--m-ink);
}

body.mkt #btnWaSend,
body.mkt #btnWaVerify,
body.mkt button.secondary {
  background: transparent;
  border: 1px solid var(--m-line);
  color: var(--m-text);
}

body.mkt .social {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

body.mkt .social a {
  display: block;
  text-align: center;
  text-decoration: none;
  background: rgba(6, 18, 30, 0.55);
  color: var(--m-text);
  border: 1px solid var(--m-line);
  border-radius: 12px;
  padding: 11px;
  font-weight: 600;
}

body.mkt .social a:hover {
  border-color: rgba(46, 196, 255, 0.45);
  color: var(--m-text);
}

body.mkt .err { color: var(--m-warn); min-height: 1.2em; }
body.mkt .ok { color: var(--m-mint); }

.mkt-divider {
  border: 0;
  border-top: 1px solid var(--m-line);
  margin: 18px 0;
}

.mkt-dl-hero {
  text-align: left;
  margin-bottom: 8px;
}

.mkt-dl-hero h1 {
  margin: 0 0 10px;
  font-family: var(--m-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.mkt-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(6, 18, 30, 0.55);
  border: 1px solid var(--m-line);
  font-size: 0.88rem;
  color: var(--m-muted);
}

.mkt-status.ok {
  color: var(--m-mint);
  border-color: rgba(62, 207, 142, 0.35);
}

.mkt-status.err {
  color: var(--m-warn);
  border-color: rgba(255, 138, 138, 0.35);
}

.mkt-dl-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 8px;
}

.mkt-dl-actions .mkt-btn-download {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 1.15rem;
  padding: 18px 24px;
}

.mkt-hint {
  margin: 0;
  text-align: center;
  color: var(--m-muted);
  font-size: 0.9rem;
}

.mkt-remove {
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #8a9bb0;
  font-weight: 500;
}

.mkt-pre {
  background: #061018;
  border: 1px solid var(--m-line);
  border-radius: 12px;
  padding: 12px 14px;
  overflow: auto;
  color: #cfe6ff;
  font-size: 0.82rem;
  margin: 8px 0 0;
}

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

@keyframes mktFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mktFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes mktPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(46, 196, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset; }
  50% { box-shadow: 0 14px 38px rgba(46, 196, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset; }
}

@keyframes mktSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
  .mkt-hero,
  .mkt-auth-grid,
  .mkt-plans {
    grid-template-columns: 1fr;
  }

  .mkt-hero {
    min-height: auto;
    padding-top: 12px;
  }

  .mkt-hero-visual {
    min-height: 240px;
    order: -1;
  }

  .mkt-nav-links {
    margin-left: 0;
    width: 100%;
  }

  .mkt-auth-aside .mkt-btn-download {
    width: 100%;
    justify-content: center;
  }
}
