:root {
    --sw-color-heading: #181F27;
    --sw-color-text: #586376;
    --sw-color-primary: #099DFD;
    --sw-color-link: #099DFD;
    --sw-color-link-hover: #0056b3;
    --sw-color-dark-background: #000306;
    --sw-color-gray-background: #EBF1F9;
    --sw-color-white: #FFFFFF;
    --sw-color-black: #000000;
    --sw-color-gray: #EBF1F9;
    --sw-color-light-gray: #F8F9FC;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 500;
}

button:focus {
    outline: none;
}


.sw_button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 230px;
    height: 58px;
    padding: 0 10px 0 24px;
    border-radius: 58px;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid transparent;
    box-sizing: border-box;
}

/* 白色填充按钮样式 */
.sw_button.sw-button-white {
    background: #ffffff;
    color: var(--sw-color-heading);
    border-color: #ffffff;
}
.sw_button.sw-button-white svg {
    color: var(--sw-color-white);
}

/* 白色边框按钮样式 */
.sw_button.sw-button-outline {
    background: transparent;
    color: var(--sw-color-white);
    border-color: var(--sw-color-primary);
}

/* 按钮文字 */
.sw_button_text {
    flex: 1;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* 圆形箭头按钮 */
.sw_button_arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--sw-color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sw_button_arrow svg {
    width: 15px;
    height: 12px;
    stroke: #ffffff;
    transition: transform 0.3s ease;
}

.sw_button:hover {
    background: var(--sw-color-primary);
    color: var(--sw-color-white);
    border-color: var(--sw-color-primary);
}

.sw_button:hover .sw_button_arrow {
    background: var(--sw-color-white);
}

.sw_button:hover .sw_button_arrow svg {
    color: var(--sw-color-primary);
}

@media (max-width: 1024px) {
    .sw_button {
        width: 200px;
        height: 52px;
        font-size: 15px;
        padding: 0 5px 0 20px;
    }
    
    .sw_button_arrow {
        width: 38px;
        height: 38px;
    }
    
    .sw_button_arrow svg {
        width: 13px;
        height: 10px;
    }
}

@media (max-width: 768px) {
    .sw_button {
        width: 150px;
        height: 42px;
        font-size: 12px;
        padding: 0 3px 0 20px;
    }
    
    .sw_button_arrow {
        width: 35px;
        height: 35px;
    }
    
    .sw_button_arrow svg {
        width: 10px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .sw_button {
        width: 150px;
        height: 42px;
        font-size: 14px;
        padding: 0 3px 0 20px;
    }
    
    .sw_button_arrow {
        width: 35px;
        height: 35px;
    }
    
    .sw_button_arrow svg {
        width: 14px;
        height: 10px;
    }
}