/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    /* 深色渐变背景，与小程序一致 */
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    /* 完全融入背景 */
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 30px 20px;
    /* 移除阴影 */
    box-shadow: none;
    width: 100%;
    max-width: 500px;
}

/* 标题样式 */
.demo-title {
    text-align: center;
    margin-bottom: 30px;
}

.main-title {
    display: block;
    font-size: 30px;
    font-weight: bold;
    /* 使用主色#5ED04B */
    color: #5ED04B;
    text-shadow: none;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.sub-title {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

/* 输入区域 */
.input-section {
    margin-bottom: 30px;
}

.input-item {
    display: flex;
    align-items: center;
    /* 融入背景的淡色 */
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.input-item:focus-within {
    /* 移除阴影，使用主色反馈 */
    background: rgba(94, 208, 75, 0.05);
}

.input-label {
    font-size: 15px;
    /* 使用主色#5ED04B */
    color: rgba(94, 208, 75, 0.9);
    margin-right: 12px;
    width: 70px;
    font-weight: 500;
}

.phone-input {
    flex: 1;
    font-size: 16px;
    color: #ffffff;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    letter-spacing: 1px;
}

.phone-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* 网络检测单选按钮 */
.radio-item {
    display: flex;
    align-items: center;
    /* 融入背景的淡色 */
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-item:active {
    background: rgba(94, 208, 75, 0.05);
}

/* 自定义单选按钮样式 */
.network-radio {
    transform: scale(1.2);
    margin-right: 10px;
    /* 使用主色#5ED04B */
    accent-color: #5ED04B;
}

.radio-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
}

/* 按钮区域 */
.button-section {
    display: flex;
    justify-content: center;
}

.call-button {
    /* 使用主色#5ED04B */
    background: #5ED04B;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: bold;
    border: none;
    /* 移除阴影 */
    box-shadow: none;
    transition: all 0.3s ease;
    width: auto;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.call-button:active {
    transform: scale(0.95);
}

.call-button:hover {
    /* 移除阴影，使用主色加深效果 */
    background: #4CAF50;
}

/* 响应式设计 */
@media (max-width: 400px) {
    .container {
        padding: 20px 15px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .input-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .input-label {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .phone-input {
        width: 100%;
    }
}