/* Laser Game by Laser Tag Club — premium B2B landing */

.lg-page {
  --lg-max: 72rem;
}

.lg-page a.lg-link {
  color: var(--cyan-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.lg-page a.lg-link:hover {
  color: var(--ink);
}
.lg-page .lg-hero a.lg-link,
.lg-page .lg-cta a.lg-link {
  color: var(--cyan);
}
.lg-page .lg-hero a.lg-link:hover,
.lg-page .lg-cta a.lg-link:hover {
  color: #fff;
}

/* ——— Shared media ——— */
.lg-media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow);
  background: #0a0d14;
}
.lg-media img,
.lg-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lg-media--portrait {
  aspect-ratio: 3 / 4;
  max-height: 36rem;
}
.lg-media:not(.lg-media--portrait) {
  aspect-ratio: 16 / 10;
}

/* ——— 1. Hero full-bleed ——— */
.lg-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0a0d14;
}
.lg-hero__media {
  position: absolute;
  inset: 0;
}
.lg-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(1.05) contrast(1.04);
}
.lg-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 9, 13, 0.82) 0%, rgba(7, 9, 13, 0.42) 48%, rgba(7, 9, 13, 0.28) 68%, rgba(7, 9, 13, 0.7) 100%),
    linear-gradient(to top, rgba(7, 9, 13, 0.9) 0%, transparent 52%),
    radial-gradient(circle at 72% 18%, rgba(46, 203, 214, 0.2), transparent 42%);
}
.lg-hero__copy {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--pad) * 2), 44rem);
  margin: 0 auto clamp(2.5rem, 8vw, 5rem);
  padding: clamp(5.5rem, 12vw, 7rem) 0 0;
  display: grid;
  gap: 0.85rem;
}
.lg-hero__copy .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}
.lg-hero__copy .breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.lg-hero__copy .breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.lg-hero__copy .breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

.lg-hero__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.lg-hero__eyebrow a {
  color: var(--cyan);
  text-decoration: none;
}
.lg-hero__eyebrow a:hover { text-decoration: underline; }

.lg-hero h1 {
  margin: 0;
  font-size: clamp(2.05rem, 4.6vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
  max-width: 16ch;
}
.lg-hero__sub {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 40ch;
  line-height: 1.55;
}
.lg-hero__micro {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 44ch;
  line-height: 1.5;
}
.lg-hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.lg-hero .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ——— Shared section rhythm ——— */
.lg-section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}
.lg-section .section-heading {
  max-width: 22ch;
}
.lg-section__intro {
  max-width: 58ch;
  margin-bottom: 2rem;
}
.lg-section__intro .section-copy {
  font-size: 1.08rem;
}

/* ——— 2. Problem ——— */
.lg-problem {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.lg-problem__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: end;
  margin-bottom: 2rem;
}
.lg-problem__layout .lg-section__intro {
  margin-bottom: 0;
}
.lg-problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.lg-card {
  padding: 1.35rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 100%;
}
.lg-card__n {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan-dark);
}
.lg-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.lg-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ——— 3. Solution ——— */
.lg-solution {
  background: var(--cream);
}
.lg-solution__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.lg-solution__layout .lg-section__intro {
  margin-bottom: 1.5rem;
}
.lg-solution__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.lg-feature {
  padding: 1.35rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.lg-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.lg-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* ——— 4. Comparison (editorial duel) ——— */
.lg-compare {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.lg-duel {
  display: grid;
  gap: 0.55rem;
  max-width: 56rem;
}
.lg-duel__head,
.lg-duel__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.lg-duel__cell {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.98rem;
  line-height: 1.4;
}
.lg-duel__head .lg-duel__cell {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lg-duel__cell--old {
  background: var(--panel-light);
  color: var(--muted);
  border: 1px solid var(--line);
}
.lg-duel__head .lg-duel__cell--old {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.78);
  border-color: transparent;
}
.lg-duel__cell--new {
  background: rgba(46, 203, 214, 0.08);
  color: var(--ink);
  font-weight: 700;
  border: 1px solid rgba(46, 203, 214, 0.28);
}
.lg-duel__head .lg-duel__cell--new {
  background: #0e2f33;
  color: var(--cyan);
  border-color: transparent;
}
.lg-highlight {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.35rem;
  border-left: 3px solid var(--cyan);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  max-width: 48ch;
}

/* ——— 5. Field ——— */
.lg-field {
  background: var(--cream);
}
.lg-field__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.lg-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.lg-spec {
  padding: 0.95rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}
.lg-spec strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.lg-spec span {
  font-size: 0.88rem;
  color: var(--muted);
}
.lg-field__visual {
  display: grid;
  gap: 0.85rem;
}
.lg-bleed {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 0 max(0px, calc((100% - var(--max)) / 2));
}
.lg-bleed__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-img);
  aspect-ratio: 21 / 9;
  background: #0a0d14;
  box-shadow: var(--shadow);
}
.lg-bleed__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.lg-bleed__cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 9, 13, 0.62);
  border-radius: 0.45rem;
  backdrop-filter: blur(6px);
}

/* ——— 6. Tech ——— */
.lg-tech {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.lg-tech__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.lg-tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.lg-tech .lg-card {
  background: var(--panel-light);
}

/* ——— 7. Missions ——— */
.lg-missions {
  background: var(--cream);
}
.lg-missions__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.lg-missions__layout .lg-section__intro {
  margin-bottom: 1.35rem;
}
.lg-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.lg-mission {
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.lg-mission h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.lg-missions .lg-highlight {
  margin-top: 1.5rem;
  background: var(--white);
}

/* ——— 8. Final CTA ——— */
.lg-cta.final-section {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.lg-cta__bg,
.lg-cta__veil {
  position: absolute;
  inset: 0;
}
.lg-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.38;
}
.lg-cta__veil {
  background:
    linear-gradient(105deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.72) 55%, rgba(7, 9, 13, 0.85) 100%),
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(46, 203, 214, 0.16), transparent 55%);
}
.lg-cta .container {
  position: relative;
  z-index: 1;
}
.lg-cta .final-wrap {
  max-width: 44rem;
}
.lg-cta .section-heading,
.lg-cta .eyebrow {
  color: #fff;
}
.lg-cta .section-copy {
  color: rgba(255, 255, 255, 0.78);
}
.lg-cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.lg-cta .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.lg-cta__micro {
  margin: 1.35rem 0 0;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

/* ——— Motion ——— */
@media (prefers-reduced-motion: no-preference) {
  .lg-hero__copy {
    animation: lg-rise 0.75s ease both;
  }

  .lg-media--ken img {
    transform: scale(1);
    transition: transform 9s ease-out;
  }
  [data-reveal].is-in .lg-media--ken img {
    transform: scale(1.06);
  }
  .lg-bleed[data-reveal] .lg-bleed__frame img {
    transform: scale(1);
    transition: transform 10s ease-out;
  }
  .lg-bleed[data-reveal].is-in .lg-bleed__frame img {
    transform: scale(1.05);
  }

  .lg-duel__row[data-reveal] {
    transition-delay: 0s;
  }
  .lg-duel__row[data-reveal]:nth-child(3) { transition-delay: 0.04s; }
  .lg-duel__row[data-reveal]:nth-child(4) { transition-delay: 0.08s; }
  .lg-duel__row[data-reveal]:nth-child(5) { transition-delay: 0.12s; }
  .lg-duel__row[data-reveal]:nth-child(6) { transition-delay: 0.16s; }
  .lg-duel__row[data-reveal]:nth-child(7) { transition-delay: 0.2s; }
  .lg-duel__row[data-reveal]:nth-child(8) { transition-delay: 0.24s; }
  .lg-duel__row[data-reveal]:nth-child(9) { transition-delay: 0.28s; }

  .lg-card,
  .lg-feature,
  .lg-mission,
  .lg-spec,
  .lg-duel__row {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }
  .lg-card:hover,
  .lg-feature:hover,
  .lg-mission:hover {
    transform: translateY(-3px);
    border-color: rgba(46, 203, 214, 0.35);
    box-shadow: 0 14px 36px rgba(17, 20, 26, 0.07);
  }
  .lg-media {
    transition: transform 220ms ease, box-shadow 220ms ease;
  }
  .lg-media:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(17, 20, 26, 0.12);
  }

  .lg-page .btn--primary:active,
  .lg-page .btn--ghost:active,
  .lg-page .btn--secondary:active {
    transform: translateY(1px) scale(0.98);
  }
}
@keyframes lg-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lg-hero__copy { animation: none; }
  .lg-media--ken img,
  .lg-bleed__frame img {
    transform: none !important;
    transition: none !important;
  }
  .lg-card:hover,
  .lg-feature:hover,
  .lg-mission:hover,
  .lg-media:hover {
    transform: none;
  }
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .lg-problem__grid,
  .lg-tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .lg-hero {
    min-height: min(88vh, 720px);
  }
  .lg-hero h1 { max-width: none; }
  .lg-problem__layout,
  .lg-solution__layout,
  .lg-field__layout,
  .lg-missions__layout {
    grid-template-columns: 1fr;
  }
  .lg-media--portrait {
    max-height: 28rem;
    aspect-ratio: 4 / 5;
  }
  .lg-mission-grid {
    grid-template-columns: 1fr;
  }
  .lg-bleed {
    padding: 0 var(--pad);
  }
  .lg-bleed__frame {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 640px) {
  .lg-problem__grid,
  .lg-tech__grid,
  .lg-tech__media,
  .lg-spec-grid {
    grid-template-columns: 1fr;
  }
  .lg-duel__head,
  .lg-duel__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .lg-duel__row {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
  }
  .lg-duel__row .lg-duel__cell {
    border-radius: 0;
    border: 0;
  }
  .lg-duel__row .lg-duel__cell--old {
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
  }
  .lg-duel__row .lg-duel__cell--old::before {
    content: "Tradizionale";
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--muted);
  }
  .lg-duel__row .lg-duel__cell--new::before {
    content: "Laser Game by Laser Tag Club";
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cyan-dark);
    font-weight: 800;
  }
  .lg-duel__head {
    display: none;
  }
}
