:root{
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #F2F6FA;
  --border: rgba(15, 23, 42, 0.12);
  --text: #0F172A;
  --muted: rgba(15, 23, 42, 0.72);

  --blue: #0A69FF;
  --cyan: #18B7FF;
  --green: #34D058;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);   /* kun base-farve her */
  position: relative;
}

/* Baggrund der ALDRIG stopper / knækker */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* Blødere overgange (ingen hård "kant") */
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(10,105,255,0.12), rgba(246,248,251,0) 70%),
    radial-gradient(1200px 700px at 92% 0%,  rgba(52,208,88,0.12), rgba(246,248,251,0) 72%),
    radial-gradient(900px 600px at 70% 110%, rgba(24,183,255,0.08), rgba(246,248,251,0) 72%),
    linear-gradient(180deg, #F6F8FB 0%, #F6F8FB 100%);
}

/* Sticky footer layout */
.site{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main{
  flex: 1 0 auto;
}

/* Container */
.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(15,23,42,0.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  text-decoration:none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 14px;
}
.brand:hover{ background: rgba(10,105,255,0.04); }

.logo{
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(10,105,255,0.18))
          drop-shadow(0 6px 14px rgba(52,208,88,0.10));
}

.brand-meta{ line-height: 1.15; }
.brand-text{
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 22px;
}
.brand-tagline{
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* Nav */
.nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.nav a{
  text-decoration:none;
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
}
.nav a:hover{
  border-color: rgba(10,105,255,0.25);
  box-shadow: 0 8px 20px rgba(10,105,255,0.10);
}

/* Type helpers */
.muted{ color: var(--muted); }
a{ color: var(--blue); }
a:hover{ color: #084fd1; }

/* Page */
.page{ padding: 18px 0; }
.page-head h1{
  margin: 10px 0 8px;
  font-size: 34px;
  letter-spacing: -0.2px;
}
.lead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 900px;
}

/* Cards */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h2{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.card p{
  margin: 0 0 10px;
  color: var(--muted);
}
.card p:last-child{ margin-bottom: 0; }

/* ABOUT page layout (mangler hos dig lige nu) */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}
.wide{ margin-top: 14px; }

.dl{ margin: 0; }
.dl div{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.dl div:last-child{ border-bottom: none; }
.dl dt{
  font-weight: 800;
  color: rgba(15,23,42,0.85);
}
.dl dd{
  margin: 0;
  color: var(--muted);
}

/* HOME */
.hero{
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  align-items: stretch;
}

.hero-main{
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.90));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-main::before{
  content:"";
  position:absolute;
  inset:-120px -180px auto auto;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle at 30% 30%, rgba(10,105,255,0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(52,208,88,0.16), transparent 60%);
  transform: rotate(12deg);
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(15,23,42,0.78);
  border: 1px solid rgba(15,23,42,0.10);
  background: linear-gradient(90deg, rgba(10,105,255,0.08), rgba(52,208,88,0.08));
  position: relative;
  z-index: 1;
}

.hero-title{
  margin: 12px 0 8px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.4px;
  position: relative;
  z-index: 1;
}

.hero-text{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.cta-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration:none;
  border: 1px solid rgba(15,23,42,0.12);
  color: var(--text);
  font-weight: 900;
  background: var(--surface);
}

.btn.primary{
  border: none;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 10px 24px rgba(10,105,255,0.16);
}
.btn.primary:hover{ filter: brightness(1.03); }

.btn.ghost{
  background: var(--surface-2);
}

.hero-side{
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.kpi{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.kpi strong{
  display:block;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.kpi span{
  display:block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.chip{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: var(--surface-2);
  color: rgba(15,23,42,0.82);
  font-weight: 800;
  font-size: 13px;
}

/* Feature grid */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.feature{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.feature .icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: rgba(15,23,42,0.85);
  background: linear-gradient(135deg, rgba(10,105,255,0.10), rgba(52,208,88,0.10));
  border: 1px solid rgba(15,23,42,0.10);
}
.feature h3{
  margin: 10px 0 6px;
  font-size: 14px;
}
.feature p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Footer (sticky bottom) */
.footer{
  margin-top: auto;            /* <- vigtig */
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: rgba(15, 23, 42, 0.85);
  text-decoration:none;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.10);
  background: var(--surface-2);
}
.footer-link:hover{
  border-color: rgba(10,105,255,0.25);
  box-shadow: 0 8px 20px rgba(10,105,255,0.10);
}
.li-icon svg{ fill: #0A66C2; }

/* Responsive */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .logo{ width: 62px; height: 62px; }
  .page-head h1{ font-size: 28px; }
  .hero-title{ font-size: 30px; }
  .dl div{ grid-template-columns: 120px 1fr; }
}
