:root {
    --primary: #0f172a;       /* Elegant mörkt marinblå */
    --accent: #2563eb;        /* Modern blå */
    --accent-hover: #1d4ed8;  
    --bg-light: #f8fafc;      /* Mjuk off-white */
    --text-main: #334155;     /* Behaglig mörkgrå text */
    --card-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
}

header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.7)), url('./attachments/top.png') center/cover;
    color: white;
    padding: 140px 0;
    text-align: center;
}

.hero-small {
    background: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1, .hero-small h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero p, .hero-small p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    background: var(--accent-hover);
}

.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card, .product-card, .app-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.card:hover, .product-card:hover, .app-card:hover {
    transform: translateY(-4px);
}

.card img, .product-card img, .app-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content, .product-card-content, .app-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3, .product-card h3, .app-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.card p, .product-card p, .app-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.price-tag, .platform-tag {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--primary);
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    font-family: inherit;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

form button:hover {
    background: var(--accent-hover);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.back-btn {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
}

footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

footer h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 3rem;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .about-content, .contact-info, .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}