:root{
  --bg:#0b0f17;
  --card:#121a29;
  --text:#eaf0ff;
  --muted:#a9b4cc;
  --line:#22304d;
  --accent:#6ea8ff;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), #070a10);
  color: var(--text);
}

a{
  color: var(--accent);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

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

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:10;
  border-bottom: 1px solid rgba(34,48,77,0.65);

  /* Ljusare vänster → mörkare höger */
  background: linear-gradient(90deg,
    rgba(25, 46, 86, 0.85) 0%,
    rgba(11, 15, 23, 0.82) 55%,
    rgba(7, 10, 16, 0.88) 100%
  );

  backdrop-filter: blur(10px);
}

.header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:0;
  text-decoration:none;
}

.brand__logo{
  height: 40px; /* testa 40–52px */
  width: auto;
  display:block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}

.brand__name{
  font-weight:700;
  letter-spacing:0.3px;
}

/* Navigation */
.nav a{
  margin-left:16px;
  color: var(--text);
  opacity:0.9;
  position: relative;
  padding: 6px 0;
}

.nav a:hover{
  opacity:1;
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background: rgba(110,168,255,0.75);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms ease;
}

.nav a:hover::after{
  transform: scaleX(1);
}

/* Hero */
.hero--image{
  position: relative;
  padding: 125px 0 105px;
  min-height: 66vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);

  background-image: url("images/hero-gis.png");
  background-size: cover;
  background-position: center;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(60% 80% at 20% 20%, rgba(110,168,255,0.16), rgba(0,0,0,0) 60%),
    linear-gradient(90deg, rgba(11,15,23,0.40) 0%, rgba(11,15,23,0.20) 52%, rgba(11,15,23,0.22) 100%),
    linear-gradient(180deg, rgba(11,15,23,0.06) 0%, rgba(11,15,23,0.40) 100%);
}

.hero__content{
  transform: translateY(-18px);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
}

.hero__card{
  backdrop-filter: blur(12px);
  background: rgba(18,26,41,0.68);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}

.hero h1{
  max-width: 18ch;
}

.hero .lead{
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 58ch;
  color: rgba(234,240,255,0.78);
}

/* Typography */
h1{
  font-size: clamp(38px, 4.2vw, 64px);
  margin:0 0 14px;
}

.lead{
  color: var(--muted);
  font-size: 18px;
  line-height:1.6;
}

/* Sections */
.section{
  padding:54px 0;
  border-top:1px solid var(--line);
}

#case.section.alt{
  position: relative;
  overflow: hidden;
}

#case.section.alt::before{
  content:"";
  position:absolute;
  inset:-80px;
  background: radial-gradient(circle at 30% 40%,
    rgba(110,168,255,0.10),
    rgba(0,0,0,0) 60%
  );
  pointer-events:none;
}
#case .container{ position: relative; z-index: 1; }

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

/* Cards */
.card{
  background: rgba(18,26,41,0.85);
  border:1px solid rgba(110,168,255,0.18);
  border-radius:16px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

#case .card{
  background: rgba(18,26,41,0.92);
  border: 1px solid rgba(110,168,255,0.24);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

.card li{
  margin:6px 0;
}

/* CTA Buttons */
.cta{
  display:flex;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap;
}

.button{
  display:inline-block;
  background: var(--accent);
  color:#0b0f17;
  padding:12px 18px;
  border-radius:14px;
  font-weight:600;
}

.button.secondary{
  background: rgba(11,15,23,0.25);
  color: var(--text);
  border: 1px solid rgba(110,168,255,0.32);
}

/* Misc */
.muted{
  color: var(--muted);
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:20px 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
}