/* ==========================================================================
   VIEWMETRICAMX
   Reality Intelligence
   ========================================================================== */

:root {
  --black: #050505;
  --black-soft: #0b0b0b;
  --white: #f5f5f5;
  --gray: #a5a5a5;
  --gray-dark: #686868;
  --turquoise: #00f5d4;
  --turquoise-soft: rgba(0,245,212,.18);
  --line: rgba(255,255,255,.10);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

button {
  font: inherit;
}

.wrap {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.content-dark {
  background: #080808;
}

.intro {
  padding-top: 130px;
  padding-bottom: 110px;
}


/* ==========================================================================
   VISOR
   ========================================================================== */

.viewer-section {
  width: 100%;
  background: #000;
}

.viewer-stage {
  position: relative;
  width: 100%;
  height: min(78vh, 850px);
  min-height: 560px;
  overflow: hidden;
  background: #000;
  outline: none;
}

#pano-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.viewer-stage.is-dragging #pano-canvas {
  cursor: grabbing;
}


/* LOGO */

.viewer-logo {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
}

.viewer-logo img {
  display: block;
  width: min(180px, 32vw);
  max-height: 200px;
  object-fit: contain;
}


/* TÍTULO */

.experience-title {
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 18px;

  padding: 12px 20px;

  color: #fff;
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);

  font-size: 16px;
  font-weight: 480;
  letter-spacing: .18em;
  white-space: nowrap;
}

.experience-counter {
  color: var(--turquoise);
  font-size: 12px;
  letter-spacing: .15em;
}


/* FLECHAS */

.viewer-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;

  width: 62px;
  height: 62px;

  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;

  background: rgba(0,0,0,.42);
  color: white;

  font-size: 42px;
  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%);
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.viewer-arrow:hover {
  color: var(--turquoise);
  border-color: var(--turquoise);
  background: rgba(0,0,0,.72);
  transform: translateY(-50%) scale(1.06);
}

.viewer-arrow-left {
  left: 28px;
}

.viewer-arrow-right {
  right: 28px;
}


/* LOADING */

.viewer-loading {
  position: absolute;
  inset: 0;

  z-index: 30;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;

  background: rgba(0,0,0,.72);

  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;

  transition: opacity .3s ease;
}

.viewer-loading[hidden] {
  display: none;
}

.loading-spinner {
  width: 30px;
  height: 30px;

  border: 2px solid rgba(255,255,255,.2);
  border-top-color: var(--turquoise);
  border-radius: 50%;

  animation: spin .8s linear infinite;
}

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


/* DRAG HINT */

.drag-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;

  transform: translateX(-50%);

  z-index: 20;

  padding: 8px 14px;

  font-size: 10px;
  letter-spacing: .2em;

  color: rgba(255,255,255,.85);

  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.1);

  transition:
    opacity .4s ease,
    transform .4s ease;
}

.drag-hint.is-hidden {
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
}


/* CONTROLES */

.viewer-controls {
  position: absolute;
  right: 24px;
  bottom: 26px;

  z-index: 25;

  display: flex;
  gap: 7px;
}

.viewer-control {
  width: 42px;
  height: 42px;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;

  color: white;
  background: rgba(0,0,0,.55);

  cursor: pointer;

  transition: .2s ease;
}

.viewer-control:hover {
  color: var(--turquoise);
  border-color: var(--turquoise);
}


/* PROGRESS */

.autoplay-progress {
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 3px;

  z-index: 30;

  background: rgba(255,255,255,.10);
}

#autoplay-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--turquoise);
  box-shadow: 0 0 12px var(--turquoise);
}


/* ==========================================================================
   NAV
   ========================================================================== */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 42px;

  min-height: 76px;

  background: rgba(0,0,0,.94);
  border-bottom: 1px solid var(--line);

  backdrop-filter: blur(15px);
}

.nav-link {
  position: relative;

  padding: 28px 0;

  color: rgba(255,255,255,.72);

  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;

  transition: color .2s ease;
}

.nav-link:hover {
  color: var(--turquoise);
}

.nav-link::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;

  height: 1px;

  background: var(--turquoise);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform .2s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 24px;

  color: var(--turquoise);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
}

.eyebrow::before {
  content: "";

  display: inline-block;

  width: 30px;
  height: 1px;

  background: var(--turquoise);
}

.section-head {
  max-width: 850px;
  margin-bottom: 65px;
}

.section-head h2,
.intro h2 {
  margin: 0 0 25px;

  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 500;
}

.section-head p,
.lead {
  max-width: 720px;

  color: var(--gray);

  font-size: 18px;
  line-height: 1.75;
}


/* ==========================================================================
   INTRO
   ========================================================================== */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.intro-grid > div:last-child {
  padding-top: 55px;
}

.intro-grid p {
  margin: 0 0 22px;

  color: var(--gray);

  font-size: 18px;
  line-height: 1.8;
}

.chain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-top: 80px;
  padding: 25px 0;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  color: #777;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.chain .arrow {
  color: #444;
}

.chain .hot {
  color: var(--turquoise);
}


/* ==========================================================================
   PILLARS
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;

  background: var(--line);

  border: 1px solid var(--line);
}

.pillar {
  min-height: 390px;
  padding: 42px;

  background: var(--black);
}

.num {
  margin-bottom: 30px;

  color: var(--turquoise);

  font-family: monospace;
  font-size: 13px;
  letter-spacing: .12em;
}

.pillar h3 {
  margin: 0 0 18px;

  font-size: 30px;
  font-weight: 500;
}

.pillar p {
  color: var(--gray);
}

.pillar ul {
  margin: 28px 0 0;
  padding: 0;

  list-style: none;

  color: #ccc;
  font-size: 13px;
}

.pillar li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}


/* ==========================================================================
   EXPERIENCE
   ========================================================================== */

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.experience-card {
  padding: 38px;

  border: 1px solid var(--line);
  background: #0d0d0d;
}

.experience-card span {
  color: var(--turquoise);
  font-family: monospace;
}

.experience-card h3 {
  margin: 28px 0 14px;

  font-size: 28px;
  font-weight: 500;
}

.experience-card p {
  color: var(--gray);
}


/* ==========================================================================
   METHOD
   ========================================================================== */

.method-list {
  border-top: 1px solid var(--line);
}

.method-item {
  display: grid;
  grid-template-columns: 190px 260px 1fr;
  align-items: center;
  gap: 35px;

  padding: 30px 0;

  border-bottom: 1px solid var(--line);
}

.method-item .num {
  margin: 0;
}

.method-item h3 {
  margin: 0;
  font-size: 27px;
  font-weight: 500;
}

.method-item p {
  margin: 0;
  color: var(--gray);
}


/* ==========================================================================
   SERVICES
   ========================================================================== */

.services {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;

  padding: 34px 0;

  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  margin: 0 0 5px;

  font-size: 27px;
  font-weight: 500;
}

.coord {
  color: var(--turquoise);

  font-family: monospace;
  font-size: 11px;
  letter-spacing: .08em;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}

.service-tags span {
  padding: 8px 11px;

  border: 1px solid var(--line);

  color: #bbb;

  font-size: 11px;
}


/* ==========================================================================
   PRODUCTS
   ========================================================================== */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product {
  display: flex;
  flex-direction: column;

  min-height: 390px;
  padding: 38px;

  border: 1px solid var(--line);
}

.product.featured {
  border-color: rgba(0,245,212,.55);
  box-shadow: inset 0 2px 0 var(--turquoise);
}

.tier {
  margin-bottom: 30px;

  color: var(--turquoise);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}

.product h3 {
  margin: 0 0 18px;

  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
}

.product p {
  color: var(--gray);
}

.price-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: auto;
  padding-top: 30px;
}

.price {
  font-size: 12px;
  color: #aaa;
}

.price-cta a {
  color: var(--turquoise);
  font-size: 12px;
  font-weight: 700;
}


/* ==========================================================================
   DEMO
   ========================================================================== */

.demo-viewer {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  border: 1px solid var(--line);
  background: #000;
}

.demo-viewer iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}


/* ==========================================================================
   GEO
   ========================================================================== */

.geo-section {
  background: #070707;
}

.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 55px 25px;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.term {
  color: #ddd;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.op {
  color: #444;
}

.result {
  color: var(--turquoise);

  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
}


/* ==========================================================================
   REALITY INTELLIGENCE
   ========================================================================== */

.ri-section {
  padding: 150px 0;
}

.ri-statement {
  max-width: 1050px;

  margin: 0 0 35px;

  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.accent-word {
  color: var(--turquoise);
}

.ri-note {
  max-width: 700px;

  color: var(--gray);

  font-size: 18px;
  line-height: 1.8;
}


/* ==========================================================================
   DIFFERENTIATOR
   ========================================================================== */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;

  background: var(--line);

  border: 1px solid var(--line);
}

.compare-col {
  padding: 45px;
  background: var(--black);
}

.compare-col.yes {
  background: #080d0c;
}

.compare-col h4 {
  margin: 0 0 30px;

  font-size: 20px;
  font-weight: 500;
}

.compare-col.yes h4 {
  color: var(--turquoise);
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow div {
  padding: 15px;

  border: 1px solid var(--line);

  color: #aaa;
}

.compare-col.yes .flow div {
  color: white;
  border-color: rgba(0,245,212,.18);
}


/* ==========================================================================
   CTA
   ========================================================================== */

.final-cta {
  padding: 150px 0;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(0,245,212,.07),
      transparent 42%
    ),
    #050505;
}

.final-cta .eyebrow {
  justify-content: center;
}

.final-cta h2 {
  margin: 0 auto 25px;

  font-size: clamp(45px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 500;
}

.sub {
  max-width: 650px;
  margin: 0 auto;

  color: var(--gray);
  font-size: 18px;
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: 14px;

  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 25px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;

  transition: .2s ease;
}

.btn-primary {
  color: #000;
  background: var(--turquoise);
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(0,245,212,.35);
}

.btn-ghost {
  color: white;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--turquoise);
  border-color: var(--turquoise);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  padding: 75px 0 25px;

  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
}

.footer-brand img {
  width: 220px;
  max-width: 100%;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 340px;

  color: var(--gray);
  font-size: 13px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  margin: 0 0 12px;

  color: var(--turquoise);

  font-size: 11px;
  letter-spacing: .15em;
}

.footer-col a {
  color: #aaa;
  font-size: 13px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  margin-top: 70px;
  padding-top: 25px;

  border-top: 1px solid var(--line);

  color: #555;

  font-family: monospace;
  font-size: 10px;
  letter-spacing: .08em;
}


/* ==========================================================================
   REVEAL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {

  .main-nav {
    gap: 18px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 20px;
  }

  .nav-link {
    flex-shrink: 0;
    font-size: 10px;
  }

  .intro-grid,
  .pillars,
  .experience-grid,
  .products,
  .compare {
    grid-template-columns: 1fr;
  }

  .intro-grid > div:last-child {
    padding-top: 0;
  }

  .chain {
    flex-wrap: wrap;
    justify-content: center;
  }

  .method-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

}

@media (max-width: 600px) {

  .wrap {
    width: min(100% - 30px, var(--max-width));
  }

  .section {
    padding: 80px 0;
  }

  .viewer-stage {
    height: 72vh;
    min-height: 500px;
  }

  .viewer-logo {
    top: 18px;
  }

  .viewer-logo img {
    width: 190px;
  }

  .experience-title {
    bottom: 80px;

    max-width: calc(100% - 100px);

    font-size: 12px;
    letter-spacing: .1em;
  }

  .experience-counter {
    font-size: 9px;
  }

  .viewer-arrow {
    width: 46px;
    height: 46px;
    font-size: 32px;
  }

  .viewer-arrow-left {
    left: 12px;
  }

  .viewer-arrow-right {
    right: 12px;
  }

  .viewer-controls {
    right: 12px;
    bottom: 22px;
  }

  .viewer-control {
    width: 36px;
    height: 36px;
  }

  .section-head h2,
  .intro h2 {
    font-size: 42px;
  }

  .pillar,
  .product,
  .compare-col {
    padding: 28px;
  }

  .equation {
    justify-content: flex-start;
  }

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

  .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

}
