/* ═══════════════════════════════════════════════════════════
   BeredskapsHUB — Hovudstil v2.0
   WCAG 2.1 AA — minimum 4.5:1 kontrast for brødtekst
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Primærfargar — mørk marineblå */
  --primary:        #1a3a6b;
  --primary-dark:   #0d2247;
  --primary-deeper: #071530;
  --primary-light:  #2a5298;
  --primary-mid:    #1e4080;

  /* Aksentfargar */
  --accent:         #c8102e;
  --accent-light:   #e8304e;
  --gold:           #f5c842;
  --gold-dark:      #d4a017;
  --gold-hover:     #ffe066;

  /* Statusfargar */
  --success:        #1a7a4a;
  --success-light:  #22a05e;
  --warning:        #b45309;
  --warning-bg:     #fef3c7;
  --danger:         #c8102e;

  /* Bakgrunnsfargar */
  --bg:             #f0f4fa;
  --bg-card:        #ffffff;
  --bg-dark:        #071530;
  --bg-section:     #0d1f3c;
  --bg-tag:         rgba(245,200,66,0.15);

  /* Tekstfargar — WCAG AA */
  --text:           #0f172a;   /* 16.7:1 på kvit */
  --text-muted:     #374151;   /* 9.7:1 på kvit */
  --text-light:     #6b7280;   /* 4.6:1 på kvit */
  --text-on-dark:   #f1f5f9;   /* 14:1 på mørk */
  --text-on-dark-muted: #94a3b8; /* 4.6:1 på mørk */

  /* Kantlinjer */
  --border:         #c7d2e0;
  --border-light:   #e2e8f0;
  --border-dark:    rgba(255,255,255,0.1);

  /* Skuggar */
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.08);
  --shadow-md:  0 4px 16px rgba(15,23,42,0.12);
  --shadow-lg:  0 8px 32px rgba(15,23,42,0.18);
  --shadow-xl:  0 16px 48px rgba(15,23,42,0.24);
  --shadow-gold: 0 4px 20px rgba(245,200,66,0.35);

  /* Geometri */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill:50px;

  /* Typografi */
  --font-main:  'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:  'Consolas', 'Monaco', monospace;

  /* Layout */
  --sidebar-w:  272px;
  --header-h:   64px;
  --transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Focus (WCAG 2.1 §2.4.7) ── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ══════════════════════════════════════
   AUTH OVERLAY
   ══════════════════════════════════════ */
.auth-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-section) 50%, #0a1e3d 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  min-height: 100vh;
}

.auth-overlay.hidden { display: none; }

.auth-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  width: 100%; max-width: 460px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xl);
}

.auth-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}

.auth-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: white;
  box-shadow: 0 2px 12px rgba(200,16,46,0.4);
}

.auth-logo-text .brand { font-size: 1.2rem; font-weight: 800; color: white; }
.auth-logo-text .sub   { font-size: 0.7rem; color: var(--text-on-dark-muted); letter-spacing: 0.08em; text-transform: uppercase; }

.auth-title {
  font-size: 1.5rem; font-weight: 800; color: white;
  margin-bottom: 8px; line-height: 1.2;
}

.auth-subtitle {
  font-size: 0.9rem; color: var(--text-on-dark-muted);
  margin-bottom: 28px; line-height: 1.5;
}

.auth-tabs {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 3px; margin-bottom: 24px;
}

.auth-tab {
  flex: 1; padding: 8px;
  border: none; background: transparent;
  color: var(--text-on-dark-muted);
  font-size: 0.85rem; font-weight: 600;
  border-radius: calc(var(--radius-sm) - 2px);
  cursor: pointer; transition: var(--transition);
}

.auth-tab.active {
  background: var(--primary-light);
  color: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-on-dark-muted);
  margin-bottom: 5px; display: block;
}

.auth-input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.07) !important;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: white !important; font-size: 0.95rem;
  font-family: var(--font-main);
  transition: var(--transition); outline: none;
  caret-color: white !important;
}

.auth-input::placeholder { color: rgba(255,255,255,0.3) !important; }
.auth-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1) !important;
  box-shadow: 0 0 0 3px rgba(245,200,66,0.15);
}

.auth-input.code-input {
  font-size: 1.6rem; font-weight: 700; letter-spacing: 0.25em;
  text-align: center; font-family: var(--font-mono);
}

/* Fix autofill colors */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active {
  -webkit-text-fill-color: white !important;
  -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,0.07) inset !important;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: white !important;
}

.auth-btn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--primary-dark); font-size: 0.95rem; font-weight: 800;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.02em;
}

.auth-btn:hover {
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
  box-shadow: 0 6px 24px rgba(245,200,66,0.45);
  transform: translateY(-1px);
}

.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.auth-error {
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.3);
  color: #ff8fa0; padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem; display: none;
}

.auth-error.show { display: block; }

.auth-info {
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.25);
  color: var(--gold); padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem; line-height: 1.5;
}

.auth-qr {
  text-align: center; padding: 16px 0;
}

.auth-qr img {
  border-radius: var(--radius-md);
  border: 3px solid rgba(255,255,255,0.1);
  background: white; padding: 8px;
}

.auth-secret {
  font-family: var(--font-mono);
  font-size: 0.78rem; color: var(--gold);
  background: rgba(245,200,66,0.08);
  border: 1px solid rgba(245,200,66,0.2);
  padding: 8px 12px; border-radius: var(--radius-sm);
  text-align: center; letter-spacing: 0.1em;
  word-break: break-all; margin-top: 8px;
}

/* ── Auth link-knapp ── */
.auth-link-btn {
  background: none; border: none; cursor: pointer;
  color: var(--gold); font-size: 0.85rem;
  text-decoration: underline; padding: 0;
  transition: opacity 0.2s;
}
.auth-link-btn:hover { opacity: 0.75; }
.auth-link-btn:focus-visible {
  outline: 3px solid var(--gold); border-radius: 2px;
}

/* ── Felt-hint (domenevalidering) ── */
.field-hint {
  font-size: 0.78rem; margin-top: 4px;
  padding: 6px 10px; border-radius: var(--radius-sm);
  line-height: 1.4;
}
.field-hint.valid {
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
}
.field-hint.invalid {
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
}

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-on-dark-muted); font-size: 0.78rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(255,255,255,0.1);
}

.auth-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: var(--text-on-dark-muted);
  padding: 6px 0;
}
.auth-step-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-light); color: white;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

/* ══════════════════════════════════════
   APP SHELL
   ══════════════════════════════════════ */
#app { display: flex; flex-direction: column; min-height: 100vh; }

/* ── HEADER ── */
.app-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--primary-deeper);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.header-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

.header-logo {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: white;
  box-shadow: 0 2px 8px rgba(200,16,46,0.4);
  flex-shrink: 0;
}

.header-title .brand-name {
  font-size: 1.15rem; font-weight: 800; color: white;
  letter-spacing: -0.02em; line-height: 1.1;
}
.header-title .brand-sub {
  font-size: 0.65rem; color: var(--text-on-dark-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-badge {
  background: rgba(245,200,66,0.12);
  border: 1px solid rgba(245,200,66,0.25);
  color: var(--gold);
  padding: 4px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em;
}

.btn-header {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white; padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.btn-header:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.btn-header-logout {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-on-dark-muted);
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.btn-header-logout:hover { color: white; border-color: rgba(255,255,255,0.3); }

/* ── LAYOUT ── */
.app-body {
  display: flex;
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--primary-deeper);
  position: fixed; top: var(--header-h); left: 0; bottom: 0;
  overflow-y: auto; z-index: 900;
  transition: transform 0.3s ease;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.sidebar-section { padding: 16px 0 8px; }

.sidebar-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  padding: 0 20px 8px;
}

.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 20px; cursor: pointer;
  color: var(--text-on-dark-muted);
  font-size: 0.85rem; font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.sidebar-item:hover {
  background: rgba(255,255,255,0.06);
  color: white;
  border-left-color: rgba(255,255,255,0.2);
}
.sidebar-item.active {
  background: rgba(42,82,152,0.35);
  color: white;
  border-left-color: var(--gold);
  font-weight: 600;
}
.sidebar-item .item-icon { width: 20px; text-align: center; font-size: 0.9rem; flex-shrink: 0; }
.sidebar-item .item-num  { font-size: 0.68rem; color: rgba(255,255,255,0.25); margin-left: auto; font-weight: 600; }
.sidebar-item.completed .item-num { color: var(--success-light); }

.sidebar-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 16px; }

/* ── MAIN CONTENT ── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1; padding: 32px;
  max-width: 100%;
}

/* ══════════════════════════════════════
   VIEWS
   ══════════════════════════════════════ */
.view { display: none; }
.view.active { display: block; }

/* ══════════════════════════════════════
   LANDING PAGE — mørk bakgrunn, UI-døme-stil
   ══════════════════════════════════════ */
.landing-page {
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-section) 40%, #0a1e3d 100%);
  min-height: calc(100vh - var(--header-h));
  margin: -32px;
  padding: 0;
}

/* ── Hero ── */
.hero-section {
  padding: 72px 64px 56px;
  position: relative; overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,200,66,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute; bottom: -80px; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(42,82,152,0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* Trust bar */
.trust-bar {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: var(--radius-pill);
  padding: 6px 16px; margin-bottom: 28px;
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.04em;
}
.trust-bar .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.trust-bar .sep { color: rgba(245,200,66,0.4); }

/* Hero title */
.hero-title {
  font-size: 3.2rem; font-weight: 900;
  line-height: 1.08; letter-spacing: -0.03em;
  color: white; margin-bottom: 20px;
  max-width: 680px;
}
.hero-title .highlight { color: var(--gold); display: block; }

/* Hero desc */
.hero-desc {
  font-size: 1.05rem; color: var(--text-on-dark-muted);
  max-width: 580px; line-height: 1.7; margin-bottom: 36px;
}

/* CTA buttons */
.hero-cta {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 48px;
}

.btn-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--primary-dark); font-size: 1rem; font-weight: 800;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.01em; text-decoration: none;
}
.btn-cta-primary:hover {
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
  box-shadow: 0 8px 28px rgba(245,200,66,0.5);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: white; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}

/* §-tags */
.law-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 0;
}

.law-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.03em;
  transition: var(--transition);
}
.law-tag:hover {
  background: rgba(245,200,66,0.18);
  border-color: rgba(245,200,66,0.4);
}
.law-tag .tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ── Feature cards section ── */
.features-section {
  padding: 0 64px 64px;
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}
.feature-card-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(245,200,66,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.feature-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.15);
}

.feature-card-dark h3 {
  font-size: 1rem; font-weight: 700; color: white;
  margin-bottom: 8px; line-height: 1.3;
}
.feature-card-dark p {
  font-size: 0.84rem; color: var(--text-on-dark-muted);
  line-height: 1.6;
}

/* ── Law coverage section ── */
.law-section {
  padding: 48px 64px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.law-section-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}

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

.law-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.law-box h4 {
  font-size: 0.78rem; font-weight: 700; color: var(--gold);
  margin-bottom: 8px; letter-spacing: 0.04em;
}
.law-box p {
  font-size: 0.78rem; color: var(--text-on-dark-muted);
  line-height: 1.65;
}

/* ── Stats bar ── */
.stats-bar {
  display: flex; justify-content: center; gap: 0;
  padding: 40px 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stat-item {
  flex: 1; text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 2.4rem; font-weight: 900; color: var(--gold);
  line-height: 1; margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem; color: var(--text-on-dark-muted);
  font-weight: 500;
}

/* ── Bottom CTA ── */
.bottom-cta {
  padding: 64px;
  text-align: center;
}
.bottom-cta h2 {
  font-size: 1.8rem; font-weight: 800; color: white;
  margin-bottom: 12px;
}
.bottom-cta p {
  color: var(--text-on-dark-muted); margin-bottom: 28px;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════
   FORM / WIZARD (lys bakgrunn)
   ══════════════════════════════════════ */
.wizard-container { max-width: 860px; margin: 0 auto; }

.wizard-header { text-align: center; margin-bottom: 32px; }
.wizard-header h2 {
  font-size: 1.8rem; font-weight: 800; color: var(--primary);
  margin-bottom: 8px;
}
.wizard-header p { color: var(--text-muted); font-size: 0.95rem; }

.wizard-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 36px;
}
.wizard-step { display: flex; align-items: center; gap: 8px; }

.step-circle {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  border: 2px solid var(--border);
  background: white; color: var(--text-muted);
  transition: var(--transition);
}
.step-circle.active {
  background: var(--primary); border-color: var(--primary);
  color: white; box-shadow: 0 0 0 4px rgba(26,58,107,0.15);
}
.step-circle.done {
  background: var(--success); border-color: var(--success); color: white;
}

.step-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.step-label.active { color: var(--primary); }
.step-label.done   { color: var(--success); }

.step-connector {
  width: 48px; height: 2px;
  background: var(--border); margin: 0 4px;
  transition: var(--transition);
}
.step-connector.done { background: var(--success); }

/* ── Form card ── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-section-title {
  font-size: 1rem; font-weight: 700; color: var(--primary);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
  display: flex; align-items: center; gap: 8px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-grid.cols-1 { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

label { font-size: 0.84rem; font-weight: 600; color: var(--text); }
label .required { color: var(--accent); margin-left: 2px; }
label .hint { font-weight: 400; color: var(--text-light); font-size: 0.78rem; }

input[type="text"], input[type="number"], input[type="date"],
input[type="email"], select, textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-family: var(--font-main);
  color: var(--text); background: white;
  transition: var(--transition); outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}
input::placeholder, textarea::placeholder { color: var(--text-light); }
textarea { resize: vertical; min-height: 80px; }
select { cursor: pointer; }

/* ── Radio/Checkbox ── */
.radio-group, .check-group { display: flex; flex-wrap: wrap; gap: 10px; }

.radio-option, .check-option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  font-size: 0.85rem; font-weight: 500;
  background: white; color: var(--text);
}
.radio-option:hover, .check-option:hover {
  border-color: var(--primary-light);
  background: rgba(26,58,107,0.04);
}
.radio-option.selected, .check-option.selected {
  border-color: var(--primary);
  background: rgba(26,58,107,0.08);
  color: var(--primary); font-weight: 600;
}
.radio-option input, .check-option input { display: none; }

/* ── Language toggle ── */
.lang-toggle {
  display: flex; gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden; width: fit-content;
}
.lang-btn {
  padding: 8px 20px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  border: none; background: white; color: var(--text-muted);
}
.lang-btn.active { background: var(--primary); color: white; }

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  border: none; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; box-shadow: 0 2px 8px rgba(26,58,107,0.3);
}
.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(26,58,107,0.4);
  transform: translateY(-1px);
}
.btn-accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--primary-dark); box-shadow: var(--shadow-gold);
  font-weight: 800;
}
.btn-accent:hover {
  box-shadow: 0 6px 24px rgba(245,200,66,0.45);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; border: 1.5px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(26,58,107,0.04); }
.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
  color: white; box-shadow: 0 2px 8px rgba(26,122,74,0.3);
}
.btn-lg  { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm  { padding: 7px 14px; font-size: 0.8rem; }
.btn-xl  { padding: 16px 40px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.form-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

/* ══════════════════════════════════════
   PROGRESS / GENERATION
   ══════════════════════════════════════ */
.progress-container {
  max-width: 700px; margin: 0 auto; text-align: center;
  padding: 60px 40px;
}
.progress-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(26,58,107,0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(26,58,107,0.3); }
  50% { box-shadow: 0 8px 32px rgba(26,58,107,0.5), 0 0 0 8px rgba(26,58,107,0.1); }
}
.progress-title { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.progress-subtitle { color: var(--text-muted); margin-bottom: 32px; font-size: 0.95rem; }
.progress-bar-wrap { background: var(--border-light); border-radius: 20px; height: 10px; overflow: hidden; margin-bottom: 12px; }
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
  border-radius: 20px; transition: width 0.4s ease; width: 0%;
}
.progress-pct { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.progress-log {
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 16px; text-align: left;
  max-height: 200px; overflow-y: auto;
  font-size: 0.8rem; font-family: var(--font-mono); color: var(--text-muted);
}
.progress-log .log-item { padding: 3px 0; border-bottom: 1px solid var(--border-light); }
.progress-log .log-item:last-child { border-bottom: none; color: var(--primary); font-weight: 600; }
.progress-log .log-item.done { color: var(--success); }

/* ══════════════════════════════════════
   DOCUMENT VIEW
   ══════════════════════════════════════ */
.doc-container { display: flex; gap: 24px; }

.doc-toc {
  width: 256px; flex-shrink: 0;
  position: sticky; top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
}
.toc-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm);
}
.toc-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.toc-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 5px 8px; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  font-size: 0.8rem; color: var(--text-muted); text-decoration: none;
}
.toc-item:hover { background: var(--bg); color: var(--primary); }
.toc-item.active { background: rgba(26,58,107,0.08); color: var(--primary); font-weight: 600; }
.toc-num { font-size: 0.7rem; font-weight: 700; color: var(--accent); min-width: 20px; margin-top: 1px; }

.doc-main { flex: 1; min-width: 0; }

.doc-toolbar {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; box-shadow: var(--shadow-sm);
  flex-wrap: wrap; gap: 12px;
}
.toolbar-info { display: flex; align-items: center; gap: 12px; }
.toolbar-badge {
  background: rgba(26,122,74,0.1); color: var(--success);
  border: 1px solid rgba(26,122,74,0.2);
  padding: 4px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
}
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Document content ── */
.doc-content {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden;
}
.doc-cover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 60px 56px; color: white; position: relative; overflow: hidden;
}
.doc-cover::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 40px);
}
.cover-seal {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,16,46,0.2); border: 1px solid rgba(200,16,46,0.4);
  color: #ff8fa0; padding: 6px 16px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 24px;
}
.cover-municipality { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.cover-title { font-size: 2.2rem; font-weight: 900; line-height: 1.15; margin-bottom: 8px; letter-spacing: -0.02em; }
.cover-subtitle { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.cover-meta { display: flex; gap: 32px; flex-wrap: wrap; }
.cover-meta-item { display: flex; flex-direction: column; gap: 2px; }
.cover-meta-item .meta-label { font-size: 0.68rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; }
.cover-meta-item .meta-value { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.9); }

.doc-body { padding: 48px 56px; }

/* ── Chapters ── */
.chapter { margin-bottom: 48px; scroll-margin-top: calc(var(--header-h) + 24px); }
.chapter-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border-light); }
.chapter-num {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26,58,107,0.25);
}
.chapter-title { font-size: 1.35rem; font-weight: 800; color: var(--primary); line-height: 1.2; padding-top: 6px; }
.chapter-law-ref {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  background: rgba(200,16,46,0.08); border: 1px solid rgba(200,16,46,0.15);
  padding: 2px 8px; border-radius: 10px; margin-left: 8px; white-space: nowrap;
}
.section { margin-bottom: 28px; }
.section-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 12px; padding-left: 12px; border-left: 3px solid var(--primary-light); }
.section-body { font-size: 0.9rem; line-height: 1.75; color: var(--text); }
.section-body p { margin-bottom: 12px; }
.section-body p:last-child { margin-bottom: 0; }
.section-body ul, .section-body ol { padding-left: 20px; margin-bottom: 12px; }
.section-body li { margin-bottom: 6px; }
.section-body strong { color: var(--primary); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
thead tr { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; }
thead th { padding: 11px 14px; text-align: left; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; white-space: nowrap; }
tbody tr { transition: background 0.15s; }
tbody tr:nth-child(even) { background: rgba(26,58,107,0.03); }
tbody tr:hover { background: rgba(26,58,107,0.06); }
tbody td { padding: 10px 14px; border-bottom: 1px solid var(--border-light); vertical-align: top; line-height: 1.5; }
tbody tr:last-child td { border-bottom: none; }

/* ── Callouts ── */
.callout { border-radius: var(--radius-md); padding: 16px 20px; margin: 16px 0; display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; line-height: 1.6; }
.callout-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.callout.info    { background: rgba(26,58,107,0.06); border-left: 4px solid var(--primary-light); color: var(--primary-dark); }
.callout.warning { background: rgba(180,83,9,0.08); border-left: 4px solid var(--warning); color: #7c3a00; }
.callout.danger  { background: rgba(200,16,46,0.07); border-left: 4px solid var(--accent); color: #7a0018; }
.callout.success { background: rgba(26,122,74,0.07); border-left: 4px solid var(--success); color: #0d4a28; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 12px; font-size: 0.72rem; font-weight: 700; }
.badge-ok     { background: rgba(26,122,74,0.12); color: #0d5c35; }
.badge-warn   { background: rgba(180,83,9,0.12); color: #7c3a00; }
.badge-danger { background: rgba(200,16,46,0.12); color: #8b0016; }
.badge-info   { background: rgba(26,58,107,0.1); color: var(--primary-dark); }

/* ── Highlight box ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(26,58,107,0.05) 0%, rgba(42,82,152,0.03) 100%);
  border: 1px solid rgba(26,58,107,0.1); border-radius: var(--radius-md);
  padding: 20px 24px; margin: 16px 0;
}
.highlight-box h4 { font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.highlight-box p, .highlight-box li { font-size: 0.86rem; color: var(--text); line-height: 1.65; }

/* ══════════════════════════════════════
   COMPLIANCE VIEW
   ══════════════════════════════════════ */
.compliance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.compliance-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.compliance-score { font-size: 2.2rem; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.compliance-score.green  { color: var(--success); }
.compliance-score.yellow { color: var(--warning); }
.compliance-score.red    { color: var(--accent); }
.compliance-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ══════════════════════════════════════
   TOASTS
   ══════════════════════════════════════ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--text); color: white; padding: 12px 20px;
  border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 500;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: slideIn 0.3s ease; max-width: 360px;
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--accent); }
.toast.warning { background: var(--warning); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.app-footer {
  background: var(--primary-deeper);
  color: rgba(255,255,255,0.35);
  text-align: center; padding: 16px;
  font-size: 0.72rem;
  margin-left: var(--sidebar-w);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ══════════════════════════════════════
   MOBILE
   ══════════════════════════════════════ */
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.3rem; cursor: pointer; padding: 4px; }

@media (max-width: 1024px) {
  .doc-toc { display: none; }
  .doc-container { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .law-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-272px); width: 272px; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 40px 24px 32px; }
  .hero-title { font-size: 2rem; }
  .features-section { padding: 0 24px 40px; }
  .law-section { padding: 32px 24px; }
  .stats-bar { padding: 32px 24px; }
  .bottom-cta { padding: 40px 24px; }
  .form-card { padding: 24px; }
  .doc-body { padding: 24px; }
  .doc-cover { padding: 32px 24px; }
  .mobile-menu-btn { display: flex; }
  .auth-box { padding: 32px 24px; }
}

/* ══════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════ */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-small  { font-size: 0.82rem; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.section-divider { height: 1px; background: var(--border-light); margin: 32px 0; }
/* ══════════════════════════════════════════════════════════════════════
   LANDING V2 — Ny visuell landingsside
   ══════════════════════════════════════════════════════════════════════ */

/* ── Hero V2 ── */
.hero-v2 { padding: 0 !important; overflow: visible; }
.hero-v2-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 48px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-v2-text { z-index: 2; }
.hero-v2-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  display: block;
}

/* Flytande stats-kort på hero-biletet */
.hero-float-card {
  position: absolute;
  background: rgba(13,31,60,0.92);
  border: 1px solid rgba(245,200,66,0.3);
  border-radius: 12px;
  padding: 10px 16px;
  backdrop-filter: blur(12px);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: float 3s ease-in-out infinite;
}
.hero-float-1 { top: 12%; left: -8%; animation-delay: 0s; }
.hero-float-2 { bottom: 20%; right: -6%; animation-delay: 1s; }
.hero-float-3 { bottom: 5%; left: 5%; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hfc-num { font-size: 1.6rem; font-weight: 800; color: #f5c842; line-height: 1; }
.hfc-label { font-size: 0.7rem; color: #94a3b8; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Features V2 ── */
.features-v2 { padding: 64px 48px !important; }
.features-v2-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.25);
  color: #f5c842;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 12px;
  line-height: 1.2;
}
.section-desc {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.fv2-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.fv2-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,200,66,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.fv2-icon-wrap {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.fv2-icon-blue  { background: linear-gradient(135deg, #0d1f3c 0%, #1e3a5f 100%); }
.fv2-icon-gold  { background: linear-gradient(135deg, #1a1400 0%, #2d2000 100%); }
.fv2-icon-green { background: linear-gradient(135deg, #001a0d 0%, #002d1a 100%); }

.fv2-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.3s;
}
.fv2-card:hover .fv2-icon-img { transform: scale(1.04); }

.fv2-content { padding: 24px; }
.fv2-badge {
  display: inline-block;
  background: rgba(96,165,250,0.12);
  color: #60a5fa;
  border: 1px solid rgba(96,165,250,0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.fv2-badge-gold { background: rgba(245,200,66,0.12); color: #f5c842; border-color: rgba(245,200,66,0.2); }
.fv2-badge-green { background: rgba(74,222,128,0.12); color: #4ade80; border-color: rgba(74,222,128,0.2); }

.fv2-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 10px;
}
.fv2-content p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 16px;
}
.fv2-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.fv2-list li {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}
.fv2-list li span, .fv2-list li:first-child { color: #4ade80; }

/* ── Prosess-steg ── */
.process-section {
  padding: 64px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.process-steps {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.process-step:hover {
  border-color: rgba(245,200,66,0.2);
  transform: translateY(-2px);
}
.ps-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #f5c842;
  color: #071530;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.ps-icon { font-size: 2rem; margin-bottom: 12px; }
.process-step h4 { font-size: 0.95rem; font-weight: 700; color: #f1f5f9; margin: 0 0 8px; }
.process-step p { font-size: 0.82rem; color: #64748b; line-height: 1.5; margin: 0; }
.process-arrow {
  font-size: 1.5rem;
  color: rgba(245,200,66,0.4);
  flex-shrink: 0;
}

/* ── Trust-seksjon ── */
.trust-section {
  padding: 48px;
  background: rgba(245,200,66,0.03);
  border-top: 1px solid rgba(245,200,66,0.08);
  border-bottom: 1px solid rgba(245,200,66,0.08);
  margin: 48px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.trust-icon { font-size: 1.8rem; flex-shrink: 0; }
.trust-text { display: flex; flex-direction: column; gap: 4px; }
.trust-text strong { color: #f1f5f9; font-size: 0.9rem; }
.trust-text span { color: #64748b; font-size: 0.78rem; line-height: 1.4; }

/* ── Responsiv ── */
@media (max-width: 1024px) {
  .hero-v2-inner { grid-template-columns: 1fr; padding: 48px 32px; }
  .hero-v2-image { display: none; }
  .features-v2-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .features-v2 { padding: 48px 32px !important; }
  .process-section { padding: 48px 32px; }
  .trust-section { padding: 32px; }
}
@media (max-width: 768px) {
  .hero-v2-inner { padding: 32px 20px; }
  .section-title { font-size: 1.5rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .process-arrow { display: none; }
  .features-v2 { padding: 32px 20px !important; }
  .process-section { padding: 32px 20px; }
  .trust-section { padding: 24px 20px; }
}
