﻿:root {
    --primary: #3A767A;
    --primary-600: #2f6164;
    --primary-700: #254a4d;
    --primary-light: rgba(58,118,122,.10);
    --secondary: #3FAC72;
    --secondary-600: #2f945f;
    --secondary-light: rgba(63,172,114,.10);
    --tertiary: #E04852;
    --tertiary-600: #c63f48;
    --tertiary-light: rgba(224,72,82,.10);
    --bg-gradient: linear-gradient(135deg, rgba(58,118,122,0.9) 0%, rgba(37,74,77,0.85) 100%);
    --card-gradient: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #0a1929;
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
}

#main-container {
    background: radial-gradient(circle at 20% 50%, rgba(58,118,122,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(63,172,114,0.1) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(224,72,82,0.05) 0%, transparent 50%), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #main-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(10, 25, 41, 0.85) 0%, rgba(37, 74, 77, 0.75) 100%);
        z-index: 0;
    }

#home-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.brand-logo {
    margin-bottom: 40px;
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-img {
    max-width: 300px;
    height: auto;
}

.logo-placeholder {
    display: none;
    text-align: center;
}

    .logo-placeholder i {
        font-size: 5rem;
        color: white;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        padding: 20px;
        border-radius: 20px;
        margin-bottom: 10px;
    }

    .logo-placeholder span {
        display: block;
        font-size: 1.8rem;
        font-weight: 700;
        color: white;
        letter-spacing: 2px;
    }

.brand-logo h1 {
    font-size: 5.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a3d9e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    margin-bottom: 0;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.brand-logo .tm {
    font-size: 1.5rem;
    vertical-align: super;
    color: var(--secondary) !important;
    -webkit-text-fill-color: var(--secondary);
    text-shadow: 0 0 10px rgba(63,172,114,0.5);
}

.tagline {
    font-size: 1.5rem;
    color: #b0e0e6;
    margin-top: 20px;
    text-align: center;
    max-width: 600px;
    font-weight: 300;
    letter-spacing: 1px;
}

.login-section {
    margin-top: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 1.2rem;
    color: #b0e0e6;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        width: 60px;
        height: 3px;
        background: var(--secondary);
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 3px;
    }

.login-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .login-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
        z-index: -1;
        border-radius: 20px;
    }

    .login-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.3);
    }

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.provider .card-icon {
    background: linear-gradient(135deg, var(--tertiary) 0%, var(--tertiary-600) 100%);
}

.company .card-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
}

.enrollee .card-icon {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-600) 100%);
}

.login-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.login-card p {
    color: #b0e0e6;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.btn-login {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

    .btn-login:hover {
        background: rgba(255, 255, 255, 0.25);
        color: white;
        transform: scale(1.05);
    }

.provider .btn-login:hover {
    box-shadow: 0 0 20px rgba(224,72,82,0.4);
}

.company .btn-login:hover {
    box-shadow: 0 0 20px rgba(58,118,122,0.4);
}

.enrollee .btn-login:hover {
    box-shadow: 0 0 20px rgba(63,172,114,0.4);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.footer-text {
    margin-top: 60px;
    text-align: center;
    color: #8fa3b0;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.tech-element {
    position: absolute;
    z-index: 0;
}

.tech-element-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: 10%;
    left: 5%;
}

.tech-element-2 {
    width: 150px;
    height: 150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
    bottom: 15%;
    right: 7%;
}

.tech-element-3 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--tertiary-light) 0%, transparent 70%);
    top: 40%;
    right: 15%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .brand-logo h1 {
        font-size: 4.5rem;
    }

    .tagline {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .brand-logo h1 {
        font-size: 3.5rem;
    }

    .tagline {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .login-cards {
        flex-direction: column;
        align-items: center;
    }

    .login-card {
        width: 100%;
        max-width: 400px;
    }

    .logo-img {
        max-width: 250px;
    }

    .logo-placeholder i {
        font-size: 4rem;
    }

    .logo-placeholder span {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .brand-logo h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    #home-container {
        padding: 20px 15px;
    }

    .login-card {
        padding: 25px 20px;
    }

    .logo-img {
        max-width: 200px;
    }

    .logo-placeholder i {
        font-size: 3rem;
        padding: 15px;
    }

    .logo-placeholder span {
        font-size: 1.2rem;
    }
}
