/**
 * FastLink SSO - Index/Welcome Page Styles
 * Modern, clean design with focus on user experience
 */

/* Welcome Container */
.welcome-container {
    width: 90%;
    max-width: 480px;
    border-radius: 24px;
    border: none;
    background: white;
    padding: 3rem 2.5rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 10px 40px -5px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative background gradient */
.welcome-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0d6efd 0%, #6610f2 50%, #0d6efd 100%);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero Section */
.hero-section {
    margin-bottom: 2rem;
}

.welcome-container .logo-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.welcome-container .logo-wrapper img {
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.welcome-container:hover .logo-wrapper img {
    transform: scale(1.05);
}

.welcome-title {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

/* Features Section */
.features-section {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: translateY(-2px);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #0d6efd;
}

.feature-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
}

/* Action Section */
.action-section {
    margin-bottom: 2rem;
}

.welcome-container .btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd 0%, #0052cc 100%);
    border: none;
    box-shadow:
        0 4px 14px rgba(13, 110, 253, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.welcome-container .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.welcome-container .btn-login:hover::before {
    left: 100%;
}

.welcome-container .btn-login:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(13, 110, 253, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: white;
}

.welcome-container .btn-login:active {
    transform: translateY(0);
}

.welcome-container .btn-login svg {
    width: 22px;
    height: 22px;
    margin-right: 0.75rem;
}

/* Footer Section */
.footer-section {
    padding-top: 1.5rem;
}

.version-info {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.copyright {
    color: #cbd5e1;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 576px) {
    .welcome-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .features-section {
        gap: 1rem;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-text {
        font-size: 0.75rem;
    }

    .welcome-container .btn-login {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .features-section {
        flex-wrap: wrap;
    }
}
