:root {
  --bg: #0b0d12;
  --card: #121620;
  --soft: #10131b;
  --text: #e9eef6;
  --muted: #aab6c8;
  --brand: #4da3ff;
  --ok: #6ee7a6;
  --danger: #ff6b6b;
  --ring: rgba(77,163,255,.35);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; background: var(--bg); color: var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji"; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1100px, 92vw); margin: 0 auto; }

header.wrap { display:flex; align-items:center; justify-content:space-between; padding:18px 0; }
.brand { display:flex; align-items:center; gap:12px; }
.logo-dot { width:28px; height:28px; border-radius:50%; background: linear-gradient(135deg, var(--brand), #7cc4ff); box-shadow: 0 0 24px #2b6bb833 inset, 0 6px 20px rgba(0,0,0,.6); }
.brand-text { display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong { font-size:1.1rem; }
.brand-text span { color: var(--muted); font-size:.9rem; }

.nav a { margin-left:18px; color: var(--text); opacity:.85; }
.nav a:hover { opacity:1; }

.grid { display:grid; grid-template-columns: 1.1fr .9fr; gap:28px; padding:28px 0 52px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin:.2rem 0 .6rem; letter-spacing:.2px; }
.lead { color: var(--muted); font-size:1.05rem; }
.bullets { margin:18px 0 0; padding-left:20px; color:#cdd7e6; }
.bullets li { margin:6px 0; }

.card { background: var(--card); padding:20px; border-radius: var(--radius); border:1px solid rgba(255,255,255,.06); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.card.soft { background: var(--soft); }

.card h2 { margin:0 0 10px; font-size:1.3rem; }
.card p { color: var(--muted); }

.row { display:flex; flex-direction:column; margin:12px 0; }
label { margin-bottom:6px; color:#c9d6ea; font-weight:600; }
input, textarea {
  background:#0c0f16; color: var(--text); border:1px solid #1b2131;
  border-radius: 10px; padding:12px 12px; outline:none; font-size:1rem;
}
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 6px var(--ring); }

.check { margin-top:8px; }
.check input { margin-right:8px; transform: translateY(1px); }

.actions { display:flex; align-items:center; gap:12px; margin-top:14px; }
.btn {
  background: linear-gradient(135deg, var(--brand), #6ab6ff);
  color:#001222; border:0; padding:12px 16px; border-radius:12px; font-weight:800; cursor:pointer;
  box-shadow: 0 10px 30px rgba(77,163,255,.35);
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.status { min-height: 1.2em; font-size:.95rem; color: var(--ok); }
.status.error { color: var(--danger); }
.tiny { margin-top:10px; color:#91a3be; font-size:.85rem; }

.footer { padding:26px 0 40px; display:flex; justify-content:space-between; color:#93a5c3; border-top:1px solid rgba(255,255,255,.06); }
@media (max-width: 600px) { .footer { flex-direction:column; gap:8px; } }

/* Badge */
.badge {
  display:inline-block; padding:6px 10px; border-radius:999px;
  background:rgba(77,163,255,.12); color:#cfe6ff; font-weight:700; font-size:.85rem;
  border:1px solid rgba(77,163,255,.35); margin-bottom:10px;
}

/* Bildgrid */
.img-grid {
  display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-top:18px;
}
@media (max-width: 900px) { .img-grid { grid-template-columns: 1fr; } }
.img-grid figure {
  background: var(--soft); border:1px solid rgba(255,255,255,.06); border-radius: var(--radius);
  overflow:hidden; margin:0;
}
.img-grid img { width:100%; height:auto; display:block; }
.img-grid figcaption { padding:10px 12px; color:#9fb0c9; font-size:.95rem; }

/* Funktionslista */
.features { margin:8px 0 0; padding-left:20px; color:#cdd7e6; }
.features li { margin:6px 0; }
.features em { font-style:normal; font-weight:700; color:#e9eef6; }


.hero-cta { margin-top: 14px; }
.btn-ghost {
  display:inline-block; padding:10px 14px; border-radius:12px; font-weight:800;
  border:1px solid rgba(77,163,255,.4); background:transparent; color:#cfe6ff;
}
.btn-ghost:hover { background: rgba(77,163,255,.12); }

.img-grid figure { display:flex; flex-direction:column; }
.img-grid img { aspect-ratio: 16 / 9; object-fit: cover; }


.img-grid a { display:block; border-radius: var(--radius); overflow:hidden; }
.img-grid a:hover img { transform: scale(1.01); }
.img-grid img { transition: transform .15s ease; cursor: zoom-in; }

/* Lightbox */
#kb-lightbox[aria-hidden="true"] { display:none; }
#kb-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
#kb-lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display:block;
}
#kb-lightbox #kb-lightbox-cap {
  margin-top: 10px; text-align: center;
  color: #cdd7e6; font-size: .95rem;
}
#kb-lightbox .kb-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 10px;
  border:1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35);
  color:#fff; font-size: 22px; line-height: 1; cursor: pointer;
}
#kb-lightbox .kb-close:hover { background: rgba(0,0,0,.5); }

/* Prisplaner – en per rad */
.plans {
  display: grid;
  grid-template-columns: 1fr; /* en kolumn alltid */
  gap: 16px;
  margin-top: 12px;
}

.plan {
  position: relative; background: var(--card);
  border:1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding:16px;
}

.plan h3 { margin: 4px 0 10px; font-size:1.15rem; }
.prices { list-style:none; padding:0; margin:0 0 10px; }
.prices li { display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px dashed rgba(255,255,255,.08); }
.prices li:last-child { border-bottom:0; }
.prices span { color:#cdd7e6; }
.prices strong { font-weight:800; }

.plan-points { margin:8px 0 10px; padding-left:18px; color:#cdd7e6; }
.plan-points li { margin:6px 0; }
.plan-footnote { color:#9fb0c9; }

.ribbon{
  position: absolute;
  top: 10px;
  right: 12px;      /* flytta till höger kant */
  left: auto;       /* säkerställ att vänster inte används */
  z-index: 2;

  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;

  background: rgba(77,163,255,.15);
  color: #cfe6ff;
  border: 1px solid rgba(77,163,255,.35);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
/* Features */
.features-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }

.feature {
  display:flex; gap:12px; align-items:flex-start;
  background: var(--card);
  border:1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding:12px;
}

.feature h3 { margin:0 0 4px; font-size:1.02rem; }
.feature p  { margin:0; color:#9fb0c9; font-size:.96rem; }

.f-icon {
  flex:0 0 34px; height:34px; width:34px;
  display:grid; place-items:center;
  border-radius:10px;
  background: rgba(77,163,255,.12);
  color:#cfe6ff;
  border:1px solid rgba(77,163,255,.25);
}

