/* ============================================================
   Bailder · Landing
   Tokens base reusam --color-* do bailder.css; o landing.css
   adiciona variantes próprias pra impacto visual.
   ============================================================ */

:root {
  --lp-bg:           #06060f;
  --lp-bg-soft:      #0c0c1a;
  --lp-surface:      rgba(255,255,255,0.04);
  --lp-surface-2:    rgba(255,255,255,0.07);
  --lp-border:       rgba(255,255,255,0.08);
  --lp-border-soft:  rgba(255,255,255,0.05);
  --lp-text:         #f4f4f8;
  --lp-text-muted:   rgba(244,244,248,0.62);
  --lp-text-dim:     rgba(244,244,248,0.38);
  --lp-cyan:         #22d3ee;
  --lp-purple:       #a855f7;
  --lp-violet:       #7e5af0;
  --lp-orange:       #ff7849;
  --lp-pink:         #f472b6;
  --lp-green:        #10b981;
  --lp-yellow:       #f59e0b;
  --lp-red:          #ef4444;
  --lp-font-mono:    ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --lp-radius:       14px;
  --lp-radius-pill:  999px;
  --lp-shadow-glow:  0 22px 60px -22px rgba(34,211,238,0.35);
}

.lp-body {
  background:
    radial-gradient(ellipse 60% 40% at 50% -5%, rgba(168,85,247,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 30%, rgba(34,211,238,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(255,120,73,0.06) 0%, transparent 60%),
    var(--lp-bg);
  color: var(--lp-text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Inter", "Segoe UI", sans-serif;
  min-height: 100vh;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
.lp-body a { color: inherit; text-decoration: none; }
.lp-body code {
  font-family: var(--lp-font-mono);
  font-size: 0.92em;
  background: var(--lp-surface);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--lp-border-soft);
}

/* ===== NAV ===== */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(6,6,15,0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--lp-border-soft);
}
.lp-nav__container {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.lp-nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.lp-nav__logo {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-violet));
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--lp-font-mono); font-size: 13px;
  box-shadow: 0 6px 22px -6px rgba(126,90,240,0.6);
}
.lp-nav__links { display: flex; gap: 26px; }
.lp-nav__link {
  font-size: 14px; color: var(--lp-text-muted);
  transition: color 160ms ease;
}
.lp-nav__link:hover { color: var(--lp-text); }
.lp-nav__actions { display: flex; align-items: center; gap: 12px; }
.lp-nav__btn, .lp-nav__btn-ghost {
  padding: 9px 18px; border-radius: var(--lp-radius-pill);
  font-size: 14px; font-weight: 600;
  transition: transform 160ms ease, box-shadow 200ms ease, background 160ms ease;
}
.lp-nav__btn {
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-violet));
  color: #06060f;
}
.lp-nav__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -10px rgba(34,211,238,0.7); }
.lp-nav__btn-ghost {
  border: 1px solid var(--lp-border);
  color: var(--lp-text-muted);
}
.lp-nav__btn-ghost:hover { background: var(--lp-surface); color: var(--lp-text); }

@media (max-width: 760px) {
  .lp-nav__links { display: none; }
}

/* ===== HERO ===== */
.lp-hero {
  position: relative;
  padding: 168px 24px 96px;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.lp-hero__gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(126,90,240,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(34,211,238,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.lp-hero__grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}
.lp-hero__content {
  position: relative; z-index: 1;
  max-width: 1100px; width: 100%; margin: 0 auto;
}
.lp-hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin-bottom: 28px;
  border-radius: var(--lp-radius-pill);
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--lp-cyan);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  animation: lpFadeUp 700ms ease 100ms both;
}
.lp-hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lp-green);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.7);
  animation: lpPulse 2s infinite;
}
@keyframes lpPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.lp-hero__title {
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px 0;
  font-weight: 800;
  animation: lpFadeUp 700ms ease 250ms both;
}
.lp-hero__title-highlight {
  background: linear-gradient(135deg, var(--lp-cyan) 0%, var(--lp-violet) 55%, var(--lp-pink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero__subtitle {
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
  color: var(--lp-text-muted);
  max-width: 760px;
  margin: 0 0 36px 0;
  animation: lpFadeUp 700ms ease 400ms both;
}
.lp-hero__subtitle strong { color: var(--lp-text); font-weight: 600; }

.lp-hero__marquee-wrapper {
  margin-bottom: 40px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  animation: lpFadeUp 700ms ease 520ms both;
}
.lp-hero__marquee { overflow: hidden; width: 100%; }
.lp-hero__marquee-track {
  display: flex; gap: 12px;
  width: max-content;
  animation: lpMarquee 38s linear infinite;
}
.lp-hero__marquee-tag {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  border-radius: var(--lp-radius-pill);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  font-size: 13px; color: var(--lp-text-muted);
  white-space: nowrap;
  font-family: var(--lp-font-mono);
}
@keyframes lpMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.lp-hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: lpFadeUp 700ms ease 650ms both;
}
.lp-hero__cta {
  padding: 13px 24px;
  border-radius: var(--lp-radius-pill);
  font-size: 15px; font-weight: 600;
  transition: transform 160ms ease, box-shadow 220ms ease, background 160ms ease, border-color 160ms ease;
}
.lp-hero__cta--primary {
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-violet));
  color: #06060f;
  box-shadow: 0 18px 40px -16px rgba(34,211,238,0.5);
}
.lp-hero__cta--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 52px -14px rgba(168,85,247,0.6); }
.lp-hero__cta--ghost {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
}
.lp-hero__cta--ghost:hover { background: var(--lp-surface-2); border-color: rgba(255,255,255,0.16); }

@keyframes lpFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== STATS ===== */
.lp-stats {
  max-width: 1240px;
  margin: -32px auto 0;
  padding: 0 24px 80px;
}
.lp-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.lp-stat {
  padding: 24px 22px;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.lp-stat:hover {
  background: var(--lp-surface-2);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
}
.lp-stat__value {
  font-size: 44px; font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.lp-stat__label {
  font-size: 14.5px; font-weight: 600; color: var(--lp-text);
  margin-bottom: 4px;
}
.lp-stat__sublabel {
  font-size: 12.5px; color: var(--lp-text-dim);
  line-height: 1.45;
  font-family: var(--lp-font-mono);
}

/* ===== SECTIONS ===== */
.lp-section {
  padding: 100px 24px 80px;
  max-width: 1240px; margin: 0 auto;
  position: relative;
}
.lp-section--inverse {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02));
  border-radius: 28px;
  margin: 40px auto;
}
.lp-section__header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.lp-section__tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-pill);
  font-size: 12.5px;
  color: var(--lp-text-muted);
  font-family: var(--lp-font-mono);
  margin-bottom: 18px;
}
.lp-section__title {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 18px 0;
}
.lp-section__title .text-gradient,
.lp-body .text-gradient {
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-violet), var(--lp-pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-section__subtitle {
  font-size: 17px;
  color: var(--lp-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== MANIFESTO / PILLARS ===== */
.lp-manifesto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 20px;
}
.lp-pillar {
  padding: 28px 26px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
  position: relative;
  overflow: hidden;
}
.lp-pillar::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(34,211,238,0.06), transparent 60%);
  opacity: 0; transition: opacity 220ms ease;
  pointer-events: none;
}
.lp-pillar:hover {
  transform: translateY(-3px);
  background: var(--lp-surface-2);
  border-color: rgba(168,85,247,0.25);
}
.lp-pillar:hover::before { opacity: 1; }
.lp-pillar__top {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 14px;
}
.lp-pillar__num {
  font-size: 28px; font-weight: 800;
  font-family: var(--lp-font-mono);
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-pillar__title {
  font-size: 19px; font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--lp-text);
}
.lp-pillar__body {
  font-size: 14.5px;
  color: var(--lp-text-muted);
  line-height: 1.6;
  margin: 0 0 16px 0;
}
.lp-pillar__body em { color: var(--lp-text); font-style: normal; font-weight: 600; }
.lp-pillar__code {
  margin: 0 0 16px 0;
  padding: 14px 16px;
  background: rgba(0,0,0,0.32);
  border: 1px solid var(--lp-border-soft);
  border-left: 2px solid var(--lp-cyan);
  border-radius: 8px;
  overflow-x: auto;
}
.lp-pillar__code code {
  background: none; border: none; padding: 0;
  font-family: var(--lp-font-mono); font-size: 12.5px;
  color: rgba(244,244,248,0.86);
  white-space: pre;
  line-height: 1.5;
}
.lp-pillar__why {
  font-size: 13px;
  color: var(--lp-text-dim);
  line-height: 1.55;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--lp-border-soft);
  font-style: italic;
}

/* ===== TIER DEMO ===== */
.lp-tier-demo {
  max-width: 880px; margin: 0 auto;
}
.lp-tier-demo__shell {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(34,211,238,0.3);
}
.lp-tier-demo__prompt {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--lp-border-soft);
  font-family: var(--lp-font-mono);
}
.lp-tier-demo__cwd { color: var(--lp-cyan); font-size: 13px; }
.lp-tier-demo__caret { color: var(--lp-text-muted); font-weight: 700; }
.lp-tier-demo__input {
  flex: 1;
  background: none; border: none; outline: none;
  color: var(--lp-text);
  font-family: var(--lp-font-mono); font-size: 15px;
  padding: 4px 0;
}
.lp-tier-demo__input::placeholder { color: var(--lp-text-dim); }
.lp-tier-demo__verdict {
  padding: 24px;
  min-height: 100px;
  font-family: var(--lp-font-mono);
  font-size: 14px;
  transition: background 200ms ease;
}
.lp-tier-demo__empty { color: var(--lp-text-dim); }
.lp-tier-demo__verdict--green  { background: rgba(16,185,129,0.07); border-top: 1px solid rgba(16,185,129,0.3); }
.lp-tier-demo__verdict--yellow { background: rgba(245,158,11,0.07); border-top: 1px solid rgba(245,158,11,0.3); }
.lp-tier-demo__verdict--red    { background: rgba(239,68,68,0.07);  border-top: 1px solid rgba(239,68,68,0.4); animation: lpShake 350ms ease 1; }
@keyframes lpShake {
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-3px); }
  75%     { transform: translateX(3px); }
}
.lp-tier-demo__row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px;
}
.lp-tier-demo__label {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
}
.lp-tier-demo__label--green  { background: var(--lp-green);  color: #03100b; }
.lp-tier-demo__label--yellow { background: var(--lp-yellow); color: #261a04; }
.lp-tier-demo__label--red    { background: var(--lp-red);    color: #2a0608; }
.lp-tier-demo__reason {
  color: var(--lp-text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.lp-tier-demo__input-echo {
  color: var(--lp-text-dim);
  font-size: 12.5px;
  margin-top: 4px;
}

.lp-tier-demo__legend {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.lp-chip {
  padding: 6px 12px;
  font-size: 12px; font-weight: 600;
  font-family: var(--lp-font-mono);
  border-radius: var(--lp-radius-pill);
  border: 1px solid;
}
.lp-chip--green  { color: var(--lp-green);  border-color: rgba(16,185,129,0.4);  background: rgba(16,185,129,0.06); }
.lp-chip--yellow { color: var(--lp-yellow); border-color: rgba(245,158,11,0.4);  background: rgba(245,158,11,0.06); }
.lp-chip--red    { color: var(--lp-red);    border-color: rgba(239,68,68,0.4);   background: rgba(239,68,68,0.06); }

/* ===== DECISIONS FEED ===== */
.lp-decisions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1120px; margin: 0 auto;
}
.lp-decision {
  padding: 22px 22px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  border-left: 3px solid var(--lp-cyan);
}
.lp-decision__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px; font-family: var(--lp-font-mono); font-size: 12px;
}
.lp-decision__kind {
  color: var(--lp-cyan);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700;
}
.lp-decision__time { color: var(--lp-text-dim); }
.lp-decision__chosen {
  font-size: 14px; color: var(--lp-text);
  margin-bottom: 8px;
}
.lp-decision__reason {
  font-size: 13px; color: var(--lp-text-muted);
  font-style: italic;
  line-height: 1.5;
}
.lp-empty {
  text-align: center; color: var(--lp-text-dim);
  font-family: var(--lp-font-mono); font-size: 13.5px;
  padding: 40px;
}

/* ===== ARCHITECTURE ===== */
.lp-arch {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 28px;
  font-family: var(--lp-font-mono);
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(244,244,248,0.78);
  overflow-x: auto;
  max-width: 980px; margin: 0 auto;
  text-shadow: 0 0 24px rgba(34,211,238,0.06);
}

/* ===== ABOUT ===== */
.lp-about {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .lp-about { grid-template-columns: 1fr; }
}
.lp-about__left .lp-section__tag { margin-bottom: 14px; }
.lp-about__left .lp-section__title { text-align: left; font-size: clamp(32px, 4vw, 48px); }
.lp-about__body {
  font-size: 16px; color: var(--lp-text-muted);
  line-height: 1.65;
  margin: 0 0 18px 0; max-width: 640px;
}
.lp-about__body code { color: var(--lp-cyan); }
.lp-about__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.lp-about__right { display: flex; flex-direction: column; gap: 16px; }
.lp-card {
  padding: 22px 22px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
}
.lp-card__title {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--lp-cyan); margin-bottom: 14px;
  font-family: var(--lp-font-mono);
}
.lp-card__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.lp-card__list li {
  font-size: 13.5px; color: var(--lp-text-muted);
  line-height: 1.5;
  padding-left: 16px; position: relative;
}
.lp-card__list li::before {
  content: "›"; position: absolute; left: 0;
  color: var(--lp-cyan); font-weight: 700;
}
.lp-card__list li em { color: var(--lp-text); font-style: normal; font-weight: 600; }
.lp-card__hint { font-size: 13.5px; color: var(--lp-text-muted); margin: 0 0 14px 0; line-height: 1.5; }
.lp-card__cta { font-size: 14px; color: var(--lp-cyan); font-weight: 600; }
.lp-card__cta:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.lp-footer {
  margin-top: 80px;
  border-top: 1px solid var(--lp-border-soft);
  padding: 40px 24px 60px;
}
.lp-footer__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.lp-footer__brand { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--lp-text-muted); }
.lp-footer__copy { font-size: 12.5px; color: var(--lp-text-dim); font-family: var(--lp-font-mono); }

/* ===== REVEAL ANIMATION ===== */
.lp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--delay, 0ms);
}
.lp-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== A11Y ===== */
@media (prefers-reduced-motion: reduce) {
  .lp-hero__title, .lp-hero__subtitle, .lp-hero__badge, .lp-hero__marquee-wrapper, .lp-hero__actions { animation: none !important; }
  .lp-hero__marquee-track { animation: none !important; }
  .lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-tier-demo__verdict--red { animation: none; }
}
