/* 试用页面样式 */

.trial-section {
    min-height: 100vh;
    background: white;
    padding: 12rem 0 8rem;
}

.trial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20rem;
    align-items: start;
}

/* 左侧产品介绍 */
.trial-left {
    padding: 10em 0;
}

.trial-illustration {
    margin-bottom: 4rem;
}

.trial-illustration img {
    width: 100%;
    max-width: 50rem;
    height: auto;
}

.trial-description h2 {
    font-size: 2.2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.trial-description p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.6rem;
}

/* 右侧表单 */
.trial-right {
    background: white;
    border-radius: 0.8rem;
    padding: 4rem;
}

.form-logo {
    display: block;
    margin: 0 auto 2.4rem;
    width: 30rem;
}

.trial-form {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 500;
    display: flex;
}

/* 必填项标记为红色 */
.form-required {
    font-size: 1.8rem;
    color: #ff4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.2rem 1.6rem;
    border: 0.1rem solid #E0E0E0;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    color: #333;
    transition: all 0.3s ease;
    background: white;
}

.form-group textarea {
    resize: none;
    font-family: inherit;
    line-height: 3;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #23A7FD;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 3.6rem;
}

/* 单选按钮组 */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-top: 0.8rem;
}

.radio-item {
    display: flex;
    align-items: center;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.radio-item input[type="radio"] {
    margin-right: 1.2rem;
    margin-top: 0.4rem;
    cursor: pointer;
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-name {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.product-desc {
    font-size: 1.3rem;
    color: #999 !important;
    line-height: 1.4;
}

.radio-item input[type="radio"]:checked~.product-content .product-name {
    color: #23A7FD;
}

.radio-item span {
    font-size: 1.4rem;
    color: #333;
    line-height: 1.5;
}

/* 复选框组 */
.checkbox-group {
    gap: 1.2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.8rem;
    margin-top: 0.4rem;
    cursor: pointer;
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
}

.checkbox-text {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
}

.agreement-link {
    color: #23A7FD;
    text-decoration: none;
}

.agreement-link:hover {
    text-decoration: underline;
}

.agreement-note {
    font-size: 1.2rem;
    color: #999;
    line-height: 1.6;
    padding: 1.2rem;
    background: #F7F8FB;
    border-radius: 0.4rem;
    margin: 0;
}

/* 提供者承诺 */
.provider-promise {
    padding: 1.6rem;
    background: #F7F8FB;
    border-radius: 0.4rem;
    font-size: 1.3rem;
    color: #666;
    line-height: 1.8;
}

.provider-promise p {
    margin: 0.4rem 0;
}

/* 提交按钮 */
.submit-btn {
    padding: 1.4rem 3.2rem;
    background: #3a98fa;
    color: white;
    border: none;
    border-radius: 0.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.8rem;
}

.submit-btn:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 2rem rgba(35, 167, 253, 0.4);
}

.submit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* 响应式设计 */
@media (max-width: 120rem) {
    .trial-content {
        gap: 4rem;
    }

    .trial-right {
        padding: 3.2rem;
    }
}

@media (max-width: 96.8rem) {
    .trial-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .trial-left {
        text-align: center;
    }

    .trial-illustration img {
        max-width: 40rem;
    }

    .trial-description h2 {
        font-size: 2.4rem;
    }

    .trial-description p {
        font-size: 1.5rem;
    }
}

@media (max-width: 76.8rem) {
    .trial-section {
        padding: 10rem 0 6rem;
    }

    .trial-right {
        padding: 2.4rem;
    }

    .form-title {
        font-size: 2rem;
    }

    .trial-illustration img {
        max-width: 30rem;
    }

    .verification-input {
        flex-direction: column;
    }

    .get-code-btn {
        width: 100%;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }
}

/* 表单验证样式 */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
}


/* 表单帮助文本 */
.form-help-text {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}


/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trial-left,
.trial-right {
    animation: fadeInUp 0.6s ease-out;
}

.trial-right {
    animation-delay: 0.2s;
}