:root{
  --navy:#061a3a;         /* dypblå */
  --navy-2:#0b2a66;
  --ice:#f4f8ff;          /* lys blå/hvit */
  --ice-2:#e8f1ff;
  --text:#0e1a2b;
  --muted:#5b6b86;
  --card:#ffffff;
  --border:#dbe6ff;
  --shadow: 0 10px 24px rgba(6,26,58,.12);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, var(--ice) 0%, #ffffff 55%, var(--ice-2) 100%);
}

a{ color:inherit; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 12px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 190px;
}
.logo-dot{
  width:14px;height:14px;border-radius:999px;
  background: linear-gradient(135deg, #6aa8ff, #b7d3ff);
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}
.brand-title{ font-weight:700; letter-spacing:.2px; }

.hamburger{
  display:none;
  margin-left:auto;
  width:44px;height:40px;
  border:1px solid rgba(255,255,255,.18);
  background: transparent;
  border-radius: 12px;
  padding: 8px;
  cursor:pointer;
}
.hamburger span{
  display:block;
  height:2px;
  background:#fff;
  margin:6px 0;
  border-radius:2px;
}

.nav{ margin-left:auto; }
.nav-list{
  display:flex;
  list-style:none;
  margin:0;
  padding:0;
  gap: 6px;
  align-items:center;
}

.nav-link, .dropdown-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  text-decoration:none;
  padding:10px 12px;
  border-radius: 12px;
  background: transparent;
  border: 0;
  cursor:pointer;
  font: inherit;
  white-space:nowrap;
}
.nav-link:hover, .dropdown-toggle:hover{
  background: rgba(255,255,255,.10);
}

.has-dropdown{ position:relative; }
.dropdown{
  position:absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  color: var(--text);
  border:1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow);
  display:none;
}
.dropdown .nav-item{ list-style:none; }
.dropdown .nav-link{
  width:100%;
  color: var(--text);
  background: transparent;
}
.dropdown .nav-link:hover{
  background: var(--ice-2);
}

/* Desktop: hover åpner dropdown */
@media (hover:hover){
  .has-dropdown:hover .dropdown{ display:block; }
}

/* Mobil: .expanded åpner dropdown */
.has-dropdown.expanded .dropdown{ display:block; }

.corner-widgets{
  display:flex;
  gap:10px;
  margin-left: 10px;
}
.widget{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 8px 10px;
  min-width: 110px;
}
.widget-label{
  font-size: 12px;
  opacity: .85;
}
.widget-value{
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 60px;
}

.hero{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 18px;
  padding: 20px 0 12px;
  align-items: stretch;
}
.hero-text{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-text h1{
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}
.hero-text p{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}
.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  font-weight: 650;
}
.btn.primary{
  background: linear-gradient(135deg, var(--navy-2), #1f5fbf);
  color:#fff;
}
.btn.ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--navy-2);
}
.btn.primary:hover{ filter: brightness(1.05); }
.btn.ghost:hover{ background: var(--ice-2); }

.hero-bullets{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.pill{
  background: var(--ice-2);
  border: 1px solid var(--border);
  color: var(--navy-2);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
}

.hero-card{
  background: linear-gradient(180deg, #ffffff, var(--ice-2));
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-card h3{ margin: 4px 0 10px; }
.hero-card ul{ margin: 0; padding-left: 18px; color: var(--muted); }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h2{ margin: 0 0 6px; font-size: 18px; }
.card p{ margin: 0 0 12px; color: var(--muted); }
.checklist{ margin: 0 0 10px; padding-left: 18px; color: var(--muted); }
.link{
  color: var(--navy-2);
  text-decoration: none;
  font-weight: 700;
}
.link:hover{ text-decoration: underline; }

.pricing{ margin-top: 24px; }
.pricing h2{ margin: 0 0 6px; }
.muted{ color: var(--muted); margin: 0 0 14px; }

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.price-card{
  position:relative;
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.price-card.featured{
  border-color: rgba(31,95,191,.35);
  outline: 3px solid rgba(31,95,191,.10);
}
.badge{
  position:absolute;
  top: 14px; right: 14px;
  background: var(--ice-2);
  border: 1px solid var(--border);
  color: var(--navy-2);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 12px;
}
.price{
  font-size: 32px;
  font-weight: 800;
  margin: 8px 0 10px;
  color: var(--navy-2);
}
.price span{ font-size: 14px; font-weight: 700; color: var(--muted); }
.price-card ul{ margin: 0 0 14px; padding-left: 18px; color: var(--muted); }

.contact{ margin-top: 24px; }
.contact-form{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.contact-form label{
  display:block;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-form input, .contact-form textarea{
  width:100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: #fff;
  font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline: 3px solid rgba(31,95,191,.12);
  border-color: rgba(31,95,191,.35);
}
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.row.actions{
  grid-template-columns: auto 1fr;
  align-items:center;
  margin-top: 10px;
}
.form-status{ color: var(--muted); font-weight: 650; }

.footer{
  margin-top: 28px;
  padding: 18px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}

/* Responsivt */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .hamburger{ display:block; }
  .nav{
    display:none;
    width:100%;
  }
  .nav.open{
    display:block;
  }
  .nav-list{
    flex-direction:column;
    align-items:stretch;
    padding: 10px 0 2px;
  }
  .nav-link, .dropdown-toggle{
    width:100%;
    justify-content:space-between;
  }
  .dropdown{
    position: static;
    box-shadow:none;
    border-radius: 12px;
    margin: 6px 0 0;
  }
  .corner-widgets{
    margin-left: 0;
  }
  .row{ grid-template-columns: 1fr; }
}
