/* ========== LANDING PAGE ========== */
/* Página institucional full-width. Sem JS de app — CSS puro + HTML estático. */

body.landing { background: var(--bg); }

.lp-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-nav-logo { display: flex; align-items: center; gap: 10px; }
.lp-nav-logo .logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  font-size: 15px;
  background: linear-gradient(135deg, var(--primary), hsl(280, 75%, 62%));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.lp-nav-text { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }

.lp-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  text-align: center;
  position: relative;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: -10% 10% auto;
  height: 420px;
  background: radial-gradient(ellipse at center top,
    hsla(245, 85%, 55%, .22),
    hsla(280, 75%, 55%, .10) 45%,
    transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.lp-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 22px;
  border: 1px solid hsla(245, 85%, 65%, .25);
}
.lp-title {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.lp-title-accent {
  background: linear-gradient(90deg, var(--primary), hsl(280, 75%, 68%), hsl(195, 85%, 65%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lp-lede {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 30px;
}
.lp-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.lp-actions-center { margin-top: 8px; }
.lp-cta-primary,
.lp-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.005em;
  transition: background .15s, border-color .15s, transform .08s, box-shadow .15s;
}
.lp-cta-primary:hover,
.lp-cta-secondary:hover { text-decoration: none; }
.lp-cta-primary:active,
.lp-cta-secondary:active { transform: translateY(1px); }
.lp-cta-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px hsla(245, 85%, 55%, .35);
}
.lp-cta-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 26px hsla(245, 85%, 55%, .45);
}
.lp-cta-secondary {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.lp-cta-secondary:hover { background: var(--surface-3); }
.lp-hero-note {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
}
.lp-hero-note strong { color: var(--text-2); font-weight: 600; }

.lp-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 24px;
}
.lp-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.lp-eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.lp-eyebrow-light { color: hsl(245, 90%, 82%); }
.lp-h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.lp-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* Feature grid */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.lp-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .18s, transform .18s;
}
.lp-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.lp-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.lp-card-icon-primary { background: hsla(245, 85%, 65%, .15); color: var(--primary); }
.lp-card-icon-aave    { background: hsla(315, 60%, 60%, .15); color: var(--aave); }
.lp-card-icon-success { background: hsla(155, 60%, 55%, .15); color: var(--success); }
.lp-card-icon-danger  { background: hsla(0, 75%, 60%, .12); color: var(--danger); }

.lp-card-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 6px;
}
.lp-card-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Steps */
.lp-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lp-step {
  display: flex;
  gap: 20px;
  padding: 22px 8px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}
.lp-step:first-child { border-top: 0; }
.lp-step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  border: 1px solid hsla(245, 85%, 65%, .25);
}
.lp-step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.lp-step-text {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}
.lp-step code,
.lp-security-list code {
  font-family: var(--f-mono);
  font-size: .9em;
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--text);
}

/* Security section */
.lp-security { position: relative; padding: 0; }
.lp-security-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 40px;
  background:
    linear-gradient(180deg, hsla(245, 85%, 55%, .08), hsla(280, 75%, 55%, .04)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  text-align: center;
}
.lp-security-list {
  list-style: none;
  padding: 0;
  margin: 32px auto 0;
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  text-align: left;
}
.lp-security-list li {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.lp-security-list svg {
  flex-shrink: 0;
  color: var(--success);
  margin-top: 1px;
}
.lp-security-list strong { color: var(--text); font-weight: 600; }

/* Final CTA */
.lp-final-cta { text-align: center; padding-bottom: 40px; }
.lp-final-title { margin-bottom: 10px; }

/* Footer */
.lp-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-3);
}
.lp-footer-tag { color: var(--text-2); }

@media (max-width: 560px) {
  .lp-hero { padding: 32px 20px 40px; }
  .lp-section { padding: 48px 20px; }
  .lp-security-inner { padding: 40px 22px; border-radius: 18px; }
  .lp-actions { flex-direction: column; width: 100%; }
  .lp-cta-primary, .lp-cta-secondary { justify-content: center; width: 100%; }
  .lp-step { gap: 14px; padding: 18px 4px; }
  .lp-step-num { width: 32px; height: 32px; font-size: 14px; }
}
