:root{
  --bg:#0b0d12;
  --panel:#121622;
  --muted:#9aa3b2;
  --text:#e9eef6;
  --accent:#5cb0ff;
  --line:#1e2433;
  --card:#0f1320;
  --shadow:0 6px 24px rgba(0,0,0,.25);
  --radius:16px;
  --max:1100px;
}

/* Base */
html, body { height: 100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji";
  line-height:1.6;

  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  background-color:var(--bg);
}

a{ color: var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; color: var(--text); }

/* Match original wrap max width while still using Bootstrap container */
.container.trygg-max { max-width: var(--max); }

/* Sticky glass header (original feel) */
.trygg-navbar{
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(11,13,18,.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

/* Navbar links like original */
.trygg-navlink{
  color: var(--muted) !important;
  font-weight: 600;
}
.trygg-navlink:hover{
  color: var(--text) !important;
}
.trygg-phone{
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

/* Active nav item (subtle, matches original tone) */
.trygg-navlink.active,
.trygg-navlink[aria-current="page"]{
  color: var(--text) !important;
  text-decoration: none;
}

/* Hero */
.trygg-hero{
  padding: 5px 0 40px;
  text-align:center;
  border-bottom:1px solid var(--line);
  background: radial-gradient(1200px 400px at 50% -10%, rgba(92,176,255,.08), transparent 60%);
}

.trygg-kicker{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.75rem;
  font-weight: 700;
  color: var(--muted);
}
.trygg-kicker span{ color: var(--accent); }

.trygg-title{
  margin: .35em 0 .2em;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  letter-spacing: .02em;
  font-weight: 800;
}

.trygg-sub{
  color: var(--muted);
  max-width: 780px;
  margin: 10px auto 0;
  font-size: 1rem;
}

.trygg-stamp{
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
}

/* Section header */
.trygg-section{
  padding: 36px 0 18px;
  margin-top: 8px;
  border-bottom:1px solid var(--line);
}
.trygg-section h2{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.85rem;
  color: var(--muted);
}

/* Cards */
.trygg-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.trygg-card h3{
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

.trygg-card p{ margin:0; color: var(--muted); }
.trygg-card ul{ margin:.25rem 0 0 1.1rem; color: var(--muted); }

.trygg-num{
  position:absolute;
  top:10px;
  right:12px;
  color:#3a4358;
  font-weight:800;
  font-size:.9rem;
}

/* TOC pills */
.trygg-toc a{
  display:inline-block;
  border:1px solid var(--line);
  background: var(--panel);
  padding:8px 12px;
  border-radius:999px;
  color: var(--muted);
  font-size:.9rem;
  text-decoration:none;
}
.trygg-toc a:hover{
  color: var(--text);
  border-color:#2a3246;
  text-decoration:none;
}

/* Footer */
.trygg-footer{
  margin-top:36px;
  border-top:1px solid var(--line);
  padding:18px 0 48px;
  color: var(--muted);
  font-size:.95rem;
  text-align:center;
}
.trygg-footer .trygg-note{ margin-top:8px; font-size:.85rem; }
.trygg-footer a{ color: var(--accent); text-decoration:none; }
.trygg-footer a:hover{ color: var(--text); text-decoration:underline; }

/* Per-page background images */
body.trygg-bg-home{
  background-image: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8)), url("../images/slider/1.webp");
}
body.trygg-bg-about{
  background-image: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8)), url("../images/slider/3.webp");
}
body.trygg-bg-contact{
  background-image: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8)), url("../images/slider/2.webp");
}
body.trygg-bg-privacy{
  background-image: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8)), url("../images/misc/s1.webp");
}