/* RESET & BASE -------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #0b1220 0, #020617 55%, #000 100%);
  color: #f9fafb;
}

/* PAGE WRAPPER -------------------------------------------------- */

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
}

/* HERO ----------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.8rem;
}

.hero-left h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.tagline {
  margin: 0 0 0.7rem;
  color: #7ef9e2;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.mrqr-line {
  margin: 0;
  color: #cbd5f5;
}

/* Logo (selve puls-animasjonen ligger i inline <style> i HTML) */
.logo {
  display: block;
  max-width: 100%;
}

/* HERO RIGHT: VIDEO --------------------------------------------- */

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.mrqr-video {
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  border: 1px solid rgba(0, 255, 200, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
  display: block;
}

.video-caption {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* SOME-BAR ------------------------------------------------------ */

.some-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* ÉN sprite-fil: icons/social-strip.png (6 ikoner horisontalt) */
.some-bar a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-image: url("icons/social-strip.png");
  background-repeat: no-repeat;
  background-size: 600% 100%; /* 6 ikoner side om side */
  background-position-y: 50%;
  border: 1px solid rgba(0, 255, 200, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

/* Justering av utsnitt – kan finjusteres om sprite-fila er litt off */
.some-bar a.fb {
  background-position-x: 0%;
}
.some-bar a.insta {
  background-position-x: 20%;
}
.some-bar a.tiktok {
  background-position-x: 40%;
}
.some-bar a.x {
  background-position-x: 60%;
}
.some-bar a.snap {
  background-position-x: 80%;
}
.some-bar a.youtube {
  background-position-x: 100%;
}

.some-bar a:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 14px rgba(126, 249, 226, 0.9);
  border-color: rgba(126, 249, 226, 0.9);
}

/* LIVE MISSION GRID --------------------------------------------- */

.pulse-section {
  margin-bottom: 2.5rem;
}

.pulse-section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

.pulse-desc {
  margin: 0 0 1.2rem;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.1rem;
}

.qr-tile {
  background: radial-gradient(circle at top, #1e2745, #050815);
  border-radius: 18px;
  padding: 0.9rem;
  border: 1px solid rgba(0, 255, 200, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.qr-tile img {
  display: block;
  width: 100%;
  max-width: 140px;
  border-radius: 14px;
}

.qr-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 26px rgba(1, 243, 201, 0.55);
  border-color: rgba(1, 243, 201, 0.75);
}

/* Demo-tile med badge */
.qr-demo {
  position: relative;
}

.demo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(1, 243, 201, 0.9);
  color: #020617;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* VM-tile: kan få litt ekstra fokus hvis ønskelig */
.qr-vm img {
  max-width: 130px;
}

/* OM QR PULSE --------------------------------------------------- */

.about-section {
  margin-bottom: 2.4rem;
}

.about-section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.about-section p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.5;
}

/* USE CASES ----------------------------------------------------- */

.use-cases-section {
  margin-bottom: 2.4rem;
}

.use-cases-section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.use-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.use-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

.use-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.use-card p {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.95rem;
}

/* HOW-TO -------------------------------------------------------- */

.howto-section {
  margin-bottom: 2.8rem;
}

.howto-section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.step-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
}

.step-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(30, 64, 175, 0.8);
  position: relative;
}

.step-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #01f3c9, #12a9ff);
  color: #020617;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.95rem;
}

/* RESPONSIVT ---------------------------------------------------- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    order: -1; /* video på topp på mobil */
  }

  .hero {
    margin-bottom: 1.6rem;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 1.25rem 1rem 2.25rem;
  }

  .some-bar {
    flex-wrap: wrap;
  }

  .use-grid,
  .step-grid {
    gap: 0.9rem;
  }
}
