* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .card {
        max-width: 500px;
    }
    
    .card-header {
        padding: 45px 30px;
    }
    
    .card-body {
        padding: 35px 30px;
    }
    
    .name {
        font-size: 32px;
    }
    
    .title {
        font-size: 18px;
    }
    
    .contact-item {
        padding: 15px;
        justify-content: center;
    }
    
    .skill-bar {
        height: 12px;
    }
    
    .service-list li {
        font-size: 16px;
        padding: 10px 0;
    }
    
    .card-footer {
        padding: 30px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .btn-primary {
        padding: 14px 35px;
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .card {
        max-width: 550px;
    }
    
    .card-header {
        padding: 50px 35px;
    }
    
    .card-body {
        padding: 40px 35px;
    }
    
    .name {
        font-size: 36px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .beike-logo {
        width: 70px;
        height: 70px;
    }
    
    .avatar {
        width: 130px;
        height: 130px;
    }
    
    .avatar-image {
        width: 120px;
        height: 120px;
        object-fit: cover;
    }
    
    .contact-item {
        padding: 18px;
        justify-content: center;
    }
    
    .skill-item {
        margin-bottom: 20px;
    }
    
    .service-list li {
        font-size: 17px;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
    }
    
    .icon {
        width: 24px;
        height: 24px;
    }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #2d8cf0 0%, #5cadff 100%);
    color: white;
    text-align: center;
    padding: 25px 15px;
    position: relative;
    flex-shrink: 0;
}

.beike-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}

.beike-icon {
    width: 100%;
    height: 100%;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.avatar-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 3px;
}

.title {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 500;
}

.card-body {
    padding: 20px 15px;
    flex: 1;
    overflow-y: auto;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid #f0f0f0;
}

.contact-item:hover {
    background-color: #f8f9fa;
    transform: translateX(3px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}



.skills {
    margin-bottom: 20px;
}

.skills h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
}

.skills h3::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 14px;
    background: #2d8cf0;
    margin-right: 8px;
    border-radius: 2px;
}

.skill-item {
    margin-bottom: 10px;
}

.skill-item span {
    display: block;
    margin-bottom: 3px;
    font-weight: 500;
    color: #555;
    font-size: 13px;
}

.skill-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #2d8cf0 0%, #5cadff 100%);
    border-radius: 4px;
    transition: width 1s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.service-info {
    margin-bottom: 15px;
}

.service-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
}

.service-info h3::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 14px;
    background: #2d8cf0;
    margin-right: 8px;
    border-radius: 2px;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 6px 0;
    color: #555;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.service-list li::before {
    content: "";
    margin-right: 8px;
}

.card-footer {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.contact-btn {
    text-align: center;
    padding: 5px 0;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2d8cf0 0%, #5cadff 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(45, 140, 240, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 140, 240, 0.4);
}

@media (max-width: 480px) {
    .card {
        margin: 0 10px;
    }
    
    .card-header {
        padding: 30px 15px;
    }
    
    .card-body {
        padding: 20px 15px;
    }
    
    .name {
        font-size: 24px;
    }
    
    .title {
        font-size: 14px;
    }
    
    .beike-logo {
        width: 50px;
        height: 50px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .btn-primary {
        padding: 10px 25px;
        font-size: 14px;
    }
}