﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

.input-with-image {
    position: relative;
    display: inline-block;
}

    .input-with-image img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 10px; /* 根据需要调整图片与输入框的间距 */
        width: 20px; /* 根据需要调整图片大小 */
        height: auto;
    }

    .input-with-image input {
        padding-left: 50px; /* 根据图片大小调整 */
    }

.appdemocontainer {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1280px;
    width: 100%;
}
/* 左侧优势区 */
.features-section {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top:2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    left: 50px;
    margin-bottom: 10px;
}

    .feature-item:nth-child(5),
    .feature-item:nth-child(6) {
        margin-bottom: 0;
    }

.feature-icon {
    width: 60px;
    height: 60px;
    padding: 5px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #fff;
}

    .feature-icon i {
        color: #1677ff;
        font-size: 2rem;
    }

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .feature-text h3 {
        font-size: 22px;
        color: #1677ff;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .feature-text p {
        font-size: 16px;
        color: #333;
        line-height: 1.4;
    }

.illustration {
    grid-column: 1 / -1;
    text-align: center;
}

    .illustration img {
        margin-top:3rem;
        width: auto;
        display: block;
        max-width: 90%
    }
/* 右侧表单 */
.form-section {
    width: 660px;
    background-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid #fff;
    border-radius: 16px;
    padding: 30px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

    .form-header h2 {
        font-size: 28px;
        color: #111;
        margin-bottom: 10px;
    }

    .form-header p {
        font-size: 14px;
        color: #666;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group input {
        width: 100%;
        height: 52px;
        padding: 0 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 15px;
        color: #333;
        outline: none;
        transition: border-color 0.3s;
        background-color: transparent;
        text-indent: 30px;
    }

        .form-group input::placeholder {
            color: #aaa
        }

        .form-group input:focus {
            border-color: #1677ff;
        }

    .form-group .input-wrap {
        position: relative;
    }

        .form-group .input-wrap i {
            position: absolute;
            left: 10px;
            top: 15px;
            font-size: 1.4rem;
            color: #666
        }
/* 手机号输入框和按钮行 */
.phone-wrap {
    display: flex;
    gap: 20px;
    width: 100%;
}

    .phone-wrap .input-wrap {
        flex: 1;
    }

    .phone-wrap input {
        width: 100%;
        height: 52px;
        padding: 0 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 15px;
        color: #333;
        outline: none;
        transition: border-color 0.3s;
    }

.code-btn {
    width: 120px;
    height: 48px;
    background-color: #e6f0fa;
    color: #1677ff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

    .code-btn:disabled {
        background-color: #e0e0e0;
        color: #999;
        cursor: not-allowed;
    }

.submit-btn {
    width: 600px;
    height: 52px;
    background-color: #1677ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 17px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

    .submit-btn:hover {
        background-color: #0d63d8;
    }

.agreement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

    .agreement a {
        color: #1677ff;
        text-decoration: none;
    }

/* 输入框抖动 */
.shake_effect {
    -webkit-animation-name: shake;
    animation-name: shake;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

@-webkit-keyframes shake {
    from, to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

@keyframes shake {
    from, to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}
