:root {
    --bg: #0b1220;
    --panel: #131d31;
    --panel-2: #1a2742;
    --text: #edf2ff;
    --muted: #aeb9d1;
    --line: #2e3d61;
    --accent: #5ab3ff;
    --accent-2: #ffd34d;
    --success: #1e8e5a;
    --error: #a33a3a;
    --shadow: 0 16px 40px rgba(0,0,0,.25);
    --radius: 18px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background:
        radial-gradient(circle at top, rgba(90,179,255,.08), transparent 30%),
        linear-gradient(180deg, #08101c 0%, #0b1220 100%);
    color: var(--text);
}

.container { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(8,16,28,.8);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav nav { display: flex; gap: 1rem; }

.nav a {
    color: var(--text);
    text-decoration: none;
    opacity: .9;
}

.nav a:hover { opacity: 1; }
.brand { font-weight: 800; letter-spacing: .03em; }

.hero {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 1.5rem;
    padding: 4rem 0 2rem;
    align-items: center;
}

.hero-home { min-height: calc(100vh - 180px); }
.hero-copy { max-width: 650px; }

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    margin: .9rem 0 1rem;
    letter-spacing: -.03em;
}

.lead {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 42ch;
}

.badge {
    display: inline-block;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(90,179,255,.12);
    color: var(--accent);
    font-size: .9rem;
    border: 1px solid rgba(90,179,255,.25);
}

.hero-actions {
    display: flex;
    gap: .8rem;
    margin-top: 1.6rem;
}

.card {
    background: linear-gradient(180deg, rgba(19,29,49,.96) 0%, rgba(26,39,66,.96) 100%);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.compact-card {
    padding: 1.35rem;
    display: grid;
    gap: 1rem;
}

.mini-stat {
    padding: .9rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mini-stat:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-label {
    display: block;
    margin-bottom: .2rem;
    color: var(--muted);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.front-highlights { margin-top: 0; }
.compact-info h3 { margin: 0 0 .45rem; }
.compact-info p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 1rem; margin: 1rem 0 2rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.15rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(180deg, #60b9ff, #2e8de2);
    color: white;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.button-secondary {
    background: rgba(255,255,255,.02);
    border: 1px solid var(--line);
}

.form-card { max-width: 680px; margin: 2rem auto; }

label { display: block; margin: .9rem 0; font-weight: 600; }

input {
    width: 100%;
    margin-top: .35rem;
    padding: .85rem .95rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #0d1627;
    color: white;
}

.checkbox { display: flex; gap: .7rem; align-items: center; }
.checkbox input { width: auto; margin: 0; }

.alert { margin: 1rem 0; padding: .95rem 1rem; border-radius: 12px; }
.alert-success { background: rgba(30,142,90,.18); border: 1px solid rgba(30,142,90,.45); }
.alert-error { background: rgba(163,58,58,.18); border: 1px solid rgba(163,58,58,.45); }

.clean-list { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.small, .muted { color: var(--muted); }
.site-footer { padding: 2rem 0 3rem; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; }

@media (max-width: 860px) {
    .hero, .grid.two, .grid.three { grid-template-columns: 1fr; }
    .hero-home { min-height: auto; }
    .nav { flex-direction: column; gap: .8rem; }
    .hero { padding-top: 2.5rem; }
    .hero-actions { flex-direction: column; }
}
body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    color: #e6edf3;
    background-color: #0a1932;
}

/* Bilden – mycket tydligare nu */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('/assets/img/background_optimized.jpg') center/cover no-repeat;
    opacity: 3.35; /* ↑ ÖKAD från 0.18 */
    filter: blur(1.5px); /* ↓ mindre blur */
    z-index: -2;
}

/* Overlay – lite svagare så bilden syns mer */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 25, 50, 0.65),
        rgba(10, 25, 50, 0.85)
    );
    z-index: -1;
}
