/* Grunnoppsett */
body {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

[data-animate] {
  opacity: 0;
  transform: translateY(25px);
  transition: all .8s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* Kort */
.card {
  background: #fff;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.card h3 {
  font-weight: 600;
  margin-bottom: .4rem;
  color: #0f172a;
}
.card p {
  color: #475569;
}

/* Pris */
.price-card {
  background: #fff;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.price-card.featured {
  background: #eef2ff;
  border: 2px solid #1d4ed8;
}
.price-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .4rem;
}
.price-card .price {
  font-size: 1.8rem;
  color: #1d4ed8;
  font-weight: 700;
}
.price-card ul {
  text-align: left;
  color: #475569;
  margin-top: .5rem;
  line-height: 1.7;
}

/* Karusell */
.screenshot-carousel {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9/16;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}
.screenshot-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fyll rammen */
  object-position: top center; /* forankre øverst */
  opacity: 0;
  transition: opacity 1.2s ease;
}
.screenshot-carousel img.active {
  opacity: 1;
}

/* Smådetaljer */
a, button {
  transition: all .2s ease;
}
button:hover, a:hover {
  transform: translateY(-1px);
}
