* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9fafb;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, #7a1ae8 0%, #0d47a1 100%);
    color: white;
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HAMBURGER */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

/* NAV MENU */
.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-menu a,
.nav-menu button {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.15);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-menu a:hover,
.nav-menu button:hover {
    background: rgba(255,255,255,0.25);
}

/* SPRÅK */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 140px;
    z-index: 1001;
}

.lang-menu.open { display: block; }

.lang-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.lang-menu a:hover {
    background: #f0f2f5;
}

/* HERO */
.hero {
    background: white;
    padding: 60px 5%;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    color: #1c4274;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    max-width: 750px;
    margin: 0 auto;
    color: #555;
    font-size: 18px;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 4px solid #0d47a1;
}

.card h3 {
    font-size: 24px;
    color: #1c4274;
    margin-bottom: 15px;
    font-weight: 700;
}

.card p {
    color: #666;
    line-height: 1.7;
}

/* FEATURES */
.features {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.features h2 {
    font-size: 24px;
    color: #1c4274;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 3px solid #0d47a1;
    display: inline-block;
    padding-bottom: 5px;
}

.features ul {
    list-style: none;
}

.features li {
    background: #f9fafb;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #0d47a1;
    border-radius: 0 8px 8px 0;
    color: #555;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    font-weight: 300;
}

.modal-content h2 {
    font-size: 24px;
    color: #1c4274;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.modal-content button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #7a1ae8 0%, #0d47a1 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #1c4274;
    color: #95a5a6;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

footer p {
    font-size: 14px;
}

/* MOBIL */
@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #041c3f;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active { max-height: 300px; }
    
    .nav-menu a,
    .nav-menu button {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 16px; }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features {
        padding: 25px 20px;
    }
}