/* Abad Desktop — landing (marca negro / blanco / rojo) */
:root {
  --black: #000000;
  --ink: #ffffff;
  --ink-soft: #e8e8e8;
  --mist: #1a1a1a;
  --paper: #0a0a0a;
  --line: #373737;
  --teal: #e60000;
  --teal-deep: #b40000;
  --amber: #e60000;
  --white: #ffffff;
  --muted: #a0a0a0;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

.landing a { color: inherit; }

/* —— Nav —— */
.lp-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.82));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.lp-nav.is-solid {
  border-bottom-color: var(--line);
  background: rgba(0, 0, 0, 0.96);
}

.lp-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.lp-brand img {
  width: 34px;
  height: 34px;
  display: block;
}

.lp-brand span {
  color: var(--teal);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lp-nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.85;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.lp-nav-links a:hover {
  opacity: 1;
  color: var(--teal-deep);
}

.lp-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.25rem;
}

.lp-lang button {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  transition: color 0.2s var(--ease);
}

.lp-lang button[aria-pressed="true"] {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* —— Hero (one composition, full-bleed media) —— */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: clamp(5.5rem, 12vh, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  background:
    radial-gradient(ellipse 55% 50% at 18% 70%, rgba(0, 0, 0, 0.55), transparent 60%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(230, 0, 0, 0.22), transparent 55%),
    linear-gradient(165deg, #000000 0%, #0a0a0a 42%, #141414 100%);
  overflow: hidden;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 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: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 75%);
  pointer-events: none;
  animation: lp-grid-drift 28s linear infinite;
}

@keyframes lp-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, -48px, 0); }
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: min(40rem, 48%);
  opacity: 0;
  transform: translateY(28px);
  animation: lp-rise 0.9s var(--ease) 0.1s forwards;
}

@keyframes lp-rise {
  to { opacity: 1; transform: none; }
}

.lp-hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 1.1rem;
  color: var(--ink);
}

.lp-hero-brand em {
  font-style: normal;
  color: var(--teal);
}

.lp-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  max-width: 22ch;
}

.lp-hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34ch;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lp-btn:hover { transform: translateY(-2px); }

.lp-btn-primary {
  background: var(--teal);
  color: var(--white);
}

.lp-btn-primary:hover { background: var(--teal-deep); }

.lp-btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}

.lp-btn-ghost:hover {
  border-color: var(--teal);
  color: var(--white);
  background: rgba(230, 0, 0, 0.12);
}

/* Dominant full-bleed visual (right half) */
.lp-hero-media {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(36px) scale(1.03);
  animation: lp-slide-in 1.15s var(--ease) 0.2s forwards;
}

.lp-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 18%, rgba(0, 0, 0, 0.2) 42%, transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 70%, rgba(0, 0, 0, 0.55) 100%);
}

.lp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

@keyframes lp-slide-in {
  to { opacity: 1; transform: none; }
}

.lp-screen,
.lp-link-beam,
.lp-hero-visual {
  display: none;
}

@media (max-width: 860px) {
  .lp-hero-media {
    inset: 0;
  }
  .lp-hero-media::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.82) 72%, #000 100%);
  }
  .lp-hero-inner { max-width: 100%; }
  .lp-hero { align-items: end; }
}

/* —— Sections —— */
.lp-section {
  padding: clamp(3.5rem, 8vh, 6rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.lp-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}

.lp-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.lp-section > p {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.08rem;
}

.lp-about {
  background: #111;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lp-about .lp-section { max-width: 720px; }

.lp-features {
  display: grid;
  gap: 0;
}

.lp-feature {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.lp-feature.is-in {
  opacity: 1;
  transform: none;
}

.lp-feature:last-child { border-bottom: 1px solid var(--line); }

.lp-feature-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal);
  letter-spacing: -0.03em;
}

.lp-feature h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.lp-feature p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* Download strip */
.lp-download {
  background:
    linear-gradient(120deg, #000000 0%, #1a0000 55%, #3a0000 100%);
  color: var(--white);
  padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.lp-download-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.lp-download h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 16ch;
}

.lp-download p {
  margin: 0;
  opacity: 0.82;
  max-width: 40ch;
  font-size: 1.05rem;
}

.lp-download .lp-btn-primary {
  background: var(--teal);
  color: var(--white);
  width: fit-content;
}

.lp-download .lp-btn-primary:hover {
  background: #ff1a1a;
  color: var(--white);
}

.lp-download-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.lp-dl-platform {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 12rem;
}

.lp-dl-platform small {
  font-weight: 600;
  opacity: 0.7;
  font-size: 0.78rem;
}

.lp-download-note {
  font-size: 0.9rem;
  opacity: 0.65;
}

.lp-flash {
  max-width: 1100px;
  margin: 0 auto 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

/* Footer */
.lp-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.lp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.lp-footer a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
}

.lp-footer a:hover { color: var(--teal); }

.lp-credits {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.lp-credits a {
  color: #ffb4b4;
  text-decoration: none;
  font-weight: 600;
}

.lp-credits a:hover { color: var(--teal); }

.lp-story {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.lp-story-row,
.lp-step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.lp-story-row.is-in,
.lp-step.is-in {
  opacity: 1;
  transform: none;
}

.lp-story-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.lp-story-row:last-child { border-bottom: 0; }

.lp-story-row-reverse {
  direction: rtl;
}
.lp-story-row-reverse > * { direction: ltr; }

.lp-story-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}

.lp-story-copy > p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 40ch;
}

.lp-checklist {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.lp-checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.lp-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--teal);
  border-radius: 1px;
}

.lp-story-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0d0d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lp-story-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lp-licenses {
  background: #111;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lp-license-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.75rem;
}

.lp-step {
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.lp-step span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
  font-size: 1.35rem;
}

.lp-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.lp-contact {
  background: var(--paper);
}

.lp-wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  animation: lp-wa-pulse 2.8s var(--ease) infinite;
}

.lp-wa-float:hover { filter: brightness(1.08); transform: translateY(-2px); }

.lp-wa-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

@keyframes lp-wa-pulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 12px 32px rgba(22, 163, 74, 0.55); }
}

@media (max-width: 900px) {
  .lp-story-row,
  .lp-story-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .lp-license-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .lp-nav-links a[data-nav-hide-sm] { display: none; }
  .lp-feature { grid-template-columns: 3rem 1fr; }
  .lp-license-steps { grid-template-columns: 1fr; }
  .lp-wa-float span[data-i18n] { display: none; }
}
