
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;   /* disables scrolling */
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
}

/* ===== HEADER ===== */

header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,255,213,0.2);
}

header h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: 0.2s ease;
}

nav a:hover {
    color: #00ffd5;
}

/* ===== GENERAL SECTIONS ===== */

main {
    padding: 80px 40px;
}

section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    opacity: 0.8;
}

/* ===== LANDING ===== */

.landing {
    text-align: center;
    padding: 100px 40px;
}

.landing h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.landing p {
    margin-bottom: 60px;
    opacity: 0.8;
}

/* ===== CARDS ===== */

.card-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    width: 280px;
    border-radius: 20px;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: #00ffd5;
    box-shadow: 0 0 20px rgba(0, 255, 213, 0.3);
}

.card h3 {
    margin-top: 0;
    font-size: 22px;
}

.card button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #00ffd5;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

.card button:hover {
    background: white;
}

/* ===== LOGIN ===== */

.login-container {
    width: 350px;
    margin: 120px auto;
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.login-container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
}

.login-container button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: #00ffd5;
    font-weight: bold;
    cursor: pointer;
}

/* ===== BACK BUTTON ===== */

.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s ease;
}

.back-button:hover {
    background: rgba(255,255,255,0.1);
    border-color: #00ffd5;
    color: #00ffd5;
}

/* ===== FACILITY DESKTOP ===== */

.facility {
    position: relative;
    height: calc(100vh);
    background: radial-gradient(circle at 20% 20%, #0f2027, #0b141b 70%);
    overflow: hidden;
}

/* subtle grid overlay */
.facility::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,213,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,213,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.desktop-grid {
    position: relative;
    padding: 60px;
    display: flex;
    gap: 60px;
}

/* ICON */

.facility-icon {
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.facility-icon:hover {
    transform: translateY(-6px);
}

.icon-core {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,213,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 12px;
    box-shadow: 0 0 25px rgba(0,255,213,0.15);
}

/* WINDOW */

.facility-window {
    position: absolute;
    width: 600px;
    background: rgba(10, 20, 35, 0.9);
    border-radius: 18px;
    border: 1px solid rgba(0,255,213,0.3);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    display: none;

    /* IMPORTANT: no top/left/transform here */
}
.window-bar {
    padding: 14px 20px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,255,213,0.2);
}

.window-body {
    padding: 25px;
}

.window-bar {
    cursor: move;
    user-select: none;
}

