/* Color Palette & Base Styles - Customized to match your image */
:root {
    --bg-dark: #060b13;          /* Dyp, mørk sci-fi bakgrunn */
    --bg-card: #0b1524;          /* Litt lysere bakgrunner for popup */
    --primary: #00d2ff;          /* Klar neon-cyan fra grafikken din */
    --primary-hover: #00a4cc;    /* Mørkere cyan ved hover */
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --overlay: rgba(3, 7, 12, 0.9);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Bar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background-color: rgba(6, 11, 19, 0.85);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 210, 255, 0.15);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--primary);
}

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

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s, color 0.3s;
    cursor: pointer;
}

nav a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Hero Split Container */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 8% 60px 8%;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1300px;
    width: 100%;
}

/* Left Side Text Column */
.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 540px;
}

.download-action-area {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Buttons & Links */
.btn-download {
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    display: inline-block;
}

.btn-download:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
}

.sub-link {
    display: block;
    margin-top: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.sub-link:hover {
    color: var(--primary);
}

/* Right Side Image Column with Glowing Frame Effect */
.hero-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    width: 100%;
    max-width: 650px;
    border-radius: 12px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(0,210,255,0.4) 0%, rgba(0,0,0,0) 60%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    transition: transform 0.4s ease;
}

.image-wrapper:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 210, 255, 0.2);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Popups / Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 210, 255, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--primary);
}

.modal h2 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.version-list {
    list-style: none;
    margin-top: 1rem;
}

.version-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.version-list a {
    color: var(--primary);
    text-decoration: none;
}

.version-list a:hover {
    text-decoration: underline;
}

/* Responsive Design (Mobile / Tablet adaptive) */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-text h1 { font-size: 3rem; }
    .download-action-area { align-items: center; }
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; padding: 1.5rem 0; }
    nav ul { gap: 1.5rem; }
    .hero { padding-top: 180px; }
}



/* ecapsl LOGO */
.w3c-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000; /* Sørger for at den ligger over modaler og menyer */
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: block;
filter: grayscale(100%);
}

.w3c-badge:hover {
    opacity: 1;
    transform: scale(1.05); /* Gir en liten, ren animasjon når man hovrer over */
filter: grayscale(50%);
}

.w3c-badge img {
    height: 125px; /* Juster høyden slik at merket forblir diskret og profesjonelt */
    width: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


