:root {
  --bg: #050505;
  --bg-elevated: #0e0e0e;
  --text: #f4f1ea;
  --muted: #a8a29a;
  --accent: #e11d2e;
  --accent-hover: #ff2a3c;
  --line: rgba(255, 255, 255, 0.08);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1280px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0));
  transition: background 0.35s ease;
}

.nav.is-solid {
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.nav-brand span,
.brand span,
.footer-brand span {
  color: var(--text);
  margin-left: 0.12em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-right: auto;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #050505;
}

.hero-media img,
.hero-media .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
  pointer-events: none;
}

/* Evita overlay nativo de play no iOS/Safari */
.hero-video {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.hero-video::-webkit-media-controls {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none;
  pointer-events: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none;
  pointer-events: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
  display: none !important;
  opacity: 0 !important;
}

.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-overlay-play-button,
.hero-video::-webkit-media-controls-play-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.55) 42%, rgba(5, 5, 5, 0.2) 70%, transparent 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.55) 28%, transparent 58%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 10vh, 7rem);
  max-width: 640px;
  margin-left: clamp(1.25rem, 4vw, 3.5rem);
  margin-right: auto;
  animation: riseIn 0.9s ease 0.15s both;
}

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

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 6vw, 5.2rem);
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: var(--accent);
  margin-bottom: 1rem;
  white-space: nowrap;
}

.hero-banner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  font-family: var(--font-body);
  color: #fff;
  background: var(--accent);
  padding: 0.75rem 1.25rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 1.15rem;
  box-shadow: 0 8px 22px rgba(225, 29, 46, 0.3);
  max-width: 100%;
  line-height: 1.15;
}

.hero-banner-sub {
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.hero-banner-main {
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.45rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  animation: softPulse 2.8s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(225, 29, 46, 0);
  }
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 1rem 1.8rem;
}

/* ─── Catalog rails ─── */
.rail-section {
  padding: 1.5rem 0 2rem;
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}

.rail {
  margin-bottom: 2.25rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.rail-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
}

.rail-controls {
  display: flex;
  gap: 0.4rem;
}

.rail-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.rail-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.rail-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.poster {
  position: relative;
  --poster-w: clamp(140px, 38vw, 180px);
  flex: 0 0 var(--poster-w);
  width: var(--poster-w);
  min-width: var(--poster-w);
  max-width: var(--poster-w);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .poster:hover {
    transform: translateY(-6px) scale(1.03);
    z-index: 2;
  }
}

.poster img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: calc(var(--poster-w) * 1.5) !important;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  background: #1a1a1a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.poster-rank {
  position: absolute;
  top: -6px;
  left: -6px;
  z-index: 2;
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0 0.4rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.poster-info {
  margin-top: 0.55rem;
}

.poster-info h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-info p {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* ─── Feature band ─── */
.feature {
  position: relative;
  min-height: min(58vh, 520px);
  display: grid;
  align-items: end;
  margin: 1rem 0 3rem;
}

/* ─── Trailer ─── */
.trailer {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(225, 29, 46, 0.18), transparent 60%),
    var(--bg);
}

.trailer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  text-align: center;
}

.trailer h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.trailer-lead {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

.trailer-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-media {
  position: absolute;
  inset: 0;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.45) 45%, rgba(5, 5, 5, 0.25) 100%);
}

.feature-copy {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  max-width: 560px;
}

.feature-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

/* ─── Proof strip ─── */
.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: var(--max);
  margin: 0.5rem auto 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  position: relative;
  z-index: 4;
  box-sizing: border-box;
}

.proof-item {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.1rem 0.75rem;
  text-align: center;
  min-width: 0;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.15;
}

.proof-item span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--muted);
}

/* ─── Benefits ─── */
.benefits {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
}

.benefits h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2.3rem);
  margin-bottom: 0.65rem;
  line-height: 1.2;
  padding: 0 0.25rem;
}

.benefits-lead {
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto 2.25rem;
  font-size: 0.98rem;
  line-height: 1.45;
  padding: 0 0.25rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.benefit {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.35rem 1.2rem;
  border-top: 3px solid var(--accent);
}

.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.benefit p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.feature-copy .btn {
  margin-top: 1.25rem;
}

/* ─── Download CTA ─── */
.download-cta {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(225, 29, 46, 0.14), transparent 70%),
    var(--bg);
}

.download-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  max-width: 18ch;
  margin: 0 auto 0.75rem;
  line-height: 1.15;
}

.download-cta > p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 1.25rem;
}

.download-points {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  justify-content: center;
  margin: 0 auto 1.75rem;
  text-align: left;
  width: fit-content;
}

.download-points li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
}

.download-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--accent);
}

/* ─── Final CTA ─── */
.final {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
  background: linear-gradient(180deg, #0a0a0a, #050505);
}

.final h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 0.65rem;
}

.final p {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

/* ─── Footer ─── */
.footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer p:last-child {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    white-space: nowrap;
  }

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1rem auto 2rem;
    padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  }

  .proof-item {
    padding: 1rem 0.65rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .benefit {
    padding: 1.25rem 1.1rem;
  }

  .hero-content {
    margin-left: clamp(1.25rem, 4vw, 3.5rem);
    margin-right: clamp(1.25rem, 4vw, 3.5rem);
    max-width: none;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 1rem;
    height: 60px;
  }

  .nav-brand {
    font-size: 1.15rem;
  }

  .nav-cta {
    margin-left: auto;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .proof {
    margin-top: 1.25rem;
    margin-bottom: 2.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .proof-item strong {
    font-size: 1.2rem;
  }

  .proof-item span {
    font-size: 0.74rem;
  }

  .rail-section {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .benefits {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .benefits h2 {
    text-align: left;
    font-size: 1.4rem;
  }

  .benefits-lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    margin-bottom: 1.5rem;
  }

  .benefit h3 {
    font-size: 1.05rem;
  }

  .benefit p {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-content,
  .btn-primary,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}
