﻿* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
}


/* =====================================
   BACKGROUND
===================================== */

.landing-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 20px;
    color: white;
    background: radial-gradient( circle at 85% 50%, rgba(37, 99, 235, 0.20), transparent 45% ), linear-gradient( 135deg, #080e1d 0%, #101a38 45%, #182c69 100% );
}


/* =====================================
   MAIN CARD
===================================== */

.landing-card {
    width: 100%;
    max-width: 650px;
    padding: 40px;
    border-radius: 26px;
    background: linear-gradient( 145deg, rgba(17, 30, 60, 0.94), rgba(12, 24, 49, 0.97) );
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(15px);
}


/* =====================================
   DEPARTMENT BADGE
===================================== */

.department-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 30px;
    color: #7db5ff;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.30);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 22px;
}

.badge-icon {
    font-size: 16px;
}


/* =====================================
   HEADER
===================================== */

.landing-card h1 {
    margin: 0;
    color: #f1f5f9;
    font-size: 34px;
    font-weight: 750;
    letter-spacing: -0.8px;
}

.welcome-text {
    margin-top: 8px;
    margin-bottom: 28px;
    color: #9aa8c2;
    font-size: 15px;
}


/* =====================================
   CATEGORY LIST
===================================== */

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* =====================================
   CATEGORY CARD
===================================== */

.category-card {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 16px 18px;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(20, 37, 65, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.16);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .category-card:hover {
        transform: translateY(-2px);
        background: rgba(28, 49, 84, 0.88);
        border-color: rgba(59, 130, 246, 0.40);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
    }


/* =====================================
   ICON
===================================== */

.category-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 17px;
    font-size: 22px;
}


    /* Icon colors */

    .category-icon.green {
        background: rgba(16, 185, 129, 0.16);
        color: #34d399;
    }

    .category-icon.purple {
        background: rgba(99, 102, 241, 0.18);
        color: #818cf8;
    }

    .category-icon.blue {
        background: rgba(59, 130, 246, 0.18);
        color: #60a5fa;
    }

    .category-icon.orange {
        background: rgba(245, 158, 11, 0.17);
        color: #fbbf24;
    }

    .category-icon.cyan {
        background: rgba(6, 182, 212, 0.16);
        color: #22d3ee;
    }


/* =====================================
   TEXT
===================================== */

.category-content {
    flex: 1;
    min-width: 0;
}

    .category-content h5 {
        margin: 0 0 4px;
        color: #f1f5f9;
        font-size: 16px;
        font-weight: 650;
    }

    .category-content p {
        margin: 0;
        color: #94a3b8;
        font-size: 13px;
        line-height: 1.35;
    }


/* =====================================
   ARROW
===================================== */

.category-arrow {
    margin-left: 12px;
    color: #64748b;
    font-size: 20px;
    transition: 0.2s;
}

.category-card:hover .category-arrow {
    color: #60a5fa;
    transform: translateX(4px);
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 600px) {

    .landing-page {
        padding: 20px 12px;
        align-items: flex-start;
    }

    .landing-card {
        padding: 28px 20px;
        margin-top: 20px;
        border-radius: 20px;
    }

        .landing-card h1 {
            font-size: 28px;
        }

    .category-card {
        padding: 14px;
    }

    .category-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        margin-right: 12px;
    }

    .category-content h5 {
        font-size: 15px;
    }

    .category-content p {
        font-size: 12px;
    }
}
